IoT Module-2 Notes
IoT Module-2 Notes
IoT Module-2 Notes
1. Introduction:
When data transmits from layer1 to layer2, following are the actions that occur. Each
layer’s processing of data as per the protocol used for communication by the layer.
Each layer sends the data stack received from the previous upper layer.
Layer2 will specify new parameters as per protocol and create fresh stack for the
subsequent lower layer.
The process continues until data communicates over the complete network.
When data is received at the next layer1 from a layer2.
Each layer performs the processing as per the header field bits.
Each layer receives the data stack from the previous lower layer.
It specifies the header words and creates a new stack specified by the next higher layer.
The process continues until the data is received at the port on the highest application
layer.
Fig. TCP/IP Suite for generating data stack for the network
4. Internet Protocols:
Internet layer receives and forwards data to the next layer using IP version 4 (IPv4) or IP
version 6 (IPv6) protocol.
Static IP addresses: A static IP address is the one assigned by the Internet service
provider.
The service provider may provide just an individual one address.
When a company has a number of hosts, a service provider may provide a class c
network addresses consisting of 254 IP addresses.
IPv6 addresses: Devices for the IoT need large number of addresses. IPv6 uses
128 bits of address.
IPv6 Addresses are classified into three classes.
Unicast address.
Any cast address.
Multicast address.
7. Application layer protocols:
Ports-A port uses a protocol for sending and receiving messages.
HTTP and HTTPS Ports: Hyper Text Transfer Protocol its port number is 80.
It sends application data stack at the output to the lower layer using the HTTP
protocol.
HTTPS-HTTP over secure socket layer and its port number is 443. It sends url.
The port receives the data stack at the input at the receiver end.
Features of HTTP:
HTTP is the standard protocol for requesting a URL.
HTTP is a stateless protocol, protocol assumes fresh request.
It is a file transfer like protocol.
HTTP is very light and thus speedy as compared to other protocols.
HTTP is flexible.
HTTP protocol is based on OOPS.
FTP: FTP is a file transfer protocol. It is a stateful protocol.
FTP Protocol typically uses port 21 as its main means of communication.
It uses two port number values one for command and one for data transfer.
Telnet is for remote connection to a computer.
It is used to virtually access a computer and to provide a two-way communication.
OR
CLOUD SERVICE MODELS
Cloud deployment models are classified into four categories.
Public Cloud: This model is provisioned by educational institutions, industries,
government institutions or businesses or enterprises and is open for public use.
Private Cloud: This model is exclusive for use by institutions, industries, businesses
or enterprises and is meant for private use in the organization by the employees and
associated users only.
Community Cloud: This model is exclusive for use by a community formed by
institutions, industries, businesses or enterprises, and for use within the community.
The community specifies security and compliance considerations.
Hybrid Cloud: A set of two or more distinct clouds with distinct data stores and
applications that bind between them to deploy the proprietary or standard technology.
*************