SciGo
Menu

Computer science > networks

  • What is a Network?
  • Topologies and Hardware
  • The Internet
  • Security
<
>
A network ​describes 2 or more computers (laptops, phones, shop tills etc.) which are connected together to share information and data between them. We use networks to share files, access the internet and communicate. There are several types of network that include:
  • LAN Networks - ​This stands for 'Local Area Network' which is a network that covers a relatively small geographical area. LAN networks are small networks typically used in homes or buildings. If you have a network at home, this is probably a LAN network.
  • WLAN Networks - This simply stands for 'Wireless Local Area Network' which is a wireless version of LANs
  • ​WAN Networks- ​This stands for 'Wide Area Network' which is a network of 2 or more LANs that covers a large geographical area. WAN networks are very large, and often span over countries. The biggest example of a WAN network is the Internet.
  • PAN Networks- This stands for 'Personal Area Network'. PAN networks are even smaller than LAN networks and are usually used to connect a computer to another device i.e a printer or a phone to headphones via Bluetooth.

Client-server networks - A network with at least one server which provides services to the 'client' computers
Peer-to-peer network ​- A network without any centralised servers where each computer acts as both a 'client' and a 'server' both requesting and providing a service where necessary
A client is a computer which is making a request.

Server - ​A server is a powerful computer that provides the network with 'services' like...
  • Storing files and back-ups
  • Sending/receiving emails
  • Security and authentication
In client-server networks:
  1. A client will connect to the server using it's address by requesting a connection
  2. The client will then make a service request to the server
  3. The server will carry out the request (if it is valid) and use the address from step 1 to send any data to the client
There are four types of network topologies: Bus, Ring, Star​ and mesh. You can think of topologies as shapes or layouts that make up a network, each with their own practical advantages and disadvantages.

​A bus network is the simplest of the lot. It works by a single cable known as the bus connecting all the devices together, with two terminators on either end that help to make the data bounce back. It is done by sending a signal through the cable and all the devices check to see if the data packet is registered to them.
The advantages of this network are...
  • It is easy to install and to expand at any given time, so it is a good starting point for many networks.
  • It is relatively cheap and only needs one cable
Disadvantages are...
  • A bus topology is not particularly reliable because if there is an issue with the bus connecting all the devices together, then all the devices fail.
  • The more devices there are, the slower they are due to only one piece of data being able to be sent at a time without causing data collisions (which cause data packets to almost "break apart")
  • Other devices on the network could potentially view your data and the fact that data is sent to all devices in the network is a security risk
image source
Picture
Although a bus network operates in a line, with two terminators acting as barriers on either side, a ring network operates in a circle, hence the name. As such, data packets are sent in one direction around all the devices until it finds the one it is looking for. Because of this, data collisions do not occur as there will never be two data packets going in opposite directions, unlike a bus network where they bounce back and fourth. New devices can also easily be added without affecting the performance though the entire network has to be shut down first. However, if only one computer isn't functioning properly or stops working, then the entire network will fail.​ and as data goes to all computers, there is a security risk.​ Faults are also difficult to find on this network topology and it is more expensive than a bus network as it needs more wire.
​image source
Picture
A star network is often thought of to be the most reliable. It has a switch or hub located in the centre of the network, which all devices are connected to via a cable each, and issues are generally not a problem because one computer failing doesn't affect the whole network and errors are easy to locate and fix. Data collisions amongst this network are very rare because it doesn't need to deal with other computers- only the switch but because of the sheer amount of cables, this network is quite expensive to set up running and to expand. As well as this, if the switch/hub fails then so does the entire network.
  • Switch - Receives messages/data and sends them only to the computers that need them
  • Hub - Receives messages/data and sends them to all computers
​image source
Picture
In a mesh network, all devices are interconnected to one another, like a more complex variation of the ring topology. In this topology, it is easy for devices to be removed from the network and for data to be sent around at high speeds. Like the star network, however, mesh networks are quite expensive due to the amount of cables but unlike the star network, it is difficult to locate and fix an error though errors are usually not much of a problem due to the various potential routes for data to travel. In cases of a particularly large network, every device needs its own switch, making the network more expensive and complex.
A mesh network can be fully connected or partially connected. The latter uses fewer wires and so is cheaper and has fewer connections between each computer. As a result, data is routed through computers to get from one to another if they are not directly linked.
The biggest network an the biggest mesh network is the internet.
Picture

