Home

Archive for the 'General' Category

Location Based Services (LBS) Technology Overview

Me

Location Based Technologies

I have often wondered whether people really understand Location Based Services (LBS) technology and whether they would like a bit more insight into how exactly location based services work, and more importantly – what information is actually passed from your phone to a server in order to establish your exact location co-ordinates. Obviously, in building Fluc we need to know all about location based services technologies. Most of the time, the accuracy of your co-ordinates is entirely correlated to the accuracy of the method being used to determine your location - such that some methods use mathematical approximations to determine your location, and others use global positioning data bounced from satellites to gain a more accurate understanding of your position. Of course, some use a combination of both. All of the methods I will explain below do, very much, depend on your surroundings as well. Obviously, if you are surrounded by iron sheeting 100 meters underneath the ground - your location will be pretty hard to determine. Conversely, if you are standing next to a mobile phone tower and can see 5 other towers and have a clear vision of the sky - your position is going to be very accurate.

I will make special mention now that all this information is entirely understood by industry professionals, so nothing that I am going to detail here is “secret” or contains some sort of “special sauce” which I know that other people don’t. The idea of this post is to give people out there, who don’t know really anything about Location Based Services (LBS), a better understanding of the technologies which are utilized in a non-technical format.

Parameters on your Phone

Before I dive into an explanation about what types of location based technologies are actually out there – a good place to start is what information actually sits on your mobile phone which allows location based services to actually work.

A typical mobile phone contains a whole bunch of communication information which tells the mobile phone what network operator your mobile phone is connected with, and how to optimize your mobile signal in order to ascertain the best signal strength. You can usually access all this information by typing in a special character combination on your mobile phone which will take you to the engineering information screen. Most of you out there won’t really be all that interested in checking this stuff out because it’s a whole bunch of numbers that aren’t going to make sense – but for those that want too, just search the internet for your handset model and the unique engineering unlock code. It’s usually pretty easy to find.

So what information is available?

The information displayed on your phone varies from handset to handset, and I do not recommend that you meddle with it. Sure thing you can view it, but do not attempt to change predefined settings on your mobile phone or you might render it useless. While I could go through all the information listed, I am only going to focus on the location information that is really used as it’s most relevant to this post. It’s below as follows:

  • AcsClas - Access priority class (not supported if 0000)
  • MSTxPwr – Maximum allows transmit power in dBm
  • MCC – Mobile Country Code
  • MNC - Mobile Network Code.
  • LAC - Location Area Code
  • Cell ID or CID - Base Station Identity
  • Radio Frequency (RF) Signal– The relevant signal strength between your current tower and the adjacent one
  • Hopping – Whether any frequency hopping is in operation
  • DTX - Whether Discontinuous Transmission is in operation

So what does all this stuff mean ? Basically, all this information informs your network of where you are at any one time. This is done by your network operator knowing the relevant latitude and longitude of all relevant base stations – or mobile phone towers –  in your country and correlating this information with the information shown above to determine your approximate position (this is called ‘network driven location approximation’).

For example, typically the process goes like this for signal strength or time based location identification:

  1. Identification of your MCC & MNC occurs which recognizes the relevant country and network operator you are in/with.
  2. Identification of the relevant LAC, or your location area code, to determine the approximate regional area you are in.
  3. Identification of your Cell ID or CID - the relevant cell or mobile tower that your mobile is connected too.
  4. The combination of your RF, Hopping and DTX allows both your network operator and your mobile phone to ascertain which signal is the stronger, and thereby determine a priority of mobile base stations (Cell IDs) with which your mobile should be connected. This can be done through signal strength and timing responses of your phone with the relevant cell tower.
  5. Because your network operator has a database of relevant latitude and longitudes of all Cell IDs, or mobile base stations, they are then able to approximate your position using “triangulation” or “quadrangulation” techniques.
  6. These techniques typically use a complex mathematical method of determining your location, which really relies on the good old Pythagoras theorem you were taught in school. For triangulation, this is then combined with a calculation to determine the barycenter of the mobile base tower ‘triangle’ (determined by the strongest three base stations) to determine your approximate position. (I’m not going to go into quadrangulation but you get the gist!)

