当前位置:网站首页>软件架构与设计(六)-----层次结构体
软件架构与设计(六)-----层次结构体
2022-07-28 14:38:00 【丨刘一丨】
层次结构体
层次结构将整个系统视为层次结构,其中软件系统被分解为层次结构中不同级别的逻辑模块或子系统。这种方法通常用于设计系统软件,如网络协议和操作系统。
在系统软件层次结构设计中,低级子系统向其相邻的上级子系统提供服务,从而调用较低级别的方法。下层提供更具体的功能,例如I / O服务,事务,调度,安全服务等。中间层提供了更多与域相关的功能,如业务逻辑和核心处理服务。而且,上层提供了诸如GUI,shell编程设施等用户界面形式的更抽象的功能。
它也用于组织类库,如命名空间层次结构中的.NET类库。所有设计类型都可以实现这种层次结构,并且经常与其他架构风格相结合。
分层建筑风格划分为 -
- 主子程序
- 主从
- 虚拟机
主子程序
这种风格的目的是重用模块并自由开发单个模块或子程序。在这种风格中,软件系统通过根据系统的所需功能使用自上而下的细化来划分为子程序。
这些细化是垂直领先的,直到分解的模块简单到足以承担独家责任。功能可以被上层的多个呼叫者重用和共享。
将数据作为参数传递给子程序有两种方法,即 -
通过值 - 子程序仅使用过去的数据,但不能修改它。
通过参考&minu; 使用子程序以及更改参数引用的数据的值。

优点
边栏推荐
- Among the three "difficult and miscellaneous diseases" of machine learning, causal learning is the breakthrough | Liu Li, Chongqing University
- 1200 times faster! MIT develops a new generation of drug research and development AI, and suspends the old model
- 详解.NET的求复杂类型集合的差集、交集、并集
- Crmeb Standard Edition window+phpstudy8 installation tutorial (III)
- Daily news on July 28, 2022: Science: AI has made another breakthrough in protein design, and can design specific functional proteins
- 21、电文处理任务定义
- 8、实时数据备份和实时时钟功能实现
- 2. Self narration of open source GPS project hd-gr GNSS
- EasyExcel复杂表头导出(一对多)
- 1、开源GPS项目HD-GR GNSS的著作者
猜你喜欢

Easy start, swagger

Tencent interview -- please design a thread pool to implement sequential execution

Grpc protocol buffer

Nftscan and nftplay have reached strategic cooperation in the field of NFT data

机器学习的3大“疑难杂症”,因果学习是突破口 | 重庆大学刘礼

Here comes the full open source free customer service system

No files or folders found to process

基于RSocket协议实现客户端与服务端通信

Among the three "difficult and miscellaneous diseases" of machine learning, causal learning is the breakthrough | Liu Li, Chongqing University

ECCV 2022 | SSP: 自支持匹配的小样本任务新思想
随机推荐
关于Simulink如何生成模型覆盖率报告
迟来的2021年终总结
Execution process of SQL statement
800V高压系统
Opencv - draw mask images of multiple instances
Stateflow逻辑系统建模
Qt信号与槽的五种连接方式
字符数组和字符串的区别
Leetcode - sliding window extremum, search tree postorder traversal, statistical difference pairs, dividing equal subsets
如何获取及嵌入Go二进制执行包信息
Introduction to grpc
游戏测试的概念是什么?测试方法和流程有哪些?
一篇文章了解RSocket协议
4. Main program and cumulative interrupt processing routine implementation code
Compilation learning
.net core version 2.2 cross domain configuration
19、通道分配任务定义
Set structure byte alignment
2022年最火的十大测试工具,你掌握了几个
Qt创建文件夹的两种方式区别