tcl脚本教程计算机模拟,并行网络模拟tcl脚本自动生成系统的设计与实现-计算机科学与技术专业论文.docx...

并行网络模拟tcl脚本自动生成系统的设计与实现-计算机科学与技术专业论文

Classified Index: TP393.08 U.D.C: 681.3.06

Dissertation for the Master Degree in Engineering

DESIGN AND IMPLEMENTATION OF THE AUTOMATIC TCL SCRIPTGENERATING SYSTEM ON PARALLEL NETWORK SIMULATION

Candidate:Zhou HuifangSupervisor:Prof. Chi LejunAcademic Degree Applied for:Master of EngineeringSpecialty:Computer Science and TechnologyAffiliation:School of Computer Science and TechnologyDate of Defence:June, 2010Degree-Conferring-Institution:Harbin Institute of Technology哈尔滨工业大学工学硕士学位论文

- I -

摘要

伴随着网络的普及,网络模拟由于其成本低廉、模拟精准度高等特点,逐 渐成为研究网络行为的有效手段之一。在使用众多网络模拟软件进行网络模拟 时,必不可少的一个环节是将所模拟的网络信息写成模拟器可以识别的形式, 即脚本。当网络规模较小时,脚本的编写可以通过手工编写来完成。但是当所 模拟的网络规模较大、网络结构较为复杂的时候,网络中存在着大量的数据, 需要多次编写大量脚本来完成模拟。 重复编写、测试脚本不仅浪费大量的人 力、物力,而且易出错。因此,如何 实现自动化地生成网络模拟器所需的脚 本,成为众多网络模拟者关注的问题。本文通过对网络模拟行为的分析,结合网络模拟的流程,提出了一个脚本 自动生成模型,主要包括节点生成、链路生成、路由添加、应用绑定、流量添 加等。论文以并行网络模拟器 PDNS(Parallel/Distributed Network Simulator)为 研究对象,设计并实现了并行网络模拟 TCL(Tool Cammand Language)脚本自 动生成系统,主要包括拓扑脚本自动生成子系统、路由脚本自动生成子系统、 安全事件脚本自动生成子系统。拓扑自动生成子系统解决了并行网络模拟中网 络基本拓扑信息脚本的生成问题;路由脚本自动生成子系统解决了并行网络模 拟中路由脚本的添加问题,可实现数据包的转发;安全事件脚本自动生成子系 统解决了基于可配置的安全事件脚本的生成问题。经验证,论文研究完成的并行网络模拟 TCL 脚本自动生成系统能自动生 成较大规模的脚本供并行网络模拟器 PDNS 使用。

关键词:网络模拟;脚??模型;脚本自动生成系统;TCL 脚本- II -

Abstract

With the popularity of the network, network simulation with its low cost and high accuracy, is becoming an effective way to research the network behavior. When using most network simulation software, it’s an essential link to writing the simulation network in the form of the simulator can identify, which is called script. When the scale of the network is small, the script can be prepared by hand. But when the scale and the structure of the network are large and complex, it’s need to write a lot of scripts because of the large amounts of data in the network. Repeat writing and testing not only waste a lot of manpower, material but also make a mistake easily. Therefore, how to automatic generating the script which is need by network simulation becomes a c

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值