ACMSxp Open Distributed Transaction Processing by
ORACLE ERP 入门及供应链核心系统详解教程(上、下)-目录

目录序言一第1章ORACLE EBS 系统架构与应用实践......................................................................- 1 -1.1从ERP到EBS (1)1.2ORACLE EBS的系统组成 (2)1.2.1EBS系统的早期组成分类..........................................................................................- 2 -1.2.2EBS系统的近期组成分类..........................................................................................- 2 -1.2.3EBS 系统的最新组成分类........................................................................................- 3 -1.3ORACLE EBS系统的应用架构. (4)1.3.1EBS 系统的基础功能架构........................................................................................- 4 -1.3.2EBS系统的应用层次架构..........................................................................................- 5 -1.4基于ORACLE EBS系统的集成供应链管理. (6)1.4.1EBS的集成供应链管理系统(ISC)........................................................................- 6 -1.4.2EBS的供应链核心业务系统......................................................................................- 7 -1.5ORACLE EBS系统的应用实践. (8)1.5.1EBS 系统的应用集成性............................................................................................- 9 -1.5.2基于 EBS 的企业信息化战略规划框架............................................................- 10 -1.5.3EBS核心业务系统实施的有关经验数据................................................................- 11 -1.6结语.. (12)第2章ORACLE EBS 系统功能的应用基础....................................................................- 13 -2.1引言 (13)2.2表单(F ORM ) (13)2.2.1业务流程类表单...................................................................................................- 13 -2.2.2数据来源类表单...................................................................................................- 14 -2.2.3业务控制类表单...................................................................................................- 15 -2.3查询(S UMMARY).. (16)2.3.1功能查询方式.......................................................................................................- 16 -2.3.2快捷查询方式.......................................................................................................- 17 -2.3.3简便查询方式.......................................................................................................- 18 -2.4事务处理(T RANSACTION) (19)2.4.1完成任务类事务处理...........................................................................................- 20 -2.4.2数据维护类事务处理...........................................................................................- 21 -2.4.3单据转换类事务处理...........................................................................................- 21 -2.5并发流程(C URRENT P ROCESS). (22)2.5.1流程类并发请求...................................................................................................- 23 -2.6文件夹(F OLDER) (26)2.7弹性域(F LEXFIELD) (27)2.7.1说明性弹性域(Descriptive Flexfield)..............................................................- 27 -2.7.2键弹性域(Key Flexfield).................................................................................- 29 -2.8值集(V ALUE S ET). (30)2.9查找代码(L OOKUP C ODE) (31)2.10配置文件(P ROFILE) (32)2.10.1系统配置文件的定义...........................................................................................- 32 -2.10.2系统配置文件的应用设置...................................................................................- 33 -2.11单据编号(D OCUMENT S EQUENCE). (34)2.11.1自定义单据类别及编号方式...............................................................................- 34 -2.11.2系统参数设置编号方式.......................................................................................- 36 -2.11.3数据库编号方式...................................................................................................- 37 -2.12附件(A TTACHMENT) (37)2.13工作流(W ORKFLOW) (39)2.14预警(A LERT) (41)2.14.1事件预警...............................................................................................................- 41 -2.14.2周期预警...............................................................................................................- 42 -2.15应用开放接口(O PEN I NTERFACE AND API) (43)2.16结语 (45)第3章ORACLE EBS 系统基础设置要点........................................................................- 47 -3.1引言 (47)3.1.1安全性管理...........................................................................................................- 47 -3.1.2菜单.......................................................................................................................- 48 -3.1.3责任.......................................................................................................................- 48 -3.1.4用户(User)........................................................................................................- 49 -3.2会计科目弹性域结构.. (50)3.3分类帐(帐套) (53)3.4分类账(帐套)访问 (58)3.5组织结构 (61)3.5.1业务组(BG)......................................................................................................- 62 -3.5.2法人实体(LE)..................................................................................................- 63 -3.5.3业务实体(OU).................................................................................................- 65 -3.5.4库存组织(INV)................................................................................................- 66 -3.5.5公司成本中心(Cost Center)............................................................................- 67 -3.5.6人力资源组织(HR)..........................................................................................- 68 -3.6多组织访问 (69)3.7基础数据 (71)3.7.2设置币种...............................................................................................................- 72 -3.7.3设置汇率...............................................................................................................- 73 -3.7.4设置单位...............................................................................................................- 74 -3.7.5设置地点...............................................................................................................- 74 -3.8并发管理 (75)3.8.1内部管理器...........................................................................................................- 76 -3.8.2标准管理器...........................................................................................................- 76 -3.8.3事务处理管理器...................................................................................................- 77 -3.8.4管理并发管理器...................................................................................................- 78 -3.9工作流. (80)3.9.1工作流管理与监控...............................................................................................- 80 -3.9.2账户生成器流程...................................................................................................- 82 -3.10系统预置的有关数据与设置.. (84)3.10.1安全性管理的初始设置.......................................................................................- 84 -3.10.2配置文件的初始设置...........................................................................................- 87 -3.10.3值集的初始设置...................................................................................................- 88 -3.10.4弹性域的初始设置...............................................................................................- 88 -3.10.5单据编号的初始设置...........................................................................................- 89 -3.10.6单据附件的初始设置...........................................................................................- 90 -3.11全新系统设置的层次性结构.. (91)3.11.1全系统公共层面设置...........................................................................................- 91 -3.11.2分支系统公用层面设置.......................................................................................- 91 -3.11.3模块系统层面的专用设置...................................................................................- 92 -3.12结语.. (94)第4章ORACLE EBS 系统主数据管理............................................................................- 95 -4.1引言 (95)4.2物料(I TEM) (95)4.2.1物料的类型与状态...............................................................................................- 95 -4.2.2系统物料编码(Item)........................................................................................- 98 -4.2.2.1编码的功能设计..............................................................................................................- 98 -4.2.2.2编码的应用原则..............................................................................................................- 98 -4.2.2.3编码的典型方法..............................................................................................................- 99 -4.2.3物料的类别(Category)...................................................................................- 100 -4.2.4物料的单位(UOM)........................................................................................- 103 -4.2.5物料的制造商部件号(MPN).........................................................................- 104 -4.2.6物料的版本(Revision)...................................................................................- 105 -4.2.7物料的组织控制(Master Org).......................................................................- 105 -4.2.8物料的属性及相互关系.....................................................................................- 107 -4.2.8.3可更新的属性................................................................................................................- 110 -4.2.8.4控制层的相关性............................................................................................................- 110 -4.2.9物料属性的内容简介(Attribute)....................................................................- 111 -4.2.10物料的属性快查.................................................................................................- 120 -4.2.11物料的客户与供应商关系.................................................................................- 120 -4.2.12物料的“替代关系“(Relationship)..................................................................- 122 -4.2.13物料的“交叉参考”(Cross Reference)............................................................- 123 -4.2.14物料创建的模板(Template)...........................................................................- 124 -4.2.15物料的“待定状态”(Pending Status)..............................................................- 127 -4.2.16物料的“目录组”(Catalog Groups).................................................................- 128 -4.2.17物料属性的组织间查看与复制.........................................................................- 129 -4.2.18物料的删除.........................................................................................................- 130 -4.2.19物料的其它来源方式.........................................................................................- 131 -4.3供应商(S UPPLIER) (133)4.3.1供应商的分类概述.............................................................................................- 133 -4.3.2供应商名称与编号(Supplier Name/Number)...............................................- 134 -4.3.3供应商的地点(Site).......................................................................................- 136 -4.3.4供应商的“分类“属性(Classification)............................................................- 137 -4.3.5供应商的接收属性(Receiving).....................................................................- 137 -4.3.6供应商Site层的“一般”属性................................................................................- 138 -4.3.7供应商Site层的“联系人”属性............................................................................- 139 -4.3.8供应商的多组织支持(MOAC).....................................................................- 139 -4.3.9供应商及Site的“采购”属性................................................................................- 140 -4.3.10供应商及Site的“控制”属性(Control)............................................................- 142 -4.3.11供应商及Site的“付款”属性(Payment)..........................................................- 143 -4.3.12供应商及Site的“会计”属性................................................................................- 144 -4.3.13供应商及Site的“银行账户”属性........................................................................- 144 -4.3.14供应商及Site的“发票税”属性............................................................................- 145 -4.3.15供应商及Site的“预扣税”属性............................................................................- 146 -4.3.16供应商及Site的“纳税申报及EDI”属性.............................................................- 147 -4.3.17R12的供应商定义与维护..................................................................................- 147 -4.3.17.1供应商属性分组.......................................................................................................- 147 -4.3.17.2供应商创建的类型...................................................................................................- 149 -4.3.17.3标准供应商的“组织”属性...................................................................................- 150 -4.3.17.4供应商的“地址簿”属性............................................................................................- 151 -4.3.17.5供应商的“联系人”属性............................................................................................- 152 -4.3.17.6供应商的业务“分类”属性........................................................................................- 153 -4.3.17.7供应商的“银行账户”属性...................................................................................- 153 -4.3.17.10供应商的“付款“属性................................................................................................- 155 -4.3.17.11供应商的“发票管理“属性........................................................................................- 156 -4.3.17.12供应商的接收、纳税与申报属性............................................................................- 157 -4.3.17.13供应商的待办事宜列表...........................................................................................- 157 -4.3.18供应商的合并.....................................................................................................- 158 -4.4客户(C USTOMER).. (158)4.4.1客户数据管理概述.............................................................................................- 159 -4.4.2EBS 交易社区架构(TCA)................................................................................- 160 -4.4.3客户的配置文件分类(Profile Class).............................................................- 161 -4.4.4创建客户.............................................................................................................- 162 -4.4.5客户的多组织控制(MOAC).........................................................................- 165 -4.4.6客户的交易方层属性及交易方关系.................................................................- 166 -4.4.7客户的账户层与地点层属性概述.....................................................................- 167 -4.4.8客户账户层的“分类”属性..................................................................................- 167 -4.4.9客户账户层的“市场营销”属性..........................................................................- 168 -4.4.10客户账户层的关系属性.....................................................................................- 168 -4.4.11客户账户地点层的“特性”属性..........................................................................- 169 -4.4.12客户账户与地点层的“通信”属性......................................................................- 169 -4.4.13客户账户与地点层的“联系人”属性..................................................................- 170 -4.4.14客户账户与地点层的“联系人:职责”属性..................................................- 171 -4.4.15客户账户与地点层的“银行账户”属性..........................................................- 171 -4.4.16客户账户与地点层的“付款方法”属性..........................................................- 172 -4.4.17客户账户与地点层的“配置文件:事务处理”分组属性..............................- 173 -4.4.18客户账户与地点层的“配置文件:单据打印”属性......................................- 173 -4.4.19客户账户与地点层的“配置文件:金额”分组属性......................................- 174 -4.4.20客户账户的“地址地点与业务目的”属性......................................................- 175 -4.4.21R12客户的账户层与地点层属性......................................................................- 178 -4.4.22客户数据的合并.................................................................................................- 179 -4.4.23交易社区系统简介.............................................................................................- 180 -4.5结语 (182)第5章ORACLE EBS 库存管理系统..............................................................................- 183 -5.1引言 (183)5.2库存系统设置概述 (184)5.3库存系统弹性域设置(必需) (186)5.3.1物料弹性域(System Item )...........................................................................- 186 -5.3.2物料类别弹性域(Item Categories)................................................................- 188 -5.3.3物料目录弹性域(Item Catalogs)...................................................................- 188 -5.3.6销售订单弹性域(Sales Orders )...................................................................- 190 -5.4库存系统的基础设置 (191)5.4.1库存组织参数(必需).....................................................................................- 191 -5.4.1.1库存参数(Inventory Parameters)..............................................................................- 191 -5.4.1.2成本计算信息(Costing Information)........................................................................- 193 -5.4.1.3版本/批次/序列和LPN(Revision/Lot/Serial and LPN)............................................- 196 -5.4.1.4ATP/挑库/物料来源补充(ATP/Pick/Item-Sourcing)................................................- 197 -5.4.1.5组织间信息(Inter-Org Information).........................................................................- 198 -5.4.1.6其它账户(Other Accounts).......................................................................................- 199 -5.4.1.7仓库(Warehouse)......................................................................................................- 200 -5.4.1.8仓库任务管理(Warehouse Task Management)........................................................- 200 -5.4.2定义子库存(必需).........................................................................................- 201 -5.4.2.1子库存“主要”信息(Main)....................................................................................- 203 -5.4.2.2子库存“账户”信息(Accounts).............................................................................- 205 -5.4.2.3物料/子库存(Item/Subinventory).............................................................................- 206 -5.4.2.4货位(Locator)...........................................................................................................- 208 -5.4.3定义物料状态(Material Status)(可选).......................................................- 208 -5.4.4定义事务处理类型(Transaction Type)(可选)............................................- 209 -5.4.5定义组织间发运网络(Shipping Networks)(可选).....................................- 211 -5.4.6定义发运方法(Shipping Methods)(可选)..................................................- 213 -5.4.7定义公司间事务处理流程(Intercompany Transaction Flow)(可选).........- 214 -5.4.8定义成本类型(Cost Type)(可选)...............................................................- 216 -5.4.9定义接收选项(必需).....................................................................................- 217 -5.4.10设置接口管理器(必需).................................................................................- 218 -5.4.11设置配置文件选项(Profile Option)(必需).................................................- 219 -5.4.12设置库存会计期间(必需).............................................................................- 222 -5.5库存系统的基本业务功能. (225)5.5.1基本功能概述.....................................................................................................- 225 -5.5.2库存量查询.........................................................................................................- 225 -5.5.3物料出入库业务.................................................................................................- 229 -5.5.4物料库存台账、成本及账务更新.....................................................................- 231 -5.5.5多组织库存量查询.............................................................................................- 232 -5.5.6物料的子库存转移(Subinventory Transfer)..................................................- 234 -5.5.7物料的组织间转移(Inter-organization Transfer)...........................................- 236 -5.5.8物料事务处理查询.............................................................................................- 240 -5.5.8.1物料事务处理(Material Transaction)查询...............................................................- 240 -5.5.8.2事务处理汇总(Transaction Summaries)...................................................................- 242 -5.5.8.3物料分配查询(Material distributions)......................................................................- 243 -5.6库存系统的高级业务功能 (246)5.6.1物料搬运单(Move Order)..............................................................................- 246 -5.6.1.1创建物料搬运单(申请)............................................................................................- 247 -5.6.1.2处理物料搬运单............................................................................................................- 248 -5.6.2物料事务处理的高级功能.................................................................................- 249 -5.6.2.1货位控制的设置(Stock Locators)............................................................................- 249 -5.6.2.2版本控制的设置(Revision)......................................................................................- 251 -5.6.2.3批次控制的设置(Lots).............................................................................................- 252 -5.6.2.4序列号控制的设置(Serial numbers)........................................................................- 253 -5.6.2.5事务处理过程中的货位/版本/批次/序列号控制的应用.............................................- 254 -5.6.2.6货位/批次/序列号相关结果数据的查询......................................................................- 256 -5.7物料的ABC分析. (258)5.7.1物料ABC分类的管理思想.................................................................................- 258 -5.7.2库存ABC分析的系统功能.................................................................................- 259 -5.7.2.1定义ABC分类标识........................................................................................................- 259 -5.7.2.2计算物料库存值或数量(ABC编译)........................................................................- 259 -5.7.2.3物料的ABC分配............................................................................................................- 261 -5.7.2.4ABC分配结果查询及更新............................................................................................- 262 -5.8库存盘点. (263)5.8.1实地盘点(Physical Inventory).......................................................................- 263 -5.8.1.1创建实地盘点(Physical Inventories)........................................................................- 263 -5.8.1.2生成货签(Tag Generation).......................................................................................- 264 -5.8.1.3货签计数(Tag Counts)..............................................................................................- 265 -5.8.1.4审批调整(Approve Adjustments).............................................................................- 266 -5.8.1.5调整过账(Launch Adjustments)...............................................................................- 268 -5.8.2周期盘点(Cycle Counting)............................................................................- 269 -5.8.2.1创建周期盘点(名)Cycle Counts...............................................................................- 269 -5.8.2.2人工计划(Manual Schedule Requests).....................................................................- 274 -5.8.2.3生成盘点请求(Generate Count Requests)................................................................- 274 -5.8.2.4自动计划(Cycle Count Schedule)............................................................................- 275 -5.8.2.5周期盘点录入(Cycle Count Entries)........................................................................- 277 -5.8.2.6周期盘点数据审批(Approve Counts)......................................................................- 278 -5.8.2.7周期盘点数据过账........................................................................................................- 279 -5.8.2.8周期盘点数据开放接口(Open Interface)................................................................- 279 -5.8.3补充盘点(Replenishment Counts).................................................................- 281 -5.9结语 (282)第6章ORACLE EBS 采购管理系统(上)..................................................................- 283 -6.2采购PO系统设置概述 (284)6.3采购PO系统基础设置 (285)6.3.1定义人员(Personnel)(必需)........................................................................- 285 -6.3.1.1分配职务及职位键弹性域结构(Job /Position Flexfield)........................................- 286 -6.3.1.2定义职务及职位............................................................................................................- 287 -6.3.1.3定义人员(People).....................................................................................................- 288 -6.3.2定义采购员(Buyer)(必需)..........................................................................- 289 -6.3.3设置财务选项(Financial Options)(必需)...................................................- 289 -6.3.4设置采购选项(Purchasing Options)(必需)................................................- 291 -6.3.5设置接收选项(Receiving Options)(必需)..................................................- 299 -6.3.6设置配置文件选项(Profile Option)(必需).................................................- 302 -6.3.7设置采购会计期间(必需).............................................................................- 304 -6.4采购PO系统业务设置.. (305)6.4.1定义采购物料相关属性(必需).....................................................................- 305 -6.4.2定义行类型(可选).........................................................................................- 306 -6.4.3定义付款条件(必需).....................................................................................- 307 -6.4.4定义进项税(必需).........................................................................................- 309 -6.4.5定义汇率(可选).............................................................................................- 310 -6.4.6定义质量检验代码(可选).............................................................................- 312 -6.4.7定义费用账户规则(可选).............................................................................- 312 -6.4.8定义职位层次结构(必需).............................................................................- 314 -6.4.9设置单据类型(可选).....................................................................................- 316 -6.4.10设置单据审批(必需).....................................................................................- 319 -6.4.10.1设置审批组...............................................................................................................- 319 -6.4.10.2设置审批分配...........................................................................................................- 320 -6.4.11设置采购工作流(可选).................................................................................- 321 -6.4.12设置采购事务处理并发流程(必需)..............................................................- 324 -6.5采购申请到采购订单的基本功能. (324)6.5.1采购系统的基本来源类单据.............................................................................- 324 -6.5.1.1报价单(Quotation)....................................................................................................- 325 -6.5.1.1.1标准/目录报价单.....................................................................................................- 327 -6.5.1.1.2投标报价单..............................................................................................................- 328 -6.5.1.1.3报价单审批..............................................................................................................- 329 -6.5.1.1.4供应商管理目录报价单..........................................................................................- 331 -6.5.1.2询价单(RFQ)............................................................................................................- 333 -6.5.1.2.1创建询价单(RFQ)..............................................................................................- 333 -6.5.1.2.2询价单打印/发送.....................................................................................................- 335 -6.5.1.2.3询价单用供应商列表..............................................................................................- 335 -6.5.1.3从询价单到报价单........................................................................................................- 336 -。
2.第二代支付系统报文交换标准(大额支付系统分册)

