1 BYOD Revisited: BUILD Your Own Device Ron Munitz The PSCG
2 about://ron_munitz Distributed Fault Tolerant Avionic Systems Linux, VxWorks, very esoteric libraries, 0 s and 1 s Highly distributed video routers Linux Real Time, Embedded, Server bringups Linux, Android, VxWorks, Windows, devices, BSPs, DSPs,... Distributed Android Rdroid? Cloudroid? Too busy working to get over the legal naming, so no name is officially claimed for my open source
3 about://ron_munitz What currently keeps me busy: Running The PSCG, an Embedded/Android consulting and Training Managing R&D at Nubo and advising on Remote Display Protocols Promoting open source with The New Circle expert network Lecturing, Researching and Project Advising an Afeka s college of Engineering Amazing present, endless opportunities. (Wish flying took less time)
4 Agenda History 101: Evolution of embedded systems Software Product 101: Past, Present, Future. Software Product 201: The Cloud Era. Hardware Product 101: Building Devices Hardware Product 201: The IoT Era
5 History 101: 20th Century, 21st Century, Computers, Embedded Devices and Operating Systems
6 Selected keypoints in the evolution of Embedded systems: The 20th century Pre 40 s: Mechanical Computers, Turing Machine The 40 s: Mechanical Computers, Embedded Mechanical Computers(V2...), Digital Computers (Z3...) The 50 s: Digital Computers, Integrated Circuit, BESYS The 60 s: MULTICS, Modem, Moore s Law, PC The 70 s: Apple First Computer, Unix, B becomes C, The 80 s: DOS, MacOS, Windows, System-V, GNU The 90 s: GSM, World Wide Web, Windows 3.0/9*, 36/56Kbps Modems, ISDN, Linux
7 Selected keypoints in the evolution of Embedded systems: The 21st century Windows, Linux, OS X, Symbian, Moblin, Meego, Cellular Phones, PDA s, IEEE802.11, Wireless, Mobile Data, 2G, 3G, Bluetooth, NFC, GPS, Cameras ipod, iphone, Android, ipad, Laptops, Tablets, Ultrabooks, ChromeOS, Google, Apple, Amazon, Facebook, Twitter, Pebble, Smart Phones, Smart Watches,Smart *, Smart Home, Sensors, Location, Data, Big Data, 4G, LTE, DSL, Cable, Broadband, IPTV, Streaming TV, Crowdsourcing, Social Media, Autonomous Cars, Robots, irobot, The Internet of Things.
8 Embedded Systems: Generation I Mostly Analog devices. Some examples include: Laundry Machines Refrigerators Ancient Missiles Cars Thermostats
9 Embedded Systems: Generation II Dedicated Hardware, dedicated software. Introducing the Micro-Processor. No Operating Systems Heavy use of product dependent Assembly When lucky enough - also C. When extremely lucky - team is large enough to have some libraries. Still very common with DSPs and other performance critical components.
10 Embedded Systems: Generation III Using Operating Systems: Core/Real time embedded OS such as VxWorks, Embedded Linux variants, Windows, Integrity, and a lot lot more General Purpose Operating Systems such as some Embedded Linux Variants Also run servers You really use them anywhere and everyday: Set Top Boxes, Televisions, Entertainment Systems, ROUTERS, Phones, Smart watches...
11 Embedded Systems: Generation IV Using Android,iOS, Tizen, FirefoxOS or other mobile Operating Systems. It is somewhere between: Core/Real time embedded Opsrating Systems General Purpose Operating Systems Also run servers et. al, android-x86.org) You CAN really use them anywhere and everyday: Set Top Boxes, Smart TV s, Entertainment Systems, Cellular Phones, Tablets, smart watches...
12 Generation IV - Example
13 Software Product 101: Past, Present/Future
14 What we won't cover: Software Development Methodologies Blah-Blah Waterfall/Spiral/Rapid/Agile/XP,... Antique technology which doesn't interest anyone (almost) Card Punching Mainframes If the latter interests you join my OS course next year. They always start with a blast from the past...
15 What we will cover Practical Software Development tools and practices From the not so far past From the present
16 How to build software: Prior to the cloud Get struck by an idea Think whether it's worth spending the time on implementing it. Define requirements (at least partially) Choose technology Hardware for which it is based/on which it will run. Can be a PC, can be a server, can be some embedded device (e.g. cashier) Choose Operating system on which it will run. Choose programming languages/libraries Choose other Infrastructure, middleware etc. (e.g. DB, etc.) Design/Code/Test (and usually skip two...)
17 Simple Example: Portable Text Processor Idea: A word processor to be written (coded) once and used everywhere Is it worth it? Probably not, but it's just an example Requirements: Some sort of GUI, run across all PC platforms. Assume supplemented libraries (e.g. QT, GTK+, maybe assume a JVM etc.) Technology: C/C++ with QT. SVN for source control. Design/Code/Test. Testing: Open a file, read a file, close a file, upload to sourceforge ;-)
18 Simple Example: Analysis There is only one component, which runs at the Client side. Costs: Development Maybe marketing (but I won't address it here) Maintenance (Bugs, feature requests) There is a single point of failure, and failure will affect only the very same user.
20 Building More Complex Software: Analysis Multiple components. Multiple users on a single or multiple servers Any server failure can affect all clients High Availability and fault tolerance Need to save state Use Databases. That's another design/development/testing phase. Most companies did they're on DB frameworks, even on top of existing ones as Oracle/GoAhead,SAP etc. Scalability Today we work with M users :-) Tomorrow comes the M+1 user :-(
21 Building More Complex software: Analysis Additional Costs (cf. The Simple example): Equipment. Servers cost. Data Center operation costs High Availability engineering costs (design/development/testing) More costs if you build your own hardware (i.e. Network processors etc.) And repeat Rent, electricity, cooling, technicians... Apply whether you run your own Data Center, or use someone else's Hardware malfunctions, grows old, need to purchase new equipment, etc. More operating costs running a data center is a never ending maintenance effort
22 Example: The Web
23 Software Product 201: The Cloud Era.
24 Enter the cloud I don't believe this subject requires any introduction these days. And that is for the following reasons: Relieves the pain of Operating a data center Much of the maintenance becomes someone else's problem Including Hight Availability, scaling, storage and DB handling etc. Eases deployment at diverse locations Enables seamless models of IaaS, PaaS Significantly eases rapid prototyping And Deployment
25 The importance of rapid prototyping The tech world is evolving quickly. And so does competition Many times you don't know what you've got until you start human trials That's legal in most software industries And you want to know what you got. Fast. NOW!
26 How to build software: Using the cloud Get struck by an idea Think whether it's worth spending the time on implementing it. Define requirements (at least partially) Choose technology. For both Frontend and Backend Hardware for which it is based/on which it will run. Can be a PC, can be a server, can be some embedded device (e.g. cashier) Can select hardware type at your cloud vendor (Google Compute Engine, AWS,...) Choose Operating system on which it will run. Choose programming languages/libraries Choose other Infrastructure, middleware etc. (e.g. DB, etc.) Design/Code/Test (and usually skip two...)
27 Modern Software Development Process - Frontend Choose compatible OS/devices: Android, ios, Win8, HTML5, Web Choose corresponding languages and frameworks. Integrate Open Source github et. al) i.e. Objective C+Cocoa, Android+OpenGL+Volley, Win8+.NET,... When you want to do something most of it might have already be done Adhere to client/server protocol Usually some REST-ful API, JSON, XML these days But also binary streams, and more.
28 Modern Software Development Process - Backend Choose Framework Choose cloud provider and model: Ruby on Rails, Django, Node.JS, Java, C/C++, scala, etc. Amazon, Google, Rackspace, Azure... Choose operation mode PaaS, IaaS, e.g. Google's App Engine vs. Google Compute Engine Choose pricing model (fixed, flexible) Choose DB frameworks Desired replication, SQL/NoSQL, etc. Integrate Open Source github et. Al, Ruby Gems, node modules etc.) MongoDB, DynamoDB, Cassandra, Oracle, SQL, Google Big Query, Redis,... When you want to do something most of it might have already be done Adhere to client/server protocol Usually some REST-ful API, JSON, XML these days But also binary streams, and more.
29 Modern Software Development Recap It's pretty much like building something out of LEGO:
30 Hardware Product 101: Building Hardware
31 High level Requirements/Block Diagram DDR III JTAG DDR III CPU RS232 ASIC ASIC PHY RJ45S RJ45 RJ45 RJ45
32 The Manufacturing Process: A feet high overview Get Struck by an Idea and see if it's worth doing it... Deciding needed components and connectivity (netlist) Just like the SW phases. To be bought: e.g. A CPU. Memory. Components that can do some features To be manufactured: e.g. a chip, a mezzanine board, an ASIC, and FPGA, or maybe even a core or two. BOM: Bill of Materials Comparing specs, prices, alternatives of the required components. This is a lot like choosing the platform components in PaaS
33 The Manufacturing Process: A feet high overview PCB design, Place and Route Decide the layout of the board Decide the number of layers (i.e. noise isolation) Decide wiring Resolve constraints Send PCB design (a couple of files) to manufacturing (Assembly) PCB in Board out. Assembly = PCB design + PCB (FR4) = BOARD Wait for boards to come back from manufacturing Integrate and Verify Pack it nicely into the desired form factor Sell a product, not a board!
34 The Manufacturing Process: A feet high overview The output of such a complex process is Hardware Which may take time to manufacture Which may take time to ship Which may suffer natural or unnatural causes Which may suffer... Bugs. This is usually EXTREMELY expensive, and hardly ever costeffective before mass manufacturing. That is also a critical time, in which you don't really have something to work with cf. to the immediate startup of a component in the Software Cloud case.
35 The critical cost problem This actually applies to both SW and HW. You cannot determine scale ahead of time. If you overestimate you will over pay. If you underestimate you will over pay (You may pay with your business) Software industry is permitting: Flexible plans. Start another Virtual Machine when you're close to limits You can start with optimistic scale and then downgrade Hardware is not Once you manufactured there is no way back (Talking about boards, not FPGA of course)
36 Quick Comparison Making software is (arguably, sometimes) easy Making hardware is HARD And risky. And depends on too many parties And takes time to ship
37 But what if I need to manufacture a device? Assuming you understand the risks. And yet I AGREE. You're going to make the most amazing phone or wearable device ever made, and are confident you will make billions. You already told all your friends, colleagues, and some bloggers from the other part of the world, and they all worship you. And you hired (The PSCG) for consulting on the manufacturing process, and begging them to start working on a prototype. In the meantime, you dream of getting funded. And once you wake up you got 100M$ in 48 hours on KickStarter (Chapeau!!!) How can product dreams come true, in such a hard, hardware world?
38 Hardware Product 201: The IoT Era
39 Building A Modern IoT Product Assuming you were struck by an idea And want to go for it. You are aware of the Software Development Paradigms and Know what you can get on the client side Know what you can get on the server side Know you can utilize the Cloud for IaaS/PaaS et. al. You also know you are going to have to build your own hardware.
40 Building a Modern IoT product Hardware manufacturing takes time But in the meantime, you can decide your Software requirements, for that hardware: Choose application suites (if relevant) Choose interfaces and design SW/HW interaction Choose an Operating System
41 Building a Modern IoT product Modern products, are hardly limited by amount of memory, number of processors, etc. But there are a lot of such programmers now. Because programming is no longer a niche. So they can run fully fledged, powerful GPOS. It takes a bad programmer to abuse them. Mobile OS are definitely GPOS The #1 constraint, in terms of operation is power.
42 Building a Modern IoT product The important thing about the OS is how it interacts with your Hardware. And that is mostly the responsibility of the Kernel Moder Operating Systems running an open source, Linux Kernel: Linux Android Tizen FirefoxOS WebOS...
43 Rapid Prototyping As we previously mentioned, Creating Hardware takes time. In the mean time, you want to progress with the rest of the system. 80% of your hardware requirements (Wi-Fi, Cores, BT, Serial interfaces, memory, flash,...) are probably already implemented in modern, COTS boards PandaBoard, BeagleBoard, Raspberry Pi, Banana Pi, DragonBoard, Freescale WARP, Intel developer reference platforms and so on And if something is not available you can probably find something similar with matching pinouts on the web (digikey, avnet etc.)
44 Rapid Prototyping Which means you can actually do a significant part of the board bringup, prototype and show a PoC before you really started manufacturing the hardware!
45 Rapid Prototyping Friends
46 Hardware Manufacturing and Shipping PoC Checked. Hardware functionality Checked Packaging Checked Now what's left to do is minor adjustments: From your reference board To your final form factor
47 Rapid Prototyping Cycle Select the desired match: HW components on reference/eval boards Bootloader (available with those boards probably) Operating System (available with those boards, you can reflash another one as per your choice) Build System, Source Control, etc. Application sets and techonology Have all your teams working before, or in parallel to HW manufacturing
MASARYK UNIVERSITY FACULTY OF INFORMATICS Best Practices in Scalable Web Development MASTER THESIS Martin Novák May, 2014 Brno, Czech Republic Declaration Hereby I declare that this paper is my original
2012 Demystifying the Cloud This ebook explains the concepts of Cloud Computing in simple terms. The first three chapters introduce the key concepts and the terminologies of the Cloud. The remaining chapters
Workbook EXIN Cloud Computing Foundation Edition May 2012 2 Colophon Title: EXIN CLOUD Computing Foundation Workbook Authors: Johannes W. van den Bent (CLOUD-linguistics) and Martine van der Steeg (The
PART II Information Technology Infrastructure CHAPTER 5 IT Infrastructure and Emerging Technologies CHAPTER 6 Databases and Information Management CHAPTER 7 Telecommunications, the Internet, and Wireless
A Fresh Graduate s Guide to Software Development Tools and Technologies Chapter 1 Cloud Computing CHAPTER AUTHORS Wong Tsz Lai Hoang Trancong Steven Goh PREVIOUS CONTRIBUTORS: Boa Ho Man; Goh Hao Yu Gerald;
Lappeenranta University of Technology Faculty of Technology Management Department of Information Technology Platform as a Service new opportunities for software development companies Examiners: Professor
Beginner s Guide to BigDataAnalytics Introduction Big Data, What do these two words really mean? Yes everyone is talking about it but frankly, not many really understand what the hype is all about. This
UX & Cross-Platform Mobile Application Development Frameworks Esteban Angulo Javier Alonso Xavier Ferre 01/01/2014 Laboratorio de Ingeniería del Software Escuela Técnica Superior de Ingenieros Informáticos
Building Telephony Systems with Asterisk An easy introduction to using and configuring Asterisk to build feature-rich telephony systems for small and medium businesses David Gomillion Barrie Dempster BIRMINGHAM
Volume 3, Issue 3, March 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Cloud Computing:
Semester: Title: Cloud computing - impact on business Project Period: September 2014- January 2015 Aalborg University Copenhagen A.C. Meyers Vænge 15 2450 København SV Semester Coordinator: Henning Olesen
Chapter 1 Grasping the Fundamentals of Big Data In This Chapter Looking at a history of data management Understanding why big data matters to business Applying big data to business effectiveness Defining
Business plan for the mobile application 'Whizzbit' Tom Leleu Promotoren: prof. ir. Ludo Theunissen, dhr. Pascal Vande Velde Masterproef ingediend tot het behalen van de academische graad van Master in
Chapter 2 Basic Cloud Computing Types Abstract Cloud computing s marquee feature is the availability of all required software on the web. The principal service that provides this feature is Software as
ONLINE ACCOUNTING SOFTWARE Chartech Software Product Guide BUSINESS WITH CONFIDENCE icaew.com/itfac In association with ONLINE ACCOUNTING SOFTWARE Chartech Software Product Guide 2010 Edition by Lesley
Masaryk University Faculty of Informatics Master Thesis Database management as a cloud based service for small and medium organizations Dime Dimovski Brno, 2013 2 Statement I declare that I have worked
W I N T E R C O R P O R A T I O N Executive Report BIG DATA: BUSINESS OPPORTUNITIES, REQUIREMENTS AND ORACLE S APPROACH RICHARD WINTER December 2011 SUMMARY NEW SOURCES OF DATA and distinctive types of
Introduction to Cloud Computing architecture White Paper 1st Edition, June 2009 Abstract Cloud computing promises to increase the velocity with which applications are deployed, increase innovation, and
Master of Science Thesis [in the Programme Software Engineering & Technology] Haseeb Zulfiqar Chalmers University of Technology University of Gothenburg Department of Computer Science and Engineering Göteborg,
1 Introduction Computing is being transformed to a model consisting of services that are commoditized and delivered in a manner similar to utilities such as water, electricity, gas, and telephony. In such
Guidelines for Building a Private Cloud Infrastructure Zoran Pantić and Muhammad Ali Babar Tech Report TR-2012-153 ISBN: 978-87-7949-254-7 IT University of Copenhagen, Denmark, 2012 ITU Technical Report
Plug IT In 3 Cloud computing PLUG IT IN OUTLINE PI3.1 Introduction PI3.2 What is cloud computing? PI3.3 Different types of clouds PI3.4 Cloud computing services PI3.5 Cloud computing benefits PI3.6 Concerns
Best Practices for Deploying and Managing Linux with Red Hat Network Abstract This technical whitepaper provides a best practices overview for companies deploying and managing their open source environment
The Cloud Adoption Toolkit: Supporting Cloud Adoption Decisions in the Enterprise Ali Khajeh-Hosseini, David Greenwood, James W. Smith, Ian Sommerville Cloud Computing Co-laboratory, School of Computer