用户名: 密码: 验证码:
IIP中基于MINA框架的统一接口的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
彩铃业务是“个性化多彩回铃音业务”(Color Ring Back Tone)的简称,是一项由被叫用户定制,为主叫用户提供一段悦耳的音乐或一句问候语来替代普通回铃音的业务。彩铃业务以其新颖、个性化的特点,在国内得到了迅速发展。
     彩铃业务已经成为电信运营商ARPU(Average Revenue Per User)值的重要贡献力量和新的利润增长点,引起了运营商的极大重视。同时,其他各种基于彩铃的附加业务也快速增长起来,如浙江移动推出的彩铃智能搜索,中国移动总公司推出的彩铃无线音乐俱乐部等。支持这些新业务的功能系统一般是作为彩铃功能系统IIP(IndependentIntelligent Peripheral)的附加模块的形式出现。这些模块都需要借助一个相应的接口来与IIP核心部分进行交互。当新的需求提出时,必须开发一个新的接口或对已有接口进行较大规模的重构,而通过对IIP中已存在的接口如连接BOSS的SC接口和连接中央音乐平台的SOAP接口的分析,我们发现这些接口都存在一些类似的问题,如接口冗余重复程度比较大,可移植性不足,功能模块之间耦合程度较高,单元测试难度较大,维护成本较高等缺点。
     基于模块化和可重用性的考虑,本文设计实现了一个独立的统一接口,在新的基于彩铃的业务提出时,只需要修改协议编解码部分和相应的业务逻辑,就可以直接加载到现网,从而快速稳定高效地实现商用。
     本文提出了在IIP中设计实现统一接口的方案,详细阐述了统一接口的设计思想以及内部各模块实现的机制,并说明了实现过程中的改进措施。统一接口的设计和实现方案大幅缩短了设计编码测试的时间,同时也大大提高了可靠性和稳定性。
     论文围绕IIP中统一接口的设计和实现进行阐述,组织结构如下:第一章,彩铃业务介绍,并对IIP中已有接口进行了分析,说明了已存在接口的特点和不足,为统一接口设计的提出做了准备;第二章给出了在IIP中实现统一接口的总体方案,引入了MINA(MultipurposeInfrastructure for Network Applications)框架,并分析了MINA框架的实现特点;第三章,完成了统一接口的概要设计,分别从其系统结构和需求、模块划分、模块功能等方面进行了介绍,并详细说明了统一接口主线程的工作流程;第四章,详细设计并实现了统一接口,在保证系统性能的基础上,围绕通用性和扩展性两个原则,分别从协议编解码、消息处理、缓存管理、终端监控等模块说明了设计实现的过程,并给出了在部分模块中进行单元测试分析,从而提高整个系统效率的过程。第五章,对统一接口进行了模拟性能测试。最后,对主要的设计实现工作做了总结,并对下一步需要研究的工作进行了探讨。
Color Ring Back Tone (CRBT) Service is a feature to enable a calling subscriber to hear a music tone, instead of the old-fashioned ring-back tone, while waiting for the called subscriber to answer the call. Relied on novelty and personalized service feature, CRBT service has developed rapidly.
     As an increasingly important contributor of ARPU, CRBT service weighed so highly in new profit increase for telecom operators that operators made a point of developing it. At the same time, other types of service based on the CRBT grow rapidly, such as the introduction of the CRBT Intelligent Search together with wireless music clubs, and so on. The function system implementing these new service systems is usually in the form of add-on modules for the CRBT IIP (Independent Intelligent Peripheral) . These modules are required by a corresponding interface to communicate with the core of the IIP. When new demands are put forward, we must develop a new interface or to have large-scale interface remodeling. Analyzing of the interfaces have been in existence in IIP, such as the SC interface and the SOAP interface, we found that these interfaces are similar, there are some issues, such as redundant interface relatively large degree of duplication, lack of portability, higher-coupling between modules, difficult for unit testing, high costs for and so on.
     Based on the modular and reusable consideration, this article designs an independent universal interface, when the new service based on CRBT is put forward, we just need to change the corresponding codec part and the service logic, then the interface can be used commercially. thereby efficiently achieve rapid and steady business.
     The article describes the design and implementation of the MINA-based Universal Interface in IIP, and explains the amelioration of the process. This scheme significantly shorten the design and coding time, but also greatly improving the reliability and stability.
     This article illustrates the design and implementation of the Universal Interface in IIP. In chapter one, the article introduces CRBT service firstly, then analyses the interfaces has been in the IIP. An analysis show that there are some inadequate. Chapter two explain the demand need and present the design principle of the universal interface, then introduced MINA (Multipurpose Infrastructure for Network Applications) framework and analyses its realization characteristics. Chapter three describes the system architecture and mechanism, includes three different schemes and their contrast. Chapter four, the focus of this paper, describes the designing and implementation procedure of universal interface in IIP. By combining these experiences and principles, we implement the codec component, processing component, cache management, terminal monitoring modules and so on., and gives some modules for unit testing analysis, thereby enhancing the System efficiency of the process. Chapter five, test the universal interface simulated performance. Finally, the progress and the next step of the project are summarized.
引文
[1]中国移动通信集团公司,彩铃业务业务规范3.0.0(报批稿),2006.3
    [2]中国移动通信集团公司,彩铃业务总体技术要求V3.0.0,2006.3
    [3]杨军,彩(铃)振(铃)系统的设计与实现[硕士学位论文],北京邮电大学,2005.4
    [4]吕艳青,彩铃DIY功能规范书,东信北邮内部文档,2005.12
    [5]张立杰,彩铃随心贴功能规范书,东信北邮内部文档,2005.12
    [6]吕艳青,集团彩铃功能规范书,东信北邮内部文档,2005.12
    [7]朱晓民,黄晖,廖建新等,移动智能网独立智能外设的设计与实现,北京邮电大学学报,2003年12月,第26卷,第4期,pp70-76
    [8]中国移动通信集团公司,无线音乐俱乐部业务规范,,2006年9月.
    [9]中国移动通信有限公司,音乐搜索业务规范1.0,2006.9
    [10]中国移动通信有限公司,SMP-BOSS接口业务规范1.0,2006.9
    [11]Trustin Lee.Introduction to MINA.[Online]http://mina.apache.org/documentation.data.htm,April 2006.
    [12]Peter Royal.Building High Performance Scalable TCP/IP Servers with Apache MINA.[Online]http://mina.apache.org/documentation.data/ACEU2006.pdf,November 2006.
    [13]Cay S.Horstmann,Gary Cornell,Core Java 2,Volume II,Prentice Hall PTR,May 2006
    [14]林信良,Spring技术手册,电子工业出版社,2006.6
    [15]Schmidt,D.,et al.Pattern-Oriented Software Architecture,Volume 2,Patterns for Concurrent and Networked Objects.s.l.:John Wiley & Sons,2000.
    [16]ELISABETH FREEMAN,ERIC FREEMAN,BERT BATES,KATHY.Head First Design Pattern,东南大学出版社,2006.11
    [17]Stevens,W.R.,Fenner,B.and Rudoff,A.M.Unix Network Programming,Vol.1:The Sockets Networking API,Third Edition.s.l.:Addison-Wesley Professional,2003.
    [18]Cardelli,L.and Wegner,R On Understanding Types,Data Abstraction,and Polymorphism.ACM Computing Surveys(CSUR).December 1985,Vol.17,pp.471-523.
    [19]Gamma,E.,et al.Design Patterns:Elements of Reusable Object-Oriented Software.s.l.:Addison-Wesley Professional,1995.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700