没有合适的资源?快使用搜索试试~ 我知道了~
首页Funambol DS Server Architecture and Design Document
Funambol DS Server Architecture and Design Document
3星 · 超过75%的资源 需积分: 9 18 下载量 32 浏览量
更新于2023-03-03
评论
收藏 3.42MB PDF 举报
Funambol DS Server Architecture and Design Document 结构与设计文档,PDF版
资源详情
资源评论
资源推荐
Funambol DS Server Architecture
and Design Document
Last modified: January 29, 2010
Copyright © 2002-2009 Funambol - Page 2
Revision History
Date Author Description Rev
#
06 Oct 2002 Stefano Fornari Initial version 1.0
12 Nov 2002 Stefano Fornari Added persistent store architecture 1.1
29 Nov 2002 Stefano Fornari Added security architecture 1.2
20 Dec 2002 Stefano Fornari Added synchronization process 1.3
23 Dec 2002 Stefano Fornari Added error and exception handling 1.4
13 Jan 2003 Stefano Fornari Improved section on synchronization process 1.5
28 Feb 2003 Stefano Fornari Added SyncSource section, update images 1.6
12 May 2003 Stefano Fornari Added Logging Section 1.8
06 Jun 2003 Stefano Fornari Added configuration architecture section 1.9
07 Oct 2003 Stefano Fornari Added message processing pipeline section and
synced the revision number with the CVS version
number.
1.12
16 Oct 2003 Stefano Fornari Pipeline section fixing 1.14
30 Apr 2004 Stefano Fornari Added MD5 authentication section 1.16
06 Jun 2004 Stefano Fornari Added Funambol Module section 1.20
26 Jun 2004 Stefano Fornari Reviewed the Configuration section 1.21
02 Aug 2004 Stefano Fornari Reviewed the Message Processing Pipeline section. 1.21
27 Dec 2005 Stefano Nichele New Funambol 3.0 Architecture 1.22
15 May 2006 Stefano Fornari Added DeviceInventory Architecture 1.23
13 Nov 2006 Stefano Nichele Added Messages Compression 1.24
16 Nov 2006 Stefano Nichele Added Generation Unique ID 1.25
20 Nov 2006 Stefano Nichele Reviewed Generation Unique ID section removing the
factory and the ID class
1.26
17 Apr 2007 Stefano Nichele Added section Overlapping syncs from the same user 1.27
18 Apr 2007 Stefano Nichele Added section Automatic Checks for updates 1.28
16 Jul 2007 Stefano Nichele Added section about Encryption 1.29
18 Jul 2007 Luigia Fassina Added section about Database Schema 1.30
26 Aug 2007 Stefano Fornari Added section about JMX management 1.31
22 Jan 2008 Luigia Fassina Added section about funambol debug mode 1.32
25 Jan 2008 Gilberto
Migliavacca
Added section about the synchronization of the
configuration
1.33
26 Feb 2008 Stefano Fornari Clean up 1.34
15 Apr 2008 Gilberto
Migliavacca
Updated the SyncContext chapter 1.35
05 Jun 2008 Stefano Nichele Added plugin section 1.36
07 Jul 2008 Stefano Nichele Added SMSService section 1.37
29 Oct 2008 Luigia Fassina Added section about the storing of the anchors 1.38
13 Jan 2009 Stefano Nichele Updated message compression section 1.39
30 Apr 2009 Stefano Nichele Updated document template 1.40
04 Jun 2009 Marco Testa Added section 2.6 “Custom Sync Modes“ 1.41
Copyright © 2002-2009 Funambol - Page 3
Added section 3.4 “Large Objects and StreamingSyncSource” 1.42
21 Jan 2010 Luigia Fassina Added section about the sending of server
capabilities in a Put command
1.43
Table of Contents
1. High-level Architecture..................................................................................................................6
1.1. The Framework..........................................................................................................................6
1.2. Transport Layer..........................................................................................................................8
1.2.1. Messages compression..........................................................................................................8
1.3. Application Layer.......................................................................................................................9
1.4. The Synchronization Engine......................................................................................................9
1.5. A Simple Example.....................................................................................................................9
2. The Synchronization Process.....................................................................................................12
2.1. Preparation..............................................................................................................................12
2.2. Modifications Detection............................................................................................................12
2.3. Synchronization.......................................................................................................................14
2.4. Finalization...............................................................................................................................15
2.4.1. When the server stores the anchors ?.................................................................................15
2.4.2. When a client should store the anchors ?............................................................................15
2.5. Synchronization Sequence Diagram.......................................................................................15
2.5.1. Twins handling and merging.................................................................................................16
2.6. Custom Sync Modes................................................................................................................18
2.6.1. smart-one-way-from-client sync mode.................................................................................19
3. SyncSource Architecture............................................................................................................20
3.1. SyncSource States and Lifecycle............................................................................................20
3.2. Error Handling..........................................................................................................................22
3.3. The SyncSource Interface and Related Classes....................................................................23
3.3.1. SyncSource interface............................................................................................................24
Copyright © 2002-2009 Funambol - Page 4
3.3.2. MergeableSyncSource.........................................................................................................25
3.3.3. FilterableSyncSource............................................................................................................26
3.3.4. SyncContext..........................................................................................................................30
3.3.5. SyncItem...............................................................................................................................31
3.3.6. SyncSourceException..........................................................................................................31
3.4. Large Objects and StreamingSyncSource..............................................................................31
3.4.1. StreamingSyncSource..........................................................................................................32
3.4.2. SyncItemFactory...................................................................................................................32
3.4.3. StreamingSyncItem..............................................................................................................33
4. Conflict resolution.......................................................................................................................34
5. Configuration Architecture..........................................................................................................35
5.1. Server JavaBeans...................................................................................................................35
5.1.1. The configuration path..........................................................................................................35
5.1.2. Lazy Initialization..................................................................................................................36
5.1.3. The debug mode...................................................................................................................36
6. Funambol DS Server Configuration...........................................................................................37
6.1. Funambol DS Server Configuration Example.........................................................................37
6.2. DirectoryMonitor.......................................................................................................................39
7. Message Processing Pipeline....................................................................................................40
7.1. Architecture..............................................................................................................................40
7.2. Design......................................................................................................................................40
7.2.1. Overview...............................................................................................................................40
7.2.2. The Message Processing Context.......................................................................................41
7.2.3. Class Diagram......................................................................................................................42
7.2.4. PipelineManager Configuration............................................................................................42
7.2.5. Error Handling.......................................................................................................................43
7.2.6. Utility Synclets.......................................................................................................................43
8. The Persistent Store...................................................................................................................44
8.1. The Interface com.funambol.server.store.PersistentStore ....................................................44
8.1.1. com.funambol.server.store.SyncPersistentStore.................................................................44
8.2. com.funambol.server.store.PersistentStoreManager.............................................................45
9. The Device Inventory..................................................................................................................46
9.1. Introduction..............................................................................................................................46
9.1.1. Device configuration.............................................................................................................46
9.2. Device Inventory Design..........................................................................................................47
9.2.1. Overview...............................................................................................................................47
9.2.2. Device Inventory Data Model...............................................................................................47
9.2.3. Device Inventory Interface....................................................................................................48
9.2.4. Device Configuration............................................................................................................51
9.3. Device inventory configuration................................................................................................52
10. Security Architecture.................................................................................................................54
10.1. User Model and Database.....................................................................................................54
10.2. Officer.....................................................................................................................................54
10.2.1. com.funambol.framework.security.DBOfficer.....................................................................55
10.2.2. com.funambol.framework.security.UserProvisioningOfficer..............................................55
Copyright © 2002-2009 Funambol - Page 5
剩余131页未读,继续阅读
spoondrift_y
- 粉丝: 1
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 27页智慧街道信息化建设综合解决方案.pptx
- 计算机二级Ms-Office选择题汇总.doc
- 单链表的插入和删除实验报告 (2).docx
- 单链表的插入和删除实验报告.pdf
- 物联网智能终端项目设备管理方案.pdf
- 如何打造品牌的模式.doc
- 样式控制与页面布局.pdf
- 武汉理工Java实验报告(二).docx
- 2021线上新品消费趋势报告.pdf
- 第3章 Matlab中的矩阵及其运算.docx
- 基于Web的人力资源管理系统的必要性和可行性.doc
- 基于一阶倒立摆的matlab仿真实验.doc
- 速运公司物流管理模式研究教材
- 大数据与管理.pptx
- 单片机课程设计之步进电机.doc
- 大数据与数据挖掘.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2