第二代支付系统报文交换标准【大额支付系统分册】(版本1.0)中国人民银行清算总中心2010年10月第二代支付系统报文格式标准(大额支付系统分册) RDC-DED -MEC中国人民银行清算总中心 第2页注:变化状态:A —增加,M —修改,D —删除目录1报文清单及概要 (4)1.1报文清单 (4)1.2数据类型 (4)2二代支付系统报文(XML格式) (5)2.1(复用ISO20022报文)客户发起汇兑业务报文<HVPS.111.001.01> (5)2.2(复用ISO20022报文)金融机构发起汇兑业务报文<HVPS.112.001.01> (18)2.3(复用ISO20022报文)即时转账报文<HVPS.141.001.01> (22)2.4即时转账排队/撤销通知报文<HVPS.142.001.01> (33)2.5PVP结算申请信息报文<HVPS.143.001.01> (36)2.6PVP结算应答信息报文<HVPS.144.001.01> (40)2.7申请清算银行汇票资金报文<HVPS.151.001.01> (41)2.8银行汇票全额兑付通知报文<HVPS.152.001.01> (49)2.9银行汇票申请退回业务报文<HVPS.153.001.01> (51)2.10大额业务对账申请报文<HVPS.710.001.01> (54)2.11大额业务汇总核对报文<HVPS.711.001.01> (57)2.12大额业务明细核对申请报文<HVPS.712.001.01> (60)2.13大额业务明细核对应答报文<HVPS.713.001.01> (62)2.14大额业务下载申请报文<HVPS.714.001.01> (64)2.15大额业务下载应答报文<HVPS.715.001.01> (66)2.16大额预对账报文<HVPS.716.001.01> (67)2.17资金拆借信息下载报文<HVPS.717.001.01> (69)3业务组件 (71)1报文清单及概要1.1报文清单1.2数据类型2二代支付系统报文(XML格式)2.1(复用ISO20022报文)客户发起汇兑业务报文<hvps.111.001.01>2.1.1报文功能当业务涉及到客户的个人账户时,发起参与机构组此报文发送到CNAPS2,在CNAPS2完成资金清算后实时转发接收参与机构,并将业务处理结果使用清算回执报文返回给发起参与机构。
ebs wip 事务处理类型

