SlideShare ist ein Scribd-Unternehmen logo
1 von 55
Downloaden Sie, um offline zu lesen
Paving the path to convergence
with Ubuntu phone
Shanghai MWC- Innovation Lab
2015-07-16 15:30 – 16:30
Rex Tsai
Customer Solutions, Commercial Engineering, Ubuntu Engineering and Services
We are the company
behind Ubuntu.
乌班图 (Ubuntu) 是
科能 (Canonical) 公司的产品。
公 司 概 述
伦敦
波士顿 北京
台北
有 关 Canonical 和 Ubuntu
员工
690+
国家
30+
公司成立
2004
Canonical 是 Ubuntu 系统的商业支持者,从
2004 年起,并肩一支强大热情的开发者社区
团队共同开发操作系统。
Ubuntu 是一款开源的电脑操作系统,目前
已被广泛应用到云技术和个人计算机运作
( PC, 手机,平板和电视)。
世界上第三大最流行的电脑操作系统
超过 90% 的 Linux 市场份额
25,000,000 个用户
分布于 240 个国家,并在不断成长
一个充满热情的开发者社区
cn.developer.ubuntu.com
超过 4 千万的电脑预装
包括戴尔 , 惠普及联想
Ubuntu 操 作 系 统
Ubuntu 手机产品
bq Aquaris E4.5
Connectivity
GSM/GPRS/EDGE/WCDMA
/HSPA+
CPU
Quad A7/1.3GHz
RAM
1GB
Sensors
Gyroscope, Proximity,
Light
Screen
5” HD 720 x 1280 - 294 ppi
Camera
5MP Fixed Focus+13MP
Autofocus
Dual Flash
SIM
Dual micro sim
Battery
2500mAh
bq Aquaris E5 HD
Connectivity
GSM/GPRS/EDGE/WCDMA
/HSPA+
CPU
Quad A7/1.3GHz
RAM
1GB
Sensors
Brightness sensor,
Proximity sensor,
Accelerometer, ECompass,
Gyroscope
Screen
4.5”qHD (960x540)
Camera
5MP Fixed Focus+13MP
Autofocus
Dual Flash
SIM
Dual micro sim
Battery
2150mAh
Meizu MX4 Ubuntu Edition
Screen
5.1” 1800 × 1080 resolution
Camera
Front and rear cameras 1080p
capable
SIM
Micro sim
Battery
2320mAh
CPU
Quad A15 + Quad A7
(1.7GHz)
RAM
2GB
Connectivity
GSM/GPRS/EDGE/WCDMA
/HSPA+
Sensors
Touch sensor,ambient
light sensor, IR proximity
sensor,accelerometer,elec
tronic compass,gyroscope
Ubuntu 智 能 手 机 简 介
–边缘魔力 通过手机的四个边进行交互
出众的个性化
在应用之间的切换干净利落
不需要 home 键
在应用之间切换比其它任何手机都快
只滑动一下内容立马可见
漂亮的 Scope 页面使我们看见用户在手
–机上的互动 一直变化并且完全个性化
左边滑动
快速地访问最喜欢
的及默认的应用
边缘手势操作
新一代手机平台
WELCOME TO A NEW KIND OF PHONE !
内容和服务直接呈现在你的屏幕上
Scope 的数据流
Ubuntu Scopes - 数据流
> 基于安卓 Linux 内核与驱动软件,借由 Android Abstraction Level 抽象层
提供直接的硬体设备访问功能。
> 借由 Unity8 提供 Shell, Home 以及各种应用显示界面。
> Ubuntu SDK 提供开发者用于开发 Apps 与 Scopes 的统一 API 。
Apps Scopes Shell, Home
Linux Kernel
Ubuntu Platform
Libraries: OpenGL ES, WiFi, Sensors
(In binary form, from Android)
Unity 8, QT, Application Services
AAL
Android Devices Drivers
Ubuntu 手 机 平 台 的 软 件 结 构
Ubuntu 安全特性
新的运用模式:优化及安全
> 应用和应用之间是独立分开的,并且在默认
 的情况下是互相被保护的
> 利用平台技术:著名的 AppArmor
> 应用必须向 OS 请求权限来访问用户数据
> 优化系统来延长电池的寿命及内存的使用
后台运行的应用被挂起( suspended ),除非他们
通过专有的 API 明确地请求不这样
> 简化安装及包装
应用集成它自己的依赖库 dependencies (libraries)
卸载应用时将自动删除所有安装的东西
http://goo.gl/kesZdb
Ubuntu 手 机 平 台 应 用 的 运 行 模 式
基于 AppArmor
● AppArmor Linux 内核安全模块
o
强制访问控制 (Mandatory Access Control)
o
基于路径名称
o
易于理解的安全策略
● Ubuntu SDK 提供以下安全策略
o
不同应用类型的样板

