当前位置:网站首页>一个数据人对领域模型理解与深入
一个数据人对领域模型理解与深入
2022-07-04 12:37:00 【InfoQ】
TOGAF

企业架构的推导方式

- 第一个阶段:企业有了自己经营目标也就是战略。围绕经营战略是需要来看有什么样系统来支撑
- 第二个阶段规划,针对经营战略与企业信息战略需要从业务架构角度、IT 架构更详细的规划与设计,这个阶段可以称为分析的阶段。在分析阶段顶层架构师角色对企业经营战略或信息战略抽象了结构化的描述,其它的架构师角色会继续对这些结构化的描述做进一步分解,其主要的是同归对业务需求的与流程的规划
- 第三个阶段是设计交付可以称为 IT 解决方案, 在这个过程是要对分析阶段输出的领域模型、企业概念架构模型进行系统化、流程化的设计
领域模型
- 帮助分析理解复杂业务领域问题,描述业务中涉及的实体及其相互之间的关系,是需求分析的产物,与问题域相关
- 是需求分析人员与用户交流的有力工具,是彼此交流的语言
- 分析如何满足系统功能性需求,指导项目后续的系统设计
一个交易支付清算业务领域建模
交易业务模型

流程
- 用户向业务线发起交易请求;
- 业务线向支付中心发起支付请求
- 支付中心接收到业务线请求后,向第三方支付公司或银行发起支付请求
- 用户根据提示完成支付
- 第三方支付公司或银行通过接口通知支付中心用户支付成功
- 支付中心通知业务线支付成功结果
- 业务线通知商户支付成功,商户进行出票
业务用户:
- 在线旅行的业务用户,在一次的购买机票的交易过程中涉及到的两个用户、一个平台,一个是机票的买方、一个是机票的卖方。
- 用户在机票搜索页或选择页面通过会选择单程、往返、特价、日期、航班信息,页面会向机票搜索发起搜索请求服务,服务会返回机票的近七天价格信息。
- 用户选择自己需要的预定信息,并填写乘机人信息、联系人信息、报销信息行程订单并发送给业务线的订单系统
- 订单系统会检索商户提供的机票信息的数量信息是否完善并返回给订单系统
- 订单系统会把确认信息前台返回给用户
- 用户根据订单返回的状态选择借贷卡、支付平台方式进行支付
- 用户得到支付返回结果


清算领域模型与简单拆解
- 建行 ATM 读卡读到了一个招商银行的卡,并且还有笔取 1000 元现金业务。此时建行的系统通过网络告诉招商,xxxx 卡的用户要取现 1000 元,判断下能给他
- 招商的反馈说,帐户够了可以扣 1000 元,建行你先垫上吧
- 建行 ATM 吐出 1000 元

- 用户、商户在发起一笔支付、退款业务活动,可以无感知的完成资金支付
- 资金对账结算组可以更关注自己的部分业务,而不用关注更多的清算层面的东西,同时可以减少工作量
- 对于接入新的清算渠道、可以为借贷分离打下很好的基础、同时减轻支付中心的成本
- 可以顺利的完成资金的支付,此时清算在资金
- 清结算操作人员通过手动触发或定时功能获取充值回导的文件
- 清算前置机通过接口握手银行通讯前置,请求文件
- 银行返回文件,清算前置机把文件保存到本地,并将数据导入对应的表中
- 执行对账,系统将表中的数据与清算指令表的数据进行比对,并返回对账结果





- 维护人员或定时任务发起到会任务请求。
- 清算文件处理会通过标准的接口通过前置机发出我要什么。
- 前置机会向金融机构发起请求文件。
- 金融机构会返回请求文件。
- 前置机会保存文件。
- 前置机给清算文件处理模块返回文件保存的路径与参数。
- 清算文件处理模块会调用响应解析格式把数据文件导入到数据库中。
- 维护员或定时任务返回导入结果是否有异常。
- 当就绪后发起对账请求。
- 执行对账、把导入的数据与清算命令数据对对账。
- 返回对账结果信息,并进一步提升后续处理。

小结
边栏推荐
猜你喜欢
《天天数学》连载57:二月二十六日
AI painting minimalist tutorial
求解:在oracle中如何用一条语句用delete删除两个表中jack的信息
C fonctions linguistiques
从0到1建设智能灰度数据体系:以vivo游戏中心为例
Read the BGP agreement in 6 minutes.
Reinforcement learning - learning notes 1 | basic concepts
Introduction to the button control elevatedbutton of the fleet tutorial (the tutorial includes the source code)
After the game starts, you will be prompted to install HMS core. Click Cancel, and you will not be prompted to install HMS core again (initialization failure returns 907135003)
VIM, another program may be editing the same file If this is the solution of the case
随机推荐
Fly tutorial 02 advanced functions of elevatedbutton (tutorial includes source code) (tutorial includes source code)
老掉牙的 synchronized 锁优化,一次给你讲清楚!
Rsyslog配置及使用教程
Reinforcement learning - learning notes 1 | basic concepts
Transformer principle and code elaboration (tensorflow)
从0到1建设智能灰度数据体系:以vivo游戏中心为例
PostgreSQL 9.1 飞升之路
Why can the implementation class of abstractdispatcherservletinitializer be called when initializing the web container
七、软件包管理
C語言:求100-999是7的倍數的回文數
游戏启动后提示安装HMS Core,点击取消,未再次提示安装HMS Core(初始化失败返回907135003)
ArcGIS uses grid processing tools for image clipping
Daily Mathematics Series 57: February 26
16. Memory usage and segmentation
When to use pointers in go?
Kivy教程之 08 倒计时App实现timer调用(教程含源码)
【Android Kotlin】lambda的返回语句和匿名函数
ISO 27001 Information Security Management System Certification
CVPR 2022 | TransFusion:用Transformer进行3D目标检测的激光雷达-相机融合
Vit (vision transformer) principle and code elaboration