Network Hardware

Copper/Coaxial Cable
Copper is an electrical conductor so it carries electrical signals which are read by the computers. The presence of a signal is a 1 and the absence is a 0 in binary. These signals deteriorate over long distances. Ethernet cables use twin copper cables which are copper cables twisted around each other.

Fibre Optic Cable
Fibre optic cable is made of glass and reflects light across it. When read, the presence of light is a 1 and the absence is a 0. As it is the reflection of light, this data travels at light speed and also travels much greater distances without deteriorating.

Wireless Connection
Wireless connection is the transmission of radiowaves (as well as microwaves and infra-red light). Wireless connections can only travel across limited distances and are slower than wired connections. Wireless Access Points are pieces of hardware that connects wireless signals to hardware. If you use WiFi at home, you probably have an all-in-one hub which is a router, switch and WAP all at the same time.
Router - connects a device to the internet.
Wired Advantages
Wired Disadvantages
Wireless Advantages
Wireless Disadvantages
Faster than wireless
Expensive to install and configure
No need for cables
Can be slower than wired
Not easy to intercept data
Requires many cables on site
Users can use their own devices
Interference from other devices can affect performance
Less susceptible to interference
 
A wider range of devices can communicate
Walls and physical objects can affect performance
 
 
 
Data must be encrypted​ to prevent interception
NIC - Network Interface Card - This is a physical card which allows you access to a network so you can connect. It also contains your permanent MAC (Media Access Control) address
Bandwidth - the amount of data that can be transmitted on a network in a given period of time measured in bps (bits per second)
Web server - A file storage facility that holds web pages
Packet - a small part of data sent through a network when data is 'broken down'. They are labelled with the sender's address, the recipient's address, the packet number and how many packets the data was split into.
Protocol  - a set of rules that determine how communications on a network are formatted and what data is included. Protocols may contain...
  • The addresses/identification of computers
  • The routing of data
  • Sequencing of data
  • Error checks
... and more
Protocol stack - A group of protocols that work together

Using the Internet

TCP/IP Protocol Stack
TCP/IP =Transmission Control Protocol/Internet Protocol

This protocol stack is split into 4 layers:
Application
This layer interacts with the user to provide access to the services the user wants. HTTP (Hyper-Text-Transfer Protocol), FTP (File Transfer Protocol) and mail protocols (SMTP, POP3 and IMAP) are all in this layer.
HTTP/S - This sends and receives data between web browsers and web servers and determines how data should be formatted. When you are on a web page, in the address bar, you will see either HTTP or HTTPS. The S simply stands for secure and indicates that the data is encrypted.

FTP - This transfers files overnetworks that use TCP and sends web pages from a web-developer to the web server.
Mail Protocols - SMTP (Simple Mail Transfer Protocol) sends emails through the internet and details the formatting. POP3 (Post Office Protocol 3) retrieves an email from the email server (normally deleting messages from the server in the process). IMAP (Internet Message Access Protocol) allows more than one email client to access an email by keeping mail on the server instead of deleting it (unless you delete it).

Transport
This manages end to end communication using TCP (or UDP)
TCP - Transmission Control Protocol makes sure data has been sent and received properly by making the receiving computer send messages back to see when data has been sent. It also uses checksums (a mathematical formula that should produce the same number as when the message was sent) to ensure data is accurate when received. It also carries out flow control which ensures the data travels at a speed at which it can be processed well. It also ensures data sent back to the application layer is sent correctly without duplicates.
UDP takes up less space on the network as it doesn't ask for the confirmation data to verify the message was sent.

Network/IP
This layer sends data across the network and routes it using IP (Internet Protocol)
​When you type in a web page address (URL -Universal Resource Locator) into your web browser, it goes through DNS (the Domain Name System) which uses DNS Servers to find the IP address of the page so the URL can be converted into its IP address.
An IP Address is a unique address of a particular web page also used for identifying computers and servers. It allows packets to be routed as it holds their destination.

Link
The final layer controls the transmission and reception of packets to/from the network. It is the physical connection between network nodes and the MAC address that data is going to is added and removed.

