Professional Documents
Culture Documents
Network Protcol
Network Protcol
Overview
• Protocol is the set of rule
• Protocol determines
1. What is communicated?
2. How it is communicated?
3. When it is communicated?
7. conformation or acknowledgment
Elements of Protocol
Data encoding
• is the process of transforming data into a format that can be transmitted over a
network. For example, text can be encoded into binary bits, or sound can be
encoded into analog signals.
• Different protocols may use different encoding schemes, such as ASCII, Unicode,
or PCM12.
Cont.
Data formatting and encapsulation
• is the process of adding headers and trailers to the data to create a protocol
data unit (PDU).
• A PDU contains information such as the source and destination addresses, the
type of data, and the error detection code.
• Each layer of the OSI model adds its own header and trailer to the data, creating
a hierarchy of PDUs
Cont.
Data timing
• is the process of synchronizing the data transmission between the
sender and the receiver.
• Data timing ensures that the sender does not send data faster than the
receiver can process, and that the receiver does not miss any data due
to delays or errors.
• Data size affects the efficiency and reliability of the data transmission, as larger
data units may require more bandwidth and be more prone to errors.
• Data size can be determined by the network topology, the protocol, or the
application requirements
Cont.
Data delivery system
• is the process of choosing the best path and method to deliver the data from
the source to the destination.
• Data delivery system involves routing, switching, and addressing techniques that
enable the data to traverse multiple networks and devices.
• Data delivery system can use different delivery options, such as unicast,
multicast, or broadcast.
Types of delivery System
• Binary mode transfers the files as they are, while ASCII mode converts the files
to text format.
• SMTP works in three phases: mail, data, and quit. In the mail phase, the
sender and the receiver are identified. In the data phase, the message and its
attachments are sent. In the quit phase, the connection is terminated.
• This protocol is used for accessing and delivering web pages over a network.
• HTTP works on a request-response model, where the client sends a request to the
server and the server sends a response back. The request and the response contain
headers and a body. The headers provide information about the request or the
response, such as the method, the URL, the status code, and the content type. The
body contains the actual data, such as the HTML, CSS, or JavaScript code.
• HTTPS works by using SSL (Secure Sockets Layer) or TLS (Transport Layer Security)
protocols to establish a secure connection between the client and the server.
• SSL/TLS protocols use certificates, keys, and algorithms to encrypt and decrypt the
data, and to verify the identity of the parties involved.
• Telnet works by establishing a virtual terminal session between the client and
the server, where the client can send commands and receive responses from the
server.
• UDP
• DNS
• DHCP
• SSH
• SNMP
• ICMP
• etc.....