Paving the path to convergence with ubuntu phone
-
Upload
rex-tsai -
Category
Technology
-
view
506 -
download
1
Transcript of Paving the path to convergence with ubuntu phone
Paving the path to convergence with Ubuntu phone
Shanghai MWC- Innovation Lab2015-07-16 15:30 – 16:30
Rex TsaiCustomer 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
ConnectivityGSM/GPRS/EDGE/WCDMA/HSPA+
CPUQuad A7/1.3GHz
RAM1GB
SensorsGyroscope, Proximity, Light
Screen5” HD 720 x 1280 - 294 ppi
Camera5MP Fixed Focus+13MP AutofocusDual Flash
SIMDual micro sim
Battery2500mAh
bq Aquaris E5 HD
ConnectivityGSM/GPRS/EDGE/WCDMA/HSPA+
CPUQuad A7/1.3GHz
RAM1GB
SensorsBrightness sensor, Proximity sensor, Accelerometer, ECompass, Gyroscope
Screen4.5”qHD (960x540)
Camera5MP Fixed Focus+13MP AutofocusDual Flash
SIMDual micro sim
Battery2150mAh
Meizu MX4 Ubuntu Edition
Screen5.1” 1800 × 1080 resolution
CameraFront and rear cameras 1080p capable
SIMMicro sim
Battery2320mAh
CPUQuad A15 + Quad A7 (1.7GHz)
RAM2GB
ConnectivityGSM/GPRS/EDGE/WCDMA/HSPA+
SensorsTouch sensor,ambient light sensor, IR proximity sensor,accelerometer,electronic 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 PlatformLibraries: 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 appo 应用权限的类别
audio camera networking etc.
应用禁闭空间 - 信任小帮手
MyApp(confined)
LocationContentHub
Trust Store Cache
Gallery Content Provider(confined)
Internet
Accounts
Accounts DB Cache
Gallery Data Silo
App 透过 CotentHub 唤起软 件进行图片汇入操作
应用透过 Location Services 取得地理位置,允许后会记下默认权限。
应用透过 Accounts services 取得被授权的用户鉴权资料
– 安全设计 应用权限的类别 (Policy Groups)
● 例子 : 地理资料o 非置信应用宣告 “ location” policy groupo 非置信应用要求存取经纬度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/7VNf4vrf1YW
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/TextAreaDialog 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)
UbuntuHTML5 container
Ubuntu HTML5 Widgets
Platform APIs
Cordova pluginsPlatform API bindings
Ubuntu Web View
unity-bindings
Webapps Architecture
Firefox
Webapp container (Oxide)Ubuntu Touch Apps
DesktopApps
"Glue code"System access
Messaging MenuLauncher
HUDSound Menu
Push Notification& other system services
WebappsQML/JS bridge
Other Trusted System Helpers (OA, Content Hub, Media Hub, etc.)
Runtime API support
C.H. Support
M.H. Support
WebAppCode
Browser Extension
Chromium
Browser Extension
Install from the browser
Online Accounts Overview
OnlineAccounts
APIUbuntu Touch Apps
DesktopApps
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 [email protected]
Intel IOT Gateway with Snappy Ubuntu Core
Please don't share publicly without checking with [email protected]
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