QML app vs WebApp vs trusted app
o
应用权限的类别
 audio
 camera
 networking
 etc.
应用禁闭空间 - 信任小帮手
MyApp
(confined)
LocationContentHub
Trust
Store
Cache
Gallery
Content
Provider
(confined)
Interne
t
Accounts
Accounts
DB Cache
Gallery
Data
Silo
App 透过 CotentHub 唤起软
件进行图片汇入 操作
应用透过 Location Services 取得地
理位置,允许后会记下默认权限。
应用透过 Accounts services 取得
被授权的用户鉴权资料
–安全设计 应用权限的类别 (Policy Groups)
● 例子 : 地理资料
o
非置信应用宣告 “ location” policy group
o
非置信应用要求存取经纬度
o
系统提示是否给予权限
●
若用户拒绝应用仍可持续运作
●
地理权限在系统中被长期授予
● 例子 : 联络人与通讯录
o
非置信应用要求存取连论人
o
系统通讯录列出联络人资料
o
用户选择需要汇入的联络人
o
只有被选择的联络人会被送到非置信应用
Ubuntu 融合操作系统 一路走来
Ubuntu for Android 透过底座外接
屏幕与键盘的安卓手机上融合了办公
软件、网页浏览器、电子邮件、影音
播放等软件。
两个操作系统间共享所有的服务与内
容。带著安卓跑,办公用乌班图桌面
环境。
掌上办公室
Ubuntu for Android 架构图
操作系统 - 融合
单一平台
支持多种 form factors
完全融合操作系统
支持台式机、智能手机、平
板与 IoT
单一开发架构
创建跨产品的产品应用与服务
以及
系统安全、用户管理与支付系统
个人计算机运作的未来
同一操作系统平台可在多个设备上运行。开发一次,就可以在多个不同屏幕
尺寸的设备上使用。手机或平板电脑可以成为你最核心最重要的个人装置。
Ubuntu – 融合操作系统 - 新发展
视频演示
MWC 2015: Meizu MX4 Ubuntu & Convergence Demo By LowyatTV
https://www.youtube.com/watch?v=dl4R-iI9JHQ
http://v.youku.com/v_show/id_XMTI4OTQwMDAxMg==.html
视频演示
Dekko demo by Daniel Chapman
https://plus.google.com/114760723716576457396/posts/7VNf4vrf1
YW
http://v.youku.com/v_show/id_XMTI4NDIyODg2MA==.html
Pocket Desktop 重要功能
● “第一个提供桌面工作环境、运行在智能手机硬件上的 converged OS”
● 透过蓝芽鼠标与键盘以及外接屏幕提供全面的 Ubuntu Unity 8 桌面体验
● 同时可以运作于桌面与移动环境的「融合应用」 (Converged applications
)
● 有个人电脑操作体验的手机、为用户提供了强大的行动生产力
● 重点支持软件开发工具 i.e. the Ubuntu SDK/IDE/UITK
Productivity
applications
Libre Office, Dropbox,
Converged Oxide
browser, Chromium
browser, Document
viewer, Dekko email
Enterprise
services
VDI Integration, Citrix,
VMWare, Google Apps
Mobile and
desktop
VoIP
Telegram, RCS
Key mobile
applications
Here Maps, Evernote,
GMail, Ubuntu Store
Subscription
content
Netflix (potentially
many other content
providers)
Social
networking
Facebook, Twitter
Core
applications
Clock, Weather,
Calculator, Music Player,
Gallery
行动力与生产力
Primary applications and services supported on Unity 8 from beta
release
关键应用的平台类型
X applications (desktop
based) pre-packaged
Libre Office; Chromium browser; SDK/Qt
Creator; gedit; IRC Client
Converged core applications
(mobile apps supported with
desktop interface)
Ubuntu Browser; Dekko; Music Player; Calendar;
Document Viewer; Terminal
Converged mobile and
desktop communication
Messaging; Address Book; Snap decisions/alerts;
Telegram
Application Scope Filtering for desktop applications
Relevant mobile apps Libre Office Viewer
Enterprise services (optional) VDI Integration; Citrix; VMWare
发展方向
● Unity8
– new window switcher, Slim greeter mutli user, Slim greeter encrypted disk, Slim greeter
encrypted disk
– Multi-monitor support
– Rework custom notifications for Pocket-desktop,
● Mir
– Input as a platform, rid Mir of android input.
– Window management for QtMir.
– Copy/Paste/Drag/Drop support
● Legacy App support
– specialized deb container creation/setup/teardown and application
installation/removal/launch
– management UI for container and application installation/inspection/removal
– ubuntu-app-launcher changes to support launching XMir and Libertine apps. ubuntu-app-
launcher changes to support launching XMir and Libertine apps
Ubuntu 15.10
● Unity8 UX (not full desktop
parity)
● Selected Xapp support for
snap trial
● Convertible capability
Snappy Personal 15.10
MVP (Wily)
● Unity8 UX
● Selected Xapp support for
Pocket-Desktop
● Convertible capability
Touch 15.10
(vivid+overlay)
Unity 8 WM
Mir Session Compositor
Toolkit
Qt/QML
apps
OpenGL/
GLES
EGL MS
● Unity 7 UX
● Deb based
Unity7 Deb based Desktop
15.10 (Wily)
OpenGL/
GLES
EGL MS
Traditional X
Compiz WM
Toolkit
Unity 7
X apps
Mir System Compositor
Mir System Compositor
Unity 8 WM
Mir Session Compositor
Rootless X
Toolkit
Qt/QML
apps
OpenGL/
GLES
EGL MS
Toolkit
X apps
Rootless
Xapps
视频演示
Music App running on Ubuntu Phone emulator, Ubuntu 15.04 desktop
and Ubuntu Next 15.04 in Tablet mode
https://launchpad.net/music-app
https://www.youtube.com/watch?v=T0-lDed2YO4
http://v.youku.com/v_show/id_XMTI4OTQxMzE2NA==.html
视频演示
Ubuntu Notes app Phone vs Desktop/Tablet form factors
running Ubuntu Notes app on Ubuntu 15.10 - Phone vs
Desktop/Tablet form factors
source code https://launchpad.net/reminders-app
https://www.youtube.com/watch?v=U6stA3JpoFg
http://v.youku.com/v_show/id_XMTI3OTY0MDkxNg==.html
Grid Unit Calculation
网格系统 | Grid System
● 如主屏幕直放时屏幕短边是 40,50, 90 三种长度单位,屏幕长边则可
变动
● 如主屏幕横放时,屏幕长边的宽度则为主要长度。基于屏幕实际的物理
大小进行规划判断。
● 最重要的规则,方形图形必须保持方形,不该因为屏幕大小变动被拉长
或压缩而失真。
Landscape Grid Units Count Calculation
UI Toolkit -15.04
● Settings API
● Ubuntu.Web
● ComboButton
● Header replaces bottom toolbar
● PullToRefresh
● Ubuntu.DownloadManager
● Ubuntu.Connectivity
● Internationalization related
improvements
● Polishing the haptics feedback
of components
● Fixes in the ActivityIndicator
● UX improvements of the
TextField/TextArea
Dialog component
improvements
● ListItem
● New UbuntuShape rendering
properties
● New Header
未来发展
●
Application convergence
●
Foundations and tools - distro independent (snappable) SDK tools and UITK
with Qt 5.4
●
UI Toolkit 2.0
●
Device mode (aka capability) detection
●
Focus handling
●
Key navigation – Tab/Shift+Tab
●
Scrollbars
●
Tooltips
●
Date and Time Pickers
●
Dropdown Menus & popovers
●
Expandables, ListItems module
●
Panels behaviour & MultiColumnView
Key points
> 透过 oxide 支持标准 HTML5
> 单一、简单的 HTML5 应用类型
> 支持原生应用
> 使用完整平台接口
> 预先整合 Cordova/PhoneGap
runtime
> 更多资料 :
http://developer.ubuntu.com/apps/html-5/
Ubuntu HTML5 SDK
Ubuntu OS (runtime)
Ubuntu
HTML5 container
Ubuntu HTML5 Widgets
Platform APIs
Cordova pluginsPlatform API bindings
Ubuntu Web View
unity-bindings
Webapps Architecture
Firefox
Webapp container (Oxide)
Ubuntu
Touch
Apps
Desktop
Apps
"Glue code"
System access
Messaging Menu
Launcher
HUD
Sound Menu
Push Notification
& other system services
Webapps
QML/JS bridge
Other Trusted System
Helpers (OA, Content
Hub, Media Hub, etc.)
Runtime API
support
C.H. Support
M.H. Support
WebApp
Code
Browser Extension
Chromium
Browser Extension
Install from the
browser
Online Accounts Overview
Online
Accounts
APIUbuntu
Touch
Apps
Desktop
Apps
signond
OA Plugins
Desktop System
Settings
(X11/Gnome)
OA PluginsOA Plugins
(OAuth)
3rd-party plugins
(identity, service)
Identity
API key
Signon-UI
Touch System
Settings
Signon-UI
Ubuntu Snappy
Snappy Ubuntu Core: Snappy 架构
kernel snap
os snap
app
snap
app
snap
app writable
area
app writable
area
Apps are contained
and isolated
app
snap
app writable
area
app
snap
app writable
area
hardware
● Read-only spaces
○ Kernel snap
○ OS snap
○ App snaps
● Writable spaces
○ Specific files only
● Traditional Ubuntu
○ Any package could write to any file
Snappy Ubuntu Core: Writable Space Architecture
Snappy Ubuntu Core: Example Appliance
弹性 : 轻松透过 WebDM 配置
“web device manager” 是一个网页管理界面,可以用来安装软件包或控制
Snappy 装置
#snappy install webdm
#firefox http://webdm.local:4200
合作伙伴利用 Ubuntu 技术开发点对点的 IoT, Big Data 与 Cloud 方案,来解决
复杂的问题
IoT 智能路由
Please don't share publicly without checking with asac@canonical.com
Intel IOT Gateway with Snappy Ubuntu Core
Please don't share publicly without checking with asac@canonical.com
GE’s FirstBuild Fridge to a drone with apps|
快速成长的生态系统
Leverage a growing community of partners in our Snap store
Snappy Ubuntu Core
● 操作系统与应用文件是完全分开的
○ 截然不同的唯独映像文件
● 使用 transactional, image-based, delta updates 更新机制
○ 可以随时被复原
● 系统文件是唯读的
○ 不可入侵、破坏
○ 可以完美的更新,免去版本兼容问题
● 签章与指纹保护用户只使用来自原开发者的应用
● 差异化更新机制保证使用最少流量
Snappy Ubuntu Personal
欢迎提问
谢谢
蔡志展
rex.tsai@canonical.com
canonical.com
ubuntu.com

