Communications technology Flashcards
(119 cards)
Fundamental network models
TCP/IP and OSI.
Open system interconnection (OSI)
“Please do not throw sausage pizza away”
-Application
-Presentation
-Session
-Transport
-Network
-Data link
-Physical
Application (OSI model)
Top layer of the model, that directly interacts with data from the user. Software application (web applications and client emails) rely on this layer to communicate, User application (word processing packages) are not included in this function.
Application layer is responsible for managing protocols, such as HTTP and Simple mail transfer protocol (SMTP) that allow meaningful data to be presented to user
Presentation (OSI model)
Prepare data for use in application layer, such as translation, encryption and compression of data, Makes sure data is transmitted in a format that is understood by the receiving device.
Data will be encrypted if communication over a secure connection and also will decrypt data thats received. To increase speed of transmission data will be compressed.
Session (OSI model)
Responsible for opening and closing communication links between devices. Ensures session is open for long enough to allow all data to be transmitted, and close immediately. Once transmission is complete.
Transport (OSI model)
Responsible for breaking down the data from session layer into segments, then segments are given to network layer. Also responsible for reassembling the segments at the receiving device, flow control and error checking. Ensures all data has been received, otherwise requests a retransmission
Network (OSI model)
Breaks down segments from transport layer into smaller units (packets). Responsible for reassembling packets after transmission, and routing. Router is a key component in network layer.
Data link (OSI model)
Similar role to network layer, rather than transmitting data from layer to layer, it transmits from node to node within a network. Coverts packets into frames. Switch is key component in this layer.
Physical (OSI model)
Involves physical equipment used to transmit the data, such as cables. Data is broken down into bits and transmitted as binary. Is responsible for reassembling the bits into frames, after transmission.
Packet:
A unit of data in data transmission
Router:
A network component that uses a computer IP address to send data packets to a destination outside the current network
Switch:
A network component that uses a computers MAC address to send the data packets to a destination within a network
TCP/IP Protocol layers:
TCP/IP model is more condensed than the OSI model, which only has 4 layers, compared to OSI, which has 7 layers.
-Application
-Transport
-Network
-Link
Application Layer (TCP/IP):
Condenses application, presentation and session layer from OSI model. Uses several protocols to provide standardised exchange of data (HTTP, SMTP, Post office protocol (POP), file transfer protocol (FTP).
Transport Layer (TCP/IP):
Comparable to transport layer in OSI model, Responsible for maintaining end-to-end communications between devices. TCP and UDP are the main protocols used in this level.
Network Layer (TCP/IP):
Comparable to network layer in OSI model. Breaks down data into packets and transmits it network to network. IP and internet control message protocol(ICMP) are the main protocols used in this level.
Link Layer (TCP/IP):
AKA physical layer< It condenses the role of data link and physical layer from OSI model. address resolution protocol (ARP) is the protocol used.
IP (internet protocol) Address:
A unique address given to a device, normally by a router
MAC (Media Access Control) Address:
A unique address given to a device by the manufacturer
Structure of data packets:
A Data packet is sent across a network, which contains several elements.
The normal elements include: Header, Payload and Trailer.
Header (Data packets) Includes:
-IP address of sender, source IP
-IP address of receiving device, Destination IP
-Sequence number of packet, so receiving device can reorder the packets to obtain original data.
-MAC address of the sender and receiver
-Any protocol that is used
Payload (Data packets) includes:
-The actual data from the file that is being transmitted
Trailer (Data packets) includes:
-A flag that tells a device it has reached the end of the packet
-Any error checking methods that are used
The data sent to header and trailer are designed to make sure payload data arrived at its intended destination without any errors.
Transmitting data packets
-Circuit Switching: Direct path is created between the sending and receiving device, there are dedicated pathways to transmit data packets. A pathway can only be used if data transmission is completed.
-Packet switching: Data packets sent across the network can take any available path. Normally used when packets are sent over the internet, via routers.
Two methods of packet switching are Connection-oriented and connectionless. In Connection-oriented packet switching a session is created before any data is transferred. Connectionless, does not require prior set up between devices to transmit the data.
-Message switching: An intermediate method between circuit switching and packet switching. Once data packets are sent from computers to the first witch device, The device holds the data packets untill all units have arrived. data packets are sent from switch to switch, until they reach the final computer. (Strore and forward method).