JAVA-based voice communication software design
- Author
- LanTian
- Advisor
- ChenJieMei
- School
- University of Electronic Science and Technology
- Major
- Signal and Information Processing
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 437
- Citations
- 0
Abstract
Voice over IP is a rising technology which has a wide future in application. We can achieve the integration of data network and voice network by Voice over IP. It makes possible to communication anytime and anywhere of integrated information as well as saving various precious resources.JAVA is a widely-used network programming language. It is a new computational concept with two points. For one, as a programming language, it is simple, object oriented, no machine-relied, transplantable, secure, and it also provide a concurrency mechanism which results in high power, and get rid of much unreasonable content. For another, JAVA provides abundant class libraries, such as JAVA Sound API, which make programmers construct their systems conveniently.In P2P network, every computer on the network was an equal: Each computer could access the resources of any other computer on the network while making its own resources available. Communication among hosts was also equal: No computer was seen as a client or component of another, and all computers shared more-or-less equal bandwidth access to one another. P2P technologies adopt a network-based computing style that neither excludes nor inherently depends on centralized control points.The technology of NAT implements multiple access of network addresses, however, it hides inner network address information and host computers in different NAT areas could not identify each other for direct exchanging of information. As a result, P2P networks have to deal with the problem of NAT traversing.NAT can realize the multiplex network address and hide the information of internal network address. Host computers in different NAT areas could not identify each other for directly exchanging information. As a result, P2P network has to deal with the problem of NAT traversal. I have offered a solution of using a register server on internet and TCP protocol to implement the peer-to-peer information exchanging between two computers of different NAT areas in P2P network.JXTA is an open source platform for P2P applications which lets developers build and deploy P2P solutions more quickly. The objectives of JXTA Technology are good interoperability, platform independence and ubiquity.This software could implement real-time peer-to-peer voice communication by applying the technologies above synthetically. We can solve the problem of PC access in the internal LAN as well. In addition, the data encryption techniques provide a security of the voice transmission. The design of the software includes User Interface design and the implementation of real-time voice transmission. The User Interface integrates the function of IP address input, encryption option, voice sampling and the configuration of code parameters. And the implementation of lower voice data transmission is the core of the whole software, which involves voice input and output, voice sampling and playback, signal encoding and decoding, signal compressing and
Table of contents
Abstract 4-5
Abstract 5-9 the
charts Catalog 9-10
symbol table 10-11 <br / > Chapter Introduction are found; 11-14
of 1.1 topics value and significance the 11-12
problem to be solved by the 1.2 subject 12
1.3 chapters arrangements the 12-14
Related technical backgrounds 14-39
2.1 JAVA language 14-22
2.1.1 portability 14-16
2.1.2 Socket class to the 16-19 2.1.3 JAVA the Sound
the API 19-22
2.1.3.1 Java Sound system structure 19-20
2.1.3.2 Java Sound Mixing Theory and 20-22
2.1.3.3 audio data storage format 22
2.2 NAT technology 22-29
2.2.1 NAT Overview the 22-24 2.2.2 NAT main function
24-25
2.2.3 NAT technology type 25-26
2.2.4 NAT implementation process 26-27
the 2.2.5 the NAT security strategy 27-29
2.2. 5.1 Application NAT technology security issues 27-28
2.2.5.2 Application NAT technology security policy 28-29
2.2.6 NAT impact of P2P 29
2.3 P2P technology the 29-39 2.3.1 P2P model Introduction
the 29-33 2.3.2 P2P key technologies
33-34 < br /> 2.3.3 P2P and C / S 34-37
2.3.4 P2P applications several focus 37-39
Chapter JAVA-based voice communication software design 39-65
3.1 basic principle 39-40
3.2 network voice transmission key technology 40-44
3.2.1 Voice acquisition technology 40
3.2.2 voice compression coding technology 40-43
3.2.3 packet transmission 43-44
3.2.4 factors affecting the voice quality 44
3.3 JXTA platform to achieve 44-50
3.3.1 the JXTA To solve the problem 44-45
3.3 .2 What is the JXTA 45-46
3.3.3 JXTA architecture 46-47
3.3.4 JXTA terminology 47-49 <br / > 3.3.5 JXTA JAVA bindings are found; the 49-50 3.4 P2P SOCKETS. engineering
50-53
3.5 software design process 53-60
3.5.1 The two sides of the network connection 53-55
3.5.2 voice signal acquisition and playback 55-59
3.5.3 voice signal encoding and decoding 59 -60
3.5.4 NAT traversal 60
3.6 overall system design 60-61
3.7 voice communication process 61-63
3.8 software application environment 63-65
Chapter JAVA-based voice communication software the the 65-74
4.1 voice processing modules to achieve 65-69 < br /> 4.1.1 package the voice coding format AMAudioFormat class the 65-66
4.1.2 for speech coding and collected AudioCapture classes 66-67
4.1.3 for speech decoding and playback AudioPlayStream class the 67-69
4.2 implementation of the network connection and transmission 69-72
4.3 environment variables and compile 72-74
Chapter Performance test results analysis 74-80
the 5.1 experimental apparatus 74-75
5.2 test The method 75-76 <br / > 5.3 Analysis of test results the 76-80 the 5.3.1 test result
the 76-78
5.3.2 with theoretical calculation results compare 78-80
Chapter 6 Conclusion and Prospects the 80-82
6.1 Technical Summary
6.1.1 content nbsp 80-81; 80
6.1.2 key technology 80
6.1.3 reached technical indicators 80-81
6.1.4 Conclusion 81
6.2 Voice over Internet Communications Outlook 81-82
Acknowledgements to References 82-83
nbsp 83-84
research during the study period; 84
Related dissertations
- Design and Implementation of P2P Based on Full Text Retrieval System
- The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA
- The Research of Streaming Media Traversal NAT Based on the Improvement of ICE Protocol
- Document Resources Sharing System of Campus Network
- Design and Implement of P2P Chat Room Software-based
- The Research and Application of Distribution Storage System Deared to Experimental Teaching of Computer
- Research and Realization on P2P Communication Based on NAT Traversal
- The Research and Implementation to Achieve High-Quality Transmission in P2P Content Distribution System Focused on Specific Users
- Design and Implementation of University Search Engine Based on P2P
- The Research and Implementation of JXTA-based P2P Distance Teaching System
- A Study and Implementation of P2P-based Cooperative Office System in WuShi College of Adult Education
- The Research and Design of Trust Model and Incentive Mechanism of P2P Network Based on JXTA
- The Integrated Research of P2P Network and Web Service
- A Study on P2P Application Based on CMS of JXTA
- Microfinance Wholesale Mechanism Research and Construction Analysis
- The Investigation Report of P2P Lending
- Risk Management of P2P Network Financing Mode
- The Construction of P2P Networks Lending Risk Management System in China
- Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
- The Design and Realization of Internet Public Opinion System