BlackBerry 10: Forget about the phone - it's the OS that really counts

BlackBerry 10: Forget about the phone - it's the OS that really counts

Summary: With the Z10, BlackBerry finally has a modern smartphone — but it's the operating system that matters.

SHARE:

Finally shipping handsets running BlackBerry 10 was an important milestone for the BlackBerry team — but if you listened carefully to what CEO Thorsten Heins said when he introduced the Z10 handset, the important phrase was "mobile computing". When a company is almost the last to the smartphone party (Jolla and the Firefox OS are still waiting in the wings), isn't it a bit rich to say "we intend to lead the move from mobile connection to mobile computing"?

Maybe not, when you think about the QNX operating system underneath BB10 and the direction that the computing market is going.

If you're frustrated by the Windows 8 interface on your desktop, it may not be much comfort to know that this is an operating system for the next decade, when a desktop PC or a touchless laptop is soon going to look as quaint as a canal boat. Surface with Windows RT, iPad, Chromebooks — they're all ways of trying to make computing truly mobile. Microsoft is trying to squeeze Windows down to run on tablets and (with the NT kernel-powered Windows Phone 8) on smartphones. Apple and Google have their own approaches. RIM, meanwhile, is going to take its BlackBerry OS and push it into a wider range of mobile computing devices.

I'm not just talking about a reprise of the PlayBook, although I'm sure that's coming (the PlayBook was a way for RIM to work out its development process for working on top of QNX one step at a time — first the core OS and the browser and the start of the user interface, then core app development, before switching to building the phone bit of the smartphone). What comes next is connecting your phone or your tablet to a lot more than email, websites, Twitter and Angry Birds.

"Soon we will give you ways to connect your mobile experience not just to other people but to the world around you," Heins promised. "You will be in the middle of things and you will be connected to the internet of things; this is what being connected will mean in the future."

"We have created a platform that's able to work with other machines, to extend you beyond mobile devices to a car, to your home, to a healthcare system, to wherever you are."

Mobile computing needs a different approach from taking a fundamentally desktop-bound operating system and dragging it around with the equivalent of a very long invisible Ethernet cable. A truly mobile OS must expect you to switch between online and offline modes on a regular basis (tube and subway carriages are a great way to tell how mobile your OS actually is today).

Apps that use async and await patterns and cache then sync data and documents are part of this. But what RIM has in QNX is an operating system that can connect to and disconnect from remote resources in a very neat way, and very responsively.

QNX and Transparent Distributed Processing

QNX has a lot of advantages, such as memory protection that runs every program in its reloadable process (including drivers, networking and the file system) with adaptive partitioning that guarantees critical processes always have enough CPU time. It also has a microkernel (called Neutrino) that's so small it can fit in the CPU's L1 cache, so the messages it passes are very fast.

The larger messages that microkernels pass to compensate for the small amount of code that's in the kernel are what usually slow them down compared to larger 'monolithic' kernels (like Windows, Linux and the Mach kernel on which Mac OS is based), which can do more in the kernel and thus pass smaller messages. And because you don't have milliseconds to spare when you're shutting down a nuclear reactor, for example, switching between processes happens in fractions of microseconds (and that can happen while another process is still sending a message, because the kernel can rearrange messages that arrive out of order).

Putting so many parts of the operating system in separate processes rather than in the kernel means QNX has to be very good at creating and managing shared memory (otherwise applications wouldn't be able to use the file system, given it's running in its own process). 

Combine efficient messages, isolated processes and good shared memory management, and you get an interesting side effect: QNX doesn't care very much about where a process or a file is.

The official name is Transparent Distributed Processing. Dan Dodge, the architect of QNX, explained it like this (back in 2010 when the PlayBook was introduced): "If you put another computer say, in Paris, as long as you have a way of passing messages to the kernel, they will flow. The file system sees an open command and it doesn't need to know this computer is in Paris; all it needs to know is 'do you have the permissions to retrieve the file?' And it's not just the file system. You could have a SQL database over here, or a Bluetooth driver. In effect your system becomes entirely distributed."

This isn't like running apps that can connect to a service or relying on protocols like DLNA and UPnP: if you've got QNX at both ends, the remote device just becomes part of the operating system — so it's available to any process and any app that wants to use it, as if it was always on your device.

