Explaining the Internet
Connecting computers worldwide |
The Internet is a system connecting together a vast number of computers and other electronic devices, in such a way that messages can be sent between any two connected devices. How those messages are passed from one location to another varies - perhaps using radio waves in a home wi-fi connection, or copper cables, or glass fibres, or microwaves, or cellphone signals - the Internet does not force any particular type of link. As long as there is some way to get a message from one computer to another then the Internet will work with it.
The Internet will Find a Way
The connections can be pictured like roads on a map. Some are slow and narrow and can't handle much traffic, whereas some are wide and fast and allow many vehicles to travel long distances. If we imagine the internet as a road network, then in place of cars we would have little packets of digital information travelling from one place to another. At each junction on this network there is a device called a router, which steers every incoming packet of information onto the best connection to help it get to its destination. Eventually it will arrive at a router which can send it directly to its destination computer, and the packet will then have been transmitted across the internet.Avoiding congestion |
Every packet of information being sent over the internet is accompanied by the IP address of its destination, and that of the sending computer. So when a router receives a packet it can examine the destination IP address and make a decision on where to send it for the next leg of its journey. That decision can be influenced by various factors in addition to the router's knowledge of how the network is laid out - such as how congested a particular route is, whether the router at the other end is prepared to handle packets of a certain size, and so on - so packets may not always follow the same route to get to a particular destination, or take the same amount of time to get there. In fact if there is a communication problem then it's possible that a packet might not arrive at all. For example if packets are arriving at a particular router faster than they can be forwarded, then the router will have to simply throw them away.
Piecing Things Together
Sequencing chunks |
Clicking Links, Serving Names
DNS lookup, storing of response |
Displaying the Page
The web page itself is a text document containing specially coded instructions in a language called HTML (HyperText Markup Language) that the browser interprets, allowing it to lay out the page as designed by its author. For example, sections of text can be marked as headings, normal text, bold or italic fonts, tables, etc. The page may also contain the web addresses of image files, which will be retrieved using further DNS and TCP requests so that they can be displayed in the page. It may also contain more links, which if clicked on will start the whole process off again.A Technological Marvel
This is a fairly simple explanation of what goes on under the surface when you are browsing the Internet. Given the amount of back-and-forth messaging, file dicing-and-splicing, and error correction that goes on behind the scenes, it is sometimes astonishing that the Internet and Worldwide Web work as seamlessly and efficiently as they do!A Note on IP Addresses
As mentioned above, IP addresses are commonly specified as a sequence of four numbers in the range 0 to 255. This system, known as IPv4, allows for around four billion different addresses, which was originally seen as more than sufficient. However, because of the huge number of devices currently connected to the internet, past inefficiencies in allocating the numbers, and the rise of the so-called 'Internet Of Things' (in which everything from light bulbs to washing machines will be connected to the net), that four billion is running out. A new system known as IPv6 is being introduced in which IP addresses consist of eight numbers in the range 0 to 65535, giving a total of around 340 billion billion billion billion different addresses. It is thought that this will be enough! Unfortunately the IPv4 system is still used by a large portion of the Internet's hardware so the transition to IPv6 is not straightforward, with various schemes for translation between the two formats being required as an interim measure.Further Reading
If you would like to find out more, these Wikipedia articles may be of interest:IP Addresses
Internet Protocol (TCP/IP)
Domain Name System
HTML
No comments:
Post a Comment