蓝牙热点框架的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
蓝牙技术是一种短距离、低功耗的无线传输技术,主要用于解决便携式设备的近距离无线互联,具有功耗小、成本低等优点,因此在日常生产和生活中得到了广泛的应用。蓝牙SIG发布了全球统一的蓝牙应用协议规范,并以其为基础发展出许多的蓝牙应用框架以满足各方面应用的需要。蓝牙现有应用框架中应用比较广泛的主要包括对象交换框架与头戴设备框架,这两个应用框架分别完成PC机与手机的文件通信和手机与蓝牙耳机的语音通信的功能。
     本文所要完成的工作是根据实际应用的需要设计和实现一种蓝牙热点框架,以满足人们对信息交互的要求。针对蓝牙热点框架可能的应用场合和应用方法,将热点框架的服务分为三种模式:即主动模式、被动模式和中转模式,并说明了热点框架的工作流程。由于蓝牙热点框架的客户端主要为手机、PDA等数据处理能力有限的移动终端,所以文中还针对这一情况规定了热点服务器与客户端间的数据通信格式。该数据格式尽量不以文件形式进行传输,以减少通过蓝牙传输的数据量,同时也减少手机处理的数据量。蓝牙应用框架必须以蓝牙底层协议栈为基础,而在Windows平台现在还没有可以直接用来进行上层开发的蓝牙协议栈,所以文中为实现蓝牙热点框架还在Windows平台之上实现了蓝牙底层协议栈中HCI协议、L2CAP协议、SDP协议和RFCOMM协议的部分功能,以满足蓝牙热点框架的实现要求。同时利用J2ME实现了手机中的客户端软件,以实现手机与PC机上的蓝牙热点服务器的信息交互。
Bluetooth is a short-range, low-power wireless technology which is mainly used for wireless connection in short distance among portable devices. Because of the advantages of low power consumption and low cost, Bluetooth is widely used in production and daily life. Bluetooth SIG issued a global Bluetooth application protocol profile based on which many Bluetooth application frameworks was developed to meet the needs of various applications. The headset profile and the object exchange profile are more widely used, the headset profile is used to transfer voice stream between the mobile phone and earphone, and the object exchange profile is used to transfer file between the mobile phone and PC.
     This paper is to design and implement the new Bluetooth profile which will satisfy the needs of the information interactive. According to the possible applications and application methods of the Bluetooth profile, the service mode of the Bluetooth profile will be divided into three modes: the active mode, passive mode and transit mode, and the workflow of the Bluetooth profile was presented as well. As the client in the Bluetooth profile is mainly the mobile phone or PDA and other mobile terminals that have limited data processing capacity, the paper also provides the data format communicated between servers and client. The data format is not to transmitted in file format in order to reduce the data load transmitted through Bluetooth as well as the amount of data processed in the mobile phone. The application framework of Bluetooth must be based on the underlying protocol stack, but there hasn't been Bluetooth protocol stack directly used for the upper development in Windows platform, so this paper also realized some functionalities of the protocol of HCI, L2CAP, SDP and RFCOMM which are the bottom protocols of the Bluetooth protocol stack to meet the demand of the Bluetooth framework. At the same time this paper also implemented the client software in the phone in J2ME platform to achieve the information interactive between the phone and Bluetooth server in PC.