ebs wip 事务处理类型1.事务处理类型包括串行事务处理和并行事务处理。
Transaction processing types include serial transaction processing and parallel transaction processing.2.串行事务处理是一次只处理一个事务,而并行事务处理可以同时处理多个事务。
Serial transaction processing handles only onetransaction at a time, while parallel transaction processing can handle multiple transactions simultaneously.3.事务处理类型的选择取决于系统的性能要求和业务需求。
The selection of transaction processing types depends on the system's performance requirements and business needs.4.对于需要高吞吐量和低延迟的系统,通常会选择并行事务处理。
For systems that require high throughput and low latency, parallel transaction processing is usually chosen.5.而对于一些简单的应用场景,串行事务处理可能已经足够满足需求。
For some simple application scenarios, serial transaction processing may already be sufficient to meet the needs.6.事务处理类型的选择还需要考虑系统的可扩展性和容错性。
The selection of transaction processing types also needs to consider the system's scalability and fault tolerance.7.在选择事务处理类型时,还需要平衡系统的资源利用和性能表现。
分布式分润系统价值与应用 PPT精品课件

搭载分润系统的社区电商平台
15
樱桃赞是一个什么平台?
樱桃赞的商业原型旨在于改变传统电子商务“以卖家为中心、平台专享利 润”的交易规则,升级为“以满足顾客需求为中心、商家匹配相应服务、 共享平台利润”。樱桃赞平台理念上可实现全业态入驻,并可按省、市、 区设立子平台,充分吸纳覆盖任一社区范围内的实体商业,提升实体店竞 争力,减少虚拟网店对实体店的冲击,挽救那些转型慢或者转型失败的中 小企业,把原本将被浪费的资源再一次利用起来,更好地实现市场对资源 的基础性配置作用,推动经济增长方式由粗放型向集约型转变,形成区域 经济发展的新动力,转变经济增长方式,提高区域经济运行质量和效率,
Part 01
消费(行为)即挖矿
商家
消费者
分享者
营运中心
软件拥有者
注册即挖矿
消费者注册,奖励每人一定数量的糖果,以挖矿形式释放
分享即挖矿
每成功邀请1名粉丝,奖励一定数量的糖果 奖励部份以挖矿形式释放
经营即挖矿
商家入驻奖励一定数量的糖果 奖励部份以挖矿形式释放
运营即挖矿
成功申请成为营运中心 奖励营运中心一定数量的糖果
沉淀、实践、创造
分润系统
踏实的百名技术、创新的分润理念、有力的实践经验、成熟的分润体系、分布式的服务软件
智能的系统
任何商业体(平台)都可以使用
采用的商业体(平台)可自由设置共享软件的共享参数、分润体系
任何商业体(平台)、参与者均可放心使用分润系统 系统内的每一个商业体、分享者、推广者、使用者的行为都会被记录
分布式分润系统价值与应用
暨分布式电商樱桃赞应用培训会
共享经济&分享经济
紫金新一代跨平台ATMC自动版本分发管理系统简介

