USSD网关设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本论文主要论述了无线接入Internet的一种全新途径——USSD网关的设计与实现。
     数字移动通信网络在中国得到了迅速的发展,随着移动通信业务的增长,利用移动通信网络以及互联网络的现有资源开展移动数据增值业务成为了必然的趋势。如何将互联网上丰富的信息资源通过无线通信网络来实现共享已成为人们关注的焦点,USSD网关就是在此背景下应运而生。USSD网关实现了移动通讯网络和因特网的有效结合,使用户可以通过移动手持设备访问因特网上的各种信息资源。
     本文详细讨论了如何通过USSD网关来实现USSD业务逻辑。具体的说,本文的工作主要集中在以下几个方面:
     在需求分析方面:从USSD业务规范入手,分析了USSD业务流程。提出使用USSD网关实现USSD业务逻辑的解决方案。深入研究了移动现有SMPP、EMPP等应用层协议,将SMPP协议作为USSD网关与移动内部网以及与Internet内容提供商之间的连接协议;EMPP协议作为USSD网关与移动业务控制点SCP之间的连接协议。
     在系统设计方面:完成USSD网关内部的整体逻辑流程设计,主要包括submit上传、deliver下发和USSD计费三大流程。为实现USSD业务面向连接、面向会话的特性,我们按照功能对USSD网关进行了模块划分。网关共划分为三大模块组,分别是核心模块组、功能模块组和通讯代理模块组。对各大模块组又进行了详细划分,由这些模块分别承担USSD网关的路由、门户导航、计费、连接管理以及日志等工作。在系统设计阶段,我们分析了这些模块内部的逻辑流程并制定出各模块间的接口。
    
     最后本文给出了用C语言在RedHat Linux 7.2平台上的USSD网关实现,
    并将USSD网关的实现按照各个功能模块分别做出了详细的论述。整个USSD
    网关的业务逻辑以USSD消息队列平台作为基础,该平台主要负责容纳所有经
    过USSD网关的数据包;USSD网关的处理逻辑首先将从队列中获取这些数据
    包并根据包的类型做相应的处理,这一系列的处理由USSD网关的路由、门户
    导航、计费等模块来完成;当USSD网关在完成以上处理之后需要将各个方向
    的包发送到其目的地、需要专门负责建立网络连接以及完成网络读写操作,该
    功能由通信代理模块来完成;此外,我们设计实现了日志以及安全检测处理模
    块来对USSD网关的业务逻辑进行维护和管理。
     USSD网关的设计和实现,很好的满足了将移动通讯网和互联网相结合的
    需求。同时开辟了无线接入互联网的一种全新的解决方案,事实证明是可行的。
    目前,我们设计并实现的USSD网关 1 .0版本在重庆移动经过了试运行阶段,
    目前正式投入商业运营。
This document introduces the analysis,designing and implementation of a new access method to the Internet, especially from a wireless handset.
    The fundamental network of data service mobile system has been quickly developed in China nowadays. As the quick development of mobile communication technology, to utilize the resource both of the wirless communication network and the Internet to develop value-added data services has been paid much attention on. USSD gateway comes into being in this background. USSD gateway has successfully combined the wirless mobile network with the Internet seamlessly. And user can access the imformation of the Internet through a handset.
    In this paper, the design and implementation of USSD gateway has been discussed. The Main Contribution includes:
    Firstly from the user demand: After carefully studying and analyzing the USSD service specification, we forms the USSD service data flow. And we decide use USSD gateway to implement the USSD service logic.And we also study the many China mobile application protocols such as SMPP, EMPP. After that we decide to use SMPP protocol as the application layer protocol between the USSD gateway and mobile PLMN, while, EMPP protocol as the application layer protocol between USSD gateway and the SCP.
    Secondly, from the system design:after gather all the demand of the user, we complete the logic data flow design of the whole USSD gateway. The USSD gateway has been branched out into many modules according to its function. These
    
    
    
    modules can be grouped in three big parts. They are: kernel part, functional part and communication part. Further small parts are gained by the division of the three big parts. These smaller modules include route module, portal module, fee module and connection management module,etc. We also define the interface of these modules.
    Finally, the system is implemented with C language on RedHat Linux 7.2. The details of the implementation are illustrated in this paper. All modules are based on the message management platform which mainly contains all the data messages that goes in two opposite directions; The main0 function of USSD gateway firstly get message from the message management platform and further process will be take on according to the type of every message. Possible process may be : routing, navigating, recording fee information,etc. After processing, USSD gateway need to send these message to their destination which connection modules take in charge of. Additionally, we also design log modules and safe modules for the management purpose.
    USSD gateway has combined the mobile PLMN and the Internet perfectly. In the mean while, we propose a new way of accessing to the Internet for wirless handset users. And this way has been proved to be feasible because this system-USSD gateway version 1.0 has run stablely in Chongqing China Mobile for business purpose.
