摘要
能力开放平台是一个提供电信能力开放的移动互联网开放平台,向开发者提供丰富的业务能力,包括:短信、彩信、地图、定位等。能力开放平台接入系统需要异步处理客户端的HTTP请求,而平台内部各个系统间的消息传递也需要使用大量的异步HTTP请求。Netty是一款异步的事件驱动的网络应用开源框架,用于快速开发可维护的高性能、高扩展性协议服务器和客户端。本文简述了通过对开源框架Netty的源码封装,提供方便易用可以发送异步HTTP请求的客户端的设计思路和具体实现。
Open Mobile Platform is an Open Platform providing ability of telecommunication. It provides developers with rich business abilities, including:SMS, MMS, maps, positioning, etc. The access system of Open Mobile Platform requires asynchronous processing HTTP requests for the client, and various systems of the platform also need to use a large number of asynchronous HTTP requests to send message. Netty is an asynchronous event-driven network applications open source framework, which is used for rapid development of maintainable high performance, high scalability protocol servers and clients. This paper brielfy describes the design idea and concrete implementation of using open source framework Netty for providing a convenient and easy http client which can send an asynchronous HTTP request.
出处
《电信工程技术与标准化》
2014年第1期84-88,共5页
Telecom Engineering Technics and Standardization
基金
国家973计划项目(No.2013CB329102)
国家自然科学基金资助项目(No.61372120
61271019
61101119
61121001
61072057
60902051)
长江学者和创新团队发展计划资助(No.IRT1049)
北京市支持中央高校共建项目--青年英才计划