数据库存储
Designing the data storage architecture is an important activity in system design.There are two main types of data storage formats:files and databases.Files are electronic of data that have been optimized to perform a particular transaction.There are several types of files that differ in the way they are used to support an application.(Master files)store core information that is important to the business and,more specifically,to the application,such as order information or customer mailing information.(Look-up files)contain static values,such as a list of valid codes or the names of cities.Typically,the list is used for validation.A database is a collection of groupings of information that are related to each other in some way.There are many different types of databases that exist on the market today.(Legacy database)is given to those databases which are based on older,sometimes outdated technology that is seldom used to develop new applications.
(Hierarchical database)are collections of records that are related to each other through pointers In relational database,(referential integrity)can be used in ensuring that values linking the tables together through the primary and foreign keys are valid and correctly synchronized.
设计数据存储体系结构是系统设计中的一项重要活动。有两种主要类型的数据存储格式:文件和数据库。文件是为执行特定事务而优化的电子数据。有几种类型的文件在用于支持应用程序的方式上有所不同。(主文件)存储对业务,更具体地说,对应用程序非常重要的核心信息,如订单信息或客户邮件信息。(查找文件)包含静态值,例如有效代码列表或城市名称。通常,该列表用于验证。数据库是以某种方式相互关联的信息分组的集合。目前市场上存在许多不同类型的数据库。(传统数据)这些数据库基于旧的、有时过时的技术,很少用于开发新的应用程序。
(数据库分层)是通过关系数据库中的指针相互关联的记录集合,(参照物完成性)可用于确保通过主键和外键将表链接在一起的值有效且正确同步。
架构设计
The objective of(architecturedesign)is to determine what parts of the application software will be assigned to what hardware.The major software components of the system being developed have to be identified and then allocated to the various hardware components on which the system will operate.All software systems can be divided into four basic functions.The first is(data storage).Most information systems require data to be stored and retrieved,whether a small file,such as a memo produced by a word processor,or a large database,such as one that stores an organization’s accounting records.The second function is the(dataaccess logic),the processing required to access data,which often means database queries in Structured Query Language.The third function is the(application logic),which is the logic documented in the DFDs,use cases,and functional requirements.The fourth function is the presentation logic,the display of information to the user and the acceptance of the user’s commands.The three primary hardware components of a system are(clients,servers,and network).
架构设计的目标是确定应用软件的哪些部分将被分配到何种硬件。识别出正在开发系统的主要软件构件并分配到系统将要运行的硬件构件。所有软件系统可分为四项基本功能。首项是数据存储。大多数信息系统需要数据进行存储并检索,无论是一个小文件,比如一个字处理器产生的一个备忘录,还是一个大型数据库,比如存储一个企业会计记录的数据库。第二项功能是数据访问逻辑,处理过程需要访问数据,这通常是指用SQL进行数据库查询。第三项功能是应用程序逻辑,这些逻辑通过数据流图,用例和功能需求来记录。第四项功能是表示逻辑,给用户显示信息并接收用户命令。一个系统的三类主要硬件构件是客户机、服务器和网络。
系统分析
System analysis is traditionally done top-down
using structured analysis based on(functional decomposition).
Object-oriented analysis focuses on creation
of models.The three types of the analysis
model are(class model,interaction model and state model).There are two substages of
object-oriented analysis.(Domain analysis)focuses on
real-world things whose semantics the
application captures.The object
constructedin the requirement analysis
shows the(static structure)of the real-world
system and organizes it into workable pieces.
(Application analysis)addresses the computer aspects of the
application that are visible tousers.The
objects are those which can be expected to
vary from time to time quite rapidly.
传统的系统分析以功能分解为基础,利用结构化分析自顶向下完成。面向对象分析关注于模型的创建。该分析模型有三种类型:类模型、交互模型和状态模型。面向对象分析有两个子阶段。