引文
[1] ETSI:GSM standard 02.90 (USSD Stagel),1.0 ed., Feb.1995 http://pda.etsi.org/pda/AQuery.asp
    [2] ETSI:GSM standard 03.90 (USSD Stage2),7.0 ed., Aug. 1999 http://pda.etsi.org/pda/AQuery.asp
    [3] Logica: Short Massage Peer to Peer (SMPP) Interface Specification, 3.3 ed., Aug. 2000 http://www.logilca.com/de/sector/mobile_networks/what_we_do/programmes/SMPE.asp
    [4] Sema: Unstructured Supplementary Services Data- A Detailed Overview, Jul.2002
    [5] Tenet: USSD Gateway, Jan.2000
    [6] Nokia: USSD-fast messaging services to nearly any existing mobile terminal, Mar.2001
    [7] Mobile Streams: Succesee for SMS White Paper, Feb.2001
    [8] Mobile Streams: Succesee for WAP White Paper,Feb.2001
    [9] WAP Forum: WAP-204-WAPOverGSMUSSD-20010730-a, July-30-2001 ed.,Jul. 2001 http: //www.wmlclub.com/docs/especwap2.0/WAP-204-WAPOverGSMUSSD-20010730-a.pdf
    [10] [美]Wireless Application Protocol Forum Ltd.候春萍 宋梅 蔡涛等译.WAP无线应用协议[M].机械工业出版社,2000年9月
    [11] 中国移动通讯公司.中国移动通信公司USSD网关技术规范(V1.0)
    [12] 中国移动通讯公司.中国移动梦网USSD业务信令流程规范(V1.0)
    [13] 中国移动通讯公司.中国移动梦网USSD业务信令测试规范(V1.0)
    [14] 中国移动通讯公司.USSDG与SCP之间通信协议(事务层)规范(V1.0)
    [15] 中国移动通讯公司.神州行梦网短信业务规范(V1.0)
    [16] 中国移动通讯公司.移动梦网USSD网关计费话单(V1.0)
    [17] 中国移动通讯公司.USSD网关设备规范(V1.0)
    [18] 中国移动通讯公司.GSM移动通信网络规范
    [19] 重庆移动通信公司,重庆瑞迪恩科技公司.QB/RATEK 003-2001 SMPP for USSD接口规范V1.0)
    [20] 张海藩.软件工程导论[M].清华大学出版社,1998年7月
    
    
    [21]汤子瀛,哲凤屏,汤小丹.计算机操作系统[M].西安电子科技大学出版社,1999年
    [22]严尉敏,吴伟民.数据结构[M].清华大学出版社,1992年6月
    [23][英]Neil Atthew,Richard Stxones.Linux程序设计[M],机械工业出版社,2000年
    [24]张斌,高波等.Linux编程[M].清华大学出版社,2000
    [25]任永铮.Linux C程序员指南[M].国防工业出版社,2000年9月
    [26]杨华中,汪惠.数值计算方法与C语言工程函数库[M].科学出版社,1996
    [27][美]W.Richard Stevens.施振川,周利民,孙宏晖译.UNIX网络编程第1卷[M].清华大学出版社,1999.
    [28][美]Douglas E.Comer.赵刚等译.用TCP/IP进行网际互连第3卷:客户机-服务器编程和应用(第2版)[M].电子工业出版社,1998
    [29][美]W.Richard Stevens.尤晋元等译.UNIX环境高级编程口[M],机械工业出版社,1999年
    [30][美]sandeep Singhal.马跃,王道谊,徐塞虹等译,移动互联应用开发技术—WAP无线应用协议[M].机械工业出版社,2002年4月

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

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

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