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

How does the Internet work?

Saturday, 10 August 2013



Even though the Internet is still a young technology, it's hard to imagine life without it now. Every year, engineers create more devices to integrate with the Internet. This network of networks crisscrosses the globe and even extends into space. But what makes it work?
To understand the Internet, it helps to look at it as a system with two main components. The first of those components is hardware. That includes everything from the cables that carry terabits of information every second to the computer sitting in front of you.
Other types of hardware that support the Internet include routers, servers, cell phone towers, satellites, radios, smartphones and other devices. All these devices together create the network of networks. The Internet is a malleable system -- it changes in little ways as elements join and leave networks around the world. Some of those elements may stay fairly static and make up the backbone of the Internet. Others are more peripheral.
These elements are connections. Some are end points -- the computer, smartphone or other device you're using to read this may count as one. We call those end points clients. Machines that store the information we seek on the Internet are servers. Other elements are nodes which serve as a connecting point along a route of traffic. And then there are the transmission lines which can be physical, as in the case of cables and fiber optics, or they can be wireless signals from satellites, cell phone or 4G towers, or radios.
All of this hardware wouldn't create a network without the second component of the Internet: the protocols. Protocols are sets of rules that machines follow to complete tasks. Without a common set of protocols that all machines connected to the Internet must follow, communication between devices couldn't happen. The various machines would be unable to understand one another or even send information in a meaningful way. The protocols provide both the method and a common language for machines to use to transmit data.
We'll take a closer look at protocols and how information travels across the Internet on the next page.

A Matter of Protocols

 

 

You've probably heard of several protocols on the Internet. For example, hypertext transfer protocol is what we use to view Web sites through a browser -- that's what the http at the front of any Web address stands for. If you've ever used an FTP server, you relied on the file transfer protocol. Protocols like these and dozens more create the framework within which all devices must operate to be part of the Internet.
Two of the most important protocols are the transmission control protocol (TCP) and the Internet protocol (IP). We often group the two together -- in most discussions about Internet protocols you'll see them listed as TCP/IP.
What do these protocols do? At their most basic level, these protocols establish the rules for how information passes through the Internet. Without these rules, you would need direct connections to other computers to access the information they hold. You'd also need both your computer and the target computer to understand a common language.
You've probably heard of IP addresses. These addresses follow the Internet protocol. Each device connected to the Internet has an IP address. This is how one machine can find another through the massive network.
The version of IP most of us use today is IPv4, which is based on a 32-bit address system. There's one big problem with this system: We're running out of addresses. That's why the Internet Engineering Task Force (IETF) decided back in 1991 that it was necessary to develop a new version of IP to create enough addresses to meet demand. The result was IPv6, a 128-bit address system. That's enough addresses to accommodate the rising demand for Internet access for the foreseeable future [source: Opus One].
When you want to send a message or retrieve information from another computer, the TCP/IP protocols are what make the transmission possible. Your request goes out over the network, hitting domain name servers (DNS) along the way to find the target server. The DNS points the request in the right direction. Once the target server receives the request, it can send a response back to your computer. The data might travel a completely different path to get back to you. This flexible approach to data transfer is part of what makes the Internet such a powerful tool.
Let's take a closer look at how information travels across the Internet.



Packet, Packet, Who's Got the Packet?

 

 

 

