Ns3 Projects for B.E/B.Tech M.E/M.Tech PhD Scholars.  Phone-Number:9790238391   E-mail: ns3simulation@gmail.com

NS3 Cognitive Network Projects

NS3 Cognitive Network Projects is a leading provider of real-time services power by Automatic Content Recognition (ACR) technology.It also enabling the fundamental transformation of the way viewers consume TV while delivering a platform also for content producers and also TV networks to increase customer engagement, grow their audiences, and also increase the value of the TV viewing experience also for all audience.

Classification of cognitive network:

Cognitive networks can also broadly divided into two categories. There are,
  • Autonomous cognitive networking.
  • Distributed also in cognitive networking.

Features of cognitive network

  • Interference management strategies.
  • Efficient use also of wireless resources.
  • Safe and also secure wireless access methodologies.
  • Excellent QoS etc.

Architecture of NS3 Cognitive Network Projects:

Cognitive-Radio-Network-architecture

Research area of cognitive networks:

  • Dynamic spectrum also in management.
  • Spectrum sensing and also interference management.
  • Environment awareness.
  • Power and also hardware efficiency.
  • Location awareness.
  • Distributed also in algorithm design.
  • User awareness.
  • Security.
  • Distributed spectrum management .

Sample code for cognitive network:


client.Add (CreateObject<Node> (0));
int numLeafNodesInAsZero = bth.GetNLeafNodesForAs (0);
client.Add (bth.GetLeafNodeForAs (0, numLeafNodesInAsZero - 1));
server.Add (CreateObject<Node> (1));
stack.Install (server);
int numLeafNodesInAsOne = bth.GetNLeafNodesForAs (1);
server.Add (bth.GetLeafNodeForAs (1, numLeafNodesInAsOne - 1));
p2p.SetDeviceAttribute ("DataRate", StringValue ("5Mbps"));
p2p.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer CRDevices;
NetDeviceContainer p2pServerDevices;
CRDevices = p2p.Install (client);
p2pServerDevices = p2p.Install (server);
address.SetBase ("10.1.0.0", "255.255.0.0");
Ipv4InterfaceContainer clientInterfaces;
clientInterfaces = address.Assign (CRDevices);
address.SetBase ("10.2.0.0", "255.255.0.0");
Ipv4InterfaceContainer serverInterfaces;
serverInterfaces = address.Assign (p2pServerDevices);
if (!nix)
{
Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
}
//Moved here to get totalRX at end
ApplicationContainer sinkApps;
if (systemId == 1)
{
Address sinkLocalAddress (InetSocketAddress (Ipv4Address::GetAny (), port));
PacketSinkHelper packetSinkHelper ("ns3::TcpSocketFactory", sinkLocalAddress);
sinkApps.Add (packetSinkHelper.Install (server.Get (0)));
sinkApps.Start (Seconds (0.0));
sinkApps.Stop (Seconds (10.0));
}
if (systemId == 0)
{
OnOffHelper clientHelper ("ns3::TcpSocketFactory", Address ());
clientHelper.SetAttribute ("OnTime", StringValue ("ns3::ConstantRandomVariable[Constant=1]"));
clientHelper.SetAttribute ("OffTime", StringValue ("ns3::ConstantRandomVariable[Constant=0]"));
ApplicationContainer clientApps;
AddressValue remoteAddress (InetSocketAddress (serverInterfaces.GetAddress (0), port));
clientHelper.SetAttribute ("Remote", remoteAddress);
clientApps.Add (clientHelper.Install (client.Get (0)));
}