Showing posts with label internet. Show all posts
Showing posts with label internet. Show all posts

Saturday, January 11, 2014

The Internet!!

Internet – the network of networks has become so ubiquitous that most of us are wired to it all the time. Millions of people around the globe use internet for anything and everything like chatting with a friend, sharing pictures with the dear ones, working in a collaborative environment, banking, shopping and even robbing J.  It is amazing to see that in a short period of time internet has evolved with has evolved with its wide range of offering.  However did you know how does this huge network of networks communicate and are able to exchange information with each other?  What’s the backbone of this magical network?

If you did not know, don’t worry, I hope by the end of this post you would definitely get to know at least the basics of how this magical network works.

TCP/IP (Transmission Control Protocol /Internet Protocol) architecture lays the backbone of internet.  So what is this TCP/IP?

TCP /IP is a suite of communication protocols that help the computers on the internet to network and communicate with each other. It is layered architecture starting with the Link layer (aka physical layer), then to the Internetwork layer, Transport Layer and ending up with the Application Layer, with each layer servicing the layer above.

Theoretically this sounds easy, but how does this conceptually work?  While I was thinking on how to explain this I saw a baggage advertisement on TV, and then it struck to me that even the baggage that we checkin during a flight journey, also runs through a small network of baggage and is delivered safely to us at the destination airport. Have we ever seen how the bag we check in arrives right at the other end? Similarly we simply checkin our request via home network and then end up back with the right information at our desk. How does this all happen? Magic??

Below I have tried to unlock this magic by doing a comparative study of Baggage Handling System (BHS) and the internet architecture. I hope this example helps us understand in simple terms on how TCP/IP suite functions. Before jumping into the explanation, let’s have some analogies between the Conveyor network and Internet architecture.

Internet (TCP/IP)
Conveyor network (BHS)
Data
Packets
Bags
Source and Destination address
Barcode
Internet Protocol address (IP)
Link
Airline Baggage Belt
DSL, Modem
Route
Router
Pusher
Reliable Transport
Scanners/BHS
TCP
Application
Email, Hyper text documents
Loading the plane
Heart
TCP/IP
BHS

When we checkin the bags at the respective airline counter, the airline agent checks our itinerary and prints a tag and attaches to each of the bags.  This tag consists of a unique bar code, the holds the details of the source and destination address.  In the same way once we submit a data onto the internet it is broken into packets (like individual bags) and is labeled with a unique address i.e the Internet Protocol Address for it to traverse to the required destination.

How does the flow of information start?

As we have a airline baggage belt running at the counter, that takes forward the checked in bags, we have the Link layer of the TCP/IP that actually Links one node to the other in the internet and moves packets from one network to the other.  The DSL at home, Wi-Fi at cafes, Ethernet etc. forms the Link layer.
Thereon the individual airline bags get merged into the common Conveyor network which transports number of bags from various other airlines to the respective airplanes, in a way similar to our data gets pushed into the internet to make its way to the destination.

The conveyor belt system at various junctions has got some agents called the PUSHERS that scan the bags, checks the barcode, and routes the bags to the right belt of respective airline. Similarly the network agents called ROUTERS at various nodes of internet inspect the IP address, lift the packets and route them to the right destination in a best effort way. These routers that move the packets onto the right network form the Network layer of TCP/IP and there on as the network is established the packets move further up via the Transport layer just like the bags move on the right track in the conveyor network.

As the bags move they pass through a set of scanners and once the baggage are scanned the BHS tracks its movement providing a reliable transport. Similarly the Transmission control protocol at the transport layer monitors + co-ordinates the movement of packets and assures a reliable delivery.

End of the Main Terminal conveyor system is a conveyor that loads your bag into a passing (Destination Coded Vehicle) DCV which quickly moves your bags to an off-ramp at the gate. Like Network interface adapters, DSLs, these DCVs are something similar to the link layer technologies, connecting 2 end points, and take the baggage from the conveyor belt system to the plane. These DCVs contain unique number just like the Media access addresses of linkers to identify themselves on the internet.

The bags delivered at the gate could be compared to the data that we receive as data input to the application layer. The bags then make their way down a short conveyor to a sorting station where the baggage handlers load the bags onto carts or into special containers that go right into the airplane.

While loading the plane, the baggage are sorted at the sorting station( as per their need/application) and those that are for transfer are passed into a different bay area than those that would be headed to baggage claim. Similarly the data we receive at the application layer are either presented as a web page via the Hyper Text Transfer Protocol (HTTP) or as an email via Simple Mail Transfer Protocol (SMTP), or as a file via the File Transfer Protocol (FTP). All these protocols HTTP, FTP, SMTP and many such forms the application layer.

Since the bags already come sorted, they then get offloaded into their respective baggage claim belts at the destination and arrive to us safely.