In order to retrieve this article, your computer had to connect with the Web server containing the article's file. We'll use that as an example of how data travels across the Internet.
First, you open your Web browser and connect to our Web site. When you do this, your computer sends an electronic request over your Internet connection to your Internet service provider (ISP). The ISP routes the request to a server further up the chain on the Internet. Eventually, the request will hit a domain name server (DNS).
This server will look for a match for the domain name you've typed in (such as www.howstuffworks.com). If it finds a match, it will direct your request to the proper server's IP address. If it doesn't find a match, it will send the request further up the chain to a server that has more information.
The request will eventually come to our Web server. Our server will respond by sending the requested file in a series of packets. Packets are parts of a file that range between 1,000 and 1,500 bytes. Packets have headers and footers that tell computers what's in the packet and how the information fits with other packets to create an entire file. Each packet travels back up the network and down to your computer. Packets don't necessarily all take the same path -- they'll generally travel the path of least resistance.
That's an important feature. Because packets can travel multiple paths to get to their destination, it's possible for information to route around congested areas on the Internet. In fact, as long as some connections remain, entire sections of the Internet could go down and information could still travel from one section to another -- though it might take longer than normal.
When the packets get to you, your device arranges them according to the rules of the protocols. It's kind of like putting together a jigsaw puzzle. The end result is that you see this article.
This holds true for other kinds of files as well. When you send an e-mail, it gets broken into packets before zooming across the Internet. Phone calls over the Internet also convert conversations into packets using the voice over Internet protocol (VoIP). We can thank network pioneers like Vinton Cerf and Robert Kahn for these protocols -- their early work helped build a system that's both scalable and robust.
That's how the Internet works in a nutshell. As you look closer at the various devices and protocols, you'll notice that the picture is far more complex than the overview we've given. It's a fascinating subject -- learn more by following the links on the next page.


 For more information click here

Read more ...

Find the location with GSM cells on internet with code

Wednesday, 26 June 2013

 

Find the location with GSM cells on internet     with code

In this site we presented two localizer without GPS that uses only the GSM cell to determine the position.
The radio mobile network is made up of a number of adjacent radio cells, each of which is characterized by an identifier consisting of four data: a progressive number (Cell ID), a code related to the area in which that given cell is (LAC, or Local Area Code), the code of national network to which the cell belongs (MCC, an acronym for Mobile Country Code), and finally the company code (MNC, or Mobile Network Code), which obviously identifies the phone company itself. For this reason, once a cell name and coordinates are known, and considering the maximum distance allowed between this cell and a phone before the phone connects to a new cell, it is possible to find out, approximately, the most distant position of the phone itself. For example, if the maximum distance has been determined to be one mile, the cell phone can be within a one-mile radius. It can be deduced that the more cells are found in a given area, the more precisely one can determine where the phone is located (up to 200-350 feet).
To explain how the systems works, we made this page. You have to insert the data of the GSM cells and then the PHP page gives you the position and the range.
DataCells

Not all data cells are necessary. The important one is the Main Cell. A lot of program for smartphone give you the Main Cell. Someone give you also the neighbour cells.
This program can shall the information in HEX format or Decimal format, the system convert the informationo automaticaly but you must chose the format.
To determine the coordinates we use Google Database and the maps shows also the range of approssimation.



You can access directly to this page using the URL http://www.open-electronics.org/celltrack/
After compiling the form the page pass to http://www.open-electronics.org/celltrack/cell.php
the data using GET method. So you can obtain the result passing from your site the data simply.
i.e.
http://www.open-electronics.org/celltrack/cell.php ?hex=0&mcc=222&mnc=10&lac=00010012&cid=00039309 &lac0=00010012&cid0=00005188 &lac1=00010012&cid1=00017252 &lac2=00010012&cid2=00039303 &lac3=00010012&cid3=00039301 &lac4=00010012&cid4=00039307
Remember that not all data are necessary, so you can send only the main cell: http://www.open-electronics.org/celltrack/cell.php ?hex=0&mcc=222&mnc=10 &lac=00010012&cid=00039309
If you need an answer with only TXT use this link: http://www.open-electronics.org/celltrack/celltxt.php ?hex=0&mcc=222&mnc=10&lac=00010012&cid=00039309 &lac0=00010012&cid0=00005188 &lac1=00010012&cid1=00017252 &lac2=00010012&cid2=00039303 &lac3=00010012&cid3=00039301 &lac4=00010012&cid4=00039307




The PHP code to find the coordinates from GSM cells

click the link and go down and see the code



Tracking cell by Boris Landoni Example MNC : $mnc
LAC : $lac
CID : $cid
"; return array ($mcc, $mnc, $lac, $cid, $nlac, $ncid); } function decodegoogle($mcc,$mnc,$lac,$cid) { $mcch=substr("00000000".dechex($mcc),-8); $mnch=substr("00000000".dechex($mnc),-8); $lach=substr("00000000".dechex($lac),-8); $cidh=substr("00000000".dechex($cid),-8); echo " Hex MCC: $mcch MNC: $mnch LAC: $lach CID: $cidh
Read more ...