系统逻辑架构图_科普小知识——系统架构图

c89f65d9229e5c00ef34f4796909d5cb.png

 什么是系统架构图呢?当你需要设计一个系统时,你就会明白,系统架构图其实就当于是一个框架,用来展示你的系统,以及流程、流向、流转等标注,让懂或不懂开发的人员通过图例可以明白系统的整个架构。当然,如果要正确的、合理的画系统架构图需要全面的理解用户需求以及业务流程。

85bc2d15be931c6876acb79c00d77e46.png

  而系统架构只是一个统称,它实际上包括逻辑架构图、部署架构图、运行架构图、网络架构图,再加上一个数据架构图,称为架构5视图或4+1视图5视图法可以帮助软件架构师以不同的视角对软件的各个方面的属性:功能需求,约束,运行期质量属性,开发期质量属性。

b247312359ae80b58981cde0ce332e1b.png

1、 逻辑架构:逻辑架构关注功能,不仅包括用户可见的功能,还包括为实现用户功能而必须提供的“辅助功能模块”——。

2、 开发架构:开发架构关注程序包,不仅包括要编写的源程序,还包括可以直接使用的第三方SDK和现场框架、类库,以及开发的系统将运行于其上的系统软件或中间件。关注编译时刻的静态依赖关系。

3、 运行架构:运行架构关注进程、线程、对象等运行时概念,以及相关的并发,同步,通信等问题。运行架构关注运行期间各个单元的交互。

4、 物理架构:物理架构关注“目标程序及其依赖的运行库和系统软件”最终如何安装或部署到物理机器,以及如何部署机器和网络来配合软件系统的可靠性,可伸缩性等要求。

5、 数据架构:数据架构关注持久化数据的存储方案,不仅包括实体及实体关系的存储格式、还包括数据传递,数据复制,数据同步等策略。

ea66a93d25690d3d001aa672cabe9b3f.png

对于系统架构图的绘画,通常我们采用微软office套装中的visio工具来进行绘制。

Popular science knowledge-system architecture diagram

What is a system architecture diagram? When you need to design a system, you will understand that the system architecture diagram is actually a framework to show your system, as well as the process, flow, circulation and other annotations, so that people who understand or don’t understand development can use the legend. Understand the entire architecture of the system. Of course, if you want to draw the system architecture diagram correctly and reasonably, you need a comprehensive understanding of user needs and business processes.

73d2b03599b5d0133920922f23c18032.png

The system architecture is just a general term. It actually includes logical architecture diagrams, deployment architecture diagrams, operating architecture diagrams, network architecture diagrams, plus a data architecture diagram, which is called architecture 5 views or 4+1 views. 5 views can help Software architects have different perspectives on the attributes of all aspects of the software: functional requirements, constraints, runtime quality attributes, and development quality attributes.

73d2b03599b5d0133920922f23c18032.png

1. Logical architecture: The logical architecture focuses on functions, not only the functions visible to users, but also the "auxiliary function modules" that must be provided to realize user functions.

2. Development architecture: The development architecture focuses on the package, including not only the source program to be written, but also the third-party SDK and field frameworks, class libraries that can be used directly, and the system software or middleware on which the developed system will run . Pay attention to the static dependencies at compile time.

3. Runtime architecture: Runtime architecture focuses on runtime concepts such as processes, threads, and objects, as well as related concurrency, synchronization, and communication issues. The operation architecture focuses on the interaction of each unit during operation.

4. Physical architecture: The physical architecture focuses on how the "target program and its dependent runtime library and system software" are ultimately installed or deployed to physical machines, and how to deploy machines and networks to meet the reliability and scalability requirements of the software system.

5. Data architecture: Data architecture focuses on storage solutions for persistent data, including not only the storage format of entities and entity relationships, but also strategies such as data transfer, data replication, and data synchronization.

73d2b03599b5d0133920922f23c18032.png

For the drawing of the system architecture diagram, we usually use the visio tool in the Microsoft office suite to draw.

素材来源:

部分图片来自百度。英语来源于Google翻译。

本文由LearningYard学苑原创、如有侵权请联系删除!

文案:做梦人

排版:做梦人

审核:程丽燕

bad9cf8ce89f615984c2e75fb85c9b90.gif dc17b246a15cb5ac7ccfb3395974a498.png扫码关注我们
  • 0
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
知识科普系统设计的ER图可以包含以下几个主要实体和它们之间的关系: 1. 用户(User)实体:表示系统的用户,包括管理员和普通用户。用户可以发布科普文章、提问问题、回答问题等操作。 2. 科普文章(Article)实体:表示用户发布的科普文章,包括标题、内容、发布时间等属性。 3. 问题(Question)实体:表示用户提出的问题,包括问题描述、提问时间等属性。 4. 回答(Answer)实体:表示用户对问题的回答,包括回答内容、回答时间等属性。 5. 标签(Tag)实体:表示对科普文章和问题进行分类的标签,一个文章或问题可以有多个标签。 6. 收藏(Favorite)实体:表示用户收藏的科普文章或问题,记录用户与文章或问题之间的关联关系。 7. 关注(Follow)实体:表示用户关注的其他用户,记录用户与用户之间的关联关系。 8. 点赞(Like)实体:表示用户对科普文章或问题的点赞操作,记录用户与文章或问题之间的关联关系。 9. 评论(Comment)实体:表示用户对科普文章或问题的评论,包括评论内容、评论时间等属性。 根据以上实体之间的关系,可以设计出以下关系: 1. 用户与科普文章之间是一对多的关系,一个用户可以发布多篇科普文章,一个科普文章只属于一个用户。 2. 用户与问题之间也是一对多的关系,一个用户可以提出多个问题,一个问题只属于一个用户。 3. 问题与回答之间是一对多的关系,一个问题可以有多个回答,一个回答只属于一个问题。 4. 科普文章和问题与标签之间是多对多的关系,一个文章或问题可以有多个标签,一个标签可以对应多个文章或问题。 5. 用户与收藏之间是多对多的关系,一个用户可以收藏多个文章或问题,一个文章或问题可以被多个用户收藏。 6. 用户与关注之间也是多对多的关系,一个用户可以关注多个其他用户,一个用户也可以被多个用户关注。 7. 用户与点赞之间是多对多的关系,一个用户可以对多个文章或问题点赞,一个文章或问题也可以被多个用户点赞。 8. 用户与评论之间是一对多的关系,一个用户可以对多个文章或问题进行评论,一个评论只属于一个用户和一个文章或问题。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值