To develop mobile peripherals, to solve some problems that the data interface of the mobile terminal is not the same and the data exchange is not convenient, a kind of communication protocols is designed. Employing the core module of embedded system to match management programs which be installed in the mobile terminal application, to launch the multiple threads programs which can coordinate embedded module to finish decoding of digital data, to extend the application of peripheral storage module for further, these can ensure to reliably transfer digital information through the audio analog signal transmission lines. It realizes a kind of open interfaces. The design thought, the power of peripherals was supplied by mobile terminals, has certain enlightening significance.%基于开发移动外设的目的,解决移动终端数据接口不相同、数据交换不便利等问题,设计一种编解码协议,并采用嵌入式系统开发核心模块,结合安装在移动终端的管理程序启动多线程,通过多线程协调嵌入式模块并实现数据的编解码,再通过扩展应用模块读写外存供后期利用,从而获得在传输声音的模拟信号线路上可靠传输数字信息,实现了一种开放性的接口,依靠移动终端为外设供电的设计思路有一定启发意义。
展开▼