Transparent Distributed Processing in the QNX operating system
Transparent Distributed Processing in the QNX operating system. The BlackBerry 10 OS is built on QNX.

And what could you do with that? "You end up with an architecture that is incredibly distributed. So imagine this architecture with multiple PlayBooks, and the ability to have gaming or various types of communications in a way that's seamless. We do all this reliably, we call it plumbing — we do all the plumbing for you; you don't need to worry about it. In fact, we do discovery as well. If you have multiple PlayBooks in the home on a home network they will discover each other and you can build applications to use that."

That's how the PlayBook Confetti prototype at Mobile World Congress last year worked. You could put several PlayBooks down on the table at a meeting and have them find each other. The confetti part let you pass shapes from screen to screen to play with while you were waiting for everyone to turn up — and to check all the tablets have found each other. When the meeting kicks off, you can just swipe a document from one tablet to another to share it, or show your presentation on everyone's screen at the same time.

PlayBooks
PlayBook Confetti showcases QNX's ability to automatically discover and interact with other devices running the OS.

But this isn't limited to treating another PlayBook or BlackBerry handset as if it's part of the same file system as your device. Take your phone into the car and the music on your phone could show up in the media player on the dashboard (many car makers use QNX — it's what the OnStar system is built on, for instance). Sit down in front of a TV with a QNX-powered set-top box and you could use your standard remote control to play videos that live on your phone (or in a streaming cloud service that your phone connects to). The temperature controls on your thermostat could show up on your phone whenever you're in the house — and not be in the way when you're at work.

Incidentally, you can use the CPUs and the network connections on both connected devices to get faster processing and more bandwidth if you want. Want to run something demanding on your phone? Do it using the processor in your tablet as well. Connect to what you need, use it and then walk away and let QNX worry about what's still available and what's not.

The only limit is developers' imaginations — and the number of embedded systems that use QNX. As that includes cars, trains, industrial robots, heart monitors, guitar pedals and the camera on the ISS as well as nuclear power plant controls it's just as well QNX has excellent security. However, it definitely gives BlackBerry a head start on connecting to the Internet of Things. Thorsten Hein's boast about mobile computing might well be part of the future.

Topics: BlackBerry, Mobile OS, Mobility

Mary Branscombe

About Mary Branscombe

Mary Branscombe is a freelance tech journalist. Mary has been a technology writer for nearly two decades, covering everything from early versions of Windows and Office to the first smartphones, the arrival of the web and most things inbetween.

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Talkback

56 comments
Log in or register to join the discussion
  • QNX - OS innovation

    Great article on QNX. I have read some similar in the past and it really seems like the direction for a brand new level of computing. Blackberry seems to have put equal efforts into their hardware, software experience and the OS as opposed to just one or the other. When I use my phone, I want it to be stable, I want it to be fast, and I want something that I know the developers are responding to user needs. I think that is what Blackberry is doing. Can't wait for the new phones to be available in the US.
    BSek
    • Meh. App developers dont care how much of the microkernel is in L1 vs

      RAM. Nor about microkernel message passing. At the end of the day they just care about the tcp or maybe only the http layer. Consumers don't even seen to care that android is full of security holes. WP8 is a great first step for MS getting their shared kernel onto the phone. once they also get it to xbox they will have the home/work/mobile spectrum covered. It's way more secure and reliable than android or ios and offers way more consumer and developer productivity. There's just not a compelling story for a move to qnx.
      Johnny Vegas
      • Application developers (not app developers) DO care

        QNX got where it got in medical equipment and real time systems because it delivers performance and it does it securely. Businesses aren't going to be installing fart apps, but LOB applications that talk to back end systems and data.
        Mac_PC_FenceSitter
        • 'Fart' apps, love that metaphor...

          ...I totally agree on the security ramifications of a business architecture. As I began to consider how I would [hypothetically] feel if an insurance agent, mortgage agent, etc. came to my home with their 'mobile' app to collect my private data which then could then fall into the hands of any hacker thru any one of many vulnerabilities in modern tablets. RIM is right on target focusing on security.
          cyberski@...
    • Yawn

      Consumers do NOT care about microkernels or scalability or distributed processing. All they care about is the kind INNOVATION that allows them to install the internet onto their devices and browsing the web and pointing and clicking and cutting and pasting all of the things that so insanely DIFFICULT if not outright IMPOSSIBLE to do with the likes of QNX, Linux, Ios etc. Only the vast treasure trove of INTELLECTUAL property contained in the Micr0$uck$ LoseDoze8 Operating System (O/S) can give us that. Ping me when anything else can.
      HackerJ
      • ?

        Have you even used QNX? Your entire comment does not apply to QNX.
        sk8er_tor
      • Babble are the thou

        You must be reasoning with ur anus. Even Steve Jobs knows Qnx is the best os in the world.
        perryy
      • RE: YAWN

        @HackerJ

        You don't get the Innovation by staying with the status quo....I guess you kind of missed the point of the article. QNX isn't just a new flavour of an OS, it's an OS that can allow developers to do so much much more. It is not restricted to phones\tablets. It can branch out to security systems, doors, cars, homes, TV's, Planes....oh wait....IT"S already in many of those things to begin with...heck the Internet is powered by QNX.
        Greggore
  • Form follows function

    Very good article, that tries to separate form from function. Yesterday I read an article from another agency that declared that BB10 wouldn't be able to "save" BlackBerry because it doesn't attract kids.

    It is a way of seeing it, if you're the type that values a very specific function: fun.

    In my opinion, with BB10, BlackBerry will be able to join the two very different, but complementary worlds: business and personal. At the business world, function assumes a more important position, and at the personal world, form is as important as function.

    What BB10 OS delivers is a platforma stable enough to transit freely between the two different worlds, and this is what neither iOS or Android aren't capable. Sometimes, jumping in ahead of all others isn't garantee that whoever did the jump will continue to lead. This is what is happening to iOS and Android.

    Both iOS and Android are so much desperate trying to present a super cool user interface, that they're forgetting a much important value: capability/suitability to the task.

    With QNX serving as the base for BB10, the physical device plays a less important role in the game, because the OS is so powerful that it fully compensates for "shortcommings" in raw processing power. Today we're seeing new devices being released with as much as four cores. Why is that? To compensate for bad OS design and allow for the next level UI juggling.

    As Thorsten (geez, we should call him just Thor, for short) said, it is the begenning...
    pinsard@...
  • Thanks

    Liked the article. Did not know about Playbook Confetti. Thank you.
    SinfoCOMAR
  • BlackBerry OS article

    Really excellent piece -- I did not know about QNX memory protection, superb insights.

    Adrian
    Adrian Bridgwater
    • Mary is a terrific writer.

      She states a premise but then supports it with facts and her own conclusions buttressed by those facts, describing everything so well that both novice and pro can understand. She is easily one of the best writers on ZDNet.

      Mary, I really appreciate the quality you bring to any discussion. SJVN and others, please take notes!
      zdnetreader123
  • excellent article

    I love your article because you put all the puzzle pieces together and you explained it in a way that even the novice techy can understand. I feel that Thorsten Heins missed an opportunity to at least give us a tease into what BB10 platform can do.
    RallsInNC
  • But now the marketing WILL matter

    At least BB is talking about licensing the OS, which is key to success. There may be few mobile brand makers out there who are fed up with Apple, Google AND MS, and are exploring this new option seriously.

    How about it Samsung?

    And how about you HP?

    Thanks Mary
    D.T.Long
    • Better Yet . . .

      . . . how about Microsoft? WP8 looks like another failure.
      Gr8Music
      • That is just TOO funny

        MS licensing QNX.

        I think Hell is still way too hot for that to happen.
        D.T.Long
    • Let's see what the Super Bowl ad looks like

      We'll get a good gauge as to who and what they're targeting.
      tallbruva
      • Superbowl ad

        Straight in the target. QNX is shown as the fundation ... and that's all I wanted to see.
        Warning it'll be shorten to 30 sec ...
        http://youtu.be/dY1ecfWT3GQ
        superfly_FR
        • RE: Superbowl ad

          Nah, that one, although very good, is made by Pixelcarve, a Toronto based company. The Superbowl ad is made by Abbott Mead Vickers BBDO, a London based company.
          Sylvain Gagnon
  • BB article

    Ms. Branscombe, I hope everyone is listening to you. Yours are the first words of wisdom I've read on the new RIM OS. Maybe they should hire you to monitor the platform's progress so they don't go astray or get bogged down in defensive minutiae. Thank you!
    treborgort@...