• No results found

Data and Computer Communications

N/A
N/A
Protected

Academic year: 2021

Share "Data and Computer Communications"

Copied!
18
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Data and Computer Communications 1/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Data and Computer Communications

Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan

Last updated: 11July 2000

(2)

Data and Computer Communications 2/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

A Communications Model

output information Source

device Source device

Transmitter Transmitter

Transmission medium Transmission

medium

Receiver Receiver

Destination device Destination

device input

information input data

transmitted signal

received signal

output data

data :A represent of facts , concepts in a formalized manner suitable for communications

information :The meaning that is currently assigned to data by means of the conventions applied to those data

The fundamental purpose of data communications is to exchange information between two parties. The source device generate the data to be transmitted.

The transmitter transform and encodes the input data into the appropriate form of signals that can be transmitted across the transmission medium. The receiver accepts the signal and converts it into a from that can be handled by the destination device.

(3)

Data and Computer Communications 3/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Communication Tasks

zError detection

zError correction

zRecovery

zProtection

zInterfacing

zSignal generation

zMessage formatting

z Transmission system utilization

z Exchange management

z System management

z Addressing

z Flow control

z Routing

Above lists are keys task that must be performed in a data communication system.

(4)

Data and Computer Communications 4/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Data Communication Schematic

Communication Network

Communication Network Node

Network Station

Data communication takes place between two devices that are connected. It is impractical for any two devices to be directly, point-to-point connected because of :

- The devices are very far apart.

- Some device may require a link to many of the others.

The solution is to attach each device to a network. The devices are known as stations or network stations. The stations may be computer or other communicating devices. Each station attaches to a network node, which performs communication tasks.

(5)

Data and Computer Communications 5/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Data Communication Networks

z

Public Switched Telephone Network (PSTN)

z

Local Area Network (LAN)

z

Leased lines

z

Public Switched Data Network (PSDN)

z

Integrated Services Digital Network (ISDN)

The type of data communication facility used is a function of the nature of the application, the number of computers involved, and their physical interface.

(6)

Data and Computer Communications 6/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

PSTN

modem modem

PSTN

z Distanced stations are connected via public carrier, normally telephone network.

z Modem is required to convert digital data to analog before transmitting to to telephone line.

z The destination modem converts analog signal back to digital again.

Public carrier or Public Switch Telephone Network (PSTN) is normally used to connected distanced stations. This requires a device known as a modem (Modulator-Demodulator) to convert digital data to analog before transmitting to to telephone line. The destination modem converts analog signal back to digital again.

(7)

Data and Computer Communications 7/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

LAN

hub

hub

hub

hub router

General Characteristics :

zConfined geographical area

zUnder single management

zHigh data rate

server station

station station

Communications network that serves users within a confined area is known as a Local Area Network (LAN). Computers (server and workstations) are normally distributed around a single office or building, including network device like hub, bridge or router.

(8)

Data and Computer Communications 8/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Leased Lines

Lease public circuits to connect different sites

Communication channel is private

LAN

Voice

LAN

Voice LAN

Voice

leased circuit

Public carrier circuit have been normally used for connected computers in different sites,. The resulting network is known as a Wide Area Network (WAN). One approach is to lease transmission lines from the public carriers and install a private switching system at each site to create an Enterprise Wide Private Network. Such networks normally incorporate both voice and data communications.

The benefits are such as communication channel is private and online, several data transmission rate is provided from low speed to high speed.

(9)

Data and Computer Communications 9/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

PSDN

LAN

LAN

LAN

PSDN

PSDN is designed specifically for the transmission of data rather than voice

Communication is shared

Example : X.25 and Frame Relay, ATM

Telephone companies normally provide a public data service. Such networks is known as Public Switch Data Network (PSDN), like the PSTN, are now interconnected internationally and have been designed specifically for the transmission of data rather than voice. A network is public in the sense that many company share a switching network. A cost of this service is normally lower than a leased line.

(10)

Data and Computer Communications 10/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

ISDN

ISDN NTE

NTE NTE

NTE

NTE = Network termination equipment

ISDN = Integrated services digital network

Using ISDN to carry both voice and data

Integrated Serviced Digital Networks (ISDN) is designed for transmitting voice, video and data over a digital line. ISDN services come in two forms :

(1) BRI (Basic rate Interface) provides two 64Kbps channel plus a 16Kbps control channel (144 Kbps).

(2) PRI (Primary rate Interface) provides twenty three (in North America) 64 Kbps channel and one 64 Kbps control channel (1.544 Mbps)

(11)

Data and Computer Communications 11/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Computer Communication Architectures

Communication-related messages

Network interface

File and file transfer command

Communication network File transfer

application

Communications service module

Network access module

Computer A Computer B

File transfer application

Communications service module

Network access module

Instead of a single module for performing communications, there is a structured set of modules that implements the communication function. That structure is referred to as a communications architecture.

(12)

Data and Computer Communications 12/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Three-layers Model

Applications

Transport

Network access

z Three-layers model involves three agents:

applications, computers, and networks.