It’s important to realize that what I have just detailed is a really simplistic overview of a network method of location identification - in real life it’s quite complex. Additionally, the method illustrated above is really just for network identification using signal strength or timing based calculations. There are, of course, many other methods, as well as hybrid combination’s of these technologies which is all detailed in the next section.

Location Based Service Position Technologies

OK, so we have briefly covered what’s available in your mobile phone as well as how your mobile and network operators use this information. Now let’s cover what technologies are out there, the pro’s-and-con’s of each and an overall conclusion.

Here is a table that covers the main types of location technologies out there:

Location Accuracy Time to Fix Prerequisites
GPS High Precision“Sky Line of Sight”

5-20m

~ 10-15 mins start

~ 1-2 sec updates

Device support only (HW)
A-GPS Very High

Requires “Sky Line of Sight” 5-50m

~ 10-40 sec start

~ 5-10 sec updates

Requires specific device support Hardware(HW), GPS reference network.
OTDOA (WCDMA)

E-OTD (GSM)

AFLT (CDMA)

Medium Strength

Depends on cell density 40-400m

~ 6-10 seconds Requires Base Station Support (BSS), MSC and HLR support and usually always requires

network operator involvement

Cell-ID Quite Weak

Dependent on cell density

Between 100-5500m

~ 4-8 seconds Needs Mobile Switch Center (MSC) and Home Location Register (HLR) support, or requires device and Cell-ID database.
WiFi Quite Strong

Dependent on WiFi AP density

< 50-250m

~ 4-8 seconds Device and network support.

Requires WiFi DB.

Summary of the Table

GPS

Global Positioning Systems are basically a series of 24 (now 32 as of March 2008) Medium Earth Orbit Satellites (around 12,500 miles above the earth) which transmit exact microwave signals that allow GPS receivers to determine their exact location, speed, direction and time. A GPS receiver calculates your position by timing the signals sent by the GPS Satellites to your current location on Earth, and the receiver uses the arrival time of each signal to measure the distance to each satellite. Trialateration (triangulation) is used to determine the device’s location given the number of signals received from each relative satellite, and this information is then decoded into useful formats such as latitude and longitude. Typically, latitude, longitude, time and altitude are the 4 data sets that need to be interpreted - with the position time being relative to the GPS information and signal quality. This is why you need a clear ‘line of site’ with the sky in order for GPS to really work effectively because the receiver must have constant signal connection with a least 3 satellites in order to accurately determine your position.

Assisted GPS or A-GPS

This type of technology has garnered a whole bunch of attention recently because A-GPS is what is contained in the new iPhone 3G. Assisted GPS is basically an improvement on GPS because it combines the information received from satellites, with the information from your local base station. As explained previously, your mobile phone is connected to a relative base station or wireless network at any particular point during the day. Assisted GPS basically takes the known location of this base station and combines it with the information gathered from the GPS chip to improve the relative speed of locating your exact position. If your GPS chip is able to already have an approximate idea of where it is located on the planet, then it is able to look specifically for satellites in the region where you are located, instead of scanning for random signals and interpreting them. By using available network information, your GPS chip can more easily narrow its vision to search for signals in your current country and region. This basically reduces the time to fix your location because the data being collected improves the quality of the GPS receiver.

The biggest issue with Assisted GPS is of course, its reliance on the network operator to provide network data to the GPS chip. As indicated, for A-GPS to work, it requires the network operator to provide some information about the Cell ID in order to ascertain the relative, or approximate, latitude and longitude of the device. Alternatively, this information can be provided by WiFi network connections assuming they have position information contained in them, and WiFi is supported by the device.

Cell ID (or Base Station)/ WiFi Databases

Mobile devices must always have a relative wireless access point (for Wifi devices) or base station in order to determine the location of the device. The simplest example of location identification using this method is when you see your neighborhood or suburb name on the main screen of your phone. Your Cell ID or WAP point is transmitted to your network operator who is able to determine where you are located generally.

