MeeGo大体架构
智能手机市场如火如荼,Symbian去日苦多。MeeGo由Intel牵头,Nokia为主要贡献者。事实上是曾经两个失败了的项目Maemo和Moblin的合体,他基于Linux内核,开源。
上午读了一下大体架构,来源www.MeeGo.com。
User experience layer
该层是Meego应用程序和开发框架之间的部分,他的目的是为应用程序开发框架提供设备特性支持,譬如触控。目前包含Netbook和Handset两个部分。
Application API layer
该层提供应用程序界面展现支持,目前发布版本包括QT和OpenGL系列便携版本,更多特性尚在研发中。
Core OS layer
包含中间件功能和操作系统底层以及硬件适配服务。它包括Linux内核,对原生应用程序和web运行时库构建提供支持的中间件。这中间的硬件适配部分是为了满足使用MeeGo的不同硬件架构。
在该层中包括诸多子系统,如下:
•Security - Security framework and enablers
•Data Management - Meta-data storage
•Software Management - Package Management and software lifecycle
•System - Device State and Resource Policy Managmeent, Sensor, Context
•Location - Location Framework
•Graphics - X11, OpenGL, input and Display drivers
•Essentials - System essential libraries
•Multimedia - Multimedia related enablers and drivers
•Personal Information Management - Calendar, Contacts, Backup, and Sync
•Communication - VOIP, IM, Presence, Cellular Telephony, and IP Connectivity
•Qt - Qt, QtWRT, Qt Mobility
•Kernel - Linux Kernel and core drivers
硬件适配层屏蔽硬件差异。
以下是内核子系统详解:
Security(*)
提供操作系统平台的安全和用户认证。
Accounts 保护用户账户数据的安全,比如即时消息,电子邮件,日历和共享数据都在该api的保护之下。
Singl Sign-On 在不同的服务之间保护用户数据的安全和可信。
Integrity Protection Framework 可执行程序、配置信息和数据文件的完整性检查。
Certificate Manager 存储和验证电子邮件、wifi和浏览器的安全证书。
Software Distribution Security 保证软件发布的安全,包括新软件的安装和升级。
Access Control Framework 为设备提供访问控制
Security Adaptaion 把不同的安全和加密服务之间的平台差异抽象出来
Data Management
对元数据的管理,数据的抽取和搜索。
Content Frame 对媒体文件、文档进行搜索,索引和抽取文件。
Software Management
仅有Package Manager软件包管理这一个模块。
System
系统相关
System Control 负责设备状态和时间管理器
Resource Policy 对于插入设备诸如声音视频和系统策略管理
Startup Services 系统启动时刻相关组件
Context Framework 为多个设备上下文属性提供高层api
Sensor Adaptation 逻辑传感器提供对硬件的接口
Device Mode Adaptation 和设备类型有关的信息抽象,如加密狗,温度感应器等
Haptics and Vibra 触控和重力感应
Location
位置相关服务
Location Frameword 通过各种数据源提供位置信息,比如GPS、GSM、或者wifi网络
Location Adaptation 设备适配层,比如不同的GPS之间。
Kernel
内核
Linux Kernel 2.6.35
Personal Information Management
个人信息管理
Calendar Engine 日历
Contacts Engine 联系人
Email Engine 邮件
Backup Framework
Syncronization Framework 使用usb、蓝牙在不同的设备之间传输和同步日历、电子邮件、联系人。
Multimedia
音视频的回放、流和图像功能。通常关注某个声音视频文件的编码解码定位等等。
Imaging and video Adaption 编码和GStream的容器
Camera Adaptation
UPnP
Gstreamer
Audio Adaptaion
Pulse Audio
Essentials
Base Essentials 【不详】 等待读代码
Communications
通讯功能
Communications domain provides Cellular and IP Telephony, Instant Messaging, Presence, Bluetooth, and Internet Connectivity services.
•IP Telephony, Instant Messaging and Presence - Telepathy is a modular communications framework that enables real-time communication via pluggable protocol backends.
•Cellular Framework - oFono provides cellular telephony stack and services in MeeGo. Plugin based architecture supports multiple platforms and modems.
•ConnMan - Connection Manager provides services for managing internet connections.
•Bluetooth - The Bluetooth subsystem consists of the Linux Bluetooth stack BlueZ, as well as related extensions.
•Communication Adaptation - Platform specific modules for WiFi and Bluetooth devices and oFono plugins for different platforms and modems.
QT
主要是对QT运行时的一些支持。
Qt domain contains cross platform toolkits such as Qt, Qt Mobility, Qt WebKit, and Qt WebRuntime.
•Qt - Qt application and UI toolkit.
•Qt Mobility - Qt Mobility APIs for MeeGo.
•Qt Webkit - MeeGo provides Qt Webkit as a layout engine. It renders web content (HTML, XML, XHTML, SVG, CSS, JavaScript, etc.) for on-screen display within applications.
•Web Runtime - Provides an execution environment for Web Widgets and extends the standard JavaScript environment with device-specific APIs providing access to other subsystems.
Graphics
Graphics domain enables the core 2D and 3D graphics capabilities for the platform, including support for rendering internationalized text and taking advantage of underlying hardware platform acceleration for graphics. The Graphics domain includes the following subsystems:
•Font Management - Service to locate fonts within the system and select them according to requirements specified by applications
•Input Adaptation - Input adaptation abstracts the hardware behind drivers and exposes an input event interface for user space. Hardware buttons, qwerty keyboard, and touch screen are provided as input devices. Typical HW buttons are: power button, camera, volume up, and volume down.
•X11 - Implementation of the X11 Window system with architecture specific drivers, patches and configuration.
•OpenGL ES - Provides Khronos interfaces and implementation of OpenGL, OpenGLES and EGL. Includes also platform specific implementation of GL/ES driver and libraries.
•Display and Graphics Adaptation - Framebuffer and display panel related platform specific abstraction.
上午读了一下大体架构,来源www.MeeGo.com。
User experience layer
该层是Meego应用程序和开发框架之间的部分,他的目的是为应用程序开发框架提供设备特性支持,譬如触控。目前包含Netbook和Handset两个部分。
Application API layer
该层提供应用程序界面展现支持,目前发布版本包括QT和OpenGL系列便携版本,更多特性尚在研发中。
Core OS layer
包含中间件功能和操作系统底层以及硬件适配服务。它包括Linux内核,对原生应用程序和web运行时库构建提供支持的中间件。这中间的硬件适配部分是为了满足使用MeeGo的不同硬件架构。
在该层中包括诸多子系统,如下:
•Security - Security framework and enablers
•Data Management - Meta-data storage
•Software Management - Package Management and software lifecycle
•System - Device State and Resource Policy Managmeent, Sensor, Context
•Location - Location Framework
•Graphics - X11, OpenGL, input and Display drivers
•Essentials - System essential libraries
•Multimedia - Multimedia related enablers and drivers
•Personal Information Management - Calendar, Contacts, Backup, and Sync
•Communication - VOIP, IM, Presence, Cellular Telephony, and IP Connectivity
•Qt - Qt, QtWRT, Qt Mobility
•Kernel - Linux Kernel and core drivers
硬件适配层屏蔽硬件差异。
以下是内核子系统详解:
![]() |
Security(*)
提供操作系统平台的安全和用户认证。
Accounts 保护用户账户数据的安全,比如即时消息,电子邮件,日历和共享数据都在该api的保护之下。
Singl Sign-On 在不同的服务之间保护用户数据的安全和可信。
Integrity Protection Framework 可执行程序、配置信息和数据文件的完整性检查。
Certificate Manager 存储和验证电子邮件、wifi和浏览器的安全证书。
Software Distribution Security 保证软件发布的安全,包括新软件的安装和升级。
Access Control Framework 为设备提供访问控制
Security Adaptaion 把不同的安全和加密服务之间的平台差异抽象出来
Data Management
对元数据的管理,数据的抽取和搜索。
Content Frame 对媒体文件、文档进行搜索,索引和抽取文件。
Software Management
仅有Package Manager软件包管理这一个模块。
System
系统相关
System Control 负责设备状态和时间管理器
Resource Policy 对于插入设备诸如声音视频和系统策略管理
Startup Services 系统启动时刻相关组件
Context Framework 为多个设备上下文属性提供高层api
Sensor Adaptation 逻辑传感器提供对硬件的接口
Device Mode Adaptation 和设备类型有关的信息抽象,如加密狗,温度感应器等
Haptics and Vibra 触控和重力感应
Location
位置相关服务
Location Frameword 通过各种数据源提供位置信息,比如GPS、GSM、或者wifi网络
Location Adaptation 设备适配层,比如不同的GPS之间。
Kernel
内核
Linux Kernel 2.6.35
Personal Information Management
个人信息管理
Calendar Engine 日历
Contacts Engine 联系人
Email Engine 邮件
Backup Framework
Syncronization Framework 使用usb、蓝牙在不同的设备之间传输和同步日历、电子邮件、联系人。
Multimedia
音视频的回放、流和图像功能。通常关注某个声音视频文件的编码解码定位等等。
Imaging and video Adaption 编码和GStream的容器
Camera Adaptation
UPnP
Gstreamer
Audio Adaptaion
Pulse Audio
Essentials
Base Essentials 【不详】 等待读代码
Communications
通讯功能
Communications domain provides Cellular and IP Telephony, Instant Messaging, Presence, Bluetooth, and Internet Connectivity services.
•IP Telephony, Instant Messaging and Presence - Telepathy is a modular communications framework that enables real-time communication via pluggable protocol backends.
•Cellular Framework - oFono provides cellular telephony stack and services in MeeGo. Plugin based architecture supports multiple platforms and modems.
•ConnMan - Connection Manager provides services for managing internet connections.
•Bluetooth - The Bluetooth subsystem consists of the Linux Bluetooth stack BlueZ, as well as related extensions.
•Communication Adaptation - Platform specific modules for WiFi and Bluetooth devices and oFono plugins for different platforms and modems.
QT
主要是对QT运行时的一些支持。
Qt domain contains cross platform toolkits such as Qt, Qt Mobility, Qt WebKit, and Qt WebRuntime.
•Qt - Qt application and UI toolkit.
•Qt Mobility - Qt Mobility APIs for MeeGo.
•Qt Webkit - MeeGo provides Qt Webkit as a layout engine. It renders web content (HTML, XML, XHTML, SVG, CSS, JavaScript, etc.) for on-screen display within applications.
•Web Runtime - Provides an execution environment for Web Widgets and extends the standard JavaScript environment with device-specific APIs providing access to other subsystems.
Graphics
Graphics domain enables the core 2D and 3D graphics capabilities for the platform, including support for rendering internationalized text and taking advantage of underlying hardware platform acceleration for graphics. The Graphics domain includes the following subsystems:
•Font Management - Service to locate fonts within the system and select them according to requirements specified by applications
•Input Adaptation - Input adaptation abstracts the hardware behind drivers and exposes an input event interface for user space. Hardware buttons, qwerty keyboard, and touch screen are provided as input devices. Typical HW buttons are: power button, camera, volume up, and volume down.
•X11 - Implementation of the X11 Window system with architecture specific drivers, patches and configuration.
•OpenGL ES - Provides Khronos interfaces and implementation of OpenGL, OpenGLES and EGL. Includes also platform specific implementation of GL/ES driver and libraries.
•Display and Graphics Adaptation - Framebuffer and display panel related platform specific abstraction.