z Communication task can be organized into three relatively independent layers

support user applications

reliability in exchanges.

exchange of data

Communications can be said to involved three agents: applications, computers, and networks. Communication task can be organized into three relatively independent layers :

Network access : concern with the exchange of data between a computer and the attached network.

Transport : assured that the data arrive at the destination applications and in the same order. Also take care of reliability in exchanges.

Applications : support user applications.

(13)

Data and Computer Communications 13/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University Applications

Transport Network access

Applications Transport Network access

Protocol Architectures and Networks

Applications Transport Network access

1 2 3 4 ( ) ( ) ( ) ( )

1 2 3

( ) ( ) ( )

1 2 ( ) ( )

Communication network

Service Access Point Network Address

Each computer on the network must have unique network address in order to deliver data to the proper destination. Each application must also have an software address that is unique within that computer to allow the transport layer to deliver data to the proper application. The latter addresses are known as service access point (SAP).

(14)

Data and Computer Communications 14/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Protocol Layers

Transport protocol

Network Access Protocol Application protocol Application

Transport

Network access

Application

Transport

Network access

Each layers has its own set of rules governing the way in which two entities cooperate to exchange data, called protocol.

A protocol specification details the control functions that may be performed, the format and control codes used to communicate those functions, and the procedures that two entities must follow.

(15)

Data and Computer Communications 15/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Protocol Data Unit

Application data

Application

data Transport

header Transport

header

Transport header Transport

header Network

header Network

header

Transport protocol data unit (TPDU)

Network protocol data unit (NPDU) Application

data

Application

data Application

data

data in each layer

control info + = protocol data unit (PDU)

To control communication operation, control information, as well as user data, must be transmitted. The sending application generates a block of data and passes this to the transport layer. The transport layer may break this block into smaller pieces to make it more manageable. To each of these pieces, the transport layer add a transport header to the front. The overall data (control + data) is then passed to the network access layer as the same manner.

(16)

Data and Computer Communications 16/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

OSI Reference Model

Layer 1 Physical link

Layer 2 Data link layer

Layer 3 Network layer

Layer 4 Transport layer

Layer 5 Session layer

Layer 6 Presentation layer

Layer 7

Application layer z The Open Systems

Interconnection (OSI) model was developed by the ISO as

z a model for computer communications architecture

z a framework for developing protocols standards

z OSI model consists of seven layers

The OSI Layers

1. Physical : Concerned with transmission raw bit stream over physical medium; deals with the mechanical, electrical, functional, and procedural interfaces, and the physical medium.

2. Data link : Responsible for node to node validity and integrity of t h e t r a n s m i s s i o n s ; s e n d b l o c k o f d a t a ( f r a m e s ) w i t h t h e synchronization.

3. Network : Provides upper layers with independence from the data transmission and switching technologies used to connect systems;

establishes the route between the seder and receiver.

4. Transport : Provides end-to-end error recovery and flow control.

5. Session : Provides the coordination for communication between applications; establishes, manages, and terminates connections between cooperating applications.

6. Presentation : Manages the way data is represented to the application processes from difference in data representation.

7. Application : Defines the rules for gaining entrance into the communication system.

(17)

Data and Computer Communications 17/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

OSI and TCP/IP

TCP/IP OSI

Application Application Presentation Presentation

Session Session Transport Transport Network Network Data Link Data Link Physical Physical

Application Application

Transport Transport Internet Internet Network Access Network Access

Physical Physical

TCP/IP protocol suite has served as the basis for the development of inter-operable communications standards. Nowadays, TCP/IP is the most widely used interoperable architecture, and the OSI is the “reference”

standard model for classifying communications functions.

(18)

Data and Computer Communications 18/18

Applied Network Research Group Department of Computer Engineering, Kasetsart University

Standards Organizations

ISOITU-T

International Standards

Telecom Industry Telecom Industry

CEPTANSI

Interface standards Computer Industry

Computer Industry

Proprietary standards EIAIEEE Closed

systems

Multi-vendor systems

Open systems interconnection

Integrated computer and telecom industry Integrated computer and telecom industry

IETF

International Standards Open systems interconnection

Internetworking industry Internetworking

industry

Various organizations have been involved in the development or promotion of data and computer communications standards.

Referenties

GERELATEERDE DOCUMENTEN

Applied Network Research Group Department of Computer Engineering, Kasetsart University Data link layer..

Applied Network Research Group Department of Computer Engineering, Kasetsart University.. Local

Applied Network Research Group Department of Computer Engineering, Kasetsart University..

Applied Network Research Group Department of Computer Engineering, Kasetsart

Applied Network Research Group Department of Computer Engineering, Kasetsart University..

Applied Network Research Group Department of Computer Engineering, Kasetsart

As shown in Table 3, the controllers, which result in low jitter, provide small RMS error with high link utilization and the controllers, which result in large jitter, result in

For large modulus values like M = 2 48 , 2 63 or 2 128 , only partial searches are conducted in the random number literature, because, as mentioned in Section 3, conducting