紫金新一代跨平台ATMC自动版本分发管理系统简介作者:陈跃来源:《中国金融电脑》 2016年第9期深圳市紫金支点技术股份有限公司研发中心软件二部陈跃金融自助设备跨平台应用软件是自助设备配套软件的重要组成部分,依托于CEN/XFS 标准,具备用户体验好、需求响应速度快、运营维护便利、实施成本较低等优点,有效地解决了设备种类多,维护难度大等问题。
在国内应用十多年来,已经得到了银行的广泛认可。
可以说,跨平台应用软件的出现是金融自助设备领域的一个重要里程碑。
在跨平台软件的研发方向上,一直存在着C/S 和B/S 两种截然不同的架构。
B/S 架构虽然部署升级简单,但是在实际使用中存在着交易页面响应慢、网络传输数据量大、无效数据多、受网络环境影响较大等问题,尤其在使用无线网络时问题会更加突出,严重影响了客户的使用体验,降低了客户对银行的信任度。
相较而言,C/S 架构在以下方面有着明显的优势:(1)页面反应流畅,交易平均等待时间短,受网络带宽影响较小,在网络较差的情况下,也可以正常对外服务,具有更好的客户体验;(2)带宽资源占用少,不会传输大量重复的页面数据,从而可以避免不必要的网络拥堵,提高交易的成功率和稳定性;(3)C 端独立运行,自主控制能力强,不依赖于服务端,避免了因服务端停机或异常导致大面积暂停服务的问题。
因此,C/S 架构得到了众多厂商和银行的青睐,逐渐成为跨平台应用软件的主流架构,越来越多的银行开始实施或者切换到采用C/S 架构的跨平台软件。
采用C/S 架构在带来优秀的客户体验的同时,也不可避免的存在着版本管理复杂的问题。
针对该问题,紫金公司在2006 年专门研发了一套跨平台软件版本分发管理系统,通过“远程推送、自动生效”的方式实现版本分发,替代以往需要现场升级的人工模式,大大降低了运维成本,为跨平台软件的运行和推广立下了汗马功劳。
但是尽管如此,早期的版本管理系统逐渐暴露出了一些不足,紫金公司也一直在积极探索,希望能给客户提供更加优秀的版本管理方案。
开源解决方案横向评述