Weitere ähnliche Inhalte

Mehr von Rex Tsai

以 Leaflet 濫用^H^H呈現開放街圖資料
以 Leaflet 濫用^H^H呈現開放街圖資料以 Leaflet 濫用^H^H呈現開放街圖資料
以 Leaflet 濫用^H^H呈現開放街圖資料Rex Tsai
 
Everest basecamp & gokyo trekking
Everest basecamp & gokyo trekkingEverest basecamp & gokyo trekking
Everest basecamp & gokyo trekkingRex Tsai
 
Oepn Street Map Batch edting via API
Oepn Street Map Batch edting via APIOepn Street Map Batch edting via API
Oepn Street Map Batch edting via APIRex Tsai
 
Screencasting
ScreencastingScreencasting
ScreencastingRex Tsai
 
以開源軟體與 Open Street Map 規劃登山行程
 以開源軟體與 Open Street Map 規劃登山行程 以開源軟體與 Open Street Map 規劃登山行程
以開源軟體與 Open Street Map 規劃登山行程Rex Tsai
 
Modern Linux Desktop Stack
Modern Linux Desktop StackModern Linux Desktop Stack
Modern Linux Desktop StackRex Tsai
 
Get your FLOSS problems solved
Get your FLOSS problems solvedGet your FLOSS problems solved
Get your FLOSS problems solvedRex Tsai
 
