SNPPEB1.1软件设计文档:从SRS1.1到本地数据库的重大更新

4星 · 超过85%的资源 需积分: 10 7 下载量 10 浏览量 更新于2024-09-11 收藏 349KB DOC 举报
"这篇文档是关于‘Software Design Document’,即软件设计文档,主要用于详细描述软件的架构和设计,以支持软件开发过程。文档由Tony创建并不断更新,主要涉及JAVA、PHP和Perl等编程语言。它记录了从版本1.0到1.101的更新历史,包括对需求规格书(SRS)的响应和模块设计的细化。" 在软件开发过程中,软件设计文档(SDD)扮演着至关重要的角色。它提供了从概念到实现的清晰路径,确保团队成员对项目有共同的理解。以下是文档的一些关键内容和知识点: 1. **版本管理**:文档的版本控制(如1.0至1.101)反映了设计随时间的演变和改进,这是软件开发中常见的迭代过程。每个版本的更新都针对SRS的不同版本进行了回应,表明设计与需求同步更新。 2. **设计流程图**:在版本1.01中,设计者添加了流程图来展示设计,这是可视化设计的重要工具,有助于理解和优化软件的工作流程。 3. **模块设计**:从版本1.011开始,文档更深入地讨论了模块设计,这是软件结构的关键部分。模块化设计使得代码更易于理解和维护,每个模块负责特定的功能。 4. **数据库设计**:在版本1.1中,设计文档提出了使用本地数据库替代NCBI的XML文件,这涉及到数据存储策略的变更,通常会提高数据访问效率和系统性能。 5. **新技术集成**:文档提到将使用"Primer3"工具来处理序列数据,这是一个生物信息学领域的开源软件,用于设计PCR引物。这显示了软件可能应用于生物信息学领域,如SNP分析。 6. **需求覆盖**:SDD强调所有SRS中的需求都将得到充分解决,或提供替代解决方案。这是确保软件功能完整性和满足用户期望的关键步骤。 7. **数据来源**:使用NCBI的FASTA和XML文件来构建本地数据库,这表明软件可能涉及到生物序列数据的处理和解析,可能是一个生物信息学相关的应用。 软件设计文档是软件工程中的核心文档之一,它不仅记录了软件的设计思路,还指导了开发过程,确保了软件质量和可维护性。这份文档的详细程度和更新历史展示了良好的软件开发实践。
2012-03-12 上传
非常好的一个设计文档,可以作为模板 TABLE OF CONTENTS 1 INTRODUCTION ............................................................................................................................................................... 10 2 APPLICABLE AND REFERENCE DOCUMENTS .............................................................................................................. 11 3 TERMS, DEFINITION AND ABBREVIATIONS TERMS ....................................................................................................... 13 4 SOFTWARE DESIGN OVERVIEW .................................................................................................................................... 15 4.1 Software static architecture ................................................................................................................................. 15 4.1.1 Components Overview .............................................................................................................................. 15 4.1.2 Relationship with other systems ................................................................................................................ 16 4.1.3 Information Model Overview .................................................................................................................... 17 4.1.3.1 Order Options Model .................................................................................................................. 17 4.1.3.2 Order Model ................................................................................................................................. 19 4.1.3.3 User Profile Overview ................................................................................................................... 21 4.2 Software dynamic architecture .......................................................................................................................... 21 4.3 Interfaces Context ................................................................................................................................................. 22 4.3.1 OPGW vs. HMA Client (Input Interfaces) ................................................................................................ 24 4.3.1.1 HMA Ordering::GetCapabilities [Discrete flow] ..................................................................... 24 4.3.1.2 HMA Ordering::GetOptions [Discrete flow] ............................................................................. 25 4.3.1.3 HMA Ordering::Submit [Discrete flow]...................................................................................... 25 4.3.1.4 HMA Ordering::GetStatus [Discrete flow] ................................................................................ 25 4.3.1.5 HMA Ordering::Cancel [Discrete flow] .................................................................................... 26 4.3.1.6 HMA Ordering::GetQuotation [Discrete flow] ........................................................................ 26 4.3.1.7 HMA Ordering::DescribeResultAccess [Discrete flow] .......................................................... 26 4.3.1.8 key exchange [Control flow] ..................................................................................................... 27 4.3.2 OPGW vs. HMA Client (Output Interfaces)............................................................................................. 27 4.3.2.1 HMA Ordering::SubmitResponse [Discrete flow] .................................................................... 27 4.3.2.2 HMA Ordering::CancelResponse [Discrete flow] ................................................................... 28 4.3.2.3 HMA Ordering::GetQuotationResponse [Discrete flow] ....................................................... 28 4.3.3 OPGW vs. EOLI XML Catalogue (Input Interfaces) ............................................................................... 28 4.3.4 OPGW vs. EOLI XML Catalogue (Output Interfaces) ............................................................................ 28 4.3.4.1 EOLI XML Catalogue::processPresentationRequest [Discrete flow] ................................... 28 4.3.5 OPGW vs. EOLI XML Order Server (Input Interfaces)............................................................................. 29 4.3.6 OPGW vs. EOLI XML Order Server (Output Interfaces) ......................................................................... 29 4.3.6.1 EOLI XML Order::processProductOrderRequest [Discrete flow] .......................................... 29 4.3.6.2 EOLI XML Order::processOrderMonitorRequest [Discrete flow] ........................................... 29 4.3.7 OPGW vs. OPGW Operator (Input Interfaces) ...................................................................................... 29 UNCLASSIFIED P50638/DSASGT-0083-10/00 OPGW – Software Design Document for HMA Follow On Task4 - Order Page 4 of 71 Elsag Datamat spa Copyright as reported on the cover page 4.3.7.1 ServiceDirectory.xml [Discrete flow] ......................................................................................... 29 4.3.7.2 Users_YYYYMMDD_HHMMSS.xml [Discrete flow] ..................................................................... 30 4.4 Long lifetime software ........................................................................................................................................... 30 4.5 Memory and CPU budget .................................................................................................................................... 30 4.6 Design Standards, conventions and procedures ............................................................................................. 31 4.6.1 UML Notations .............................................................................................................................................. 31 4.6.1.1 Deployment Diagrams Notations.............................................................................................. 31 4.6.1.2 Component Diagrams Notations .............................................................................................. 32 4.6.1.3 Class Diagrams Notations ........................................................................................................... 33 4.6.1.4 Sequence Diagrams Notations ................................................................................................. 37 4.6.2 Data Flow Diagrams Notations ................................................................................................................. 37 4.6.3 Database Schema Notations ................................................................................................................... 38 5 SOFTWARE DESIGN ......................................................................................................................................................... 39 5.1 General .................................................................................................................................................................... 39 5.2 Overall architecture............................................................................................................................................... 39 5.2.1 Components overview .............................................................................................................................. 39 5.3 Software components design - General ........................................................................................................... 41 5.4 Software components design – Aspect of each component ....................................................................... 42 5.4.1 OPGW - HMA Skeleton [RD-02] ................................................................................................................. 42 5.4.1.1 Type ................................................................................................................................................ 42 5.4.1.2 Purpose .......................................................................................................................................... 42 5.4.1.3 Function ......................................................................................................................................... 42 5.4.1.4 Subordinates ................................................................................................................................. 43 5.4.1.5 Dependencies .............................................................................................................................. 43 5.4.1.6 Interfaces ....................................................................................................................................... 43 5.4.1.7 Resources ...................................................................................................................................... 43 5.4.1.8 References .................................................................................................................................... 43 5.4.1.9 Processing...................................................................................................................................... 43 5.4.1.10 Data ............................................................................................................................................... 43 5.4.2 OPGW - Order Service ............................................................................................................................... 44 5.4.2.1 Type ................................................................................................................................................ 48 5.4.2.2 Purpose .......................................................................................................................................... 48 5.4.2.3 Function ......................................................................................................................................... 48 5.4.2.4 Subordinates ................................................................................................................................. 49 5.4.2.5 Dependencies .............................................................................................................................. 49 5.4.2.6 Interfaces ....................................................................................................................................... 49 UNCLASSIFIED P50638/DSASGT-0083-10/00 OPGW – Software Design Document for HMA Follow On Task4 - Order Page 5 of 71 Elsag Datamat spa Copyright as reported on the cover page 5.4.2.7 Resources ...................................................................................................................................... 49 5.4.2.8 References .................................................................................................................................... 49 5.4.2.9 Processing...................................................................................................................................... 50 5.4.2.10 Data ............................................................................................................................................... 50 5.4.3 OPGW - Support Tools ................................................................................................................................ 51 5.4.3.1 Type ................................................................................................................................................ 52 5.4.3.2 Purpose .......................................................................................................................................... 52 5.4.3.3 Function ......................................................................................................................................... 52 5.4.3.4 Subordinates ................................................................................................................................. 52 5.4.3.5 Dependencies .............................................................................................................................. 53 5.4.3.6 Interfaces ....................................................................................................................................... 53 5.4.3.7 Resources ...................................................................................................................................... 53 5.4.3.8 References .................................................................................................................................... 53 5.4.3.9 Processing...................................................................................................................................... 53 5.4.3.10 Data ............................................................................................................................................... 53 5.4.4 OPGW - Database ...................................................................................................................................... 54 5.4.4.1 Type ................................................................................................................................................ 55 5.4.4.2 Purpose .......................................................................................................................................... 55 5.4.4.3 Function ......................................................................................................................................... 55 5.4.4.4 Subordinates ................................................................................................................................. 55 5.4.4.5 Dependencies .............................................................................................................................. 55 5.4.4.6 Interfaces ....................................................................................................................................... 55 5.4.4.7 Resources ...................................................................................................................................... 56 5.4.4.8 References .................................................................................................................................... 56 5.4.4.9 Processing...................................................................................................................................... 56 5.4.4.10 Data ............................................................................................................................................... 56 5.4.5 Security Layer ............................................................................................................................................... 57 5.4.5.1 Type ................................................................................................................................................ 58 5.4.5.2 Purpose .......................................................................................................................................... 58 5.4.5.3 Function ......................................................................................................................................... 58 5.4.5.4 Subordinates ................................................................................................................................. 58 5.4.5.5 Dependencies .............................................................................................................................. 58 5.4.5.6 Interfaces ....................................................................................................................................... 58 5.4.5.7 Resources ...................................................................................................................................... 58 5.4.5.8 References .................................................................................................................................... 58 5.4.5.9 Processing...................................................................................................................................... 58 UNCLASSIFIED P50638/DSASGT-0083-10/00 OPGW – Software Design Document for HMA Follow On Task4 - Order Page 6 of 71 Elsag Datamat spa Copyright as reported on the cover page 5.4.5.10 Data ............................................................................................................................................... 59 5.5 Dynamical Model ................................................................................................................................................... 59 5.5.1 Identity Management Scenario ............................................................................................................... 59 5.5.2 Product Ordering Scenario ....................................................................................................................... 60 5.5.3 Configuration Scenario .............................................................................................................................. 62 5.5.4 Asynchronous operations .......................................................................................................................... 62 5.6 Internal Interfaces design ..................................................................................................................................... 63 5.6.1 activate Ordering Class ............................................................................................................................. 63 5.6.1.1 Type ................................................................................................................................................ 63 5.6.1.2 Description .................................................................................................................................... 63 5.6.2 key ................................................................................................................................................................. 63 5.6.2.1 Type ................................................................................................................................................ 63 5.6.2.2 Description .................................................................................................................................... 63 5.6.3 decrypt SAML Token ................................................................................................................................... 63 5.6.3.1 Type ................................................................................................................................................ 63 5.6.3.2 Description .................................................................................................................................... 63 5.6.4 encrypt SAML Token ................................................................................................................................... 64 5.6.4.1 Type ................................................................................................................................................ 64 5.6.4.2 Description .................................................................................................................................... 64 5.6.5 create signature .......................................................................................................................................... 64 5.6.5.1 Type ................................................................................................................................................ 64 5.6.5.2 Description .................................................................................................................................... 64 5.6.6 verify signature ............................................................................................................................................ 64 5.6.6.1 Type ................................................................................................................................................ 64 5.6.6.2 Description .................................................................................................................................... 64 5.6.7 Database Files ............................................................................................................................................. 64 5.6.7.1 Type ................................................................................................................................................ 64 5.6.7.2 Description .................................................................................................................................... 64 5.6.8 HMA Ordering ICD Interface .................................................................................................................... 64 5.6.8.1 Type ................................................................................................................................................ 64 5.6.8.2 Description .................................................................................................................................... 64 5.6.9 JDBC access ................................................................................................................................................ 65 5.6.9.1 Type ................................................................................................................................................ 65 5.6.9.2 Description .................................................................................................................................... 65 5.6.10 Order Capabilities File ................................................................................................................................ 65 5.6.10.1 Type ................................................................................................................................................ 65 UNCLASSIFIED P50638/DSASGT-0083-10/00 OPGW – Software Design Document for HMA Follow On Task4 - Order Page 7 of 71 Elsag Datamat spa Copyright as reported on the cover page