为了评估基于Android手机的Ad-hoe多媒体通信在实际应用中的效果,基于AndroidOS2.3.6开发了一套Ad-hoe自组织网络通信软件,能够实现无基站环境下手机之间通过多跳传输文本、图片以及语音数据。给出了软件整体功能用例图和关键通信模块的类图和流程图,对单跳和多跳传输时消息的正确接收率和耗电量进行了测试。结果表明,等数据量的不同类型消息在同等距离内的正确接收率差别不明显,文字的正确接收率最稳定,数据量较小时消息的多跳传输正确接收率比数据量大时高。发送端和接收端工作2小时11分耗电量分别占电池总电量的29%和24%。
To evaluate the effect of the Ad-hoc multimedia communication with Android smartphone in practical applications, a set of communication software with Ad-hoc self-organized network is developed using Android OS 2.3.6. It is capable of transferring text, image and speech data via multi-hop between smartphones without the base station. The use case diagram of the system func- tion and the class diagram and the flow diagram of the key communication modules are given. Tests are conducted on correct recep- tion rate of messages on single-hop and multi-hop conditions and the power consumption of the software. It is found that correct re- ception rate for different messages within the same range and with equal data size shows little difference. The correct reception rate for text is the most stable among the three, and the correct reception rate for messages with small data size is higher than that with large data size. The power consumption of the software in the sending phone and the receiving phone is 29% and 24% of the total battery power, respectively.