More recently, third party databases are being gathered in order to take away the potential monopoly that network operators have around this information. Google, for example, has been gathering this information by getting GPS users to download their mapping applications onto their phones, and then pairing your current GPS co-ordinates with your network information to map out every wireless access point and base station available. They do this by matching the signal strength and timing information, with the relevant MCC, MNC and Cell ID your mobile phone is connected with, and matching this up with your current latitude and longitude information passed from your GPS receiver - all this information in then bundled up and passed to the Google servers. This allows them to generate an approximate estimation of where exactly the base station is located and subsequently triangulating your location. No doubt, they also combine this with information contained in the current map tile you were viewing on the Google mapping application. All this information allows them to have a very extensive, and a very valuable location database. Of course, there are other companies doing the same thing in order to resell this information. SkyHook is a company which is basically hiring people to drive around in cars in all sorts of cities around the world to gather Wifi access point information and then resell this to developers who want location information. It’s really a combination of these methods which is going to provide the best location information moving forward.

WiFi databases basically take advantage of relevant Service Set Identifier (SSID) and Media Access Control (MAC) addresses of access points constantly. When you hook up your wireless router at home for example, you will notice the relevant SSID and MAC addresses when connecting to your wireless network. The MAC address is basically the unique device identifier which can be used to roughly identify where the receiving signal is coming from. As you would know from your home laptop or mobile device -most WiFi signals can only really extend a maximum distance of 50m-200m and so the position information from WiFi stations can be quite useful for easily determining your location. The obvious disadvantage is that you need to know hundreds of access points in order to make up a meaningful and worthwhile location database.

Signal Strength Triangulation

The example I provided in the mobile engineering information section above really explains how this process works. Basically, by leveraging the relative radio frequency (RF) of the signal strengths in the device and incorporating the base station information, a position is able to be determined. As explained previously, the complexity of the mathematics behind determining your location is really dependent on the quality of the data in the database. RF fingerprinting really looks at relative signal strengths of the base stations that the device is connected too, and prioritizes them in order to get the three strongest signals (triangulation). Basically, it then calculates the propagation of the RF signals and uses this to estimate your position relative to the latitude and longitude of the base stations. This type of method has been the most commonly used method of location identification because GPS and A-GPS chips are not widely available in mobile phones yet - although this is rapidly changing.

Time-Based Triangulation

Again, the example I provided at the beginning explains how this works broadly. The slight difference time-based triangulation has to signal strength triangulation, is that it looks at the relevant signal timing information from the network in order to ascertain your relative position to nearby base stations. Time Difference of Arrival (TDOA) and Advanced Forward link Triangulation (AFLT) are the most common methods of location determination under time-based identification. The biggest difference between the two methods (TDOA v AFLT) is where the timing difference is measured - either in the device itself or in the network. TDOA is the more complex method and makes it impossible for third party vendors to use this it because the calculation is done inside the network. This makes TDOA a “LBS network operator monopoly” method. The AFLT method is a CDMA method and uses CDMA as opposed to the more common GSM to make the position known. The other method which is worth a mention is the Enhanced Cell-ID method which incorporates both signal strength and timing data received from GSM signals in order calculate an in-network position. Again, this is a difficult method to commercialize because of the network operator reliance on calculating the timing of the signal. Network triangulation is really around 50m-500m in accuracy.

Conclusion

I could continue writing all day about which method is better, which has a better timing-to-fix and which is the best fall back option - but it seems this post has already gone on long enough. Obviously, there are a whole bunch of factors that I haven’t mentioned such as hardware reliance, chip quality, battery and CPU drain and other general aspects of wireless and mobile devices that must be taken into consideration. I haven’t gone into these areas predominately because they are factors that need to be considered by developers only and not by the people who just want to understand location based services and technology generally. I will mention, however, which is the LBS method is the best.

None of them : P

The reason for this is because it’s combination of all of them which makes LBS useful. When it is apparent that one method is clearly working really well, and another is not, then this is the most suitable method to be used - it’s that simple. The real key is to have a number of methods available in your device so that the best method is always utilized at the right occasion. This is why in some respect that A-GPS is one of the best LBS techniques -although it’s not all that common at the moment in mobile phones - because you get the best of both worlds by having GPS and Network Information determining your location at any one time. With that said, as I stated at the start, the strengths and weaknesses of each technique always come down to the environment you are located in, and the current conditions within this environment.