4开源解决方案横向评述早上起床,一杯咖啡,打开电脑,看着屏幕上那些开源解决方案,我的思绪就像这咖啡的香气一样,弥漫开来。
今天,就让我以一个有10年方案写作经验的老兵身份,给大家横向评述一下这四个开源解决方案。
是ApacheKafka,这个大数据领域的明星。
Kafka以其高吞吐量、可扩展性、高可用性等特点,成为了实时数据处理领域的首选。
想象一下,成千上万的数据流在Kafka的管道中飞速流转,就像一条条奔腾的河流,汇聚成大海。
Kafka就像是那个掌控河流的舵手,让数据按照既定的航线前进。
不过,Kafka也有一些不足,比如配置复杂、维护成本较高,这对于一些小团队来说,可能有些难以承受。
是Redis,这个内存数据库界的翘楚。
Redis以其高速、持久化、支持多种数据结构等特点,成为了开发者们的心头好。
想象一下,Redis就像一个高效的数据搬运工,它能快速地将数据从硬盘搬运到内存,再从内存搬运到硬盘,让数据的读写速度大大提升。
不过,Redis 也有它的短板,比如内存占用较大,对于一些内存资源紧张的系统来说,可能不太友好。
再来是Elasticsearch,这个搜索引擎领域的独角兽。
Elasticsearch以其强大的搜索功能、可扩展性、易于维护等特点,吸引了众多开发者。
想象一下,Elasticsearch就像一个超级搜索引擎,它能在海量数据中迅速找到你想要的信息。
不过,Elasticsearch 也有它的局限性,比如资源消耗较大,对于一些小型项目来说,可能有些力不从心。
是Docker,这个容器技术的代表。
Docker以其轻量级、可移植、易于部署等特点,成为了微服务架构的基石。
想象一下,Docker就像一个集装箱,它能将应用程序及其依赖环境打包在一起,方便地在各种环境中部署。
不过,Docker也有它的不足,比如安全性问题,对于一些对安全性要求极高的场景,可能需要谨慎考虑。
回到这四个开源解决方案,它们各自都有独特的优势,但同时也存在一些不足。
openctp 代码 -回复

openctp 代码-回复什么是开放式跨交易平台(OpenCTP)?开放式跨交易平台(OpenCTP)是一个多功能的开源交易系统,旨在为金融机构、交易所、经纪商和个人提供一种可靠、高效的交易解决方案。
该平台基于C++开发,具有良好的可扩展性和可定制性,可以支持多种交易所和金融产品的交易。
OpenCTP的主要特点是:1. 开源:OpenCTP是开源软件,用户可自由获取和修改其源代码。
这使得开发者能够根据自己的需求进行定制和修改,以适应不同的交易策略和需求。
2. 跨交易所支持:OpenCTP可以连接多个交易所,包括期货交易所、股票交易所和外汇交易所。
这意味着用户可以在一个平台上同时进行不同交易所的交易,提高交易的效率和便利性。
3. 高可靠性:OpenCTP采用了先进的技术和流程,确保交易系统的高可靠性和稳定性。
它支持冗余和备份机制,以及容灾和复原功能,能够在出现故障时快速恢复,并保证交易的连续性。
4. 多重接口:OpenCTP提供了多种接口和通讯协议,方便用户与其他系统进行集成和数据交换。
用户可以通过API接口、FIX协议、Web服务等方式与OpenCTP进行通讯,实现实时行情获取、订单报价和交易执行等功能。
5. 策略回测和优化:OpenCTP内置了策略回测和优化功能,用户可以通过历史行情数据测试不同的交易策略,并根据测试结果进行优化和调整。
这可以帮助用户更好地理解市场和交易规律,并提高交易系统的盈利能力。
6. 资金管理和风险控制:OpenCTP支持多种资金管理和风险控制功能,用户可以根据自己的需求设置不同的风控参数和限制条件。
它还具备实时风控监测和预警功能,能够及时发现违规和异常行为,并采取相应措施。
如何使用OpenCTP进行交易?使用OpenCTP进行交易需要以下几个步骤:1. 下载和安装OpenCTP:用户首先需要从官方网站或GitHub上下载OpenCTP的安装包,并按照安装指南进行安装和配置。
第二代支付系统报文交换标准

