Computing devices on a network will need to send and receive messages. (e.g. Printer Out of paper, Web pages from internet etc). Therefore, when 2 devices want to communicate, they must agree to follow some rules about the way they will do it.
A Protocol is defined as 'a set of rules governing the transmission of data' (h)
It allows the 2 machines to agree a standard for communication, in the same way that 2 teenagers communicate in txtspk using SMS or 2 policemen use a format to speak on the police radio.
The 2 basic protocols for communicating on the internet are TCP/IP
TCP (Transmission Control Protocol) and
IP (Internet Protocol)
You also have
HTTP (Hyper Text Transfer Protocol) - To view web pages and
FTP (File Transfer Protocol) - To enable the rapid for file transfer)
The Protocol is divided into Logical Parts and Physical Parts (J)
Logical Protocols aspects relate to methods used for communication
Physical Protocol relate to the data itself
How many bits used
Which character set used (e.g. ASCii)
Serial or Parallel transmission?
What parity checking will be used.
What frequency to transfer data (Baud Rate)
Hardware or Software handshaking used?
How many control bits will be used
A Protocol is split into layers
Organising interfaces in a layered fashion
For a computer connected to a printer by a cable, there are many different interfaces, or layers, for this connection:
The physical design of the plugs and sockets used to connect the cable to the computer and equipment.
The electrical signals that need to be used, for example, the voltage to be used.
The software used to control how an application sends a file to be printed.
Each one of these areas needs an interface to other products.
If you laid down rules for the physical design of the plugs and sockets.
A printer manufacturer could design any printer they liked, as long as it had that interface for the plugs and sockets.
A cable manufacturer could also design any cable they liked, as long as it conformed to the interface.
A software house could make any application they liked, as long as they conformed to the rules of how files were to be sent to the printer.
The important idea behind designing an interface is to understand that there are quite a few different aspects to consider.
Each aspect (electrical signals, physical connections, software, data communications etc) is in itself a complicated interface that needs clearly defining.
The different interfaces together are known as the OSI model or Open Systems Interchange' model.
These are split into the Application Layers and Transport Layers
messages transmitted over a network is split into layers for different types of information
In Summary:
There are different identifiable aspects for interfacing any product with another in computing.
Because there are so many different aspects to consider, the problem has been clearly described in a model known as the OSI model.
Each 'different aspect' is commonly known as a 'layered interface'.
Often, different manufacturers are responsible for a different part of a system.
So that manufacturers can do what they like with their own products but can be confident it combines without any problem to other manufacturers' products, the rules that make up an interface are fixed.
It is the interface between one manufacturer's product and another manufacturer's product that is important if those products are to be able to work together!
Each layer carries a different sort of information