遺失的時代精神 - Zeitgeist and GNOME Activity Journal
遺失的時代精神 - Zeitgeist and GNOME Activity Journal遺失的時代精神 - Zeitgeist and GNOME Activity Journal
遺失的時代精神 - Zeitgeist and GNOME Activity JournalRex Tsai
 
Layer 8 - Open source communities and your product
Layer 8  - Open source communities and your productLayer 8  - Open source communities and your product
Layer 8 - Open source communities and your productRex Tsai
 
A Study of SVG-based Application Development @ OSDC 2010
A Study of SVG-based Application Development @ OSDC 2010A Study of SVG-based Application Development @ OSDC 2010
A Study of SVG-based Application Development @ OSDC 2010Rex Tsai
 
OpenWrt Case Study 2008
OpenWrt Case Study 2008OpenWrt Case Study 2008
OpenWrt Case Study 2008Rex Tsai
 
OpenWrt101 2007
OpenWrt101 2007OpenWrt101 2007
OpenWrt101 2007Rex Tsai
 
OpenLab.Taipei #2 PORTA2030 Extra
OpenLab.Taipei #2 PORTA2030 ExtraOpenLab.Taipei #2 PORTA2030 Extra
OpenLab.Taipei #2 PORTA2030 ExtraRex Tsai
 