引文
[1]Antonio Rafael C.Paiva,Tiago J.Martins Duarte.Architectures for Open Access Hotspots.JANEIRO.200,4,,4(2):235-240.
    [2]Mee Young Sung,Jong Hyuk Lee,Yong II Lee,Yoon Sik Hong.Mixed Usage of Wi-Fi.and Bluetooth for Formulating an Efficient Mobile Conferencing Application.Grid and Cooperative Computing,Lecture Notes in Computer Science.2004,3251:712-719.
    [3]jazilah Jamaluddin,Ratish Nair,Reuben Edwards,Paul Coulton.Widening Access to Broadband Hotspots Employing Bluetooth.Consumer Electronics,IEEE International Symposium,Septemper,2004:224-228
    [4]Bluetooth Hotspots The Shopping Mall Business Case.http://www.tadlys.com.2003.
    [5]Jazilah jamaluddin,Matthew Doherty,Reuben Edwards,Paul Couton.Hotring Advertising Model for Broadband Hotspots.Wireless Communications and Networking Conference(WCNC 2004),March 2004,4:2064-2068.
    [6]Kai Chen,Zhenyu Yang,Christian Wagener,Klara Nahrstedt.Martket Models and Pricing Mechanisms in a Multihop Wireless Hotspot Network.Mobile and Ubiquitous Systems:Networking and Services,The Second Annual International Conference,July,2005:73-82.
    [7]马建仓,罗亚军,赵玉亭.蓝牙核心技术及应用.北京:科学出版社,2003.
    [8]钱志鸿,杨帆,周求湛.蓝牙技术原理、开发与应用.北京:北京航空航天大学出版社,2006.
    [9]Bluetooth SIG.Specification of the Bluetooth System(core),V2.0,Nov 2004.http://www.bluetooth .com.
    [10]张禄林,雷春娟,郎晓虹.蓝牙协议及其实现.北京:人民邮电出版社.2001,10.
    [11]David Kammer 等著,李静等泽.蓝牙应用开发指南-近程互联解决方案.北京:科学出版社,2003.
    [12]张克非,陈咏恩,牛亏环.蓝牙协议栈软件设计.通信技术与设备.2003,29(10):15-18.
    [13]邓华利,王铮,周劲.蓝牙无线接入VoIP网关的研究与设计.计算机工程与设计.2006,27(6):990-992.
    [14]杨瑞.蓝牙通信在Windows Mobile移动终端中的研究与实现.计算机系统应用.2007,3:59-62.
    [15]Stephan Hartwig,Thomas Rautenberg,Markus Simmer,etc.WAP OVER BLUETOOTH:TECHNOLOGY AND APPLICATIONS.Consumer Electronics(1CCE 2001)International Conference,Jue 2001:12-13.
    [16]王浩,王平.蓝牙HCI层数据通讯的实现.微电子学与计算机.2002,(12):7-9.
    [17]关宇东,张旭涛,陈学泉.蓝牙主控制器接口(HCI)的实现.无线电工程.2004,(3):12-15.
    [18]Palin.A,Reunamaki.J,Salokannel.J,Ylanen.J.Bluetooth Host Protocol Usage Over the Ultra Wideband Radio.Personal,Indoor and Mobile Radio Communications,IEEE 17th International Symposium.Sept.2006:1-4.
    [19]Mohammad Asad Rehman Chaudhry,Muhammand Imran Sheikh.Protocols Stack & Connection Establishment In Bluetooth Radio.Students Conference(ISCON 2002)Proceedings,IEEE.Aug 2002,1:48-55.
    [20]阮帮秋,汤琳,邓广增.蓝牙核心协议L2CAP的实现.无线电工程.2001,(11):22-31.
    [21]郑之光,杨红丽,卫耀辉,李淑娟.蓝牙L2CAP协议的功能及应用分析.数据通信.2002,(1):38-42.
    [22]Pek.E,Bogunovic.N.Formal verification of logical link control and adaptation protocol.Electrotechnical Conference(MELECON 2004)Proceedings of the 12th IEEE Mediterranean.May 2004,2:583-586.
    [23]谭源春,陈健,王甫莉.蓝牙服务搜索协议的实现.电子科技.2007,(4):22-26.
    [24]马争,郝云飞.蓝牙服务搜索的设计与实现.电子学报.2003,31(11):1758-1760.
    [25]Sasikanth Avancha,Anupam Joshi,Timothy Finin.Enhanced service discovery in Bluetooth.Computer.2002,35(6):96-99.
    [26]马严晋,陈启军.蓝牙协议栈中RFCOMM协议层的分析与实现.计算机工程.2004,30(8):112-114.
    [27]李想,阔永红.蓝牙RFCOMM协议分析与实现.电子科技.2007,(4):35-40.
    [28]Hitomi Murakami,Atsushi Ito,Yu Watanabe,Takao Yabe.Mobile Phone Based Ad Hoc Network Using Built In Bluetooth for Ubiquitous Life.Autonomous Decentralized Syetems(ISADS 2007),Eighth International Symposium,March 2007:137-146.
    [29]刘斌,丁璇,庞晖等.J2ME手机开发入门.北京:人民邮电出版社,2006.

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

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

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