Slashdot Mirror


Peer-to-Peer Cellular

Phos writes: "A cool article over at the O'Reilly Network outlines a possible solution to cellular network outages in the event of an emergency. A P2P SMS technique where individual handsets act as autonomous SMS relays."

63 of 145 comments (clear)

  1. Sounds cool... by Ron+Harwood · · Score: 3, Insightful

    ...but the telco's would never want it to happen... they can't bill you (per second) for something that isn't on their network. :)

    1. Re:Sounds cool... by Klox · · Score: 3, Insightful

      It has to get out of the P2P network some how. It just means your call gets routed to another tower. Then maybe they can nail you for roaming too ;)

      Although a completely P2P cell phone network sounds cool, it's not very feasable with our current phone system.

    2. Re:Sounds cool... by Anonymous Coward · · Score: 3, Interesting

      Silly people... Ham Radio has been doing packet radio for 19 years now with AX.25. It works great, has TCP/IP overlay, is fault tolerant, and it quite inexpensive... with Linux gateways to internet. Again... nothing new here - just applying the same technology to cellular that has been on other "OPEN" RF links for nearly two decades...

  2. Peer-to-Peer by Red+Aardvark+House · · Score: 3, Funny

    This will go well until the RIAA finds out people are trading pirated MP3's on the network, so they'll sue and shut it down.

    --

    I like fire ants. They are very spicy!

  3. Great - ez-SMS spam by maggard · · Score: 4, Interesting
    Already I occasionially get the occasionial SMS advert that my provider hasn't managed to filter. With this sort of strategy any script-kiddy with a phone could start hammering the rest of us.

    I'd give it a week before an open cellphone is considered as antisocial as an open smtp relay.

    --
    I don't read ACs: If a post isn't worth so much as a nom de plume to its author then I wont bother either.
  4. They just had to do it... by Uttles · · Score: 4, Insightful

    The author just had to take a shot at Napster:

    Gnutella is a completely decentralized, or peer-to-peer, file-sharing system. Unlike Napster, there is no centralized server that acts as a broker in processing search requests, matching users with each other. Gnutella clients automatically seek out other Gnutella clients elsewhere on the Internet.
    (I guess gnutella is free from lawsuit then?)

    I'm not so sure I like the idea: what if some cell phone junkie figures out a way to display all of the messages coming into his phone (a friend of mine can do similar things) and he gets to read everyone's text messages... not a good thought.

    --

    ~ now you know
    1. Re:They just had to do it... by cryptochrome · · Score: 2

      If the system is designed primarily for emergencies, there is another easy way around it. The P2P system could or would only be activated during an emergency. Either the user activates an "emergency mode" on their handset, and/or the service provider sends out a universal activation.

      That would cut down on spam (and you could always autoreport spam to your provider afterwards). As for privacy in your text messaging, it's the least of your worries during an emergency. 99.9% of the messages are going to be of the "Are you still alive" variety. Only if you expect to be exchanging sensitive information do you need the end-to-end encryption. And since end-to-end encryption also requires you to exchange keys, it could stress the network further.

      Network stress is my main concern. Gnutella has some well-documented limitations, particularly the exponential increase of requests as the network grows. In this case the phone is looking for the closest route to a base station though, so it won't be too bad. It just can't replace the main network completely. The other problem is (potentially) memory.

      --

      ---If you can't trust a nerd, who can you trust?

    2. Re:They just had to do it... by Galvatron · · Score: 3, Insightful

      Unlike now, where anyone with a radio scanner can listen in on your cell conversations? Unencrypted cellular communications have never been secure, and this is no worse than how it works now.

      --
      "The question of whether a computer can think is no more interesting than that of whether a submarine can swim" -EWD
    3. Re:They just had to do it... by cryptochrome · · Score: 2

      The service provider knowing the network is partially crippled (loss of transmitters) and passing the message along to those nearby the damaged coverage area, who then rebroadcast the message to those in range, and so on, building up a routing table to phones out of range.

      --

      ---If you can't trust a nerd, who can you trust?

    4. Re:They just had to do it... by Ben+Hutchings · · Score: 2

      I'd like to see the radio scanner that can pick up calls on a GSM or CDMA-based network. GSM encrypts essentially everything; it has some known flaws but it would take a concerted effort over several days to exploit them. CDMA allows multiple users to use the same frequencies at the same time through some coding scheme (which I don't understand), so although it doesn't require encryption I believe the coding scheme is sufficiently complex that a simple radio scanner would not be able to extract individual calls from the mush.

  5. Signal power of a mobile phone? by eMago · · Score: 2, Interesting

    How strong is the signal power of a mobile phone?
    A base-station is built to receive signals from mobiles far away and is usually equipped
    with large antennas and located at a high point.
    But the range for mobilephone2mobilephone
    communication shouldn't be so long.
    A mobile phone signal is very weak.
    In the article they are onle talking about the network aspect but not about the "mobile" aspect.
    Has anyone an idea about that?

    --
    --- censored
    1. Re:Signal power of a mobile phone? by kaladorn · · Score: 3, Informative

      I think I recall this ....

      Typical cellphones are a few hundred milliWatts.
      A tower can punch out power (in some cases) up to 60 Watts or more, though it doesn't usually.

      At least that was how it worked for cell data systems such as CDPD. Cellphones are probably analogous. I think when they try to either acquire a channel or when they are broadcasting, they can amp the power up (I'm not sure quite at what starting level they use) up to 200 or 300 mW max. If you have one of the in-car systems, you can go up to 2 or 3 W. (Considerable increase in range, and the big ass antennae helps receiving fainter signals). Towers can pretty much always reach a phone that can reach them. Usually it is the phones returning signal that drops below the noise threshold rather than the signal from the tower.

      FYI... (from memories a couple or four years old).

      Tomb

      --
      -- Mal: "Well they tell you: never hit a man with a closed fist. But it is, on occasion, hilarious."
  6. Battery Life by bjb · · Score: 3, Insightful
    The problem I would have with a situation like this is that my battery life would suffer dramatically.


    When your phone is idle, you don't use much battery life. My phone, for example, can last about a week with only a small number of calls and most of its time being idle. This is also in areas where the signal strength is at least 60%.


    I'm sure many Slashdot readers know that modern cell phones increase their power when signal strength drops below a certain level. I'm sure you also know that when the transmitter is active, you use a lot of energy. So now that my phone is a node, not only is my transmitter probably constantly on (thanks to the people who can't live without talking on a cell phone), my battery will drain within a few days to hours, and to top it all off, making it more of an EMF hazard to me; the transmitter is what tauses dain bamage.


    Cool idea, but I'd at least like the option to turn it off.

    --
    Never hit your grandmother with a shovel, for it leaves a bad impression on her mind...
    1. Re:Battery Life by bn557 · · Score: 4, Insightful

      Well, if this was a service that was turned on only in emergencies, you wouldn't have that problem. HOPEFULLY, whatever was causing the cell phones not to work, would be resolved in less than a couple of days. This is just being looked at so that, in event of the apocolypse arriving, you can call your friends in another time zone and give them fair warning.

      --
      Humans are slow, innaccurate, and brilliant; computers are fast, acurrate, and dumb; together they are unbeatable
    2. Re:Battery Life by CiaranMc · · Score: 2, Insightful

      I think maybe you're missing the bit where the system is based around SMS, not calls.

      SMS messages aren't going to take too long to relay, and the time during which your phone is connected during the relaying will be very low.

    3. Re:Battery Life by EasyTarget · · Score: 3, Insightful

      SMS messages aren't going to take too long to relay

      Individual messages, maybe not. But thousands of messages -will- hit your battery.

      SMS is little used in the US (people still think 'bleeper' for messaging services). But in the rest of the world, especially Europe and Japan, SMS is king.

      I send/recieve 5-10 a day and think nothing of it, and I am a light SMS user. SMS actually comprises a signifigent fraction of all network traffic over here (a year ago I heard figures of over 6 million SMS's a day, in a country who's population is only 18 million. The Netherlands)

      --
      "Oops, I always forget the purpose of competition is to divide people into winners and losers." - Hobbes
    4. Re:Battery Life by mach-5 · · Score: 3, Insightful

      You beat me to this point...Also, during an emergency, battery life could be very crucial. If the system does come back on-line, you might be out of luck if you really needed to talk to someone and your battery was dead.

      Also, maybe there could be a way that the system could be thrown into an emergency state to preserve batter life. In other words, there could be a way to get messages to the local 911 dispatcher. If a certain number of 911 requests are detected by a single phone, then that phone can send out a message that switches all the other phones into an emergency mode, in which case only high priority messages are allowed through.

    5. Re:Battery Life by horza · · Score: 2

      making it more of an EMF hazard to me; the transmitter is what tauses dain bamage

      Only when the phone is next to your head! Unless you have a headband securing your mobile to your ear to improve call response time?

      Phillip.

  7. Not only in emergency (and two wishes). by clarkie.mg · · Score: 2, Interesting

    This would be also a very useful feature when you have no network connection, the phone would poll at regular times for another phone but only if that one is connected on the network. It seems to be a technological leap forward, though, compared to the situation today.

    An easier solution, and also useful, would be the ability to send local messages, without network support. The problem here would be reluctance from the network operators as they would loose revenues.

    As we are on the subject, all cell phones should have an "offline" option when you want to read/write messages but are not allowed to or do not want to be connected.

    --
    Men are born ignorant, not stupid; they are made stupid by education. Bertrand Russel
  8. this is a nice idea but... by toast0 · · Score: 4, Insightful

    In order for peer to peer mode to work, you have to have some idea who to send messages you want to get to a certain phone. Which means your phone needs a routing table, and possibly a very large one. Not to mention that all the possible routes need to be sent to every phone. Also, if you send your message to somebody's cell phone, who then leaves the network (power off, phone drops in water, etc) for a long period of time, the message disappears, this possibility might encourage people to just keep trying for a voice connection for messages they need delivered.

    1. Re:this is a nice idea but... by toast0 · · Score: 2

      For sending messages to the base station, routing would be easy, yes.

      But what about recieving messages?

    2. Re:this is a nice idea but... by mach-5 · · Score: 3, Insightful

      To solve the circular routing problem, each message would have to have some sort of message ID, so that once it reaches the base station it can be deleted if multiple base stations have received it. It seems like the article takes the standpoint that only one message chain is created, when in reality, an almost infinite amount of chains could be created depending on the number of phones within reception of each other.

      The phones would need to have the ability to get confirmation of message delivery. That way, the phone would first try to send a message via route A, then route B, until it gets confirmation. It would also need to be able to determine if a certain route is a dead end, meaning the last phone in the chain can not relay the message any further. Delivery confirmation could be sent backwards, along the same route that the message used assuming all the chain links are still in place.

    3. Re:this is a nice idea but... by toast0 · · Score: 2

      upstream would be relatively easy...

      keep track of which phones report they have an uplink, and send through them

      assuming some sort of circular route pruning, it wouldn't be too hard

      my point was downstream (to the phones) is going to be difficult anyhow

    4. Re:this is a nice idea but... by aozilla · · Score: 2

      #define death_and_taxes 1

      while (death_and_taxes) {
      again:
      Try to find tower();
      if towerfound {
      set level=1;
      while (stillconnected) {
      mainloop();
      }
      } else {
      for (i=1; i<=10; i++) {
      trytofindpeeratlevel(i);
      if (peerfound) {
      set level=i+1;
      while (stillconnected) {
      mainloop();
      }
      goto again;
      }
      }
      }
      }

      --
      ok then your [sic] infringing on my copyright! Could you as [sic] me next time before STEALING my comments for your own?
    5. Re:this is a nice idea but... by Salamander · · Score: 3, Informative
      In order for peer to peer mode to work...your phone needs a routing table, and possibly a very large one.

      No, it doesn't. Rather than try to explain why not, I suggest you read Ad Hoc Networking by Charles Perkins (editor) or the papers and references from the IETF MANET working group, or some of the stuff from CMU or Cornell. In short, an end-node usually only needs to know about its immediate neighbors, plus a modest amount of information regarding location (either physical or abstract).

      Not to mention that all the possible routes need to be sent to every phone.

      Absolutely not.

      if you send your message to somebody's cell phone, who then leaves the...the message disappears

      Wrong again. Both end-to-end and in-network retransmission and acknowledgement can be used to prevent such loss even in the face of multiple failures. That's just basic networking, not even specific to mobile networks.

      The problems you mention are real, but don't assume that solutions do not or cannot exist just because you weren't able to see them after a few minutes' worth of independent thought. Some pretty bright people have been working on them for twenty years or more, not without success, and before you assume "it won't work" you owe it to yourself to find out whether you've been proven wrong already.

      --
      Slashdot - News for Herds. Stuff that Splatters.
  9. Battery life by Quasar1999 · · Score: 2, Informative

    No way! your battery would die within minutes... Think about how much SMS messaging there is, and imagine your phone relaying just 0.01% of that. That would be about 10 messages a minute... Sending and receiving, with verification packets to boot... Battery life would drop big time on any phone implementing this scheme.

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
  10. It already exists by ch-chuck · · Score: 5, Informative

    This article examines the task of creating a wireless communication system that can survive a catastrophic failure, and still provide basic communication services to its users.

    It's called Amateur or 'ham' radio - every year they have an event called 'field day' which is an exercise in taking your gear out and operating on generators, etc. 2 Meter handy talkies can work thru a repeater or direct simplex (peer-to-peer) if the repeater is down.

    I'll never forget listening to a ham during hurricane floyd, w/o power, operating on emergency backup power, 80 meter band, crouched in his garage on the NCarolina cost reporting the fierce winds in the night.

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
    1. Re:It already exists by connorbd · · Score: 4, Interesting

      One thing about ham radio -- you *can* run it on backup power....

      Actually, I wonder... is there a subculture out there of people using hacked cellphones for legitimate, i.e. hobbyist, purposes? I don't mean cell phreakers or people using stolen service, I mean people doing precisely this p2p sort of thing, completely off the nets (or even using their own shadow nets). I can't think it would be that hard to do -- the only problems would be a) modifying the firmware and b) hooking your cell-frequency ham radio tower up to a PBX to connect to the rest of the phone net...

      /Brian

  11. What a dumb idea! by Anonymous Coward · · Score: 2, Interesting

    The guy who wrote this article probably doesn't know much about how wireless devices actually work.

    First of all, for a number of technical reasons, the phones cant actually HEAR each other. Yes, the phone receives and transmits on different frequencies, and it cannot receive on the same frequency it transmits. It would of course be possible to build a phone that could receive on the same freq. it transmits on, but that intorduces a lot of problems that are expensive to solve.

    So, unless everybody is willing to pay 10% more for their phones, no amount of software will make this work.

    And if the hardware did support this, making it work software wise would be quite a nightmare. I suppose it wouldn't necessarily work worse in emergecies, because it wouldnot work well at the best of times either.

    Another thing about these phones is that they are about as far removed from the world of open source as you can imagine - much further than Microsoft. The manufacturers wouldn't be allowed to open up the source even if they wanted to.

  12. Proprietary Rights by Root+Down · · Score: 3, Insightful

    The problem with this (and a great deal of wireless technology development for those of us outside of the industry) is that a majority of cellular technology is proprietary - damn near everything but the 802.11 protocol itself. If a peer to peer option (hack, really) were to appear, it would have to come from a company that has derived its own unique cellular technology so as to avoid the threat of lawsuits from the dominant manufacturers.
    Another issue is one of bandwidth and ranges. Corporations have literally 'bought' ranges in which their devices transmit, or lease these aforementioned ranges to other companies. Yes, people you can buy air - and it's rediculously expensive.
    I don't mean to sound down on the idea - I love it. We've unfortunately seen the muscle of larger market providers steer the relatively ignorant halls of justice away from the better alternatives far too often.

  13. Disadvantages by sting3r · · Score: 5, Insightful
    It's sad to see that the author didn't touch on any of the possible downsides to his approach:

    • It's expensive. Redesigning SMS, asking the FCC for more spectrum, and fine-tuning the new protocol isn't cheap. And the wireless providers (many of whom have never run in the black) don't have much of an incentive to support anything PTP. Especially because catastrophic network failures are very rare.
    • Cheating. Most providers charge for SMS. How do they know that people won't try to beat the system and get SMS services for free?
    • Security. Unless somebody develops public key infrastructure for mobile phones, messages will be vulnerable to interception and malicious alteration. And that's probably the last thing emergency workers need to deal with.
    • Battery life. Ordinarily, PCS phones are only transmitting and receiving every 2-5 seconds, and they are communicating with a relatively powerful base station. This sort of thing would kill battery life. Unless all of the phone makers start using fuel cells, this is a grave concern.

    -sting3r

    1. Re:Disadvantages by Raphael · · Score: 2
      It's sad to see that the author didn't touch on any of the possible downsides to his approach

      Very good points. Especially the last one about the battery life. Because in the end, even if the providers would not charge anything for the transmission of SMS, there would still be a power cost for the user: the battery power is still a scarce resource. This is not a big problem if each phone is only relaying a couple of messages per hour, but the battery would be quickly drained if the phone had to relay dozens of messages per minute.

      There is another minor technical detail that was neglected by the author of the article: the example included in the article uses an XML-like syntax for the message, including some routing information. This is very inefficient and in many cases the message would not fit in a single SMS (currently, SMS is limited to 160 characters per message). The messages could of course be compressed, but the overhead would still be very big in comparison with the size of the payload that can be transmitted. There should be some way to optimize the compression of the routing information, but that is not trivial.

      --
      -Raphaël
  14. How do you deali with cancer nodes? by Anonymous Coward · · Score: 2, Insightful
    Having a P2P system for cell phones seems to be asking for trouble. How would you deal with nodes that chose to do the following things:
    • Eavesdrop on conversations
    • Disrupt communications (the equivalent of SYN floods)
    • Other evil things
    1. Re:How do you deali with cancer nodes? by BrianW · · Score: 2

      Of course, encryption doesn't stop a phone acting as a black hole, accepting messages to pass on to the network, and then discarding them. During an emergency is the very worst time someone malicious could do this.

  15. PCS was supposed to do this by sstidman · · Score: 3, Insightful

    I worked in the wireless industry as an engineer when the idea of PCS first emerged. At that time, everybody had their own definition of what a PCS network looked like. One recurring part of that definition was that PCS phones would be able to connect to one another in a point-to-point fashion if the two PCS phones were close enough to one another. Of course, such a scheme would bypass the phone company and would decrease the PCS companies profits, so this idea seemed to just sadly disappear. And since the FCC did not impose a protocol standard on the PCS industry, point-to-point calls would have only worked between phones using compatible technologies.

    --
    Send/track messages to 100K people: www.xPressAlert.com
  16. Scaling problems. Very nasty scaling problems. by Christopher+Thomas · · Score: 4, Interesting

    Even if every phone had a perfect routing table, you'd still have very severe scaling problems.

    Even if almost all of the messages being routed are to phones in the same city, the density of messages at each relay node will be large (total traffic is proportional to the number of nodes talking, and for an even distribution, traffic per node is proportional to the square root of this). A city has a million phones or more. This means that each phone would be routing messages for hundreds or thousands of other phones on a *normal* day. *If* all of the load-balancing in the routing table works perfectly.

    Fast forward to Sept. 11th. You have everyone in North America trying to call or message relatives in New York City. The traffic densities as you approach New York would be *HUGE*. Inside the city, you'd have phones trying to handle thousands of messages or *more* at *once*, instead of whenever phone users decided to send. This would melt down the message network in the city and for a little ways around it.

    All of this assumes that each phone knows the best route for all messages. In practice, they don't. I'll let someone with more network expertise than I have describe how nasty things get when your phone can only fit a small routing table and you have a constantly-shifting pattern of connections that has to update itself in a decentralized manner (instead of being tracked by a central server that knows where everyone is). Short version: It's not going to be pretty.

    In summary, I think that the authours of the article are overlooking a significant problem, especially given that they're proposing this as a way of overcoming system load problems in situations like the Sept. 11th attacks.

    1. Re:Scaling problems. Very nasty scaling problems. by Salamander · · Score: 2
      ...I think that the authours of the article are overlooking a significant problem...

      *sigh* -1, Redundant

      Exactly the same point was already raised...and answered.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    2. Re:Scaling problems. Very nasty scaling problems. by Christopher+Thomas · · Score: 2

      *sigh* -1, Redundant
      Exactly the same point was already raised...and answered [slashdot.org].


      *Sigh*.

      I was pointing out that even with perfectly balanced, zero-overhead routing, this system doesn't scale well. Arguing that routing is easier than I'm claiming completely misses the point of my post.

    3. Re:Scaling problems. Very nasty scaling problems. by Salamander · · Score: 2
      I was pointing out that even with perfectly balanced, zero-overhead routing, this system doesn't scale well

      Bullshit. Let me refresh your memory regarding the much broader claims you actually made:

      Even if almost all of the messages being routed are to phones in the same city, the density of messages at each relay node will be large (total traffic is proportional to the number of nodes talking, and for an even distribution, traffic per node is proportional to the square root of this).

      Wrong. Traffic per node in an N-node network is proportional to log(N) - the log base being the average connectivity - not sqrt(N). For a million-node network with average connectivity of four, that's the difference between your figure of 1000 and a correct figure of 10.

      I'll let someone with more network expertise than I have describe how nasty things get when your phone can only fit a small routing...

      ...and then when just such a person does provide just such an explanation, showing why a conclusion different than your admittedly-uninformed one is warranted, you claim that they missed your point. Asshole.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    4. Re:Scaling problems. Very nasty scaling problems. by Christopher+Thomas · · Score: 2

      Wrong. Traffic per node in an N-node network is proportional to log(N) - the log base being the average connectivity - not sqrt(N). For a million-node network with average connectivity of four, that's the difference between your figure of 1000 and a correct figure of 10.

      You are making flawed assumptions about the nature of the network.

      A cell phone's range, when communicating with another cell phone instead of a tower, sucks. You can model the resulting network as a large grid of cells, with a cell's size being the communications range of a cell phone to another cell phone.

      Assume you have a large grid. Assume that people are communicating between random points within this grid.

      Traffic only flows to neighbouring cells - your range sucks, as mentioned.

      Draw a partition down the center of this grid. Half of your traffic will cross this partition (given random sources and destinations).

      If everyone is on the phone, and you have N cells, you have O(N) communications channels, half of which cross the partition, being routed through a region containin O(sqrt(N)) cells.

      This gives O(sqrt(N)) communications lines being routed through each cell.

      Arguing that that only applies to people near the center of the grid is a cop-out - you'll still have a large fraction of your cells with traffic comparable to what you have near the center, especially since you're spreading traffic routes out to avoid local congestion.

      Find a way around that, with the assumptions that I described (array size much larger than cell size with random point-to-point communications requests), and you're a network god. Good luck.

    5. Re:Scaling problems. Very nasty scaling problems. by Salamander · · Score: 2
      You are making flawed assumptions about the nature of the network.

      Nope. You're the one making invalid assumptions, specifically:

      1. You assume that low range equates to low connectivity.
      2. You assume that nodes are arranged into a grid instead of a generalized mesh.
      3. You assume that everyone's relying entirely on routing between mobile nodes, all the time, even when there are more powerful fixed facilities available.

      These assumptions all combine to paint a much uglier than necessary picture, as we'll see. To deal with the most obviously stupid assumption first, consider that connectivity is actually a product of range and node density. Sure, you won't find many neighbor nodes if you have a hundred devices spread across the entire state of Montana. However, if you have several hundred thousand units within the confines of New York City - our original example - you're likely to find hundreds of potential neighbor nodes even if your range is quite small.

      This brings us to the grid assumption. You're assuming that nodes are incapable of "skipping" a row or column in your unnecessarily-rectilinear grid, but in reality that's not likely to be the case. If I have a couple of hundred potential neighbors, I'd have to be an idiot to route everything only through the ten nearest; that forces me to take "baby steps" even when traversing long distances. Obviously I should send directly to anyone within range, routing be damned. Less obviously, when I need to communicate with someone who's out of range the logical neighbor to route through would be one relatively far from myself (but still with a stable signal). If you envision your network as a 1000x1000 grid, it's as though each hop can cross 10 rows and/or columns at a time. Even better, a couple of wise guys can create a "wormhole" between the middle of the upper-left quadrant and the middle of the lower-right using fixed access points and high-gain directional antennas. The grid concept starts to break down pretty quickly once you actually start to think about it; when you start making more realistic assumptions about topology and routing, the actual hops per message - congruent to traffic per node - doesn't even approach the figures predicted by your severely flawed theory.

      Lastly, let's consider the assumption that you'd always be routing exclusively through other mobile nodes? Why? In any realistic deployment of such a system, there would be a huge variety of both fixed and mobile nodes, representing a vast diversity of capabilities. I'd have to be an idiot to route through a dozen other people's mobile phones when I'm standing right next to a functioning fixed access point. In reality, the "pure peer-to-peer" routing would only be a fallback, in case someone managed to achieve the nearly impossible task of knocking out every one of thousands of fixed home/office access points in the city. In normal operation, the real routing problem consists of how to route to the nearest "non-peer" - i.e. node with superior capabilities, so the idea of a million-node network composed entirely of celphones really doesn't apply. In reality, the size of any network fragment consisting only of celphones is likely to be from a few dozen to a couple of hundred nodes.

      It should be clear by now, at least to any objective third party, how ridiculous your grid example/analysis really is. I may not be a network god, but that's hardly necessary to poke gaping holes in the network-slug arguments you've been making.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    6. Re:Scaling problems. Very nasty scaling problems. by Christopher+Thomas · · Score: 2

      These assumptions all combine to paint a much uglier than necessary picture, as we'll see. To deal with the most obviously stupid assumption first, consider that connectivity is actually a product of range and node density. Sure, you won't find many neighbor nodes if you have a hundred devices spread across the entire state of Montana. However, if you have several hundred thousand units within the confines of New York City - our original example - you're likely to find hundreds of potential neighbor nodes even if your range is quite small.

      This does not affect the order of the problem. It just affects the proportionality constant when translating O(sqrt(N)) into an actual hard number. Connectivity within a node isn't relevant to the problem. See below before trotting out your formula again.

      This brings us to the grid assumption. You're assuming that nodes are incapable of "skipping" a row or column in your unnecessarily-rectilinear grid, but in reality that's not likely to be the case. If I have a couple of hundred potential neighbors, I'd have to be an idiot to route everything only through the ten nearest

      I'm already assuming you're routing to the *farthest* possible cell phone. Which is in the adjacent *node*. A node, in my previous post, is a *group* of cell phones.

      You want a more rigorous illustration of why you get congestion? Fine:

      You have a large area containing cell phones, with very short communications range. You have random point-to-point communication requests within the large area.

      Draw a stripe through the middle of the area, with a width equal to the phone-to-phone communication range. About half of the total phone traffic connects people on opposite sides of the stripe.

      All of this communication must be routed through phones within the stripe - it's wide enough that you can't just skip over it.

      The number of calls/message channels routed through the stripe is proportional to the number of phones, which is proportional to the area (we're in a city with phones uniformly distributed).

      The number of phones within the stripe is proportional to a constant (the phone-to-phone range) times the *diameter* of the region - which is proportional to the square root of the area of the region (and hence the square root of the number of phones).

      Thus, you end up with a number of communication channels proportional to the total number of phones being routed through a stripe containing a number of phones proportional to the square root of the total number of phones. Average number of channels being routed through any given phone on the stripe is proportional to the square root of the total number of phones.

      This holds as a fundamental limit regardless of the number of phones that any given phone can contact, and regardless of the routing algorithm.

      Now do you see where I'm coming from?

      Lastly, let's consider the assumption that you'd always be routing exclusively through other mobile nodes? Why?

      Because that was what the article was suggesting be done.

      If I'm allowed to use fixed towers, I'll just make them have as large a range as bandwidth lets me (to widen the stripe that things have to be routed through), and use very high capacity links between towers (so that high load isn't as serious a problem), and force all phone traffic to be routed through them. And maybe use something other than a mesh-style topology for tower-to-tower routing, if I have high enough capacity data conduits, as there's no range limit for tower-to-tower communication if I'm running fiber instead of broadcasting. But all of this dispenses of the idea of a magical phone-based decentralized network, which the article's authour was so enamoured with.

    7. Re:Scaling problems. Very nasty scaling problems. by Salamander · · Score: 2
      This does not affect the order of the problem. It just affects the proportionality constant when translating O(sqrt(N)) into an actual hard number.

      That's only true if we assume a rectilinear grid, which I've already shown is ridiculous. For other topologies, you are - yet again - incorrect.

      A node, in my previous post, is a *group* of cell phones.

      In your feeble mind, you mean. I just checked your previous post - cid #2389118 - and you offer no such definition of "node". It's an absurd definition anyway, which any reasonable person would reject.

      You want a more rigorous illustration of why you get congestion? Fine:...

      That's no more rigorous than before. It's the same example and analysis that I already showed to be flawed, just worded a little differently. You get another "-1, Redundant" for that, kiddo.

      Now do you see where I'm coming from?

      Nope. Which planet would that be, again? What color are the skies there?

      It doesn't matter, though. I don't care where you're coming from, but I know where you're going - my mental killfile. I give up; your resistance to reason is greater than my ability to explain what should be obvious.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    8. Re:Scaling problems. Very nasty scaling problems. by Christopher+Thomas · · Score: 2

      You want a more rigorous illustration of why you get congestion? Fine:

      That's no more rigorous than before. It's the same example and analysis that I already showed to be flawed, just worded a little differently.

      Bushwa.

      You're trying to make a call from phone A to phone B. The distance between the phones is an average of K times the range of phone-to-phone communication. How, pray tell, do you plan to do this in fewer than an average of K hops?

      You have N phones, and O(N) calls. You have, therefore, O(KN) communications hops in total to service all calls. How, pray tell, do you plan to distribute O(KN) relays among O(N) phones without at least an average of O(K) relays being serviced per phone?

      You have yet to provide a convincing argument (or any argument) against this. You seem hung up on me assuming a "rectilinear grid", which I did *not* do in my previous message.

      I respond perfectly well to well-reasoned debate, and have admitted error many times in the past when presented with evidence or counterexamples. You have provided neither. Please do so.

  17. Issues by vchoy · · Score: 2, Insightful
    I think this is a cool idea, but there are things we would need to consider:

    p2p Protocol - you do not want the situation where you broadcast to 5 other handsets around you and those broadcast out to "x" others...the target phone will get spammed. (ie, ACK - Thank you, I've received this message x 50 times) On the other hand, you do not want the situation where you relay on THE ONE closest mobile phone to act as your ONLY single relay point and so on....as if you do, probability statistic calculations show if (lets just say) 1/10 chance of failure per hop, this might not be acceptable in emergency situations.

    Anyway, you might say "hey, but we could utilize timeouts, routing protocols (similar to RIP) etc etc etc", ......no matter what in the end, you will need to have

    • more battery power
    because you are constantly transmitting/receiving and processing on your mobile whether your mobile is in client mode or relay mode.

    You could also argue, you only use these features in emergencies situations. My idea would be for a telco to setup portable (and powerful) base station(s) (whether it be towers, or flexible cable antennas) around and in the emergency site.

  18. IETF MANET by bigpat · · Score: 4, Informative

    It is called a Mobile Ad-hoc Network (manet) and the IETF has a working group which has come up with some protocols and such.

    http://www.ietf.org/html.charters/manet-charter. ht ml

  19. not feasible by cr@ckwhore · · Score: 2, Insightful

    While its a great concept, I don't believe its feasable. In order to properly, and accurately route messages, every cell phone on the SMS network would have to know where every other phone is on the topology. On the gnutellaNET, not all hosts are communicating... with gnutella, depending on your client, you're probably only communicating within your "cloud", which is more a local subset of the topology rather than the ENTIRE network. (likely only 7-10 node hops) Unfortunately, in an SMS implimentation, messages are likely to get lost or bounce around for days until they by chance find the recipient? I don't think that'll work. Cell phones don't have the storage or bandwidth requirements needed to manage a large amount of dynamic routing information.

    --
    Skiers and Riders -- http://www.snowjournal.com
  20. A couple of things by Hasie · · Score: 2, Informative
    It's not a bad idea, but I think that there are two major problems that could prevent this from achieving widespread use.


    The first based on the way cellular systems work. The major cost of the system is centred in those parts of the network that are shared between the users, namely the base stations. This makes the handsets (which each user must have) cheaper and thus lowers the system cost by sharing the cost of the expensive parts between users. Great, but why is that relevant? It is relevant because the maximum range between a cell and a base station is primarily determined by the low noise (read: expensive) receiver and high power (read: expensive) transmitter at the base station. So the range of cell-to-cell communication will be MUCH less than the base station-to-cell range. So much so that it is possible that the distance between a cell that can see a base station and a cell that can't will be no more than a few metres. This means that a large number of hops will be required in most cases clogging up the system bandwidth and meaning that each cell will need to be able to store a large number of messages. These problems will be even worse in an emergency when everyone and their dog are sending messages. Also, cell-to-cell communication will require much more power from the cell than base station-to-cell communication because the reciever in a cell is not nearly as good as that in a base station.


    The second problem has to do with battery life. The battery life of cell phones is rather short when the transmitter is used. As explained previously, the power needed for cell-to-cell communication is rather high, aggravating the problem. This could cause major problems when people's batteries start going flat because the person in the next office likes sending lots of messages and is out of range of a base station (quite possible in buildings).


    I think this is a great suggestion, but it assumes that the cellular environment is the same as the internet, which it is not.

  21. Re:Beowulf cluster by connorbd · · Score: 2

    I don't know... seems to me that you'd wind up spending an awful lot on SMS charges just to render a picture of Natalie Portman...

    /Brian

  22. Bluetooth by Jage · · Score: 2, Interesting
    I think Bluetooth would be easy to use for this purpose.

    First you'd form a piconet. If any of the systems is physically connected to (internet | base station | something else), relay there, else form/connect next device on a (same | different) piconet (the next device might have different piconets available). When the working relay is found, send back a message, targetting the original device. Relay it randomly and add a node to the route table the message contains. The original sender can deduce a short path (it's not necessarily the shortest!) just by looking at the message that arrives first/has the shortest route.

    At this point, it should be possible to send small text messages with some efficiency.

    It's also possible for other devices that happen to recieve a route recovery message to use the some of the readymade routes (so that everyone doesn't need to do this slow procedure).

    The total amount of transferrable payload *per device* should probably be limited to something like 2kB, if this is to be used as an emergency network, to insure everyone can transmit their messages.

    Any ideas/corrections from those "in the know", especially bluetooth people here?

    Disclaimer: I'm not a bluetooth specialist... In fact I don't know much at all about it! :)

  23. Ad-Hoc routing protocols by osolemirnix · · Score: 4, Informative

    Interested readers should probably read A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols to find out why this is difficult.

    According to the article, phones would have to exchange and update their routing information all the time, even while everything was working normally (because by definition a phone can not know if a neighboring base station that's just out of reach is still working or not). Every phone would continuously keep broadcasting a list of every other phone and base station in it's reach.

    This overhead alone (just to update the routing tables) would consume a big chunk of the bandwith all the time. Since a base station dropout or overload is an exception (hopefully), a dynamic on-demand routing protocol would make much more sense in this case.

    --

    Idempotent operation: Like MS software, wether you run it once or often, that doesn't make it any better.
  24. Won't work due to RF sections by ChrisCampbell47 · · Score: 2, Insightful
    Each cellular phone has two halves to its radio frequency (RF) section: one for transmit (TX) and one for receive (RX).

    The TX stage is totally designed to talk to the base station, and nobody else. That means it can only push low power (base station has big expensive high gain receive systems to extract signal from noise) and only at the TX frequency band.

    Similary, the RX stage is designed to hear from the base station, and nobody else. That means it expects rather high power signals (base station is not running on batteries and can generate huge power if needed) and only at the RX frequency band.

    This is the most fundamental part of RF network design -- do the small remote stations (handsets in this case) need to talk directly to each other, or just to a hub station (base in this case) that is equipped with a collosally more expensive array of equipment? THAT decision (and bitrates) drives ALL the remaining design decisions in the RF sections of both the remote and hub.

    These kinds of things are fixed in hardware (e.g. capacitors and inductors, filters) and can't just be changed by downloading new firmware.

  25. Cybiko cool 'toy' by SubtleNuance · · Score: 2

    Self-structuring ad-hoc data networks are pretty cool. Pagers, Cellphones, PDAs and the like (all these embedded devices) would serve themsevlves well to build an adhoc network like this...

    a cool little device that i bought my niece for Xmas '00 was a Cybiko see Cybiko.com

    The specs are here

    With two units, one in the hand and one married to your PC the device will enable a limited sort of 'home wireless access' on WAP.

    Who needs service fees and a monolithic oppressive corporate watcher, why not build a low power, low bandwidth network of peers in the 'cybiko fashion'.

    ..or wait till 802.11b(or 'a') chipsets become SUPER small and SUPER cheap...

  26. like Cybiko for adults, only less crappy! by raygundan · · Score: 2

    I have been wondering if something like the Cybiko could be made to work for real use. If you haven't seen them, they are handheld computers for kids that communicate in an ad-hoc peer-to-peer wireless relay network. And they're like $80. A cable to your computer turns one into an internet bridge, so that your unit can pass signals from nearby units over the net to span larger ranges. Their biggest drawback (aside from being cheesy and designed for kids) is that the range is only a few hundred feet, so the device density has to be high to span any distance. (like in a high school or a mall, where their target audience spends all their time)

    If, say, a palm-pilotish device could be coupled with a cell-phone level transceiver (or possibly an FRS radio component for 2-5 mile range) we could have ad-hoc wireless wherever we go without paying network fees. In dense areas, the power could be lowered to prevent interference with all the other devices in the area, and internet bridges could help span large rural areas.

    Is there anything preventing a company with no networking interests (they'd want monthly fees, then) from doing this?

  27. this sort of exists by Lxy · · Score: 3, Interesting

    If you're a ham radio op. If you have a loose network of hams with dual band handhelds, you can cross-band and relay a message a long distance using other people's handhelds. Of course, this all requires the cooperation of the user. Let's look, perhaps, at how this could have helped in the NYC tragedy:

    Op with a 5 watt handheld has set up a small communication base near ground zero. The op can sync up with another op a few miles away and relay help and welfare information. Ground zero does not have power. The second op does not have power. The second op is able to relay the message to a ham with power who can relay the info on 20 meter to the other side of the country. With minimal amounts of planning and just a few hams, a system is devised that permits message relaying all over the country, even though the phone system is jammed and power is down for miles. Anyone with a decent scanner can pick up the signal on 20 meters and hear a nice formatted report of people who are OK.

    --

    There is no reasonable defense against an idiot with an agenda
    :wq
  28. mod this up by Benjamin+Shniper · · Score: 2
    Moderators, mod this up.

    And fix the link

    http://www.ietf.org/html.charters/manet-charter.ht ml

    -Ben

  29. Exactly! I want my super-Cybiko! by raygundan · · Score: 2

    You beat me to it-- you must have posted this while I was writing mine. (see the post below this one!) A super-cybiko with a better transceiver and a form factor an adult could carry in a pocket would be the coolest thing ever.

    Another optimization-- you could design the network to prefer the shortest route to an internet gateway (any unit in its cradle hooked to a PC would be such a gateway), to move traffic off the relay network as soon as possible. This would allow much greater scaling and distance even in low-density areas.

    If Cybiko can do it for less than $100, surely an industrial-strength one can be made for less than $700 or so-- which would be a deal considering there would never be a network fee!

    Cheaper transceiver-only cards could enable existing laptops to access the network as well.

  30. Will mobile operators give up an income stream? by Saggi · · Score: 2, Insightful

    Payment for SMS would become a problem.

    I come from Denmark, and yes we have a very useful and standardised network (sorry US). I think this new idea is really cool, but there is one major problem surrounding payment and the revenue streams for the mobile operators.

    Today the mobile service providers have revenue on SMS messages. In Norway they overtax the SMS messages to have a really nice profit (up to more than one US$ pr message). In Denmark some government regulations have put a limit to the revenue/taxation on SMS messages.

    What do this mean for the idea? If an SMS was being redirected from phone to phone, who would pay? If the last user (before the base station) should pay for all the massages he relays, I think he would choose other types of mobile phones. If the protocol contained the phone that sends the SMS, we would open up the network for hackers etc... Potentionally this type of network could render SMS completely out of their control, as an SMS message theoretically could move from phone to phone without touching a base station, pretty much like a message is being routed through the internet... (not completely like the internet, I know.)

    And I don't think the mobile operators would give up their income stream.

    --
    -:) Oh no - not again.
    www.rednebula.com
  31. Military solutions don't do well with civilians by BigJim.fr · · Score: 4, Interesting

    What the article describes is the old military concept of "mobile mesh network". Highly survivable solutions are a must in a combat environment, but their their characteristics make them completely unmarketable. In our specific example, the reasons are as follow : Full-mesh wireless networks like JTIDS are inherently inefficient because one cannot make range (timing) and Doppler corrections at the transmitters, and because there is no frequency reuse. With a repeater-based architecture, all transmitters can adjust timing and frequency to correct for their range from the repeater and for relative velocity. In a full-mesh network, all of the other nodes are potential receivers, but one can make range and Doppler corrections for only one of them. With multiple repeaters (base stations), two repeaters that are not close to one another can use the same frequencies without interference; such frequency reuse enables large increases in system capacity over full-mesh and single-repeater architectures. Decreasing cell size in order to increase frequency reuse reduces the survivability of the network. A closely related concept is that of the self-organizing hierarchical network. These networks are similar to the homogeneous mobile mesh networks, except that nodes organize themselves into clusters and by some means "elect" a cluster head (see, for example, Alwan et. al, 1996). The cluster head is responsible for keeping track of the membership of the cluster and the locations of nearby cluster heads, and for performing routing, switching, and trunking functions. However, since any node must be able to function as the cluster head, cost and battery life are likely to be problematic. Remember that mobile devices are highly contrained. The problem with military stuff is that it is grossly overengineered from a civilian point of view. We all would like to carry cutting edge radio hardware with us and be ready for all kinds of emergencies, but there is a price to pay and the civilian market won't bear it, preferring to take long term risks and to get more features and more performance in the short term. If survivability was foremost, everyone would be backing up their data. Field experience shows that it is not he case. Sources : http://www.google.com/search?q=cache:3fDYY36opQQ:w ww.rand.org/publications/MR/MR960/MR960.chap3.pdf+ tactical+network+relay+node++survivability http://dss.ll.mit.edu/dss.web/98F-SIW-143.html

  32. It's about time! by mini+me · · Score: 2

    Finally, my idea is going to be put to use! I should have gotten the patent on this before they stole it though!
    Of course my idea was for wireless P2P internet, not SMS, but the same basic principles apply.

  33. Battery life no worse than "normal" by Tye_Informer · · Score: 2, Informative

    Your battery life transmitting SMS messages should be no worse than simply being out of contace with a tower.

    If you have lost connection to the main network, then battery life is going to be short anyway. Currently, your phone operates at the lowest power possible to be able to communicate with a cell tower. (And if you think your phone only transmits when you are using it, try putting it on top of a computer monitor, they transmit quite frequently). When there is no tower available, your phone will increase power until it successfully contacts a tower or hits the max power.
    The longer you are out of the area, the shorter the time your phone's battery lasts.

  34. TDD vs. FDD by cliffjumper222 · · Score: 2, Informative

    For good peer to peer mobile phone systems it's best to use systems based on Time Division Duplexing rather than Frequency Division Duplexing. TDD is used in Japan's Personal HandyPhone System (PHS) and the early models had peer to peer voice. FDD is used mostly on all other digital networks (GSM/CDMA/TDMA etc.), this means that the base station talks to mobiles on one band and all mobiles talk back to the base on another. They're not designed in hardware to support transmissions in bands they don't normally use. Further, the base sends out all kinds of extra data to mobiles: timing control, paging info, frequency channel allocation, etc. It'd take WAY more than a software upgrade to support that.
    Also, mobile phones get away with small antennas and relatively low power transmissions because the place they're talking to is usually a HUGE antenna sitting on top of a hill somewhere, high up or on top of a building. That system gives you reasonable cell size. If you had to have mobile to mobile it'd shrink the distance that you could send to quite considerably.
    Finally, sad to say it but in North America you basically have 3 different and incompatible digital systems, in addition to the analog one. That'd cut down the possible intermediate hop hosts.
    I'm not saying this is a bad idea but given the current cellular technology it is infeasible. Didn't the cell sites for the most part stay up in NY though? Heard on the radio this morning how there's been a huge increase in cell phone sales since then.

  35. Opensource project already working on this.. by MikeFM · · Score: 2

    http://www.nomadphones.org/

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.