用户名: 密码: 验证码:
移动设备上基于LBS的IM软件设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
移动和互联网越来越深地走进人们的生活,人们希望在任何时候、任何地点将尽可能的通讯工具融合在互联网同一个沟通环境下,实现各种通讯工具的互补和整合。人们不再局限于单一的网上或网下的沟通,而是希望通过跨平台、多终端的通讯技术来实现一种集声音、文字、图像的低成本高效率的通讯服务,即时通讯将担负这种责任。与此同时,基于位置的信息服务(LBS)以其移动性、实用性、捆绑性、即时性和个性化的特点吸引了众多厂商的参与,成为最受欢迎的移动服务之一,特别是手机地图服务得到爆炸性发展。
     本文将上述两种技术相结合,在移动设备上设计了一个基于LBS的即时通讯软件,总体上整个系统分为客户端和服务端。客户端为用户提供即时通讯、多媒体信息传输、地图浏览、定位、周边用户扫描、聊天室等功能,服务端为客户端提供即时通讯服务以及其他相关服务计算。客户端采用了微软的WindowsMobile平台,总体结构上遵循了应用程序惯用的原则,将用户接口(UI)、引擎和持久层进行分离,UI主要采用MFC库,持久层通过嵌入式数据库SQLite以及简单文件来实现。在定位方面,考虑到手机GPS功能不够普遍以及其固有的缺点,所以定位时采用了以GSM信息为主,GPS与Wifi信息为辅的定位方式。
     随着该软件用户数量的不断增长,本文考虑了服务器的负载,因此设计了一种简单易行的分布式服务,我们把每种类型的服务分布在多个物理服务器上,客户端具体使用哪个服务器由统一的分配服务器进行选择,这样做不但可以均衡服务器负载,还可以根据需要进行地理区域的分配,以便用户获得更好的网络环境。
     本文设计的软件具有一定的新颖性以及强大的实用性,让用户在交友聊天的同时能够实时查看到好友的位置,并且可以查看周边用户的动态信息,事实也证明这款软件具有非常大的商业价值。
With Mobile and Internet move into people's life more and more deeply, people eager to make available communication tools fusion in the Internet which is the same communication environment in any time and any place, it can realize all kinds of communication tools of complementary and integration. People no longer limited to a single online or offline communication, but hope to realize a with sounds, words and images of the low cost efficient communication services through the cross-platform, many terminal communications technology, instant communication will take on this responsibility. In the same time, Location-based information services (LBS) for its mobility, practical, binding, real-time and individuation have attracted numerous manufacturers participate, and to be one of the most popular mobile services. Especially, mobile phone map services have a explosive development .
     This paper will make instant communication and LBS integrate, and the combination design a software for IM based on the LBS, this software has client and server. The client provide some functions for users. The functions contains Instant messaging, multimedia information transmission, maps, positioning, and the peripheral users scan, chat rooms. The server provide instant messaging services and other related services calculation for the client. The client base on the Windows Mobile platform of Microsoft. It make up of UI (User Interface, that is, the User Interface), engine and lasting layer. UI uses the MFC library, Persistence layer was realized by the embedded database SQLite and simple documents. In locate, because GPS function isn’t enough and its inherent disadvantages. We mainly use the GSM information, GPS and Wifi information as the auxiliary localization way.
     With the growing of the users of this software, this paper considers the growing server load, we designed a kind of simple and easily distributed service, namely each type of service in physical distribution on the server, the client specific use servers by a unified distribution server to choose. We can balance the server load, and also according to the need for the distribution of geographical area by this way, so that users get a better network environment.
     This software has a certain novelty and strong practicability. It make users view the position of the friends when they are in the chat, and make users view the dynamic information of users around , In the fact that this software has very big commercial value.
引文
[1]李清泉,乐阳.基于位置服务的分析与展望[J].中国计算机学会通讯.2010, 6(6):10-15
    [2]萧世瑜.基于位置服务与人类活动的关系影响[J].中国计算机学会通讯.2010, 6(6):30-35
    [3]程士安,陈思.基于地理位置服务(LBS)技术平台的传播规律[J].新闻大学. 2011,04:81-93
    [4]百度百科.即时通讯[EB/OL]. http://baike.baidu.com/view/15095.htm
    [5]郭春雷.基于jabber协议的手机即时通讯系统的研究与实现[D].贵州大学. 2007
    [6]潘振香.基于J2ME的移动即时通信系统的设计与实现[D].华北电力大学. 2008
    [7]乔道迹,李宏宇.基于jabber协议的移动即时通讯系统研究与实现[J].计算机与信息技术. 2010
    [8]谷歌.谷歌地图[EB/OL]. http://ditu.google.cn
    [9]任维政,邓中亮.面向数字校园的网格LBS体系构架研究[J].工程图学学报. 2010,02:54-58
    [10]胡加艳,陈秀万.基于室内外定位的校园LBS研究[J].计算机工程.2010, 36(8):254-257
    [11](美)Douglas Boling著.Windows CE程序设计[M].北京大学出版社.2000
    [12]Stanley B.Lippman,Josée LaJoie,Barbara E.Moo著.李师贤译. C++ Primer中文版[M].人民邮电出版社. 2006
    [13]Bruce Eckel .C++编程思想第二版[M].机械工业出版社. 2006
    [14]Scott Meyers . Effective C++[M].2005
    [15](美)Jeffrey,(法)Christophe著.葛子昂等译.Windows核心编程[M].清华大学出版社. 2008
    [16](美)Jim Beveridge,Robert Wiener著,侯捷译. Win32多线程程序设计[M].华中科技大学出版社. 2002
    [17]侯俊杰著.深入浅出MFC[M].华中科技大学出版社. 2000
    [18]jabber.org[EB/OL]. http://www.jabber.org/
    [19]XMPP Standards Foundation[EB/OL]. http://xmpp.org/
    [20]陆丰,段滢滢,袁文.LBS的数据处理技术[J].中国计算机学会通讯.2010, 6(6):36-41
    [21]吕建,马晓星等.网构软件的研究与进展[J].中国科学(E辑:信息科学).2006, 36(10): 1037-1080
    [22]杨芙清,梅宏.网构软件:未来的新型软件形态[J].中国教育网络. 2005,7:52-54
    [23]吕建,陶先平等.基于Agent的网构软件模型研究[J].中国科学(E辑:信息科学). 2005, 35(12): 1233-1253
    [24]覃征,邢剑宽.软件体系结构[M].清华大学出版社. 2008
    [25] iksemel.iksemel源代码[EB/OL]. http://iksemel.jabberstudio.org/
    [26]Mark Priestley著,龚晓庆译.面向对象设计UML实践[M].清华大学出版社. 2006
    [27] SQLite.数据库SQLite官方网站[EB/OL]. http://www.sqlite.org/
    [28]徐莹琛.面向智能手机的Map-based Browser-设计与实现[D].华东师范大学. 2009
    [29]孟小峰,潘晓.基于位置服务的隐私保护[J].中国计算机学会通讯.2010, 6(6):16-22
    [30]郑宇,谢幸.基于用户轨迹挖掘的智能位置服务[J].中国计算机学会通讯.2010, 6(6):23-29

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700