Ir a página principal de um.es Ir a página principal de um.es
Ir a página principal de um.es
Búsqueda avanzada
TRMSim-WSN, Trust & Reputation Models Simulator for Wireless Sensor Networks Fotos de la Universidad
TRMSim-WSN, Trust and Reputation Models Simulator for Wireless Sensor Networks

Author:
Félix Gómez Mármol

Description

T

RMSim-WSN (Trust and Reputation Models Simulator for Wireless Sensor Networks) is a Java-based simulator aimed to test Trust and Reputation models for WSNs.

It provides several Trust and Reputation models and new ones can be easily added.

It allows researchers to test and compare their trust and reputation models against a wide range of WSNs. They can decide whether they want static or dynamic networks, the percentage of fraudulent nodes, the percentage of nodes acting as clients or servers, etc.

It has been designed to easily adapt and integrate a new model within the simulator. Only a few classes have to be implementend in order to carry out this task.

 

TRMSim-WSN

Download

This simulator has been developed under jdk 1.6.

The full source code can be downloaded from its sourceforge project page.

Download
TRMSim-WSN, Trust and Reputation Models Simulator for Wireless Sensor Networks  

Project Admins: felixgm, gregorio-umu
Operating System: OS Independent (Written in an interpreted language)
License: GNU Library or Lesser General Public License (LGPL)
Category: Bio-Informatics, Simulations, Security, Frameworks, User Interfaces, Benchmark

Trust & Reputation models parameters input sample files

WSN XML input file

  1. A sample XML network input file
  2. Network

  3. A sample XML network input file
  4. Network

New Trust and Reputation Model

In order to add a new Trust and Reputation Model, called TemplateTRM, into TRMSim you need to follow the next steps:

  1. Create a folder inside trmodels folder named templatetrm
  2. Create a parameters file inside folder templatetrm, called TemplateTRMparameters.txt
  3. Create a package called es.ants.felixgm.trmsim_wsn.trm.templatetrm (from now on, ‘subpackage templatetrm’)
  4. Create a subclass of class TRMParameters called TemplateTRM_Parameters in the subpackage templatetrm
  5. Within the package es.ants.felixgm.trmsim_wsn.gui.parameterpanels create a subclass of class TRMParametersPanel called TemplateTRM_ParametersPanel
  6. Create a subclass of class Sensor called TemplateTRM_Sensor in the subpackage templatetrm
  7. Create a subclass of class Network called TemplateTRM_Network in the subpackage templatetrm
  8. Create a subclass of class TRModel_WSN called TemplateTRM in the subpackage templatetrm (it is important that both the model and the package have the same name, ignoring upper and lowercase letters, in order to be automatically detectable by the simulator)
  9. Place all the newly created classes in the folder src/es/ants/felixgm/trmsim_wsn/trm/templatetrm and the simulator will recognize the new model automatically and incorporate it in the forthcoming executions
Félix Gómez Mármol, "Implementing and Integrating a new Trust and/or Reputation Model in TRMSim-WSN", user manual, 2009

Versions log

  • TRMSim-WSN 0.1 (beta)
  • TRMSim-WSN 0.1
    • Some bugs when loading and saving WSNs have been solved
    • Help window and About window have been added
    • A menu bar has been added
    • Javadoc has been completed
    • An exception when radio range is equal to 0 (zero) has ben controlled
  • TRMSim-WSN 0.2
    • Two new Trust and Reputation Models have been added: PeerTrust and EigenTrust
    • The generic API for implementing new Trust and Reputation models hav been modified and improved
    • Outcomes panels have been enhanced with graphic plots
    • An energy consumption module has been added, with its corresponding results panel
    • Parameters panels have been improved
    • A Windows installer of the simulator has been developed
  • TRMSim-WSN 0.3
    • A new reputation model has been incorporated: PowerTrust
    • The simulator has been modified to automatically detect new trust and reputation models implementations by just placing the appropriate classes in the corresponding folders
    • A Template trust and reputation model classes have developed and integrated in the simulator to guide researchers to implement their own models
    • A manual describing the steps to be followed in order to implement and integrate a new trust and reputation model in the simulator has been written

Javadoc

The latest javadoc documentation of the library is also available for checking more details about the implementation of TRMSim-WSN. For further explanations or if you detect any mistake, don't hesitate to contact me at felixgm@um.es.

Related work

Location
Imagen
Facultad de Informática
Dirección
Department of Information and Communications Engineering
Office 1.36
School of Computer Science
University of Murcia
30100 Murcia (Spain)
(+34) 868 887866
Ir al inicio de la página
Universidad de Murcia :: Avda. Teniente Flomesta, nº 5 - 30003-Murcia · Teléfono: +34 968 363000. Diseño y desarrollo: SIU