Design and Implementation of E1 Interface Card and Drivers of SIPG Gateway

Author
WangPing
Advisor
LeiWeiMin
School
Graduate School of Chinese Academy of Sciences (Shenyang Institute of Computing Technology)
Major
Computer Software and Theory
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2006
Downloads
139
Citations
0

Request the full text

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.

Table of contents

Abstract 2-3 ABSTRACT 3-6 Introduction 6-8 the SIPG gateway design - 14 1.1 Project Background 8 1.2 the SIPG gateway technology background 8-10 1.2.1 VoIP Introduction 8-9 1.2.2 SIP protocol 9-10 1.2.3 PSTN About 10 the 1.3 the SIPG gateway system design 10-13 1.3.1 the SIPG gateway functionality 10-12 1.3.2 SIPG gateway architecture design 12-13 1.4 Chapter Summary 13-14 Chapter II the SIPG Gateway E1 interface board design and realization 14-35 2.1 related technical principles 14-19 2.1.1 E1 and E1 frame structure 14-15 2.1.2 FPGA and VHDL language 15-16 2.1.3 PCI bus 16-19 2.2 E1 interface board system structural design 19-21 2.3 FPGA logic function and configuration mode select 21-27 2.3.1 FPGA logic functions realization 21-24 2.3.2 configuration mode choice 24-27 2.4 PCI interface design 27-32 2.4.1 PCI 9030 and PCI bus interface design 28-29 2.4.2 PCI 9030 interface with the FPGA design 29-30 2.4.3 PCI 9030 Initialization 30-32 2.5 DS21Q354 interface designs 32-34 of 2.5.1 DS21Q354 and FPGA interface design 32-33 , 2.5.2 DS21Q354 E1 interface connection design 33 - 34 2.6 Chapter Summary 34-35 Chapter SIPG gateway E1 interface card driver design 35-53 3.1 PCI driver 35-36 3.1.1 Linux in PCI initialization process 35 3.1.2 PCI device drivers 35-36 3.2 SIPG Network off E1 interface board to drive the design and implementation 36-48 3.2.1 SIPG gateway E1 interface board driver functionality and its design 36-42 3.2.2 E1 interface card driver detection and initialization module design and implementation the 42-44 3.2.3 gateway driver data transceiver module design and realization 44-46 3.2.4 driver and user-space program interface implementation 46-48 3.3 gateway driver debugging 48-52 3.3.1 Linux kernel debugging techniques 48-50 3.3.2 SIPG gateway driver debugging 50-52 3.4 This chapter Summary 52-53 Chapter SIPG gateway drive test 53-57 4.1 SIPG gateway driver test 53-55 4.1.1 test environment 53 4.1.2 test 53-55 4.1.3 Performance evaluation 55 4.2 SIPG gateway test 55-56 4.3 Chapter Summary 56 -57 conclusion 57-58 Reference 58-60 Post article directory nbsp the; 60-61 Acknowledgements 61

Related dissertations

  1. Wideband code division multiplexing wireless transmission systems and binary locate the user CPU development in a number of technical studies and achieve
  2. Design and Implementation of Signalling Exchange Software of SIPG Gateway
  3. The Design and Implementation of the Small SIP / PSTN gateway
  4. Research of the E1 Bit Error Testing Technology Based on FPGA
  5. The Research and Design of Digital Seats on Voice Command and Communication System
    LeiTing ·North China University of Technology ·2010 ·Master's thesis
  6. The satellite modem E1 interface design and channel codec technology research