摘要
传输组件为信息系统中的数据流转软件提供底层传输支撑。在多用户并发、保证传输可靠性和时效性的要求下,设计实现了一个基于TCP协议的传输组件。阐述了组件实现的工作原理,包括客户和服务之间的交互控制过程和处理。对组件采用的技术进行分析,包括Socket的IO多路复用应用、线程池的实现和数据粘包的处理方法,同时列举了组件提供的接口,最后给出了组件的测试结果。
In an information system,the transmission components are foundations of data flow software. A transmitting component based on TCP protocol is designed. It can satisfy the requirements of timeliness and reliability of multi-user concurrent operation. The operating principle of the components is described,including interaction process between client and service.In addition,the techniques used by components are analyzed,including IO multiplex implementation of thread pool and method of sticky-package.Besides,the inter-faces of the component are listed.Finally,the test result shows that the component has high reliability.
出处
《无线电通信技术》
2014年第4期46-49,共4页
Radio Communications Technology