Assignment 4
Assignment 4
), INDIA
Deemed University
(Declared under Distinct Category by Ministry of Education, Government of India)
NAAC ACCREDITED WITH A++ GRADE
ASSIGNMENT = 4
Of
Wireless Network
Submitted By:
Siddhant Jain
0901CD211056
Faculty Mentor:
Dr. Kuldeep Narayan Tripathi , Assistant Professor
Submitted to:
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
MADHAV INSTITUTE OF TECHNOLOGY & SCIENCE
GWALIOR - 474005 (MP) est. 1957
JULY-DEC 2024
Q1. Explain the importance of performance evaluation metrics in wireless networks and discuss
two key metrics with examples.
Ans : Performance evaluation metrics are crucial in wireless networks as they help assess the
efficiency, reliability, and overall quality of network services. These metrics provide insights into how
well the network performs under various conditions, guiding improvements and ensuring that the
network meets user expectations and service level agreements (SLAs).
Key Metrics:
1. Throughput:
o Definition: Throughput is the rate at which data is successfully transmitted over the
network, usually measured in bits per second (bps).
o Example: In a 4G LTE network, if a user downloads a file and the measured
throughput is 10 Mbps, it indicates that the user can download approximately 1.25
MB of data every second. High throughput is essential for activities like HD video
streaming and large file transfers.
2. Latency:
o Definition: Latency refers to the time taken for data to travel from the source to the
destination, typically measured in milliseconds (ms).
o Example: In a gaming application, low latency (e.g., 20 ms) is crucial to ensure that
user inputs are registered in real-time. High latency (e.g., 150 ms) can lead to delays,
causing lag, which detracts from the gaming experience.
In summary, performance evaluation metrics like throughput and latency are vital for understanding
and improving wireless network performance, ensuring that users receive the quality of service they
expect.
Q2. Describe the architecture of a Wireless Sensor Network (WSN) and discuss the challenges
in designing energy-efficient protocols for WSNs.
A Wireless Sensor Network (WSN) consists of a large number of sensor nodes that communicate
wirelessly to monitor environmental conditions or physical phenomena. The architecture typically
includes the following components:
1. Sensor Nodes:
o Components: Each node generally comprises a sensor for data collection, a
microcontroller for processing, a radio transceiver for communication, and a power
source (often a battery).
o Functionality: Nodes collect data from their surroundings, process it locally, and
transmit it to other nodes or a central base station.
2. Sink/Coordinator Nodes:
o Role: Sink nodes (or gateways) receive data from sensor nodes and forward it to a
central server or the cloud for analysis. They may also perform data aggregation to
reduce redundancy.
3. Base Station:
o Function: The base station manages the WSN, coordinating data collection, storage,
and distribution. It may also provide an interface for users to access the network
data.
4. Communication Protocols:
o Types: Various protocols govern the communication between nodes, including
routing protocols, data aggregation protocols, and energy management protocols.
5. Power Supply:
o Considerations: Most sensor nodes are powered by batteries, which necessitates
careful energy management due to limited power resources.
Context-aware computing refers to systems and applications that can sense and respond to their
environment and user context. This means that they can gather information about the user's current
situation—such as location, time, activity, preferences, and device status—and use that information
to provide more relevant and personalized experiences.
Mobile IP
Overview:
Mobile IP is a network-layer protocol that allows mobile devices to maintain a constant IP address
while moving between different networks. It enables seamless connectivity and routing of data
packets to mobile nodes regardless of their current location.
Key Features:
Home Address and Care-of Address: Mobile IP assigns a permanent home address to a
mobile device and a temporary care-of address when the device connects to a new network.
Data is forwarded from the home address to the care-of address.
Tunneling: Data packets are tunneled from the home agent (on the home network) to the
foreign agent (on the visited network) using encapsulation. This allows the mobile node to
receive packets even when it is away from its home network.
Location Transparency: Users can roam without changing their IP address, maintaining
ongoing sessions (like VoIP or video calls) without interruptions.
Mobile TCP
Overview:
Mobile TCP (M-TCP) is a transport-layer protocol designed to enhance the reliability and
performance of TCP connections for mobile devices. It specifically addresses issues related to
handovers and changing network conditions.
Key Features:
Connection Management: M-TCP modifies the TCP connection management process to
adapt to the mobility of the user. It allows for faster handoffs and maintains the connection
state during network changes.
Optimized Performance: It includes features to handle variations in bandwidth and delay,
adjusting transmission rates based on the current network conditions.
Explicit Handover Notification: M-TCP can notify the sender about the mobile node’s
movement, allowing it to adjust its transmission strategy accordingly.
Comparison
Feature Mobile IP Mobile TCP
Layer Network layer (Layer 3) Transport layer (Layer 4)
Maintains TCP connections during
Purpose Maintains IP address during movement
mobility
Maintains a single connection with
Addressing Uses a home address and care-of address
adaptations
Data No tunneling; focuses on TCP
Tunneling of packets to care-of address
Forwarding connection management
Connection Connection state is managed by the Manages its own connection state for
State underlying transport protocol (e.g., TCP) improved performance
Provides seamless connectivity across Aims for seamless data transmission
Seamlessness
networks during handovers
Primarily location-based; not necessarily Adjusts transmission parameters
Adaptability
aware of link quality based on network conditions
Conclusion
In summary, while both Mobile IP and Mobile TCP address the challenges of mobility in wireless
networks, they do so at different layers and with distinct approaches. Mobile IP emphasizes
maintaining network connectivity through address management and routing, whereas Mobile TCP
enhances the reliability and performance of data transmission as devices move between networks.
Each protocol plays a crucial role in enabling seamless mobile experiences in the increasingly
dynamic wireless landscape.