摘要
由于移动终端数据接口各不相同,使数据交换不便利。为了尝试拓展音频接口的应用,文中设计了一种通信协议以保证模拟信号的可靠传输。开发了可下载手机软件,通过程序对从音频输入接口采集到的音频信号进行差分曼彻斯特解码,并送到音频输出接口。程序由3个线程构成,当数据传输服务程序在手机上启动后形成,应用嵌入式系统和控制软件实现数字数据的编解码,数据信号在主控模块中进行编解码处理,再通过控制装置读取、写入外部介质,并存储数据,设计中对线程设计、传输算法和协议格式进行了研究。实验证明,设计能满足串行通信的同步要求,保障了数据传输的稳定性。
The data interfaces of Mobile terminals are not identical, which causes great inconvenience in data exchange. In order to expand the applications of audio interface, a special communication protocol is designed to en- sure the reliability of the analog signal transmission. Coding and decoding of digital data are realized based on the embedded system and the control software, which can be downloaded onto cellphones. There are some useful explo- rations into the thread design, transmission algorithm and agreement on the format. Experiment shows that our de- sign meets the requirement of the synchronization of serial communications.
出处
《电子科技》
2013年第3期45-47,共3页
Electronic Science and Technology
基金
广东轻工职业技术学院自然科学技术基金资助项目(KJ201011)
关键词
音频接口
数据传输
模块设计
数据格式
audio interface
data transmission
module design
data format