Either way, all in all - I hope this helps any confusion you’ve had!

Feel Free to Contact Me at any time with your questions.

1 comment

New Ideas or Just New Implementations?

If you’re building a website, webservice or anything to do with the web (or indeed coding in general) - I give you this piece of advice:

“It’s in the implementation that makes a site popular. Not what existed previously. - Tim Davis, June 2008″

Think about this and all the services that have existed, that still exist and that have become popular while other services are still around.

Begs the question -

Are there really truly any new ideas or services, or just new and better implementations of old ones?

Leave a comment below.

No comments

Are Location Based Services the Way of the Future?

Me

There has been so much coverage in the Media regarding Location Based Services (LBS) and how they are the way of the future. While I tend to agree with the vast majority of what’s being said out there at the moment – I thought I would do a bit of exploration around how location based services are NOT going to be the way of the future. Or more so, how they are not going to be as big as what we all think they are going to be and perhaps why we shouldn’t rely on them in their entirety.

The main negative arguments that have been presented in all my readings about location based services is predominately focused around some research which was conducted in the UK by Dr William Webb from telecoms regulator OfCom. He discovered that of the 100,000 people tracked in his research – almost all of them had similar, if not identical, movement patterns day in, day out. This basically means that people don’t really change all that much – we move to work, using the same route that we use every day. We stay at work the majority of the day and then we go home. We don’t really explore other avenues of getting to and from work because it nonsensical to assume that we haven’t already mapped out the best way to get there already – so any sort of mobile location based service is not going to change our already proven best method. Additionally, lets say that it did find out a better route, we would then use that route everyday and not change from this newly discovered one again for some time. What’s interesting is that the research found that children and teenagers are much the same – they go to school using the same route every day and they spend the vast majority of their day at school. They then go home using the same route they took to school, and while they might deviate a little here and there to pick up food or go to a friend’s house – the overwhelming majority of their movement is within a 5KM to 10KM radius of their home and school.

So what does all this mean? Well, what seems to be the biggest trend in all this research is human consistency. People realistically don’t deviate from their typical everyday lives all that much. If you wrote down where you travelled day in and day out – you would discover that realistically you don’t really move more than a 10KM radius from your work or your home. When you are at work you might travel around a little or you remain stationary in the one place all day – when you are at home you go to the shops around your house, and commute to restaurants and use services within this limited area. Sure there will always be exceptions to this rule – so it’s not a blanket generalization, but what it is - is what the vast majority of people do. This also rings true for any interactions you have with your friends and colleagues. Most of the friends that you have, you have grown up with or you work with – and really you already know where they are located. Sure thing, you don’t know where they are located all the time but this then begs the question – do you really want to know? I have read arguments for and against this point and obviously the biggest factor in all of this has to do with privacy – perhaps something that deserves an entirely separate post in itself later.

So lets dig a little deeper - with the birth of ‘super’ smart phones (aka iPhone 3G) where you can be “always on” and your friends can interact with your every second of the day – how much will people really rely on location based services. I think it’s a moot point – I for one go to work each day and discover that only during the limited 1 hour I have for lunch would I look to see where my friends are located around my work. If they were within a close area of me, I would definitively give them a call or a message to hook up for lunch (of note is that I may already know they work close to me and so I don’t need to know this). Sure thing on a Friday night or around the weekend I would definitively use location based services more to find out what my friends are doing – but only if I could be bothered hooking up with them. If I didn’t want to go out – it’s pretty obvious that I should be able to “turn myself off” – which I think most location developers are on top of (or should be otherwise their service is going to have real privacy issues).

