Projects/Decibel (zh CN)

< Projects
Revision as of 13:13, 18 July 2012 by AnneW (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Decibel logo.png

Decibel是个实时通讯的软件框架。开发人员可以很方便的将他们自己的应用程序和功能添加上去并集成到各自的工作中。


用例

..KDE内:

  • Kopete即时消息客户端
  • Plasmoid for Presence-Information
  • Marble: 查看展示信息插件。
  • 用Telepathy-Tubes 实现协同编辑。Decibel起到一个中央中转站的功能。
  • 在其他程序中启动,使用即时通讯工具。

关于Decibel

Decibel: 统一通讯接口

概览

Decibel is implemented in a desktop wide server process, offering services via DBus. This daemon process is desktop agnostic and uses desktop dependent components (e.g. GUIs) to integrate into the users preferred desktop environment. Components are configured to be started in response to communication events. This saves resources and allows for users work with those components that work best for them.

Decibel uses telepathy compatible protocol implementations to connect to realtime communication servers. By using this open source standard, Decibel supports a wide range of communication protocols.

Decibel软件技术栈

   Decibel软件技术栈

提供服务

Decibel后台服务提供下列服务:

  • (通讯) 帐户管理 桌面用户可以在Decibel中维护他的通讯帐号, 这是个全局通用的界面,可以操作所有的协议。Decibel将确保所有设置过的帐号都会正确的在线离线.
  • 协议配置问题 建议在Decibel中使用Telepathy连接管理器,这样应用程序就不必在此存储这些设置了。
  • 联系人列表 Decibel能从PIM数据库中读取联系人信息并且用它来建立连接。同时它会更新PIM数据库中的联系人信息。
  • 组件管理 Decibel will start up desktop specific components in response to communication events like new communication channels opening as configured by the user.

These services dramatically reduce the complexity and effort required to integrate realtime communication into applications, enableing even "normal" desktop applications to offer realtime communication based services to their users. We hope that this ease of use will make application developers think about new uses of these communication methods, enableing users to interact with each other within the application they are currently working in.

桌面集成

Decibel后台会存取用户的通讯帐号因而他必须可以访问PIM数据库。这些集成项都是桌面应用相关的,而且是编译时指定的配置项。These integration points are desktop specific and currently implemented as compile time configuration options. All other integration into the desktop environment is done by components which are selected and started by the Decibel daemon as required using DBus activation.

The Decibel sources contain an example implementation of these integration points, using an INI-style text file for data storage. Integration into the KDE and Gnome desktop and other targets like embedded plattforms, Microsoft Windows or Mac OS X are possible.

组件配置

Components are used to decouple the Decibel daemon from the desktop environment used. They are started to handle a single communication channel between users. Which component is started depends on the configuration of the Decibel daemon: Based on communication type (text chat, audio/video stream, etc.), protocol used or even contact trying to communicate users may configure their preferred component to handle any incoming or outgoing communication request.

This concept offers a great flexibility: User can eg. forward audio streams to a answerphone, send a note in reply to any communication request from one special contact and have all other text-based communication attempts pop up a chat window.

These component preferences are stored in profiles. Decibel makes it easy to switch between these profiles, allowing external applications to do that. This makes it possible to have eg. a cronjob switch between settings for "office hours" and "out of office hours".

联系人

邮件列表: decibel@kde.org

IRC: #decibel on freenode.net


This page was last modified on 18 July 2012, at 13:13. This page has been accessed 1,926 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal