软考系分|考前总结|教材核心|高含金量
- 2026-11-22 01:34:58
<font face="微软雅黑">维</font><font face="微软雅黑">度</font><o:p></o:p> | <font face="微软雅黑">单体式系统</font><o:p></o:p> | <font face="微软雅黑">微服务系统</font><o:p></o:p> |
<font face="微软雅黑">架构粒度</font><o:p></o:p> | <font face="微软雅黑">一个整体的应用程序,所有功能和模块</font> <font face="微软雅黑">都集中在一起</font><o:p></o:p> | <font face="微软雅黑">多个小而自治的服务,每个服务负责特</font> <font face="微软雅黑">定的业务功能</font><o:p></o:p> |
<font face="微软雅黑">部署和扩展粒度</font><o:p></o:p> | <font face="微软雅黑">整体部署和扩展</font><o:p></o:p> | <font face="微软雅黑">每个服务独立部署和扩展</font><o:p></o:p> |
<font face="微软雅黑">技术异构性</font><o:p></o:p> | <font face="微软雅黑">不支持</font><o:p></o:p> | <font face="微软雅黑">支持</font><o:p></o:p> |
<font face="微软雅黑">数据管理</font><o:p></o:p> | <font face="微软雅黑">共享一个数据库</font><o:p></o:p> | <font face="微软雅黑">每个服务有自己的数据库</font><o:p></o:p> |
<font face="微软雅黑">团队组织和协作</font><o:p></o:p> | <font face="微软雅黑">适合一个开发团队共同开发和维护</font><o:p></o:p> | <font face="微软雅黑">适合多团队协作,每个团队独立负责一</font> <font face="微软雅黑">个或多个服务</font><o:p></o:p> |
<font face="微软雅黑">可靠性和容错性</font><o:p></o:p> | <font face="微软雅黑">不支持</font><o:p></o:p> | <font face="微软雅黑">支持</font><o:p></o:p> |
<font face="微软雅黑">开发难度</font><o:p></o:p> | <font face="微软雅黑">简单</font><o:p></o:p> | <font face="微软雅黑">复</font><font face="微软雅黑">杂</font><o:p></o:p> |
<font face="宋体">创建型</font><font face="宋体">模式</font><o:p></o:p> | <font face="宋体">作用</font><o:p></o:p> |
<font face="宋体">单例</font><font face="宋体">(</font>Singleton)<o:p></o:p> | <font face="宋体">某个类只能生成一个实例,并提供全局访问点</font><o:p></o:p> |
<font face="宋体">原型</font><font face="宋体">(</font>Prototype)<o:p></o:p> | <font face="宋体">将一个对象作为原型,通过复制(克隆)创建多个相似新实例</font><o:p></o:p> |
<font face="宋体">工厂方法</font><font face="宋体">(</font>Factory Method)<o:p></o:p> | <font face="宋体">定义创建对象的接口,让子类决定实例化哪个类</font><o:p></o:p> |
<font face="宋体">抽象工厂</font><font face="宋体">(</font>Abstract Factory)<o:p></o:p> | <font face="宋体">提供创建一系列相关或依赖对象的接口,无需指定具体类</font><o:p></o:p> |
<font face="宋体">建造者</font><font face="宋体">(</font>Builder)<o:p></o:p> | <font face="宋体">将复杂对象的构建过程与其表示分离,同样构建过程可创建不同表示</font><o:p></o:p> |
<font face="宋体">结构性</font><font face="宋体">模式</font><o:p></o:p> | <font face="宋体">作用</font><o:p></o:p> |
<font face="宋体">代理</font><font face="宋体">(</font>Proxy)<o:p></o:p> | <font face="宋体">为其他对象提供代理,以控制对该对象的访问</font><o:p></o:p> |
<font face="宋体">适配器</font><font face="宋体">(</font>Adapter)<o:p></o:p> | <font face="宋体">将一个类的接口转换成客户端期望的另一接口</font><o:p></o:p> |
<font face="宋体">桥接</font><font face="宋体">(</font>Bridge)<o:p></o:p> | <font face="宋体">将抽象部分与实现部分分离,使它们可以独立变化</font><o:p></o:p> |
<font face="宋体">装饰</font><font face="宋体">(</font>Decorator)<o:p></o:p> | <font face="宋体">动态地给对象添加额外职责,比生成子类更灵活</font><o:p></o:p> |
<font face="宋体">外观</font><font face="宋体">(</font>Facade)<o:p></o:p> | <font face="宋体">为子系统中的一组接口提供一致的界面(统一入口)</font><o:p></o:p> |
<font face="宋体">享元</font><font face="宋体">(</font>Flyweight)<o:p></o:p> | <font face="宋体">运用共享技术有效支持大量细粒度对象</font><o:p></o:p> |
<font face="宋体">组合</font><font face="宋体">(</font>Composite)<o:p></o:p> | <font face="宋体">将对象组合成树形结构,表示</font>"部分-整体"层次<o:p></o:p> |
<font face="宋体">行为性</font><font face="宋体">模式</font><o:p></o:p> | <font face="宋体">作用</font><o:p></o:p> |
<font face="宋体">模板方法</font><font face="宋体">(</font>Template Method)<o:p></o:p> | <font face="宋体">定义算法骨架,将某些步骤延迟到子类实现</font><o:p></o:p> |
<font face="宋体">策略</font><font face="宋体">(</font>Strategy)<o:p></o:p> | <font face="宋体">定义一系列算法,使它们可以相互替换</font><o:p></o:p> |
<font face="宋体">命令</font><font face="宋体">(</font>Command)<o:p></o:p> | <font face="宋体">将请求封装为对象,可排队、可撤销</font><o:p></o:p> |
<font face="宋体">职责链</font><font face="宋体">(</font>Chain of Responsibility)<o:p></o:p> | <font face="宋体">请求沿链传递,谁处理谁停</font><o:p></o:p> |
<font face="宋体">状态</font><font face="宋体">(</font>State)<o:p></o:p> | <font face="宋体">让对象在内部状态改变时改变其行为</font><o:p></o:p> |
<font face="宋体">观察者</font><font face="宋体">(</font>Observer)<o:p></o:p> | <font face="宋体">定义一对多依赖,状态改变时通知并自动更新所有依赖者</font><o:p></o:p> |
<font face="宋体">中介者</font><font face="宋体">(</font>Mediator)<o:p></o:p> | <font face="宋体">用一个中介对象封装一组对象的交互</font><o:p></o:p> |
<font face="宋体">迭代器</font><font face="宋体">(</font>Iterator)<o:p></o:p> | <font face="宋体">提供一种方法顺序访问聚合对象的元素</font><o:p></o:p> |
<font face="宋体">访问者</font><font face="宋体">(</font>Visitor)<o:p></o:p> | <font face="宋体">在不改变元素类的情况下,为其增加新操作</font><o:p></o:p> |
<font face="宋体">备忘录</font><font face="宋体">(</font>Memento)<o:p></o:p> | <font face="宋体">在不破坏封装的前提下,保存并恢复对象状态</font><o:p></o:p> |
<font face="宋体">解释器</font><font face="宋体">(</font>Interpreter)<o:p></o:p> | <font face="宋体">为语言定义文法并解释句子</font><o:p></o:p> |
<font face="宋体">风格</font><o:p></o:p> | <font face="宋体">子风格</font><o:p></o:p> |
<font face="宋体">数据流</font><o:p></o:p> | <font face="宋体">批处理序列、管道</font>/过滤器<o:p></o:p> |
<font face="宋体">调用</font>/返回<o:p></o:p> | <font face="宋体">主程序</font>/子程序、数据抽象和面向对象、层次结构<o:p></o:p> |
<font face="宋体">独立构件</font><o:p></o:p> | <font face="宋体">进程通信、事件系统(事件驱动</font>/隐式调用)<o:p></o:p> |
<font face="宋体">虚拟机</font><o:p></o:p> | <font face="宋体">解释器、基于规则的系统</font><o:p></o:p> |
<font face="宋体">仓库</font><o:p></o:p> | <font face="宋体">数据库系统、黑板系统、超文本系统</font><o:p></o:p> |