OpenLab.Taipei #2 PORTA2030
OpenLab.Taipei #2 PORTA2030OpenLab.Taipei #2 PORTA2030
OpenLab.Taipei #2 PORTA2030Rex Tsai
 
OpenWRT, A value-add base solution for your product. (1st part, chihchun)
OpenWRT, A value-add base solution for your product. (1st part, chihchun)OpenWRT, A value-add base solution for your product. (1st part, chihchun)
OpenWRT, A value-add base solution for your product. (1st part, chihchun)Rex Tsai
 

Mehr von Rex Tsai (15)

以 Leaflet 濫用^H^H呈現開放街圖資料
以 Leaflet 濫用^H^H呈現開放街圖資料以 Leaflet 濫用^H^H呈現開放街圖資料
以 Leaflet 濫用^H^H呈現開放街圖資料
 
Everest basecamp & gokyo trekking
Everest basecamp & gokyo trekkingEverest basecamp & gokyo trekking
Everest basecamp & gokyo trekking
 
Oepn Street Map Batch edting via API
Oepn Street Map Batch edting via APIOepn Street Map Batch edting via API
Oepn Street Map Batch edting via API
 
Screencasting
ScreencastingScreencasting
Screencasting
 
以開源軟體與 Open Street Map 規劃登山行程
 以開源軟體與 Open Street Map 規劃登山行程 以開源軟體與 Open Street Map 規劃登山行程
以開源軟體與 Open Street Map 規劃登山行程
 
Modern Linux Desktop Stack
Modern Linux Desktop StackModern Linux Desktop Stack
Modern Linux Desktop Stack
 
Get your FLOSS problems solved
Get your FLOSS problems solvedGet your FLOSS problems solved
Get your FLOSS problems solved
 
遺失的時代精神 - Zeitgeist and GNOME Activity Journal
遺失的時代精神 - Zeitgeist and GNOME Activity Journal遺失的時代精神 - Zeitgeist and GNOME Activity Journal
遺失的時代精神 - Zeitgeist and GNOME Activity Journal
 
Layer 8 - Open source communities and your product
Layer 8  - Open source communities and your productLayer 8  - Open source communities and your product
Layer 8 - Open source communities and your product
 
A Study of SVG-based Application Development @ OSDC 2010
A Study of SVG-based Application Development @ OSDC 2010A Study of SVG-based Application Development @ OSDC 2010
A Study of SVG-based Application Development @ OSDC 2010
 
OpenWrt Case Study 2008
OpenWrt Case Study 2008OpenWrt Case Study 2008
OpenWrt Case Study 2008
 
OpenWrt101 2007
OpenWrt101 2007OpenWrt101 2007
OpenWrt101 2007
 
OpenLab.Taipei #2 PORTA2030 Extra
OpenLab.Taipei #2 PORTA2030 ExtraOpenLab.Taipei #2 PORTA2030 Extra
OpenLab.Taipei #2 PORTA2030 Extra
 
OpenLab.Taipei #2 PORTA2030
OpenLab.Taipei #2 PORTA2030OpenLab.Taipei #2 PORTA2030
OpenLab.Taipei #2 PORTA2030
 
OpenWRT, A value-add base solution for your product. (1st part, chihchun)
OpenWRT, A value-add base solution for your product. (1st part, chihchun)OpenWRT, A value-add base solution for your product. (1st part, chihchun)
OpenWRT, A value-add base solution for your product. (1st part, chihchun)
 

Paving the path to convergence with ubuntu phone

  • 1. Paving the path to convergence with Ubuntu phone Shanghai MWC- Innovation Lab 2015-07-16 15:30 – 16:30 Rex Tsai Customer Solutions, Commercial Engineering, Ubuntu Engineering and Services
  • 2. We are the company behind Ubuntu. 乌班图 (Ubuntu) 是 科能 (Canonical) 公司的产品。
  • 3. 公 司 概 述 伦敦 波士顿 北京 台北 有 关 Canonical 和 Ubuntu 员工 690+ 国家 30+ 公司成立 2004 Canonical 是 Ubuntu 系统的商业支持者,从 2004 年起,并肩一支强大热情的开发者社区 团队共同开发操作系统。 Ubuntu 是一款开源的电脑操作系统,目前 已被广泛应用到云技术和个人计算机运作 ( PC, 手机,平板和电视)。
  • 4. 世界上第三大最流行的电脑操作系统 超过 90% 的 Linux 市场份额 25,000,000 个用户 分布于 240 个国家,并在不断成长 一个充满热情的开发者社区 cn.developer.ubuntu.com 超过 4 千万的电脑预装 包括戴尔 , 惠普及联想 Ubuntu 操 作 系 统
  • 6. bq Aquaris E4.5 Connectivity GSM/GPRS/EDGE/WCDMA /HSPA+ CPU Quad A7/1.3GHz RAM 1GB Sensors Gyroscope, Proximity, Light Screen 5” HD 720 x 1280 - 294 ppi Camera 5MP Fixed Focus+13MP Autofocus Dual Flash SIM Dual micro sim Battery 2500mAh
  • 7. bq Aquaris E5 HD Connectivity GSM/GPRS/EDGE/WCDMA /HSPA+ CPU Quad A7/1.3GHz RAM 1GB Sensors Brightness sensor, Proximity sensor, Accelerometer, ECompass, Gyroscope Screen 4.5”qHD (960x540) Camera 5MP Fixed Focus+13MP Autofocus Dual Flash SIM Dual micro sim Battery 2150mAh
  • 8. Meizu MX4 Ubuntu Edition Screen 5.1” 1800 × 1080 resolution Camera Front and rear cameras 1080p capable SIM Micro sim Battery 2320mAh CPU Quad A15 + Quad A7 (1.7GHz) RAM 2GB Connectivity GSM/GPRS/EDGE/WCDMA /HSPA+ Sensors Touch sensor,ambient light sensor, IR proximity sensor,accelerometer,elec tronic compass,gyroscope
  • 9. Ubuntu 智 能 手 机 简 介
  • 10. –边缘魔力 通过手机的四个边进行交互 出众的个性化 在应用之间的切换干净利落 不需要 home 键 在应用之间切换比其它任何手机都快 只滑动一下内容立马可见 漂亮的 Scope 页面使我们看见用户在手 –机上的互动 一直变化并且完全个性化 左边滑动 快速地访问最喜欢 的及默认的应用 边缘手势操作
  • 11. 新一代手机平台 WELCOME TO A NEW KIND OF PHONE ! 内容和服务直接呈现在你的屏幕上
  • 13. > 基于安卓 Linux 内核与驱动软件,借由 Android Abstraction Level 抽象层 提供直接的硬体设备访问功能。 > 借由 Unity8 提供 Shell, Home 以及各种应用显示界面。 > Ubuntu SDK 提供开发者用于开发 Apps 与 Scopes 的统一 API 。 Apps Scopes Shell, Home Linux Kernel Ubuntu Platform Libraries: OpenGL ES, WiFi, Sensors (In binary form, from Android) Unity 8, QT, Application Services AAL Android Devices Drivers Ubuntu 手 机 平 台 的 软 件 结 构
  • 15. 新的运用模式:优化及安全 > 应用和应用之间是独立分开的,并且在默认  的情况下是互相被保护的 > 利用平台技术:著名的 AppArmor > 应用必须向 OS 请求权限来访问用户数据 > 优化系统来延长电池的寿命及内存的使用 后台运行的应用被挂起( suspended ),除非他们 通过专有的 API 明确地请求不这样 > 简化安装及包装 应用集成它自己的依赖库 dependencies (libraries) 卸载应用时将自动删除所有安装的东西 http://goo.gl/kesZdb Ubuntu 手 机 平 台 应 用 的 运 行 模 式
  • 16. 基于 AppArmor ● AppArmor Linux 内核安全模块 o 强制访问控制 (Mandatory Access Control) o 基于路径名称 o 易于理解的安全策略 ● Ubuntu SDK 提供以下安全策略 o 不同应用类型的样板  QML app vs WebApp vs trusted app o 应用权限的类别  audio  camera  networking  etc.
  • 17. 应用禁闭空间 - 信任小帮手 MyApp (confined) LocationContentHub Trust Store Cache Gallery Content Provider (confined) Interne t Accounts Accounts DB Cache Gallery Data Silo App 透过 CotentHub 唤起软 件进行图片汇入 操作 应用透过 Location Services 取得地 理位置,允许后会记下默认权限。 应用透过 Accounts services 取得 被授权的用户鉴权资料
  • 18. –安全设计 应用权限的类别 (Policy Groups) ● 例子 : 地理资料 o 非置信应用宣告 “ location” policy group o 非置信应用要求存取经纬度 o 系统提示是否给予权限 ● 若用户拒绝应用仍可持续运作 ● 地理权限在系统中被长期授予 ● 例子 : 联络人与通讯录 o 非置信应用要求存取连论人 o 系统通讯录列出联络人资料 o 用户选择需要汇入的联络人 o 只有被选择的联络人会被送到非置信应用
  • 20. Ubuntu for Android 透过底座外接 屏幕与键盘的安卓手机上融合了办公 软件、网页浏览器、电子邮件、影音 播放等软件。 两个操作系统间共享所有的服务与内 容。带著安卓跑,办公用乌班图桌面 环境。 掌上办公室
  • 21. Ubuntu for Android 架构图
  • 22. 操作系统 - 融合 单一平台 支持多种 form factors 完全融合操作系统 支持台式机、智能手机、平 板与 IoT 单一开发架构 创建跨产品的产品应用与服务 以及 系统安全、用户管理与支付系统
  • 25. 视频演示 MWC 2015: Meizu MX4 Ubuntu & Convergence Demo By LowyatTV https://www.youtube.com/watch?v=dl4R-iI9JHQ http://v.youku.com/v_show/id_XMTI4OTQwMDAxMg==.html
  • 26. 视频演示 Dekko demo by Daniel Chapman https://plus.google.com/114760723716576457396/posts/7VNf4vrf1 YW http://v.youku.com/v_show/id_XMTI4NDIyODg2MA==.html
  • 27. Pocket Desktop 重要功能 ● “第一个提供桌面工作环境、运行在智能手机硬件上的 converged OS” ● 透过蓝芽鼠标与键盘以及外接屏幕提供全面的 Ubuntu Unity 8 桌面体验 ● 同时可以运作于桌面与移动环境的「融合应用」 (Converged applications ) ● 有个人电脑操作体验的手机、为用户提供了强大的行动生产力 ● 重点支持软件开发工具 i.e. the Ubuntu SDK/IDE/UITK
  • 28. Productivity applications Libre Office, Dropbox, Converged Oxide browser, Chromium browser, Document viewer, Dekko email Enterprise services VDI Integration, Citrix, VMWare, Google Apps Mobile and desktop VoIP Telegram, RCS Key mobile applications Here Maps, Evernote, GMail, Ubuntu Store Subscription content Netflix (potentially many other content providers) Social networking Facebook, Twitter Core applications Clock, Weather, Calculator, Music Player, Gallery 行动力与生产力 Primary applications and services supported on Unity 8 from beta release
  • 29. 关键应用的平台类型 X applications (desktop based) pre-packaged Libre Office; Chromium browser; SDK/Qt Creator; gedit; IRC Client Converged core applications (mobile apps supported with desktop interface) Ubuntu Browser; Dekko; Music Player; Calendar; Document Viewer; Terminal Converged mobile and desktop communication Messaging; Address Book; Snap decisions/alerts; Telegram Application Scope Filtering for desktop applications Relevant mobile apps Libre Office Viewer Enterprise services (optional) VDI Integration; Citrix; VMWare
  • 30. 发展方向 ● Unity8 – new window switcher, Slim greeter mutli user, Slim greeter encrypted disk, Slim greeter encrypted disk – Multi-monitor support – Rework custom notifications for Pocket-desktop, ● Mir – Input as a platform, rid Mir of android input. – Window management for QtMir. – Copy/Paste/Drag/Drop support ● Legacy App support – specialized deb container creation/setup/teardown and application installation/removal/launch – management UI for container and application installation/inspection/removal – ubuntu-app-launcher changes to support launching XMir and Libertine apps. ubuntu-app- launcher changes to support launching XMir and Libertine apps
  • 31. Ubuntu 15.10 ● Unity8 UX (not full desktop parity) ● Selected Xapp support for snap trial ● Convertible capability Snappy Personal 15.10 MVP (Wily) ● Unity8 UX ● Selected Xapp support for Pocket-Desktop ● Convertible capability Touch 15.10 (vivid+overlay) Unity 8 WM Mir Session Compositor Toolkit Qt/QML apps OpenGL/ GLES EGL MS ● Unity 7 UX ● Deb based Unity7 Deb based Desktop 15.10 (Wily) OpenGL/ GLES EGL MS Traditional X Compiz WM Toolkit Unity 7 X apps Mir System Compositor Mir System Compositor Unity 8 WM Mir Session Compositor Rootless X Toolkit Qt/QML apps OpenGL/ GLES EGL MS Toolkit X apps Rootless Xapps
  • 32. 视频演示 Music App running on Ubuntu Phone emulator, Ubuntu 15.04 desktop and Ubuntu Next 15.04 in Tablet mode https://launchpad.net/music-app https://www.youtube.com/watch?v=T0-lDed2YO4 http://v.youku.com/v_show/id_XMTI4OTQxMzE2NA==.html
  • 33. 视频演示 Ubuntu Notes app Phone vs Desktop/Tablet form factors running Ubuntu Notes app on Ubuntu 15.10 - Phone vs Desktop/Tablet form factors source code https://launchpad.net/reminders-app https://www.youtube.com/watch?v=U6stA3JpoFg http://v.youku.com/v_show/id_XMTI3OTY0MDkxNg==.html
  • 35. 网格系统 | Grid System ● 如主屏幕直放时屏幕短边是 40,50, 90 三种长度单位,屏幕长边则可 变动 ● 如主屏幕横放时,屏幕长边的宽度则为主要长度。基于屏幕实际的物理 大小进行规划判断。 ● 最重要的规则,方形图形必须保持方形,不该因为屏幕大小变动被拉长 或压缩而失真。
  • 36. Landscape Grid Units Count Calculation
  • 37. UI Toolkit -15.04 ● Settings API ● Ubuntu.Web ● ComboButton ● Header replaces bottom toolbar ● PullToRefresh ● Ubuntu.DownloadManager ● Ubuntu.Connectivity ● Internationalization related improvements ● Polishing the haptics feedback of components ● Fixes in the ActivityIndicator ● UX improvements of the TextField/TextArea Dialog component improvements ● ListItem ● New UbuntuShape rendering properties ● New Header
  • 38. 未来发展 ● Application convergence ● Foundations and tools - distro independent (snappable) SDK tools and UITK with Qt 5.4 ● UI Toolkit 2.0 ● Device mode (aka capability) detection ● Focus handling ● Key navigation – Tab/Shift+Tab ● Scrollbars ● Tooltips ● Date and Time Pickers ● Dropdown Menus & popovers ● Expandables, ListItems module ● Panels behaviour & MultiColumnView
  • 39.
  • 40. Key points > 透过 oxide 支持标准 HTML5 > 单一、简单的 HTML5 应用类型 > 支持原生应用 > 使用完整平台接口 > 预先整合 Cordova/PhoneGap runtime > 更多资料 : http://developer.ubuntu.com/apps/html-5/ Ubuntu HTML5 SDK Ubuntu OS (runtime) Ubuntu HTML5 container Ubuntu HTML5 Widgets Platform APIs Cordova pluginsPlatform API bindings Ubuntu Web View unity-bindings
  • 41. Webapps Architecture Firefox Webapp container (Oxide) Ubuntu Touch Apps Desktop Apps "Glue code" System access Messaging Menu Launcher HUD Sound Menu Push Notification & other system services Webapps QML/JS bridge Other Trusted System Helpers (OA, Content Hub, Media Hub, etc.) Runtime API support C.H. Support M.H. Support WebApp Code Browser Extension Chromium Browser Extension Install from the browser
  • 42. Online Accounts Overview Online Accounts APIUbuntu Touch Apps Desktop Apps signond OA Plugins Desktop System Settings (X11/Gnome) OA PluginsOA Plugins (OAuth) 3rd-party plugins (identity, service) Identity API key Signon-UI Touch System Settings Signon-UI
  • 44. Snappy Ubuntu Core: Snappy 架构 kernel snap os snap app snap app snap app writable area app writable area Apps are contained and isolated app snap app writable area app snap app writable area hardware
  • 45. ● Read-only spaces ○ Kernel snap ○ OS snap ○ App snaps ● Writable spaces ○ Specific files only ● Traditional Ubuntu ○ Any package could write to any file Snappy Ubuntu Core: Writable Space Architecture
  • 46. Snappy Ubuntu Core: Example Appliance
  • 47. 弹性 : 轻松透过 WebDM 配置 “web device manager” 是一个网页管理界面,可以用来安装软件包或控制 Snappy 装置 #snappy install webdm #firefox http://webdm.local:4200
  • 48. 合作伙伴利用 Ubuntu 技术开发点对点的 IoT, Big Data 与 Cloud 方案,来解决 复杂的问题 IoT 智能路由
  • 49. Please don't share publicly without checking with asac@canonical.com Intel IOT Gateway with Snappy Ubuntu Core
  • 50. Please don't share publicly without checking with asac@canonical.com GE’s FirstBuild Fridge to a drone with apps|
  • 51. 快速成长的生态系统 Leverage a growing community of partners in our Snap store
  • 53. ● 操作系统与应用文件是完全分开的 ○ 截然不同的唯独映像文件 ● 使用 transactional, image-based, delta updates 更新机制 ○ 可以随时被复原 ● 系统文件是唯读的 ○ 不可入侵、破坏 ○ 可以完美的更新,免去版本兼容问题 ● 签章与指纹保护用户只使用来自原开发者的应用 ● 差异化更新机制保证使用最少流量 Snappy Ubuntu Personal
  • 54.