Most of the times all the bags are delivered safely at the destination (if the BHS uses stronger reliability standards like TCP), however if the BHS standards are unreliable like the Internet Protocol (IP) then there are chances that few bags/packets are missed during the transport.

A short summary of the above process has been represented below pictorially.  I hope now you have got at least a little knowledge on the underlying network technology of the internet and how it functions. 


Thursday, December 13, 2012

Technology is getting crazy & Mankind is turning greedy



More than couple of months since I logged my thoughts. I got a mail as well from my friend about any new posts from my end , and I replied saying I am just busy for now with my Diwali Vacation and now post vacation trying hard studying for a exam that's just around the corner.  However some of my communication with my friends and family did not let this gap get wider. Just when I was having lunch this afternoon a strong urge to pen down my thoughts brought me here to write them up sacrificing my afternoon nap;).


So what's that I have got fascinated with , truly honestly, might sound silly too, yes it's the way I got to communicate with my parents, friends and a way to stay in touch round the clock with my dear ones. Gone are the days when distance made a huge difference in  communication.

I remember when I was in college 12 years back, I used to wait in the queue at the telephone booth after 11 p.m and wait for my turn to ring up home. Why such a wait till 11 p.m? Hmm It was that time when STD facility was too expensive and had cut offs like this, i.e from 8.30 a.m to 8.30 p.m full rate after 8.30 p.m half rate and beyond 11 p.m quarter charge…

The frequency of calls used to be once in 2 or 3 days and when sometimes when I used to feel homesick OMG I just used to keep staring at the clock when it would tick 11 p.m to talk leisurely at low cost with my parents.

And on the other hand if I had to hear from my parents, that was difficult and slow too, I really had to wait for a call from our hostel warden when our hostel landline  rings, but that too was a tough chance as we are so many in the hostel and most of the time line used to be busy .

It was during my final year of college, when I got a cell phone and then my parents  could talk to me when needed directly . Free SMS drove the college students crazy and also improved the chats among the close pals.

Then came the phase of my professional life, when I really got a advanced cell phone, easy to operate , several other features in one pack and I need not had to wait for STD cut off rates. Mobile providers did have good plans for STD calls and I was happy with that. Soon mobile took up a very important place in everybody's life that  anyone would feel handicapped without it.

Then with the advanced mobiles came a change in the internet was being accessed, mobile phones were able  to act as modems and  technology brought us internet just on the mobile phones….But we were not satisfied….Internet access charges through mobile was very high and hence could be afforded only incase of emergency.

But now what?? Era of touch technology, and internet and tablets….

With my married life set in I moved away from my parents and friends. Ok I have a phone to hear them when needed or visit a cyber cafĂ© and even have a video chat…Still it required time and money… I was disappointed sad that I was far away from home...

2G and 3G mobile connections were still expensive and therefore I looked for a cheaper way..
and then broadband connection came on my way, I set up internet at home and after several months since internet is set up at my hometown  I too got to do a video chat when needed with less cost…

What next…Then came the curiosity for WiFi? If there is wifi all time on my mobile then I could be online round the clock with broadband connection at home and my friends/family could just ping when needed...I could get notified with my all time companion mobile :).Why I should I always come to the PC and switch on chat..ah it takes some work..can't I get that on mobile..

With my Smart phone I got that done..and now it was easy to receive chats/pings just on my mobile…a beep on my mobile connects me to my friend or home at least for few mins in case I am busy with cooking or work…

So the days went by like this happy happy…

Now what…My brother being overseas and some of close friends overseas as well I am not able to call them when I want..why expensive again…hence just call them only when needed..

But now with yet another softwares in the last couple of days I got to make international free call/free SMS . Before I used to talk to my brother or friends overseas once on 2 weeks or a month…But now, I am so happy as I could just call them/text them free of cost just with a internet connection and a smart phone….

All these things make me think, with the technology getting crazier, we are getting lazier and our curiosity makes us greedier….Why greedy…

Yes..couple of months back we bought a smart phone which does not have a dual camera..since mobile internet was expensive, we dropped the idea of video call on mobile phones and tried to save money…

But now with all such facilities still I think ah we could have got a dual camera phone and having that I could have just had video call from mobile phone itself..what a changeover??

Not only this, When I see people buy phones like Fashionable clothes..oops…I see that now it's time for a smart phone or tablet in every single man's hand…..There is one tablet in every house...smart phones with most...

And I am as well not so good that I make paid calls when I have a way for free calls….With technology growing at this pace, I am sure most would agree we always look for what's cheaper , freely available and not just satisfied with whatever magical features come in our way…

To conclude I would say, without these healthy greedy needs, technology would not have grown this crazier and faster..Hatsoff and thanks to all the Magicians behind this crazy revolution…

Cheers,
Akshatha