liang buliang rtos for the internet of things:...

40
© 2014 Wind River All rights reserved RTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang

Upload: dangdien

Post on 21-Mar-2018

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

© 2014 Wind River All rights reserved

RTOS FOR THE INTERNET OF THINGS: VxWORKS 7

Liang Buliang

Page 2: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

- 32-Bit Processors for Devices - Operating Systems in Devices

VxWorks 1980s

- Digital Control Devices - Internet Explosion

VxWorks 5 1990s

- Multi-core Processors - Hardening of Device OS

VxWorks 6 2000s

- Internet of Things - Distributed Control & Decision VxWorks 7

2010s

Page 3: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Intelligent Decision Making

Intelligent Systems Intelligent Devices

Edge Devices

Aggregators, Gateways, Controllers

Intelligent Systems

Cloud Networks

Scalability Security Safety

Core Attributes

Connectivity Virtualization Manageability

Platform Features

Page 4: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Security Safety

Scalability

Page 5: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Security Safety

Scalability

Page 6: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Scaling Functionality on

Device

Scaling Across Applications

Edge Devices

Aggregators, Gateways, Controllers

Intelligent Systems

Cloud Networks

Scalability Increased Scalability for All Device Scenarios

Page 7: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Core Kernel

IDE Ver x.y.z

Middleware & Apps

Architecture

Drivers

Installation, Licensing,

DVD, Shipping, Product Codes

BSP

Compiler Ver x.y.z

Build Tools

Build and Distribution Infrastructure Based on Monolithic Platform Paradigm

Centralization Paradigm of Operating Systems Scalability

Page 8: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks 7 Core Platform OS

Ecosystem Packages Wind River Packages

Package Paradigm for VxWorks 7

3 Years

• New infrastructure for installation, distribution, and deployment of

application packages

• Support for incremental addition or deletion of components

8

Scalability

Page 9: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks 7 Core Platform OS

Lifecycle of Application is separate from core kernel

• Enables individual apps to be patched or updated at any time,

as needed

9 | © 2014 Wind River. All Rights Reserved.

Page 10: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks 7 Core Platform OS

Multiple versions of Packages can coexists in the development tree

• Enables patches or new versions to

be tried out and rolled back when

required

10 | © 2014 Wind River. All Rights Reserved.

Page 11: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Microkernel Profile

VxWorks Microkernel

Standard VxWorks Kernel

Edge Devices

• Very small kernel (~20 KB)

• Lower safety certification cost

• Fast threading model

• Suitable for multi-core SoC, multiprocessor, or sensors

11

Scalability

Page 12: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks Microkernel

Standard VxWorks Kernel

• Multi-core with big and small core configurations

• Offload of important or repetitive tasks for maximum

processing efficiency

Designed for Big-Little Core Configurations

12

Scalability

Page 13: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Why should I care?

Why should I care?

13

Page 14: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Impact Value

Scalability: Reducing Time-to-Market at Lower Cost

Single software platform for small and large applications

Use common technology, lowering

the cost of the BSP, certification,

security, and engineers.

>$1M for companies with more than 5 projects

Patches only when and where

needed Avoid major testing efforts across

the platform, saving $$$. 3 man months for each incident

Frequent updates as technology

and markets evolve

Become competitive without the

risk of breaking fielded devices.

Strategic impact on overall business and profitability

14

Page 15: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Security Safety

Scalability

Page 16: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks 7 Core Platform

Safety Profiles

Medical

Transportation

Avionics

Industrial

VxWorks 7 Scales in Functionality for

Safety-Certified Applications Safety

16

Page 17: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks 7 Core Platform

Safety Critical Application

SIL 3

New partitioning components provide robust

separation of time, space, and resources.

Non-Safe Application

Safety Partitioning Module

Enhanced Safety Partitioning

Core #1 Core #2 Core #n

Safety

17

Page 18: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Why should I care?

Why should I care?

18

Page 19: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Impact Value

Safety: Reduce Cost by Consolidation of Applications

Run safe and non-safe applications on the same device.

Save big costs in hardware,

maintenance, and inventory

40% reduction in BOM cost, overall savings of up to 60%

