SenNetSim: A GUI-Based Simulator for Sensor Networks

SenNetSim: A GUI-Based Simulator for Sensor Networks
复制标题

SenNetSim:基于 GUI 的传感器网络模拟器

DOI:
--
复制
发表时间:
2007
期刊:
Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks
影响因子:
--
通讯作者:
S. Ramasubramanian
S. Ramasubramanian
中科院分区:
--
文献类型:
--
作者:
Shrinivasa Kini;S. Ramasubramanian

文献摘要

被引文献

相似文献

传感器网络由于其在安全、监控、环境监测和医疗保健等领域的广泛应用而受到研究和开发界越来越多的关注。为了评估该领域问题的解决方案,通常不可行的是实际部署传感器网络。在这种情况下,采用计算机软件程序形式的模拟。SenNetSim是一种新型的基于图形用户界面(GUI)的模拟器,它提供了一个框架来模拟传感器网络的覆盖应用。SenNetSim由四个组件组成-主应用程序窗口、控制面板、传感器库和图形窗口。如图1所示,主应用程序窗口允许用户添加和删除传感器节点,并定义要覆盖的区域。由于应用程序是基于文档的,因此可能会同时打开多个主窗口。但是,用户一次只能在一个窗口上工作,当前工作窗口称为当前文档。图2所示的控制面板是一个浮动调色板,它显示与当前文档中的对象相对应的属性。它有四个部分,提供有关当前文档、选定节点、网格设置和封面的信息。切换按钮允许用户在不需要时关闭特定部分。传感器库窗口(如图3所示)提供了一个界面,用于管理可能部署在网络节点上的不同类型的传感器。模拟支持一个节点配备多个传感模态,共享一个共同的电池。允许用户添加/删除传感器和编辑属性,例如传感器的名称、覆盖类型、覆盖区域、能量消耗率等。该应用程序目前仅支持矩形区域,但可以轻松扩展以支持任意区域。有两种模式可以构建图形:添加节点(AN)和编辑信息(EI)。如名称所暗示的,在AN模式中,允许用户向图添加节点,并且在El模式中,允许用户修改节点或节点集合的属性。用户可以随时在这些模式之间切换。节点可以添加到窗口中的任何位置-定义的区域内部或外部。模拟器还提供了在图形窗口中部署具有随机坐标的节点的能力。一旦部署了节点,用户就可以从应用菜单中选择算法以在构造的图上进行模拟。主文档窗口中提供了用于启动模拟和查看结果的控件。任何要包含到应用程序中的新算法都必须在项目中编码并包含在构建中。模拟器还能够显示应用程序内部的结果的图形。图4中示出了示例曲线图。图是从Snowmint Creative Solutions的SM2DGraphView框架扩展而来的[1]。该应用程序允许用户保存图形并打开先前保存的图形。整个图存储在一个扩展名为“. sns”的文件中,数据以XML格式存储。这允许用户使用简单的文本编辑器独立于应用程序编辑图形。
Sensor networks have been receiving increasing attention from the research and development communities for their wide range of applications in areas such as security, surveillance, environmental monitoring and health care. To evaluate the solution to a problem in this area, it is often infeasible to have a practical deployment of a sensor network. In such cases, simulations in the form of computer software programs are employed. SenNetSim is a novel Graphical User Interface (GUI) based simulator which provides a framework to model a sensor network for coverage applications. SenNetSim is composed of four components - the main application window, the control panel, the sensor library, and the graph window. The main application window, shown in Figure 1, allows the user to add and remove sensor nodes and define the region to be covered. As the application is document-based, there may be several main windows open at the same time. However, the user can work only on one window at a time, the current working window is referred to as the current document. The control panel, shown in Figure 2 is a floating palette which displays the attributes corresponding to the objects in the current document. It has four sections that provide information on the current document, selected node(s), grid settings, and covers. A toggle button allows the user to close a particular section when it is not required. The sensor library window, shown in Figure 3, provides an interface to manage the different kinds of sensors that may be deployed at a node in the network. The simulation supports a node to be equipped with multiple sensing modalities that share a common battery. The user is allowed to add/delete sensors and edit attributes such as name, coverage type, coverage area, rate of energy consumption, etc. of a sensor. The application currently supports only rectangular regions, but can be easily extended to support arbitrary regions. There are two modes under which the graph is constructed: Add Node (AN) and Edit Info (EI). As the names suggest, in the AN mode, the user is allowed to add nodes to the graph and in the El mode, the user is allowed to modify the attributes of a node or a set of nodes. The user may switch between these modes at any time. Nodes can be added anywhere in the window - inside or outside the region defined. The simulator also provides the capability to deploy nodes with random coordinates in the graph window. Once the nodes are deployed, the user may select an algorithm from the application menu for simulation on the constructed graph. The controls to start a simulation and view the results are provided in the main document window. Any new algorithm to be included into the application will have to coded in the project and included in the build. The simulator is also capable of showing graph plots of the results from within the application. An example graph plot is shown in Figure 4. The graph plot is extended from the SM2DGraphView framework from Snowmint Creative Solutions [1]. The application allows the user to save a graph and open previously saved graphs. The entire graph is stored into one single file with a ".sns" extension with the data being stored in XML format. This allows the user to edit the graph independent of the application using a simple text editor.