• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Blog

Published on Friday, July 11, 2014

Why Fast Device Detection Matters

How 51Degrees Beats the Competition

Importance of Identifying Mobile Traffic

Over the past decade mobile technology evolved to the point where a phone has more memory and a faster CPU than an average Desktop computer used to have some 8 years ago. In conjunction with faster Internet access, better coverage and cheaper carrier charges this caused a substantial rise in the amount of web traffic originating from mobile devices. Data suggests we are very close to seeing a third of all web traffic originating from mobile devices. (http://51degrees.com/Products/MobileAnalytics?chartid=143/) (http://51degrees.com/Products/MobileAnalytics?chartid=144/). The trend is bound to continue as LTE (4G) networks are spreading throughout the world.

Many businesses and website owners fail to recognize this trend at all while others fail to adjust. However, even the most basic level of detection that determines whether the requesting device is mobile or not can prove to be very beneficial.

Suppose you run a personal or a business Wordpress blog with a thousand of unique visitors per day. While the number is not that large, about a third of them are likely to be using a mobile device. When it comes to browsing the web from a smartphone there is hardly anything worse than loading a website that was designed with large Desktop computer screens in mind, containing a lot of unnecessary elements and overloaded with graphics. Detecting a mobile device allows you to adjust the way information is presented by redirecting to a mobile version of your website or supplying a different style sheet.

On the opposite end we have businesses that handle large amounts of data each day. An Ad Network business with millions of requests per second is one example. Mobile device detection is very beneficial in this case as mobile screens may have a high resolution, but physical screen size is fairly small and the way users interact with a mobile device is different from how they interact with a desktop computer or a laptop. By detecting the device is mobile you can provide ads in the appropriate location and format. At the same time having to deal with millions of requests per second means your mobile detection solution has to be fast.

The conventional way to deal with device detection is to use an XML file to store information about devices and a set of regular expressions to match the requesting device against existing devices. This is a valid approach, however as the data file grows larger device detection will slow down. Additionally this approach does not take in to account changes in software, so the same phone using a different browser or a different version of the operating system could have a different entity in the database for each combination.

51Degrees Device Detection

51Degrees recognizes the pitfalls of the conventional device detection methods and has developed a solution that is fast, reliable and future-proof. As you shall see, it is easy to implement and it provides consistently fast and reliable device detection across many platforms and technologies.

To detect devices we use two methods: Trie and Pattern.

  • Pattern is a fast and memory efficient method capable of delivering detection times of less than 0.1 milliseconds. This is achieved by our patent applied for algorithm, which uses important parts of http headers to find information about the hardware, software and browser version of the device as well as distinguish between search bots, crawlers and human users. Pattern matching can process well over 5 000 requests per second per CPU core and is generally sufficient for most uses. Learn how Pattern device detection works.
  • Trie detection method requires a significant amount of memory to be allocated at initialisation as it builds a tree of all known devices. Trie is extremely fast and outperforms hashing algorithms. Trie can easily process millions of requests per second even on mediocre hardware. Learn how Trie detection works.
123
Comments (0)
Mike
>

Products Team

Other posts by Products Team
Contact author

Name:
Email:
Subject:
Message:
x

Tags

.NET 2013 2014 4G 51Degrees 5G A.C.Roma A7 ABI Acer Affiliate Marketing Alcatel Amazon AMP Analysis Analytics Android Android 5.0 Lollipop Android Kitkat Android Lollipop Android Media Stick Apache API Apple Apple TV Archos Asha Asian Market ASP.NET Asus Australia Big Data Black Friday Blackberry Blink Browser C C# Case Study CeBIT CES Chrome Cloud CMS combinations Comparison Competition CoolPad COTW Cron CSS3 Data Data Blog Data File Data Model Daydream Denver Design Desire Eye Desktop Detection Developers Device Device Data Device Detection Device Intelligence Device Popularity Device property Device Types Device Use Display dmexco DoCoMo Doogee DotNetNuke Download Drupal Email EReader E-Reader Ericsson Evaluation Event Examples EXPLAY Rio Facebook feature Firefox Firefox OS Fly Foundation Framework France Galaxy S3 Galaxy S5 Galaxy Tab A Galaxy Tab A 8.0 Galaxy Tab A 9.7 Germany git repositories Global Google Google Daydream GSMA HAProxy Hardware Hisense HTC HTC ONE MAX HTC OS HTML5 HTTP HTTP Headers Huawei HUAWEI. UPDATE HUDL Huwaei IBC Icemobile Prime 4.0 IE IFA IIS Image Optimiser Image Optimizer India Infographic Ingeniux Internet usage iOS iOS 7 iOS 8 ipad iPhone iPhone 6 IsEmailBrowser IsWebApp Italy Japan Java Javascript Jolla Kentico Keynote Kindle Kindle Fire Kindle Fire HD Leagoo Lenovo LG Location Log File Analysis LTE Lumia m.dot macOS Map Memory Meta Data Mi 4S Micromax Microsoft Miia Style Mobile Mobile Analysis Mobile Analytics Mobile Devices Mobile Marketing Mixer Module Motorola MVC4 MWC MWC 2017 MWC16 MyPhone Native Native Apps NET New Release News News Letter Nexus Nexus 6 Nexus 9 NFC NGINX Nokia Nokia 3310 Non-Mobile NVIDIA Omate On7 OnePlus 5 Opera Opera Mini Operating System Optimisation OS OSX 10.10 OTA Panasonic Patent PC Pebble Performance phablet phone PHP Poland Presentation Press Release Price Band PRIV programmatic PS4 Python QMobile QR Codes Redirection Research Reseller Responsive Images Responsive web design RESS Review reviews RIM Ringmark RTB RWD Safari Samsung Scala Screen Screen resolution Screen Size SEO Server Server-side optimisation Set Box Set Top Box Sharepoint Shark 1 SHIFT phones Sitecore Sitecore version 9 SLUSH Smart TV Smartphone Smartphones Smartwatches Snapdragon Sony Sony Xperia Spain Swedish Beers Symbian Tablet Tablets Tesco Testing Tips Top 5 TOTW TV UDS UK Umbraco Update updates US User Agent UserAgent User-Agent Vendors Version 3 VoLTE VR Wearable Web Web Apps Web content management WebKit WebMatrix White Paper Widgets Widnows WiFi Wiko Wileyfox Windows Windows Phone Xbox XBox One Xiaomi Xperia Xperia z Yosemite Z10 ZenFon 2 ZOPO ZTE