节点文献
SIPG网关E1接口板卡及其驱动的设计与实现
Design and Implementation of E1 Interface Card and Drivers of SIPG Gateway
【作者】 王平;
【导师】 雷为民;
【作者基本信息】 中国科学院研究生院(沈阳计算技术研究所) , 计算机软件与理论, 2006, 硕士
【摘要】 在基于SIP协议的VoIP系统中,SIP/PSTN网关设备用来实现IP网络和公用交换电话网络(PSTN)之间的信令和媒体转换。传统体系结构的SIP/PSTN网关通常是由“RISC CPU+DSP”来实现,其开发成本高。而SIPG网关采用通用处理器和软件来实现,有效地降低了系统成本,且系统具有可扩展性。SIPG网关由连接两个网络的接口硬件E1接口板卡、驱动程序和应用软件三部分构成。E1接口板卡是SIPG网关设备物理层的连接,实现E1信号的收发及到PCI接口的映射,提供PSTN的E1线接口,是SIPG网关的基础;SIPG网关驱动程序完成E1接口板卡的初始化和配置,并为上层网关软件提供接口。本文介绍了SIPG网关中E1接口板卡及其驱动程序的设计与实现。第一章介绍了SIPG网关的设计方案、技术背景及其系统设计。第二章介绍了SIPG网关E1接口板卡的设计,完成FPGA逻辑功能的实现及其配置模式选择,阐述了PCI接口的设计与实现以及DS21Q354接口的设计与实现。第三章介绍了SIPG网关E1接口板卡驱动程序设计与实现,该网关驱动是在Linux平台下设计开发的,首先阐述了几个主要函数的设计与实现,其次阐述了几个模块的设计,最后实现了驱动程序与用户空间程序的接口。第四章对SIPG网关驱动程序进行了测试,测试结果反映SIPG网关E1接口板卡及其驱动的设计方案良好。
【Abstract】 In the VoIP system based on SIP, the SIP/PSTN gateway equipment is used for signaling and media conversion between IP network and public switched telephone network (PSTN). The SIP/PSTN gateway of traditional architecture, which is generally implemented with“RISC CPU+DSP”, costs too much in development, but the SIPG gateway was implemented with general processor and software, which cuts down the cost effectively and facilitates expansion.The SIPG gateway is composed of the interface hardware-E1 interface card connecting the two networks, drivers and application software. As the basis of SIPG gateway, the E1 interface card connects the SIPG gateway equipments on Physical layer, and realizes the send and receive of E1 signal and the map to PCI interface, and also provides E1 interface of PSTN. Drivers of SIPG gateway takes charge of the initialization and console of E1 interface card, and provides the interface for the gateway software above.This paper introduces the design and implementation of E1 interface card and drivers of SIPG gateway. In the first chapter the design project, technical background and the system design is introduced. In chapter 2, SIPG gateway E1 interface card is designed at first; Then the implementation of FPGA logical function and configuration mode choice of FPGA are finished; And finally PCI interface and DS21Q354 interface are designed and implemented. In chapter 3, the design of SIPG gateway E1 interface card drivers is described in detail, which is developed on Linux. Several main functions are designed and implemented at first; Then several modules are designed; At last, the interface between drivers and the program of user space is realized. Finally, in chapter 4, a test for SIPG gateway drivers is reported. It can be seen that the design project of E1 interface card and drivers of SIPG gateway is feasible.
【Key words】 SIP/PSTN gateway; SIPG gateway; E1 interface; Gateway drivers;
- 【网络出版投稿人】 中国科学院研究生院(沈阳计算技术研究所) 【网络出版年期】2007年 04期
- 【分类号】TP393.05;TP334.7
- 【下载频次】206