So where does that leave us? Well realistically the point that comes out in all these articles and all of research around location based services is that people don’t really change all that much. They go to the same places day in and day out, and the intrinsic similarity in their movement patterns suggests that they don’t like change. Most people develop an affinity for the same coffee shop, super market, clothes stores and so on. If you find something that you like at one location, you won’t often change to another location but rather revisit that same location over and over again. So realistically, location based services are pretty useless when it comes to trying to get you to change – because the vast majority of research has found that people resent change. Have a think about this – if you love your local coffee shop just around the corner and within walking distance of your home, and then someone came and told you “No, no you have to try this cafe, it’s the best coffee in the world but it’s not a walk down the street, you have to drive” – what would you do? 95% of people couldn’t be bothered to try the new coffee shop until they were in that area and it was convenient to them. I love the coffee down at my local cafe, and there is no way I would drive to another cafe just to get coffee which is better but requires me to get in my car, dodge traffic, park, get out of the car, wait for the coffee, get back in my car, dodge traffic and return home. The stress alone of that exercise is enough to make it not worthwhile. It has to be truly value adding for you to want to go through this, and like most things in life - if it’s not going to be an ‘amazing experience’, rather just a ‘good one’ - then you will not find yourself doing it. I can see some of you at the moment going “if the coffee was really unbelievable I would do it” - and maybe your thoughts really do have some merit to them, but I think in the vast majority of cases people rely on the age old adage “if it’s not broken, don’t fix it”.

So in conclusion however, and I say this as a big however – I think where location based services will come out on top is by letting you know what you friends and colleagues are doing at any given time. Sure thing, the argument that people don’t move far from their location is a valid one (and clearly proven) – but this doesn’t mean to say that location based services are entirely useless. A 10KM radius is still a huge area, and many people will want to know what their family, friends and colleagues are doing. Being able to have the choice of discovering new places and new friends with location based services is an offering that has previously never been accessible to the masses before – so perhaps people’s movements and consistency patterns may change. While it’s undoubtedly true that the majority of people are resistant to change – location based services will assist in allowing people to communicate with the people they want too, and ignore the ones they don’t want to deal with. It’s all about choice – if location based services can provide people with more choice than they already have in their lives – then it opens up a whole range of avenues that have never previously existed. Something I think, which is ultimately very very exciting.

Thoughts? Drop a comment below.

2 comments

Try not to do too many things at once

I modified this famous George Allen quote:

“Try not to do too many things at once. Know what you want, the number one thing today and tomorrow. Persevere and get it done.”

to my own version:

“Try not to do too many things at once. Know what you want, the number one thing today and tomorrow. Persevere and get it done above all else. Otherwise, who knows, if you wait - you may never know what could have been.”

Cool huh?

No comments

Creating a Product

Me

A concept in the software industry which is often heavily debated is that there are, in fact, no new ideas - rather just products created off existing ideas, which are done - to put it simply - much better. A perfect example would be the social networking phenomenon. There are now so many different social networking sites that they are almost impossible to track. Thus, it begs a very valid question - what is truly different about each of these sites ? The obvious truth is - there isn’t really anything different. Most of these sites are ultimately exactly the same - they are just presented in a different format and appeal to different niche audiences. For example, Myspace is still extremely well known for its Music and Bands - an area Facebook is trying to get into - but just can’t crack. Conversely, Facebook is getting huge adoption rates simply because it has marketed itself as a “safer” site than Myspace, and tends to be predominately used by late teenagers through to late twenty-somethings.

So then you may be asking - why bother creating any new products at all if they are all just going to repeat themselves ? Well, the reasoning behind that is clear - the innovative process always comes from building a product and then changing, altering or narrowing your focus on that product to area’s which appear to be working. Thus, in my opinion, the best way to create a product is to look at what an existing product has - and what it doesn’t have. For example, there are hundreds of companies now producing many very successful applications off social networking sites because they are trying to fill the voids that the site itself has - a very clever strategy. The key is to get a core idea, and build on this idea with a bunch of features that a user will want to use - as opposed to being forced into using. Forcing a user into a product isn’t going to get you anywhere - additionally - attempting to force a user to change from one product to another by producing a bunch of similar features isn’t going to help either. If you were going to do that - just build a clone of Facebook and you should be worth a few billion in a couple of years ? Unlikely.

The key to any application is to centralize your idea around a core concept - then flesh out features from this core concept. You can’t do everything - so focus instead, on things that work and that you truly believe are going to be value adding to your core idea and to your users. Therefore, the most important aspect in any new product chain, in my opinion, is to focus on the core idea - but also accept that you may need to change it in response to what your market - and more importantly - what your users are demanding. It’s important to recognize that if things aren’t working out the way you originally intended them to work, then you need to change your strategy to maximize the value of your brand as well as change what your doing in response to market demands, user requests and what people expect to see from what you are doing.

