1 / 22

模块设计

模块设计. 2008-10-25. Applications. PACA. ……. Portal. Web Server. Ajax. JS. PHP. Application Server. Micro Blog. Digg. Short Message. SDPC. ePKP. BI. UUMS. Message Service. Schedule. QoS. Relationship. Account. ACL. Auth. Profile. Behavior. Rank. Cash flow. Foundation.

rhona
Download Presentation

模块设计

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 模块设计 2008-10-25

  2. Applications PACA ……. Portal Web Server Ajax JS PHP Application Server Micro Blog Digg Short Message SDPC ePKP BI UUMS Message Service Schedule QoS Relationship Account ACL Auth Profile Behavior Rank Cash flow Foundation Service Engine Workflow Engine Log Batch Engine Rule Engine Validator Content Management Timer Data Server File Server Gateway Video LDAP RDB Mail SMS

  3. 模块设计 • 第一步:详细分析 • Service/Sprite • Object • Core • Rule • Dependency • 第二步:实体状态转移分析(状态图) • 第三步:功能点交互设计(序列图) • 第四步:服务接口详细设计 • 接口和接口交互类型 • 逻辑实现 • 第五步:性能和适应性测试 • 性能调优点 • 适应性配置点 • 易用性 • 部署性

  4. Module Services Switch CRUD ……. Query State Transfer Object Entity attribute attribute State Flag Attribute Core AB Mapping Tagging Formula Sorting …… Rule Formula Rule Pattern Rule Biz Rule Validation Rule Dependency Other Module Foundation Modules Outside System

  5. Simple Message Service Services Switch Query Create Send State Transfer Recall Reply Delete Object Attributes: From, to, type, priority Content: subject, body object ref: Resource Code tag< key, value > Created  sent  unread  red replied  deleted 引用:状态图 Message Core Logic Queue Rule Formula Rule 优先级排队 性能调优点: 内存 Dependency Gateway - Email - SMS Account Batch Engine Rule Engine

  6. 实体关系图 • Tag是文件系统的实体 • MessageContent与Message之间一对一关系 • 审阅链 • 归档 • 消息树:回复关系 • 消息副本

  7. 状态转换

  8. Content Management Services Switch Search Tagging Archiving Storing State Transfer Identity Lock Object Attribute: - URI - Dublin Core - Tags Entities: - Message - Activity - Account - Profile - Log State Flag: 标识过, 可索引, 可入库,入库后,可搜索,可获取 Document Core Logic Tagging Rule Biz Rule Entity Archiving Data Configuration Table Dependency File Server Indexing Public Database Website Account ACL Rule Engine

  9. 实体文件上传风险 BT传输 数据实体合并 两阶段搜索 状态转换

  10. Rule Engine Services Configuration interface(Excel) Execute Switch Query 逻辑阵列 Attribute: - groupId - name - pattern - isMatched - isUnmatched - isFront Object Disable, enable Rule Core Logic Pattern Mapping Rule Formula Rule Pattern Rule Biz Rule Validation Rule Dependency

  11. Account Service Services Create Update Delete Passivate State Transfer Invite Request Invite Response Object Attributes: id, internalId, externalId, name, alias, nickName, email, password, avator Invited, Registered, Visited, Blacklisted, Stolen, Paused, Illegal, Passivated, Deleted 引用:状态图 Account Core Logic Queue Rule Formula Rule 优先级排队 Dependency Gateway - Email - SMS Simple Message Service Batch Engine Timer

  12. Profile Service Services Create Update Query Delete State Transfer Object Attributes: id, Map<key, value> Created, Deleted 引用:状态图 Profile Core Logic Key-Value Map(Tags) Rule Dependency Account

  13. ACL Services Create Update Query Delete CheckPrivilege State Transfer Object UserGroup Role Permission Attributes: PermissionSet Core Logic Map 权限元 Rule Dependency Account Data Server

  14. Authentication Services Authenticate State Transfer Object Attributes: N/A Authentication接口 Core Logic Rule Dependency • Gateway • --指纹识别器 • -面纹识别器 • -声纹识别器 • - USBKEY接口 Account Profile Rule Engine

  15. RankService Services Create Update Query Delete State Transfer Object Attributes: id, name Rank Core Logic Rule Formula Rule 优先级排队 Dependency Account ACL Batch Engine Rule Engine Timer

  16. Cash flow Service Services Create Update Query State Transfer Object Attributes: id, value Cash Core Logic Rule Formula Rule 优先级排队 Dependency Account Batch Engine Rule Engine Timer

  17. Relationship Service Services Create Delete Query State Transfer Object Attributes:N/A Created, Deleted Relation Core Logic Rule Dependency Account

  18. Behavior Service Services Execute Query State Transfer Object Attributes:N/A Core Logic Rule Formula Rule 优先级排队 Dependency Account ACL Batch Engine Rule Engine Timer

More Related