首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于Android系统的TCP/IP客户端异步通信模块研究
引用本文:史梦安,;王志勃.基于Android系统的TCP/IP客户端异步通信模块研究[J].人天科学研究,2014(10):115-118.
作者姓名:史梦安  ;王志勃
作者单位:[1]淮安信息职业技术学院计算机与通信工程学院; [2]淮安信息职业技术学院计算机与通信工程学院
基金项目:江苏省工业和信息产业转型升级专项引导资金项目(KA12217019)
摘    要:利用Java多线程以及线程间通信技术实现TCP/IP异步通信存在耦合度较高、模块可重用性低等弱点,采用中介者设计模式进行改进并设计TCP/IP客户端异步通信框架。在家畜养殖智能监控系统的通信模块中对该通信框架进行了验证。结果表明,采用该框架设计的通信模块响应及时、性能稳定。

关 键 词:异步通信  框架设计  套接字  多线程  设计模式

The Study of TCP/IP Asynchronous Communication Client-Side Module Based on Android
Abstract:In order to improve the user experience and robustness of the procedure ,after Android 2 .3 ,the networking code should not be executes on a child threa ,the developers need to combine multithread technique to realize network communication .This paper studied the way to implement TCP/IP asynchronous communication way with the Java multi-threading and communications between threads ,meanwhile to improve and design the client framework for asynchronous communication inorder to overcome the problems like module coupling is higher and the reusability is low .This framework has been implemented in the development of communication module of the livestock intelligent monitoring system w hich is verified that the communication module works timely and stability .
Keywords:Android  Framework Design  Socket  Multithreading  Design Patterns
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号