Využití protokolu TCP v simulačním prostředí OPNET Modeler
Loading...
Date
Authors
Tirinda, Viktor
ORCID
Advisor
Referee
Mark
A
Journal Title
Journal ISSN
Volume Title
Publisher
Vysoké učení technické v Brně. Fakulta elektrotechniky a komunikačních technologií
Abstract
Diplomová práce je zaměřena na možnosti implementace aplikačního protokolu v simulačním prostředí OPNET Modeler. Předpokládá se, že tento aplikační protokol bude pro komunikaci na transportní vrstvě využívat protokol TCP. První část práce je zaměřena na popis protokolu TCP. Jde o spojovaný, spolehlivý a potvrzovaný protokol, který zachováva pořadí přenášených dat, které jsou po přijetí kladně potvrzována. V druhé kapitole jsou popsány hlavní funkce simulačního programu OPNET Modeler. Program je hierarchicky členěn do čtyř editorů, z nichž každý má svou specifickou funkci při vytváření vlastní sítě a její chování. Podrobněji je v této části zaměřeno na dvě nejnižší vrstvy OPNET Modeleru a jejich komponenty, které se podílejí na komunikaci protokolem TCP na transportní vrstvě. Implementované aplikace komunikují pomocí soketů, které jsou na jejich žádosti dynamicky vytvářeny a zrušeny. Komunikaci řídí manažerský proces, jehož úlohou je správa jednotlivých spojení a přesměrování datového toku do příslušných obslužných procesů. Tento manažer spouští také proces spojení, který simuluje chování samotného TCP protokolu. V praktické části jsem vytvořil dvě aplikace: jedna typu klient a druhá typu server. Obě aplikace na transportní vrstvě využívají pro komunikaci protokol TCP. Navázání spojení inicializuje klientská aplikace zasláním dotazu na server. Ten pak pošle klientovi data o velikosti jaké požaduje. Po odeslání všech dat, klient ukončí spojení. Výsledkem simulace jsou statistiky, kde jsou zobrazeny velikosti přenesených dat, počet přenesených paketů a další parametry charakteristické pro TCP.
This diploma thesis describes a possibility of application protocol implementation in OPNET Modeler simulation environment. It presumes that this application protocol is going to use TCP protocol for their communication on transport layer. The first part of thesis is focused on a description of TCP. It is a connection oriented, reliable and confirmed protocol which maintains sequence of transmitted data. This data is after receiving positively confirmed. In the second chapter are described the main functions of OPNET Modeler simulation environment. OPNET is hierarchical divided into four editors. Each editor has a specific function by creating a network and setting his behavior. There is also focused on the two lowest layers of OPNET Modeler and their components in detail, which are participating at usage TCP on transport layer to communication. Implemented applications communicate by sockets, which are created and destroyed on request. Communication is controlled by manager process, whose function is maintenance particular connections and redirect dataflow into relevant process. This manager put in action as well a process, which simulates a single TCP. In the practical part I made two applications: one is a client type and a second one is a server type. Both applications are using TCP on transport layer. The establishment of connection initiates a client, who is sending a request to the server for a data. Then server sends back data in desired quantity. After sending the entire data, client terminates the connection. The result of simulation is statistics, where we pictured the size of the transferred data, a number of transferred packets and other parameters typical for TCP.
This diploma thesis describes a possibility of application protocol implementation in OPNET Modeler simulation environment. It presumes that this application protocol is going to use TCP protocol for their communication on transport layer. The first part of thesis is focused on a description of TCP. It is a connection oriented, reliable and confirmed protocol which maintains sequence of transmitted data. This data is after receiving positively confirmed. In the second chapter are described the main functions of OPNET Modeler simulation environment. OPNET is hierarchical divided into four editors. Each editor has a specific function by creating a network and setting his behavior. There is also focused on the two lowest layers of OPNET Modeler and their components in detail, which are participating at usage TCP on transport layer to communication. Implemented applications communicate by sockets, which are created and destroyed on request. Communication is controlled by manager process, whose function is maintenance particular connections and redirect dataflow into relevant process. This manager put in action as well a process, which simulates a single TCP. In the practical part I made two applications: one is a client type and a second one is a server type. Both applications are using TCP on transport layer. The establishment of connection initiates a client, who is sending a request to the server for a data. Then server sends back data in desired quantity. After sending the entire data, client terminates the connection. The result of simulation is statistics, where we pictured the size of the transferred data, a number of transferred packets and other parameters typical for TCP.
Description
Citation
TIRINDA, V. Využití protokolu TCP v simulačním prostředí OPNET Modeler [online]. Brno: Vysoké učení technické v Brně. Fakulta elektrotechniky a komunikačních technologií. 2008.
Document type
Document version
Date of access to the full text
Language of document
cs
Study field
Telekomunikační a informační technika
Comittee
prof. Ing. Eva Gescheidtová, CSc. (předseda)
doc. Ing. Ivo Lattenberg, Ph.D. (místopředseda)
Ing. Václav Křepelka, Ph.D. (člen)
Ing. Zoltán Nagy, Ph.D. (člen)
doc. Ing. Karol Molnár, Ph.D. (člen)
doc. Ing. Petr Sysel, Ph.D. (člen)
Ing. Radoslav Vargic, Ph.D. (člen)
Ing. Jan Malý (člen)
Date of acceptance
2008-06-11
Defence
Jak by se ve vytvořené aplikaci (ve výsledném grafu simulace) projevila ztráta paketu?
Result of defence
práce byla úspěšně obhájena
Document licence
Standardní licenční smlouva - přístup k plnému textu bez omezení