{"title":"结合Petri网和ns-2:一种分析和模拟的混合方法","authors":"Qiang Ye, M. MacGregor","doi":"10.1109/CNSR.2006.24","DOIUrl":null,"url":null,"abstract":"Network protocol performance and evaluation study is often carried out using a couple of widely used simulation toolkits, such as ns-2 and OPNET. These toolkits usually contain many built-in protocol models. Using these toolkits is very efficient due to the abundant models. However, the correctness of a protocol that interests us can never be proved by simulation itself. Petri net modeling enables us to verify the protocol of interest formally. But because of the generality of Petri nets, not many network protocol models are bundled with Petri net modeling tools. In this paper we present an innovative network simulation methodology that benefits from the interaction between ns-2 and Petri nets. A communication mechanism based on Socket Programming and a synchronization mechanism used to coordinate ns-2 and Petri nets were designed to make possible the interaction. In this paper, a new version of SACK TCP, alpha-min Paced SACK TCP, is used to illustrate the power of the proposed methodology","PeriodicalId":425107,"journal":{"name":"4th Annual Communication Networks and Services Research Conference (CNSR'06)","volume":"122 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-05-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":"{\"title\":\"Combining Petri nets and ns-2: a hybrid method for analysis and simulation\",\"authors\":\"Qiang Ye, M. MacGregor\",\"doi\":\"10.1109/CNSR.2006.24\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Network protocol performance and evaluation study is often carried out using a couple of widely used simulation toolkits, such as ns-2 and OPNET. These toolkits usually contain many built-in protocol models. Using these toolkits is very efficient due to the abundant models. However, the correctness of a protocol that interests us can never be proved by simulation itself. Petri net modeling enables us to verify the protocol of interest formally. But because of the generality of Petri nets, not many network protocol models are bundled with Petri net modeling tools. In this paper we present an innovative network simulation methodology that benefits from the interaction between ns-2 and Petri nets. A communication mechanism based on Socket Programming and a synchronization mechanism used to coordinate ns-2 and Petri nets were designed to make possible the interaction. In this paper, a new version of SACK TCP, alpha-min Paced SACK TCP, is used to illustrate the power of the proposed methodology\",\"PeriodicalId\":425107,\"journal\":{\"name\":\"4th Annual Communication Networks and Services Research Conference (CNSR'06)\",\"volume\":\"122 3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2006-05-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"12\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"4th Annual Communication Networks and Services Research Conference (CNSR'06)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CNSR.2006.24\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"4th Annual Communication Networks and Services Research Conference (CNSR'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CNSR.2006.24","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12
摘要
网络协议性能和评估研究通常使用两个广泛使用的仿真工具包,如ns-2和OPNET。这些工具包通常包含许多内置的协议模型。由于模型丰富,使用这些工具包非常有效。然而,我们感兴趣的协议的正确性永远无法通过模拟本身来证明。Petri网建模使我们能够正式验证感兴趣的协议。但是由于Petri网的通用性,没有多少网络协议模型与Petri网建模工具捆绑在一起。在本文中,我们提出了一种创新的网络仿真方法,该方法受益于ns-2和Petri网之间的相互作用。设计了基于套接字编程的通信机制和用于协调ns-2和Petri网的同步机制,使其交互成为可能。在本文中,使用了一个新版本的SACK TCP, alpha-min - pace SACK TCP来说明所提出方法的强大功能
Combining Petri nets and ns-2: a hybrid method for analysis and simulation
Network protocol performance and evaluation study is often carried out using a couple of widely used simulation toolkits, such as ns-2 and OPNET. These toolkits usually contain many built-in protocol models. Using these toolkits is very efficient due to the abundant models. However, the correctness of a protocol that interests us can never be proved by simulation itself. Petri net modeling enables us to verify the protocol of interest formally. But because of the generality of Petri nets, not many network protocol models are bundled with Petri net modeling tools. In this paper we present an innovative network simulation methodology that benefits from the interaction between ns-2 and Petri nets. A communication mechanism based on Socket Programming and a synchronization mechanism used to coordinate ns-2 and Petri nets were designed to make possible the interaction. In this paper, a new version of SACK TCP, alpha-min Paced SACK TCP, is used to illustrate the power of the proposed methodology