节点文献

基于蓝牙的移动音乐播放系统的研究与实现

【作者】 黄强

【导师】 崔金钟;

【作者基本信息】 电子科技大学 , 计算机应用技术, 2010, 硕士

【摘要】 随着嵌入式技术的快速发展,各种功能的车载电子娱乐产品也是层出不穷,它们都在朝着多功能和设计简约型的方向发展,但这些高技术的产品更多的是应用在高档类型的轿车中,而在广大的公共性质的交通工具中则应用的并不多。比如音乐播放系统,在现代的大多数公共交通工具上,大多数都是以广播的方式将播放的音乐传输出来,而且乘客不能自主的选择收听喜欢的音乐,只能是播放什么音乐就被动的收听什么音乐。这样就产生了两个矛盾。一、在很多时候,一些乘客并不想听音乐,可是声音是通过广播的方式,无奈之下只能忍受声音带来的干扰,若将声音通过蓝牙耳机的方式传输出来,就不会有互相干扰的情况;二、很多的乘客都是希望能够像KTV里面,通过自主选择来收听自己喜欢的音乐,可是传统的车载音乐播放系统是没有这样的功能的。可是现在很多普通的手机上面都已经很好的支持了蓝牙的功能,如果能够将蓝牙技术充分利用在嵌入式系统中去,达到一种音乐点播选择的功能,那么上述两个矛盾是能够很好的解决掉。本论文正是为了解决上面的矛盾,正是提出了一种基于蓝牙技术的移动音乐播放系统的解决方案。本文主要分析和设计了一种低成本和高性能的基于蓝牙、ARM平台和ARM Linux的移动音乐播放系统。硬件方面搭建起了基于IIS总线的UDA音频解码硬件电路,在对该硬件解码模块设计和实现的基础之上,并重点分析实现UDA1341音频设备的软件驱动。软件方面分析了经典的蓝牙协议栈BlueZ的层次结构和数据的基本流程,以及如何将其移植到ARM Linux平台上去,然后着重阐述系统涉及的主要功能模块:音乐播放主控模块、音乐文件上传模块、音乐文件下载模块、点播服务主控模块。在程序模块实现的过程中充分按照多线程并发处理程序设计的思想,提高系统的高效性,给出了模块实现的流程图和主要的数据结构。由于在目前的公共交通工具中还很难看到有使用该种功能设备的,相信该系统会对公共交通工具上传统的音乐播放方式起到一定的促进作用,所以相信在未来的车载设备市场中,有类似功能产品必将有一个广阔的市场前景。

【Abstract】 With the rapid development of embedded technology, various kinds of electronic entertainment products of the car become popular, they are developing to be multipurpose and simply designed, but these kind of high-tech products are implemented in high-grade cars, while the majority of the public transports have little of the equipments. Taking the music playing system for example, in the most of the modern public transport, the system broadcast the music which is playing, the passengers can not choose the music which they like but only listen to the music which is playing right now passively. In such cases, there will be two contradictions:1. In many cases, some passengers do not want to listen to the music, but it is broadcasted, they can only tolerate the interference caused by sound. If the sound is outputed to the listeners through Bluetooth headset, there would be no mutual interference.2. Some of the passengers may want to choose the music which they like just as what they can do in the KTV system, but the traditional music playing system in the transport can not support such function. Now many ordinary mobile phones can support Bluetooth well, if we can take full advantage of Bluetooth technology in embedded systems to achieve the function of music selection, then the two contradictions above can be solved.This thesis was to address the above contradictions; it proposes one kind of mobile music playing system solution based on Bluetooth technology.This thesis mainly analyzes and designs a low-cost and high performance mobile music playing system based on Bluetooth, ARM and the ARM Linux platform. As to the hardware part, the thesis builds the UDA-based audio decoding circuit based on IIS bus, on the foundation of design and implementation of the hardware of decoding module; it analyzes the implementation of the UDA1341 audio device driver. As to the software, the paper analyzes the hierarchical structure and data flow of the classic BlueZ Bluetooth protocol stack, and how to port it to ARM Linux platform, then focuses on the system’s main modules including: music player control module, music files uploading module, music file download module, and on-demand service control module. In the process of implementing the modules, the paper adopts the multi-threaded parallel processing programming ideas to improve system efficiency. The flow chart of modules and main data structure are included in the paper also.Though it is difficult to find such kind of equipment in the current public, hopefully it can propel the evolution of traditional music playing method in the public transports. It is believed that in the future the in-vehicle systems which have the functions introduced above will have a broad market prospect.

【关键词】 嵌入式系统蓝牙BlueZARM
【Key words】 Embedded systemBluetoothBlueZARM
  • 【分类号】TN912.2
  • 【被引频次】3
  • 【下载频次】485
节点文献中: