+91 94 448 29 228 --- E-Mail ID:networksimulators2@gmail.com

Ns2 Social Sensor Networks Projects

What is social sensor network:

  • Social Sensor collects, processes, and aggregates big streams of social media data and multimedia to discover trends, events, influencers, and interesting media content.
  • Social sensor network is a set of software applications that collect data from social media and automatically transforms it into interesting, relevant, and entertaining content for the purposes of both news and infotainment.

Features of social sensor network using Ns2

  • It utilizes a number of social media platforms.
  • It works in real time.
  • Handles text, images, audio and videos.
  • Automatically discovers, clusters and searches.
  • It personalizes content.
  • Organizes content by location, time, sentiment and influence.
  • Automatically supports verification process.

Social-Sensor-Nework-Projects-using-Ns2

Applications of  NS2 social sensor networks Projects

  • Areas of security/surveillance.
  • smart cities.
  • social networking.
  • E-science.

Sample code of ns2 social sensor networks Projects.

void
CBRP_Agent::handleForwarding(CBRP_Packet &p)
{
  hdr_cbrp *cbrph =  (hdr_cbrp*)p.pkt->access(off_cbrp_);
  hdr_cmn *cmh =  (hdr_cmn*)p.pkt->access(off_cmn_);

  trace("cbrp %.9f _%s_ --- %d [%s -> %s] %s",
        Scheduler::instance().clock(), net_id.dump(), cmh->uid(),
        p.src.dump(), p.dest.dump(), cbrph->dump());
  assert(p.route[p.route.index()] == net_id || p.route[p.route.index()] == MAC_id);

  if (p.route.index() >= p.route.length())
    {
      fprintf(stderr,"dfu: ran off the end of a source route\n");
      trace("SDFU:  ran off the end of a source route\n");
      drop(p.pkt, DROP_RTR_ROUTE_LOOP);
      p.pkt = 0;
      return;
    }
  if (cbrp_snoop_source_routes)
    route_cache->noticeRouteUsed(p.route, Scheduler::instance().clock(),
                                 net_id);
  struct hdr_cmn *ch = HDR_CMN(p.pkt);

  if (cbrph->route_shortening()) {
    for (int c = (cbrph->cur_addr()-1); c < cbrph->num_addrs()-1 ; c++)
      {
         cbrph->addrs[c].addr = cbrph->addrs[c+1].addr;
         p.route[c].addr = p.route[c+1].addr;
      }
    cbrph->cur_addr() -= 1;
    p.route.setIterator(cbrph->cur_addr());
    cbrph->num_addrs()-= 1;
    p.route.setLength(cbrph->num_addrs());
    cbrph->route_shortening() = 0;
    cbrph->route_shortened() = 1;
    trace("CBRP %.5f _%d_ success-shorten %s", Scheduler::instance().clock(),myaddr_, p.route.dump());
  }
  ch->size() -= cbrph->size();
  sendOutPacketWithRoute(p, false);
}

Sample Output Video for Social Sensor Network Projects using NS2 ( Network simulator 2).


NS2 Member Accounts | |
© 2005 - 2018 Vanet Projects

© 2005 - 2018 Matlab Projects