Update non-safe applications without recertification of the device.

Allow frequent modification of the device without spending time and money.

At least $500K in savings with strategic competitive edge

19

Page 20: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Security Safety

Scalability

Page 21: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Designing with “Just Enough Security” Security

21

Flexible implementation to

match the level of threat

All threat scenarios

addressed

Page 22: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Storage (on device)

Environment (where installed)

Access Points (in operation)

Accessing Threat Scenarios Across the Device Lifecycle

Security

22

Page 23: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Boot Run Time Power Down

Design

Prevent malicious code in development

Prevent untrusted

binaries from executing

Prevent malicious attacks in operation

Prevent onboard data access when

at rest

Four Pillars of Security Provided by VxWorks Security

23

Page 24: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Why should I care?

Why should I care?

24

Page 25: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Impact Value

Security: Reduce Cost with Just Enough Security

Comprehensive security solution across major threat environment

Competitive advantage by offering

a solid, secure device

Flexibility in designing minimal set

of security necessary for the device Cost savings as the CPU is only

minimally used for security

25

Page 26: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Virtualization

Key Enhanced Platform Values

Graphics

Connectivity

26

Page 27: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Foundation for Virtualization

27

VxWorks 7 Core OS Platform

Core #1 Core #2 Core #n

VxWorks Hypervisor

VxWorks Linux Windows

Page 28: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Mouse

Open Standards for Input/Output Device Drivers

Keyboard

Touchscreen

2D Graphics Stack OpenVG Standards

New Graphics Offering Graphics

28

GPU Drivers

Displays

3D Graphics Stack OpenGL ES Standards

Tilcon Graphical

Designer Tool

Page 29: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

• Bluetooth, BLE, L2CAP, Health Device Profile

• CAN protocols

• FireWire (IEEE 1394)

• Continua stack for home medical applications

• USB

• Dual-mode IPv4/IPv6 with IPv6-Ready Logo certification

Support for Industry Standard Connectivity Protocols

29

Page 30: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Wind River Workbench Tool Suite New State-of-the-Art System Analysis Package

Page 31: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Traditional way of optimizing system

Code

Unit Test

Integrate

Code

Unit Test

Code

Unit Test

Binary Image Run

Optimizations

Page 32: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Decentralize optimizations

Code

Unit Test

Integrate

Code

Unit Test

Code

Unit Test

Binary Image

Run Optimizations

Optimize Optimize

Page 33: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Instant, Transparent View of System Behavior

• Get instant access to code and system behavior in great detail—of code, function stack, memory bytes, cache hits, and more.

• Instantly optimize code and detect problems, memory leaks, and interlocks under the same context.

Page 34: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Dynamic Code Insertion

Software running production

binaries

Insert Dynamic Printfs

Replace functions dynamically

Insert code snippets at any line number

34 | © 2014 Wind River. All Rights Reserved.

Page 35: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks 7 Platform

Cloud Connectivity Kit

Secure Connection

Remote Upgrade

Application Launcher

Foundation for Edge Management System and Intelligent Device Platform

Edge Management System • Event-based rules engine • Data visualization • API access to data

Page 36: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

VxWorks – Marketplace

36

• Allows Wind River and

eco-system partners to

quickly distribute new

packages

• Access to hundreds of

applications for users

• Allows eco-system partners to

use Wind River distribution

network

Page 37: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

37

Page 38: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Edge Devices

Aggregators, Gateways, Controllers

Intelligent Systems

Cloud Networks

VxWorks: The RTOS for the Internet of Things

38

Page 39: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the

Contact Us

To learn more, visit Wind River at :http://www.windriver.com

Email: [email protected]

Wind River Sina Weibo,

@Wind River http://weibo.com/windriverchina

Beijing Office Tel:010-84777100

Shanghai Office Tel:021-63585586/87/89/90

Shenzhen Office Tel:0755-25333408/3418/4508/4518

Xi’an Office Tel:029-87607208

Chengdu Office Tel:028-65318000

Page 40: Liang Buliang RTOS FOR THE INTERNET OF THINGS: …cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0599.pdfRTOS FOR THE INTERNET OF THINGS: VxWORKS 7 Liang Buliang ... the