So if you are going into the start-up world - start with a pen and a piece of paper and write down a whole bunch of features that existing sites/products have, and then correlate these features to a whole bunch of features which are missing. Somewhere during this process - you will hit on a core idea and you may even be ultimately successful with this idea without having to change. However, before you jump out of your chair and start writing - the best piece of advice I can give is that you must recognize and be willing to completely change where you have started, or where you thought you were going if an opportunity presents itself. It’s important to be flexible and dynamic with your code to ensure you can make these changes, otherwise you may trap yourself into one direction and then you may not be able to get out of it. Keep the cash burn rate low, so you have the single most important factor on your side - time.

Love to hear your thoughts ? Drop a comment below.

1 comment

Technology & Life

MeIt’s really interesting being involved in a startup that hopes to change people’s lives. The most fascinating thing I find about technology is its application to human life, and whether it changes it. You know something is highly disruptive when it actually changes the way that people act, or the way they do something or even the way they will do something in the future.

If you look at the most successful technology companies on the planet - they all have changed human life in such a huge way. Take Google for example, before it was created, people would never have been able to find information as quickly as they can now. In creating any technology company, you want the technology you are producing to actually have a meaningful and positive impact on people’s lives - not simply be used as a way to generate income. Income and profit are typically by-products of a successful idea that has had real impact on human life. As much as people despise Microsoft, you could quite successfully argue that it was Microsoft which pioneered software and built huge in-roads into making programming ‘popular’. Put aside all the negative aspects of the company such as monopolistic and closed source behaviour - would Sergy Brin and Larry Page created Google or even been interested in programming if it wasn’t for companies such as Microsoft? I’m not entirely sure the outcome would have been the same.

Drop a Comment Below.

1 comment

Welcome to My Blog!

Technorati Profile

MeIt’s always difficult to write the very first post on your new blog. I haven’t been blogging for what some consider a “long time” but I have started nevertheless. As they say “The Journey of 1000 Miles begins with the First Step” and I guess I have just taken it.

I’m not entirely sure what I endeavor to achieve with this blog - I think mainly I started it so that people could get to know me better outside of Fluc and learn about all the other things I do. This blog is by no means a personal diary, and I do not intend for it to be. It’s rather just a place that I can write about some of the funny things I find on the internet, and touch on some of my experiences on the long and hard road as an entrepreneur.

While I am definitely not an ‘experienced campaigner’ in comparison to some of the seasoned veterans in the start-up industry, I am at least having a go and dabbling it in now with Fluc. I have this great book on all the speeches that changed the world, and one that Theodore Roosevelt said is probably particularly relevant now:

“It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who neither know victory nor defeat.”

I guess you could relate it to Alfred Lord Tennyson’s Poem from 1850:

“I hold it true, whate’er befall;
I feel it, when I sorrow most;
‘Tis better to have loved and lost
Than never to have loved at all.”

Either way, the point is that you have to take a few risks in your life and Fluc is one of mine. I think it’s also because I am the sort of person that needs to be consistently doing something, and I find it difficult to be bored. If I’m not in the books studying, then I’m either working to get more capital for Fluc, or I am working on Fluc - so by the time you add up all these hours into one day, you really get up to the 15 hour plus mark as an average.

It’s funny (as an aside) because I really love surfing and genuine beach life in Australia, and I used to try and get down to the beach most weekends in summer. It’s around 2 hours drive from where I live in Melbourne and I haven’t had any time at all to get even near the beach since Ruslan and I started Fluc. Summer is just around the corner for us Aussies, and day-light savings starts next week (28th Oct 2007). Typically, this really doesn’t mean much for me as I tend to work from 6pm till 4am as opposed to vice-versa. I mainly do this because there are fewer distractions when you are working away at night, in comparison to the daytime - notably the phone.

Either way I am going to finish up this first post now. I honestly have no idea how many people will end up reading this blog - and to me it doesn’t really matter - as at least I’ll have something to look back on in the future and laugh.

No comments