首页> 中文期刊> 《现代电子技术》 >一种确保在WinCE系统中传输.wav文件完整性的方法

一种确保在WinCE系统中传输.wav文件完整性的方法

         

摘要

When the intelligent hand⁃held terminal using the Windows CE operating system in a unstable wireless network environment is used to send the audio wav format file in the WinCE system by means of UDP protocol, the file received by another WinCE intelligent equipment is usually incomplete,which leads to the sound file cannot be played. To solve the prob⁃lem,an idea and implementation method to improve the reliability of UDP protocol are researched to avoid the network packet loss. It is found that the data that marks the file attributes in .wav file header cannot correspond to the received file data,which is the basic reason to result in the abnormal display. The file header of the received file is corrected and restored to ensure the correctness of the data corresponding to each marking location of header file,and make the received sound files to be played nor⁃mally. This method was verified in the embedded development environment.%使用WinCE系统的智能手持终端,在不稳定的无线网络环境中使用UDP协议发送wav格式的音频文件时,另一台WinCE智能设备接收到的文件经常是不完整的,导致文件无法播放。针对这种网络数据丢包现象,研究提高UDP协议可靠性的设计思路和实现方法,发现.wav文件头中标识文件属性的数据无法与接收到的文件数据实体对应,是造成无法正常播放的根本原因,因此对接收的文件的文件头进行校正和复原工作,保证头文件的各标识位对应数据的正确性,确保接收的声音文件能正常播放。最后在嵌入式开发环境中进行了实现,验证了这种方法的有效性。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号