当前位置:网站首页>Software architecture and design (VI) -- hierarchy
Software architecture and design (VI) -- hierarchy
2022-07-28 15:43:00 【Liu Yiyi】
Hierarchy body
Hierarchy regards the whole system as a hierarchy , The software system is decomposed into logical modules or subsystems at different levels in the hierarchy . This method is usually used to design system software , Such as network protocol and operating system .
In the system software hierarchy design , The lower subsystem provides services to its adjacent upper subsystem , Thus calling lower level methods . The lower layer provides more specific functions , for example I / O service , Business , Dispatch , Security services, etc . The middle tier provides more domain related functions , Such as business logic and core processing services . and , The upper layer provides services such as GUI,shell More abstract functions in the form of user interfaces such as programming facilities .
It is also used to organize class libraries , Such as... In the namespace hierarchy .NET Class library . All design types can implement this hierarchy , And often combined with other architectural styles .
The layered architectural style is divided into -
- Main subprogram
- Master-slave
- virtual machine
Main subprogram
The purpose of this style is to reuse modules and freely develop a single module or subroutine . In this style , The software system is divided into subprograms by using top-down refinement according to the required functions of the system .
These refinements are vertically leading , Until the decomposed module is simple enough to bear exclusive responsibility . Functions can be reused and shared by multiple callers at the upper level .
There are two ways to pass data to subroutines as parameters , namely -
Pass value - Subroutines use only past data , But it can't be modified .
By reference &minu; Use subroutines and change the value of data referenced by parameters .

advantage
边栏推荐
- Write a standard character device driver with your hands
- Daily news on July 28, 2022: Science: AI has made another breakthrough in protein design, and can design specific functional proteins
- 4.8 HD-GR GNSS导航软件源码
- 全国211院校考研信息汇总整理
- [delete specified number leetcode]
- Qt刷新UI界面问题
- QCustomPlot绘图工具常用方法
- 800V高压系统
- FTP文件传输协议
- Differences between two ways of QT creating folders
猜你喜欢

vs动态库调试

语音社交系统——完善有声系统产业链

Software architecture and design (VIII) -- distributed architecture

Execution process of SQL statement

Editor in ArcGIS Pro

FTP文件传输协议

软件架构与设计(六)-----层次结构体

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

Communication between client and server based on rsocket protocol

关于word文档中插入的图片只显示下面一部分
随机推荐
Daily news on July 28, 2022: Science: AI has made another breakthrough in protein design, and can design specific functional proteins
Qt刷新UI界面问题
德国电信否认加强与华为合作,并称过去3年已缩减与华为的合作
Sharing of award-winning activities: you can get up to iphone13 after using WordPress to build your own blog
22. Realization of message processing task
Getting started with crawlers (1) -- requests (1)
Qt信号与槽的五种连接方式
800V高压系统
Write a standard character device driver with your hands
shell编程规范与变量
详解.NET的求复杂类型集合的差集、交集、并集
Easyexcel complex header export (one to many)
堆操作
爬虫入门(1)——requests(1)
如何通过adb打开和关闭飞行模式
VS使用技巧
Give you a linked list, delete the penultimate node of the linked list, and return the head node of the linked list.
19、通道分配任务定义
Easy start, swagger
7、实时数据备份和实时时钟相关定义