摘要
现有智能手机的数据通信方案如蓝牙、Wi Fi、USB等,在硬件成本、功耗等方面存在不足,不适合即兴小数据通信的应用场景。为此,提出一种基于智能手机的数据通信方案。利用音频接口,并搭建物理层、数据链路层和应用层,使得数据通信系统与具体应用逻辑相互分离,保证数据通信系统的独立性和重用性。设计相关通信机制和通信协议保证数据通信的准确性和稳定性。针对智能手机音频接口差异造成的兼容性问题,给出信号复原算法并在软件上解决信号失真问题。实验结果表明,该方案简单便捷地实现了智能手机与检测终端稳定的双向数据通信,并且具有较好的兼容性和通用性。
Existing smartphone data communication solutions, such as Bluetooth, WiFi, USB and so on, have many shortcomings, like high hardware cost and power consumption, thus not suitable for impromptu small data. To overcome these shortcomings,this paper presents a data communication scheme based on smartphones. It uses audio interface and builds the physical layer, data link layer and application layer, making data communication systems and specific application logic separate from each other and ensuring the independence of the data communication system. And it designs the associated communication mechanisms and protocols to ensure the accuracy and stability. Aiming at the compatibility problem caused by audio interface differences between smartphones, a signal reconstruction algorithm is given to solve the problem of signal distortion over software. Experimental results show that it' s a simple and convenient way to achieve stable data communication between the smartphone and detection terminals, and has good compatibility and versatility.
出处
《计算机工程》
CAS
CSCD
北大核心
2016年第9期315-321,共7页
Computer Engineering
关键词
移动健康监测
智能手机
音频接口
双向数据通信
应用层
mobile health monitoring
smartphone
audio interface
two-way data communication
application layer