Docsity

Computer networks architecture, Lecture notes of Computer Science

Partial preview of the text

Download Computer networks architecture and more Lecture notes Computer Science in PDF only on Docsity!

Spring 2017

Dr. Yönal Kırsal

Need for Communication

 A communication service enables the exchange of information between users at different locations.

 Communication services & applications are everywhere. Some examples are given below

Need for Computer Communication

over Distances

 (c) The time taken to transmit the messages is very small. Hence different computers can be connected together and the users can work together as a group. Software packages have been developed for group working in Data Base Management (DBMS) and graphic works.

Need for Computer Communication

over Distances

 (d) Different departments of an organization may be separated physically being at distant places but their data could be stored on a central computer. This data is accessed by computers located in different departments. The data at the central computer may be updated from time to time and accessed by all users. This prevents any bottlenecks in the smooth functioning of the organization. The latest data (say for inventory) will be easily available at all times to all the users.

 (e) Fluctuations of prices in foreign exchange and shares/equities can be communicated instantaneously using the medium of computer communications only. The transfer can be accelerated and verified at any instant of time.

Data Communication

Characteristics of data Communication:

 The effectiveness of a data communication depends on three characteristics

 1. Delivery

 2. Accuracy

 3. Timeliness

Data Communication

Characteristics of data Communication:

Delivery :

 The system must deliver data to correct destination.

Accuracy:

 The system must deliver data accurately.

Timeliness :

 The system must deliver data in a timely manner. Data delivered late are useless. Timely delivery means delivering data as they are produced, in the same order that they are produced and without significant delay. This kind of delivery is called real – time transmission.

Components

1. Message:  The message is the information to be communicated. It can consist of text, pictures, numbers, sound, video or audio.  2. Sender:  The sender is the device that sends the data message. It can be a computer, workstation, telephone handset, video camera and so on.  3. Receiver:  The receiver is the device that receives the message. It can be a computer, workstation, telephone handset, video camera and so on.  4. Medium:  The transmission medium is the physical path by which a message travels from sender to receiver. It could be a twisted pair wire, coaxial cable, fiber optic cable, or radio waves.  5. Protocol:  A protocol is a set of rules that governs data communications. It represents an agreement between the communicating devices.

Data Representation

 Information comes in different forms such as text, numbers, images, audio and video.

Text

 In data communications, text is represented as a bit pattern, a sequence of bits.

 The number of bits in a pattern depends on the number of symbols in the language.

 Different sets of bit patterns have been designed to represent text symbols. Each set is called a code. The process of representing the symbols is called coding.

Data Representation

Unicode

 To represent symbols belonging to languages other than English, a code with much greater capacity is needed. Unicode uses 16 bits and can represent up to 65,536 (2^16 ) symbols.

ISO

 The international organization for standardization known as ISO has designed a code using a 32 – bit pattern. This code can represent up to 4,294,967,296 (2^32 ) symbols.

Data Representation

Numbers  Numbers are also represented by using bit patterns. ASCII is not used to represent numbers. The number is directly converted to a binary number.

Images  Images are also represented by bit patterns. An image is divided into a matrix of pixels, where each pixel is a small dot. Each pixel is assigned a bit pattern. The size and value of the pattern depends on the image. The size of the pixel depends on resolution.

Audio  Audio is a representation of sound. Audio is by nature different from text, numbers or images. It is continuous not discrete

Video  Video can be produced either a continuous entity or it can be a combination of images.

Direction of Data Flow

Simplex  In simplex mode, the communication is unidirectional. Only one of the devices on a link can transmit; the other can only receive.

Simplex

Keyboards and monitors are examples of simplex devices. The keyboard can only introduce input. The monitor can only accept output.

Direction of Data Flow

Half-duplex  In half-duplex mode, each station can both transmit and receive but not at the same time. When one device is sending, the other can only receive, and vice versa.

Half-duplex

 The half-duplex mode is like a one-lane road with two- directional traffic. The entire capacity of a channel is taken over by whichever of the two devices is transmitting at the time. Walkie-talkies is example of half duplex.

NETWORKS

A set of nodes connected by communication links. A node can be a computer, printer or any other device capable of sending and/or receiving data generated by other nodes on the network. Connected collection of hardware and software permits information exchange and resource sharing.

 Information = data, text, audio, video, images …

 Resources = printers, memory, link bandwidth

NETWORKS

Uses of networks

 companies & organizations

 resource sharing: programs, equipment, data…

 high reliability: multiple processors/links/file copies/...

 scalability: gradually improve system performance

 rapid communications & remote cooperation

 saving money

 private individuals:

 access to remote & diverse information sources

 communicating with other people

 entertainment

 education, healthcare, access to government...