Font Size: a A A

The Design And Implementation Of SIP Capture And Analysis Tool Based On MFC

Posted on:2012-09-15Degree:MasterType:Thesis
Country:ChinaCandidate:X GaoFull Text:PDF
GTID:2178330335450478Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years, IP phone via the Internet or other networks using IP technology to achieve a new type of telephone communications technology has become more common. As one of the IP telephone call control protocol, SIP protocol was understood by more people. With the development of the Internet, variety of instant messaging technology is coming endless. Currently on the Internet, such as IM software QQ, Baidu HI, Sina UC, MSN Messenger and other already known to everyone. At the same time, more and more telecom operators have begun to offer services based on SIP. In addition to the two local telephone and long distance phone service, there are online information and instant messaging, IP Centrex/ Hosted PBX, voice messaging, push-to-talk (PTT), multimedia conferencing, etc. Skype and other Internet instant voice communication tool as a SIP-based communications software services are slowly being accepted by all.MFC is a programming framework, MFC in a variety of classes together constitute an application framework. Its purpose is to allow programmers to build up the application under Windows on this basis. It is a relatively more simple method for the SDK, as a whole, MFC framework defines the contours of the application, and provides a standard user interface implementations. What's the programmers have to do is through predefined application-specific interfaces to the specific things that fill the contours. Microsoft Visual C ++provides the tools to accomplish this work:AppWizard framework can be used to generate the initial files (code and resources, etc.); resource editor to help the visually design the user interface; Class Wizard to add the code to the framework document to help; compiled through the class library application-specific logic.It can be seen that monitoring network packets in today's Information Age is an important, long-term research and development topics. Through the analysis of network protocols, protocols can be found advantages and disadvantages of the existing structure, to fix loopholes in the agreement, which can reduce the number of people using the loopholes to make hazardous behavior. Success of its research will have important social and theoretical significance.In this paper, based on socket to make a packet capture program, based on the using MFC framework design and implementation of a SIP-capture analysis tools. It will capture the data flowing through the local network card out and filtered through a number of specific criteria to identify which hosts a SIP protocol data packets and analyze them, and finally to analyze the results obtained in many different ways to show up.The specific work of this paper is as follows:1. Introduced the topic research background, and the status of SIP protocol.2. Briefly introduces the development and design of this system the basic knowledge required, including the comparative advantages and disadvantages of a variety of programming languages, MFC framework of the basic structure, MFC class hierarchy and so on.3. Starting from the needs of the system to determine the overall objectives of system development, and on this basis, given the detailed design of the system and give a concrete realization of encoding. System uses the MFC program structure of a typical document view, use the document class in the storage of data, using different views to display different forms of the same data:using outline view allows data to be clarity decoding, using conversational analysis view can be intuitively view the data flow in the network, view detailed analysis using protocol data packets to understand the specific content and structure, can directly using raw data view viewing raw data packet style, and can correspond with the detailed analysis of the view. Four different view lets users better by comparing the way the structure of the SIP protocol and related information to be understood.4. Expansion of the system may be made to the relevant observations, and its implementation is given a general way.
Keywords/Search Tags:MFC, SIP, Network Programming, Protocol Analysis
PDF Full Text Request
Related items