第二代支付系统报文交换标准【大额支付系统分册】(版本1.2)中国人民银行清算总中心2011年07月注:变化状态:A—增加,M—修改,D—删除目录修改记录 (1)1报文清单及概要 (3)1.1报文清单 (3)1.2数据类型 (4)2第二代支付系统报文(XML格式) (5)2.1(复用ISO20022报文)客户发起汇兑业务报文<HVPS.111.001.01> (5)2.2(复用ISO20022报文)金融机构发起汇兑业务报文<HVPS.112.001.01> (20)2.3(复用ISO20022报文)即时转账报文<HVPS.141.001.01> (26)2.4即时转账排队/撤销通知报文<HVPS.142.001.01> (37)2.5PVP结算申请信息报文<HVPS.143.001.01> (40)2.6PVP结算应答信息报文<HVPS.144.001.01> (47)2.7申请清算银行汇票资金报文<HVPS.151.001.01> (48)2.8银行汇票全额兑付通知报文<HVPS.152.001.01> (59)2.9银行汇票申请退回业务报文<HVPS.153.001.01> (61)2.10取现回执报文<HVPS.154.001.01> (64)2.11多边轧差净额结算报文<HVPS.631.001.01> (70)2.12多边轧差净额结算清算回执报文<HVPS.632.001.01> (79)2.13多边轧差净额结算借贷通知报文<HVPS.633.001.01> (81)2.14多边净额业务撤销申请报文<HVPS.634.001.01> (83)2.15多边净额业务撤销应答报文<HVPS.635.001.01> (84)2.16大额业务对账申请报文<HVPS.710.001.01> (86)2.17大额业务汇总核对报文<HVPS.711.001.01> (88)2.18大额业务明细核对申请报文<HVPS.712.001.01> (91)2.19大额业务明细核对应答报文<HVPS.713.001.01> (93)2.20大额业务下载申请报文<HVPS.714.001.01> (96)2.21大额业务下载应答报文<HVPS.715.001.01> (98)2.22大额预对账报文<HVPS.716.001.01> (99)2.23资金拆借信息下载报文<HVPS.717.001.01> (102)3业务组件 (104)修改记录说明:[C]-创建;[M]-修改;[A]-增加;[D]-删除;1报文清单及概要1.1报文清单1.2数据类型2第二代支付系统报文(XML格式)2.1(复用ISO20022报文)客户发起汇兑业务报文<hvps.111.001.01>2.1.1报文功能当业务涉及到客户的个人账户时,发起参与机构组此报文发送到CNAPS2,在CNAPS2完成资金清算后实时转发接收参与机构,并将业务处理结果使用清算回执报文返回给发起参与机构。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
ACMSxp Open Distributed Transaction ProcessingbyRobert K. Baafi, J. Ian Carrie, William B. Drury, and Oren L. WieslerABSTRACTDigital's ACMSxp portable transaction processing (TP) monitor supports open TP standards and provides an environment for the development, execution, and administration of robust,distributed, client-server applications. The ACMSxp TP monitor supports the Structured Transaction Definition Language, amodular language that simplifies the development of transactional applications. ACMSxp software is layered on the Open Software Foundation's Distributed Computing Environment (DCE) and supportsXA-compliant databases and other resource managers by using the Encina toolkit from Transarc Corporation or Digital's distributed transaction manager (DECdtm) software. As a framework forDCE-based applications, the ACMSxp TP monitor simplifiesapplication development, integrates system administration, and provides the additional capabilities of high availability, high performance, fault tolerance, and data integrity.INTRODUCTIONTransaction processing (TP) is a style of computing thatguarantees robustness and high availability for critical business applications. TP typically involves a large number of users using display devices to issue similar and repetitive requests. The requests result in the accessing and updating of one or more databases to reflect the current state of the business.The basic building block in a TP system is a transaction. A transaction is an indivisible unit of work that represents the fundamental construct of recovery, consistency, and concurrency. Each transaction has the properties of atomicity, consistency, isolation, and durability (ACID). These properties are defined as follows:o Atomicity. Either all the actions of a transactionsucceed or all fail. In case of failure, the actions arerolled back.o Consistency. After a transaction executes, it musteither leave the system in a correct state or abort andreturn the system to its initial state.o Isolation. The actions carried out by a transactionagainst a shared database cannot become visible to other transactions until the transaction commits.o Durability. The effects of a committed transaction arepermanent.A TP monitor manages and coordinates the flow of transactions through the system. Transaction requests typically originate from clients, are processed by one or more servers, and end at the originating client. When a transaction ends, the TP monitor ensures that all systems involved in the transaction are left in a consistent state.The development of powerful desktop systems and advances in communications technology have fueled the growth of distributed client-server computing. The systems in a distributed environment may run different operating systems, possibly from different vendors. Business-critical applications may run under the control of different TP monitors. To coordinate their activities, TP monitors on heterogeneous systems need to conform to standardsfor open transaction processing.Open standards for transaction processing have been adopted bythe International Organization for Standardization/Open Systems Interconnection (ISO/OSI), the X/Open initiative, and the Service Providers' Integrated Requirements for Information Technology (SPIRIT) consortium.[1,2] The X/Open initiative is a consortiumof vendors whose purpose is to define standards for application portability. SPIRIT is a consortium of telecommunications service providers from the U.S., Europe, and Japan working under the general sponsorship of the Network Management Forum (NMF).[3-5] The goal of the NMF's SPIRIT consortium is to define standardsfor portability and interoperability across heterogeneous systems to be used as the basis for procurement.The main standards for open transaction processing areo X/Open distributed transaction processing (DTP), which is an architecture that allows multiple programs to shareresources (e.g., databases and files) provided bymultiple resource managers and allows their work to becoordinated. The architecture defines applicationprogramming interfaces and interactions amongtransactional applications, transaction managers,resource managers, and communications resource managers. The transaction manager and the resource managercommunicate by means of the XA interface.[6]o X/Open transactional remote procedure call (TxRPC), which allows an application to invoke local and remote resource managers as if they were all local. TxRPC also allows an application to be decomposed into client and servercomponents on different computers interconnected by means of remote procedure calls (RPCs).o SPIRIT Structured Task Definition Language (STDL), which is a block-structured language for transactionprocessing.[4,5,7] STDL provides transactional featuresincluding demarcation of transaction boundaries,transaction recovery, exception handling, transactionalcommunications, access to data queues, submission ofqueued work requests, and invocation of presentationservices.Digital's Application Control and Management System/Cross-platform (ACMSxp) software product is a portable TP monitor that supports the open TP standards. It provides an environment for the development, execution, and administration of STDL applications. ACMSxp software is layered on the Open Software Foundation's (OSF's) Distributed Computing Environment (DCE) and supports multiple resource managers through TransarcCorporation's Encina toolkit on the UNIX operating system and Digital's distributed transaction manager (DECdtm) services onthe OpenVMS operating system.[8] This paper describes the design of the ACMSxp TP monitor.APPLICATION DEVELOPMENTACMSxp applications are written using a combination of the STDL and traditional languages such as C and COBOL. STDL is a modular, block-structured language developed specifically for transaction processing. It is based on the ACMS Task Definition Language (TDL) and was developed as part of Nippon Telegraph andTelephone's (NTT's) Multivendor Integration Architecture (MIA) initiative.[9-11] The NMF's SPIRIT consortium subsequentlyadopted STDL.STDL Language OverviewSTDL provides transactional features including transaction demarcation, transactional remote procedure call, transactional task and data record queuing, transactional display management, transactional exception handling, and transactional working storage called workspaces.STDL divides an application into three parts: presentation, transaction flow control, and processing, as illustrated inFigure 1. The presentation part interfaces with display devices using a presentation manager, such as Motif, Windows, or forms manager software. The transaction flow control part is written in STDL and controls the flow of execution, including transaction demarcation, exception handling, and access to queues. The processing part is written in traditional languages, such as C, COBOL, and SQL, and provides computation and access to resource managers such as databases and files.[Figure 1 (STDL Application Model) is not available in ASCII format.]The application functions in the three parts of the STDLapplication model are referred to respectively as presentation procedures, tasks, and processing procedures. The application functions are packaged into groups for the purposes ofcompilation and execution. The groups are referred to as presentation groups, task groups, and processing groups.A group specification describes the functions in the group and their interfaces. The interface specification includes the arguments that are passed to the function and an indication of whether an argument is input only, output only, or both input and output. For a task, the interface specification also indicates whether the task begins a new transaction (NONCOMPOSABLE) orjoins the caller's transaction (COMPOSABLE).STDL variables are defined in constructs called workspaces. Workspaces may have the transactional attribute, thus allowing an application to coordinate internal data with the outcome of the transaction along with other resource manager participants. Workspaces have the scope of either PRIVATE or SHARED. A PRIVATE workspace is accessible to only a single task; a SHARED workspace is accessible to all tasks in a task group.STDL supports two types of queues: record and task. Record queues provide a transactional, durable scratch pad facility for applications to store and retrieve intermediate results. Task queues provide a way of executing tasks independently of the currently executing task in both time and location. Storage ofthe task queue element on the task queue may or may not be conditional on the outcome of the currently executing task.Sample STDL ApplicationFigure 2 shows a sample STDL application program. The sample program accepts an integer, increments it, and displays it. In addition, shared workspaces are defined in the task group totrack the number of successful executions ("successes") and the number of failed executions ("failures"). These operations all take place within the context of a transaction defined by task add1. If the transaction succeeds, the program increments "number" and the shared workspace "successes." If the transaction fails, the program restores "number" to its initial state and invokes the exception handler. The exception handler then updates the shared workspace "failures."Figure 2 Sample STDL ApplicationRECORD arg1number INTEGER;END RECORD;TASK GROUP example1TASK add1TASK ARGUMENT IS arg1 PASSED AS INOUT;END TASK GROUP;TASK add1 ARGUMENT IS arg1 PASSED AS INOUT;WORKSPACES ARE successes SHARED UPDATE RECOVERABLE, failures SHARED UPDATE,arg1 PRIVATE RECOVERABLE;BLOCK WITH TRANSACTIONPROCESSINGCOMPUTE successes = successes + 1PROCESSINGCOMPUTE number = number + 1EXCHANGESEND RECORD number TO inscreenEND BLOCKEXCEPTION HANDLER ISPROCESSINGCOMPUTE failures = failures + 1END EXCEPTION HANDLER;END TASK;STDL CompilerThe STDL compiler simplifies the process of developingdistributed client-server applications. It generates all the code necessary for supporting the application in the distributed environment, including server initialization, namespace registration, namespace lookup, and application context propagation. This allows the application programmer to focus on the application problem at hand.The ACMSxp STDL compiler translates STDL specifications into executable code. The compiler itself is written in the ANSI C programming language using POSIX 1003.1 library interfaces for platform portability; the generated code consists of only ACMSxp run-time service calls and DCE service calls.[12] To theapplication programmer, the ACMSxp STDL compiler looks much like a classical compiler. The STDL compiler reads source code, converts it to object code, and then links it to create an executable program. Figure 3 shows the elements written by the application programmer and the transformations required to create an executable program.[Figure 3 (STDL Compiler Flows) is not available in ASCII format.] Internally, the STDL compiler consists of a series of steps that run under the control of a driver program. This processing takes place in the steps shown inside the dashed-line box of Figure 3. The STDL driver first reads STDL specifications in one pass and constructs internal structures that represent each STDL entity in the source file. Once an entity has been completely parsed andthe syntax has been checked for errors, the driver generates intermediate files by translatingo STDL groups into ACMSxp client and server stubs and a DCE RPC Interface Definition Language (IDL) fileo STDL tasks into C code and ACMSxp run-time service callso STDL record definitions into C structures contained in C header files or COBOL copy filesAfter the STDL driver has generated all the intermediate files,it invokes the appropriate language processor to convert thefiles into object files. The DCE IDL compiler processes the IDL files, and the C compiler processes the tasks and the ACMSxp stubs. To keep the number of pieces visible to the application programmer within reason, the ACMSxp client and server stubs are combined with the DCE client and server stubs. The result is a collection of object files similar to those found in aconventional DCE application. The platform linker then combines the resulting files into an executable program.The ACMSxp client and server stubs are similar in concept to the DCE RPC client and server stubs. The client stub is linked with other applications that invoke this group's tasks or procedures. The server stub is combined with application code to create the application server image. The ACMSxp stubs call ACMSxp run-time services to add to the base DCE RPC services features such as transactions, failover and failback, and time-out.EXECUTION ENVIRONMENTThe ACMSxp run-time system provides an environment for executing and invoking STDL applications. It also provides services that allow components in the execution environment to be managed. The execution environment provides many services typically needed in TP environments, such as resource scheduling, fault tolerance, and queuing.Process ModelThe ACMSxp environment consists of client and server components.A TPsystem comprises multiple server components on a node thatare managed as a unit. A given TPsystem has a globally unique name and is associated with only one node, but a node can have multiple TPsystems associated with it. A TPsystem contains a central process called the TPcontroller, which controls the components within the TPsystem. The processes in the execution environment are illustrated in Figure 4.[Figure 4 (Processes in Execution Environment) is not availablein ASCII format.]As the central point of control for the components within a TPsystem, the TPcontroller performs many functions, including license checking, starting and stopping servers, and monitoring server processes and restarting them when they terminate abnormally. It also receives administration requests and performs the requested operations, maintains information in shared memory for communication with server processes, and maintains key files for server authentication.A task server executes STDL task group code and uses multiple threads in a single process to achieve concurrent execution (multithreaded). A processing server executes STDL processing group code and uses a pool of single-threaded processes toachieve concurrent execution (multiprocess).System servers provide specific run-time services to the TPcontroller, task servers, and processing servers. The system servers include the event log server, the request queue server, and the record queue server. System servers are multithreaded.Client processes invoke services provided by a TPsystem and its servers. An administration client (also referred to as the director) invokes administration services provided by the TPcontroller and system servers. An application client invokes application services provided by task servers. An application client can be a customer-written client or an ACMS Desktopclient. A customer-written client can consist of code necessaryto support a forms manager or device control such as an automatic teller machine or a gas pump. An ACMS Desktop client allows popular desktop systems such as the Macintosh, SCO's UNIX, Microsoft Windows, and Windows NT operating systems to be used to access services provided by ACMSxp application servers.Run-time ServicesThe ACMSxp run-time system provides services required for the execution of client-server TP applications. The run-time services are highly modular and are layered on the services provided bythe underlying transaction manager, DCE, operating system, network, and other services, as shown in Figure 5.[Figure 5 (Modular Run-time Architecture) is not available in ASCII format.]The run-time services integrate the services of the underlying platform and provide additional functionality. They export an application programming interface (API) called the transaction processing service interface (TPSI). The run-time servicesincludeo Communication, which provides services for transactional and nontransactional communication between clients andservers using DCE RPC. The supported transports aretransmission control protocol/internet protocol (TCP/IP), DECnet OSI, and Fast Local Transport.o Process management, which provides services for starting and stopping server processes, monitoring serverprocesses for abnormal termination, and restarting newones to maintain the specified number of processes.o Thread context management, which provides services forcreating, setting, and propagating thread context. Thread context includes request context, exception context,transaction context, and procedure context.o Timer alert, which provides services for accumulating CPU time and transaction (elapsed) time.o Transaction demarcation, which integrates with the Encina toolkit on the OSF/1 platform or the DECdtm software onthe OpenVMS platform to provide distributed transactionsupport.o Queuing, which provides services for request queuing and record queuing. Request queuing allows task requests tobe queued for deferred invocation. Record queuing allows data records to be enqueued and dequeued.o File management, which provides file management services for COBOL and C programs. It provides thread-basedtransaction semantics for STDL file access and handlesopening and closing of files, file positioning, and file locking.o Workspace management, which provides services formanaging private and shared workspaces. A workspace is an STDL construct and represents an area of memory used for data storage and for arguments passed in a procedurecall. A workspace can be recoverable or nonrecoverable.o Security, which authenticates users and servers andprovides access control, based on the DCE securityservice, for application invocation as well as management operations.o Event posting, which provides services for writing events into a log. Logged events include error, security,status, audit, and trace events.o Performance monitoring, which provides services forcapturing performance measurement data.Client-Server CommunicationThe ACMSxp communications services use OSF's DCE services for locating servers, invoking servers, and ensuring secure communications. The communications services maximize theefficiency of DCE service usage, provide robustness in the event of failure, and add distribution of transaction semantics to DCE RPC communications.Figure 6 shows the elements and steps involved in the communication between a client and a server. The numeric annotations in the following discussion refer to the numbers that appear in the figure.[Figure 6 (Client-Server Communication Flow) is not available in ASCII format.]The STDL client application calls the server (1). The ACMSxpclient stub issues run-time service calls (2) to initialize context blocks and to obtain a binding handle (i.e., server addressing information), and calls the DCE RPC client stub, passing context blocks and application data (3). The DCE RPCclient stub marshals data and calls the server (4).The DCE RPC server stub receives the call, unmarshals data, and calls the ACMSxp server stub (5). The ACMSxp server stub issues run-time service calls (6) to establish local context and tocheck security authorization, and calls the server application (7). The server application executes and returns the results to the ACMSxp server stub, which propagates any error information. Transaction Processing CharacteristicsThe run-time system provides the TP monitor with characteristics such as high availability, load balancing, and high performance. Some of the mechanisms used to achieve these characteristics are discussed below.Availability. The run-time system provides failover and failback capabilities to enhance the availability of applications.Failover is the redirection of an RPC to an alternate server if the intended server is not reachable. The target server can be unreachable for many reasons, including loss of connectivity, application failures, and machine failures. Failback is the redirection of calls to the original server when it becomes available.Failover and failback capabilities are supported for task servers but not for processing servers. The DCE cell directory service (CDS) namespace profile mechanism supports failover and failback. The system administrator configures the primary and alternate servers by placing them in the same namespace profile withdifferent priorities. The server with the lower priority numberis the primary server.Run-time support for failover and failback is implemented in the client stub. Failover is attempted if an RPC fails and thereturned error indicates that no work had been done by the called server in the current transaction. Failover is always attempted for a nontransactional RPC but is attempted for a transactional RPC only if this is the first call to the intended server in the transaction. The failover mechanism is optimized in three ways: by reconnecting, by pinging, and by checking the failed servers table. When a failure is detected, the failover mechanismattempts to reconnect to the server in case the failure was caused by intermittent communications problems. If the reconnect fails, the failover mechanism attempts to find an alternate server. When an alternate server is selected, it is pinged to ensure that it is reachable before being called with application work. If a server cannot be reached, it is recorded in a "failed servers" table and skipped on subsequent failover attempts.Failback is attempted if the binding found is for an alternate server. Failback to the primary server is attempted even if the binding for the alternate server is good, as long as the failbacktimer has expired. The failback timer defaults to 300 seconds and can be set by an environment variable.Load Balancing. The ACMSxp run-time system can achieve load balancing for task servers through the DCE CDS. The DCE CDS group entry contains multiple server entries that provide the same interface. Locating a server by means of a group entry results in the random selection of one server in the entry. A combination of static load balancing and failover can also be implemented using DCE CDS functionality.Performance. Many parts of the ACMSxp system contain mechanisms that are designed to improve performance. A discussion of some of these mechanisms follows.The server stub caches server bindings to improve performance. Server bindings are the addressing information that allows aclient process to call a server process. Binding caching is a means of retaining the server addressing information for reuse. Reading the binding from the namespace can be time-consuming. For example, a DCE CDS namespace lookup requires a network connection to fetch the data from another process, which may be on aseparate node. The cache of server bindings is shared among all the threads in the client process. This sharing provides a second order of performance improvement in that work previouslyperformed on behalf of other threads can improve the performance of all threads by preloading the cache.The scheduler subcomponent of the communications servicesallocates and deallocates server processes. It maintains a local namespace (also referred to as scheduler database) in shared memory to keep track of server process allocation. The use of the local namespace instead of DCE CDS improves the performance of RPC calls between task servers and processing servers, which are required to be in the same TPsystem.The security service caches access control lists (ACLs) toimprove performance. The TPcontroller maintains in shared memory the ACLs for managed objects that the ACMSxp TP monitor accesses at run time (e.g., procedures). The security service caches each object's ACL into the server process memory when the object is first accessed. The server process refreshes its cache if the entry in shared memory is updated.SYSTEM ADMINISTRATIONThe distributed TP environment is inherently complex and requires effective system administration. The ACMSxp TP monitor provides the following system administration facilities for configuring, monitoring, and controlling components and resources within the ACMSxp run-time environment:o Integrated user interface. The director (see thediscussion of Figure 7, which follows) provides aconsistent user interface for invoking managementoperations on all managed objects. The command lineinterface provides features such as command scripts,symbol substitution, session logging, default sessionparameters, and on-line help.o Centralized distributed management. A single directorcan manage multiple TPsystems on the local or remotenodes using DCE RPC for communication.o Extensibility. The object-oriented approach allows theACMSxp TP monitor to represent managed resources in aconsistent manner and to add new objects gracefully. Management ModelThe ACMSxp management model is object oriented and is based onthe ISO/OSI standard for network and systemmanagement.[2,13] Figure 7 illustrates the elements of the model. [Figure 7 (Management Model) is not available in ASCII format.]A director initiates management requests on behalf of the system administrator and serves as the interface between a system administrator and the objects being monitored andcontrolled.[14] A director consists of two parts: the user interface and the management service interface. The userinterface interacts with the user and is either command line or graphical. The management service interface interacts with management agents. This interface provides services for creating an association for communication between a director and management agents, for initiating management requests, for returning results to the director, for canceling an outstanding request without waiting for completion, and for terminating an association normally.The management protocol specifies both the mechanism for communication between a director and management agents and the model of interaction between them. The model specifies how requests and responses are passed between the director and the management agents, the processing of requests that involvewild card object instances, and the buffering of multiple responses to optimize performance. The ACMSxp TP monitor uses DCE RPC for communication between a director and management agents.A management agent performs operations for a managed object. Each object class has a management agent that performs management operations for instances of that object class. The management agent receives a management request from the director, performs the requested operation, and returns the results.Management FunctionsManagement operations that can be performed on managed objectsare grouped into the following functional categories, as defined by the OSI management framework:o Configuration management. Managed objects areinstantiated, observed, and controlled. Persistentinformation about managed objects is stored in aconfiguration database.o Fault management. Events generated by system operationare recorded in a log file. The contents of the log canbe examined using a variety of search criteria.o Performance management. Performance metrics arecollected as the run-time system executes. Theperformance data is captured as attributes of managedobjects and can be examined using the director.o Security management. Principals are authenticated using the DCE. Access to system administration operations andapplication procedures is controlled using an ACLmechanism based on the DCE model.Managed ObjectsThe resources in the ACMSxp environment that need to be managed are represented as objects. A managed object encapsulates the functionality of a real resource and specifies as visible only those aspects that need to be accessed by the manager. A managed object has the following properties:o Attributes. Attributes are pieces of information thatdescribe an object and represent internal statevariables. Each attribute has a name and a value, whichcan be examined or modified as a result of a managementoperation. Examples of attributes are executable filename and processing state (for a server).o Operations. Operations are activities that the managercan perform on the managed object. Operations allow themanager to examine attributes, modify attributes, andperform actions specific to the object. Examples ofoperations are create, delete, enable, disable, set, and show.o Events. Events indicate the occurrence of normal andabnormal conditions. Examples of events are the detection of an error and the arrival at a threshold.。