Photo used under Creative Commons from goodrob13
  • Science
    • Biology >
      • Reproduction
      • Blood and Circulation
      • Enzymes
      • The Skeleton and Muscles
      • Cells
      • Food and Digestion
      • Genetics
      • Respiration and Gas Exchange
      • Plant Metabolism - Photosynthesis and Respiration
      • Kidneys and Urinary system
      • Evolution
    • Chemistry >
      • Particles
      • Rocks
      • Atomic Structure and the Periodic Table
      • Rates of Reaction
      • Crude oil
      • Metals
      • Analysis
    • Physics >
      • Forces and Motion
      • Light and Sound
      • Energy Resources
      • Waves
      • Magnetism
  • Add Maths
    • Polynomials
    • Binomials
    • Permutations and Combinations
    • Graphs
  • Latin
    • Grammar >
      • Verbs
      • Participles
      • Nouns
      • Adjectives
    • Vocabulary
  • History
    • Battle of Hastings
    • World War Two and International Relations
    • Key Words- Medieval Era
    • The Tudor Church
    • The Spanish Armada
    • World War I
    • World War Two and International Relations
    • Why had international peace collapsed by 1939?
    • Glossary
  • Geography
    • The UK and The Republic of Ireland
    • Geographical Skills >
      • Ordnance Survey
    • UK Economy
    • Development
    • Globalisation
    • National Parks
  • Religious Studies and Philosophy
    • Belief in God
    • Sikhism
    • Islam Key Words
    • The Life Of Jesus
  • FNU
    • Keeping Safe in the Kitchen
    • Energy
  • Music
    • Listening
  • Computer Science
  • MFL
    • Spanish >
      • Grammar >
        • Verbs
      • Vocabulary
    • French >
      • Vocabulary
      • Grammar >
        • Verbs
  • How 2 Revise
  • Feedback
    • Have your say
    • Report an error
  • General Knowledge
  • Online Resources
  • Privacy
  • Scigo Starters
    • sgS Bio
  • Nouns and Adjectives
  • SciGoAs
    • A Level Mathematics >
      • Exponentials and Logarithms
      • Vectors
  • Science
    • Biology >
      • Reproduction
      • Blood and Circulation
      • Enzymes
      • The Skeleton and Muscles
      • Cells
      • Food and Digestion
      • Genetics
      • Respiration and Gas Exchange
      • Plant Metabolism - Photosynthesis and Respiration
      • Kidneys and Urinary system
      • Evolution
    • Chemistry >
      • Particles
      • Rocks
      • Atomic Structure and the Periodic Table
      • Rates of Reaction
      • Crude oil
      • Metals
      • Analysis
    • Physics >
      • Forces and Motion
      • Light and Sound
      • Energy Resources
      • Waves
      • Magnetism
  • Add Maths
    • Polynomials
    • Binomials
    • Permutations and Combinations
    • Graphs
  • Latin
    • Grammar >
      • Verbs
      • Participles
      • Nouns
      • Adjectives
    • Vocabulary
  • History
    • Battle of Hastings
    • World War Two and International Relations
    • Key Words- Medieval Era
    • The Tudor Church
    • The Spanish Armada
    • World War I
    • World War Two and International Relations
    • Why had international peace collapsed by 1939?
    • Glossary
  • Geography
    • The UK and The Republic of Ireland
    • Geographical Skills >
      • Ordnance Survey
    • UK Economy
    • Development
    • Globalisation
    • National Parks
  • Religious Studies and Philosophy
    • Belief in God
    • Sikhism
    • Islam Key Words
    • The Life Of Jesus
  • FNU
    • Keeping Safe in the Kitchen
    • Energy
  • Music
    • Listening
  • Computer Science
  • MFL
    • Spanish >
      • Grammar >
        • Verbs
      • Vocabulary
    • French >
      • Vocabulary
      • Grammar >
        • Verbs
  • How 2 Revise
  • Feedback
    • Have your say
    • Report an error
  • General Knowledge
  • Online Resources
  • Privacy
  • Scigo Starters
    • sgS Bio
  • Nouns and Adjectives
  • SciGoAs
    • A Level Mathematics >
      • Exponentials and Logarithms
      • Vectors