CWA 16926-77:2020【作废】Extensions for Financial Services (XFS) interface specification Release 3.40 - Part 77: Item Processing Module Device Class Interface - Migration from version 3.30 (CWA 16926) to Version 3.40 (this CWA) - Programmer's Reference
- 中文题名:金融服务(XFS)接口扩展规范3.40版第77部分:项目处理模块设备类接口从3.30版(CWA 16926)迁移到3.40版(本CWA)程序员参考
此规范描述了项目处理模块(IPM)的XFS服务类。此服务类的规范包括可以使用WFSAsyncExecute、WFSExecute、WFSGetInfo和WFSAsyncGetInfo函数发出的特定于服务的命令的定义。此服务类当前仅为自助服务设备定义。在美国,支票总是用磁性墨水编码,以便通过磁性墨水字符识别(MICR)进行读取,并且总是使用单一字体。在欧洲,有些国家使用MICR,有些国家使用不同字体的光学字符识别(OCR)字符集进行检查。项目处理模块接受一个或多个媒体项目(支票、转帐单等),并根据应用程序要求处理这些项目。IPM类支持可以处理单个项的设备以及可以处理一堆项的设备。以下是三种主要设备类型:-单个项目:一次可以接受和处理单个项目。-不带堆叠器的多项目馈送(在某些环境中称为托管):可以接受来自客户的一堆媒体,但在处理下一个项目之前,必须对每个项目进行完全处理(即存放在箱子中或返回)。-多项目饲料与堆垛机:可以接受一堆媒体从客户和所有项目可以一起处理。IPM类为应用程序提供一个接口,用于控制以下功能(取决于特定底层设备的功能):-以多种格式和位深度捕获项前面的图像。-以多种格式和位深度捕获项目背面的图像。-使用MICR reader读取项目的代码行。-使用OCR读取项目的代码行。-在项目上背书(打印文本)。-在物品上盖章。-将项目返回给客户。-把东西放在箱子里。-收回客户留下的物品。IPM设备类使用事务中媒体的概念来跟踪和控制客户与设备的交互。事务中的媒体由一个或多个WFS-CMD-IPM-Media-In命令组成。事务由第一个WFS_CMD_IPM_MEDIA_IN命令启动,并保持活动状态,直到通过WFS_CMD_IPM_IN_END确认事务,或由WFS_CMD_IPM_MEDIA_IN_ROLLBACK、WFS_CMD_IPM_RETRACT_MEDIA或WFS_CMD_IPM_RESET终止事务。当事务处于活动状态时,WFS-INF-IPM-transaction-STATUS命令报告当前事务的状态。当事务未处于活动状态时,WFS_INF_IPM_transaction_STATUS命令将报告上一个事务的状态以及某些当前状态值。IPM支持的设备主要有两种,一种是带堆垛机的设备,另一种是不带堆垛机的设备。在本规范中,术语“长边”和“短边”用于描述支票的方向及其边长。下图说明了这些定义。XFS3.40被设计为最小化向后兼容性问题。本文档通过突出显示文本的添加和删除,突出显示了在版本3.30和3.40之间对IPM设备类所做的更改。
This specification describes the XFS service class for Item Processing Modules (IPM). The specification of this service class includes definitions of the service-specific commands that can be issued, using the WFSAsyncExecute, WFSExecute, WFSGetInfo and WFSAsyncGetInfo functions.
This service class is currently defined only for self service devices.
In the U.S., checks are always encoded in magnetic ink for reading by Magnetic Ink Character Recognition (MICR), and a single font is always used. In Europe some countries use MICR and some use Optical Character Recognition (OCR) character sets, with different fonts, for their checks.
Item Processing Modules accept one or more media items (Checks, Giros, etc) and process these items according to application requirements. The IPM class supports devices that can handle a single item as well as those devices that can handle bunches of items. The following are the three principle device types:
- Single Item: can accept and process a single item at a time.
- Multi-Item Feed with no stacker (known as an escrow in some environments): can accept a bunch of media from the customer but each item has to be processed fully (i.e. deposited in a bin or returned) before the next item can be processed.
- Multi-Item Feed with a stacker: can accept a bunch of media from the customer and all items can be processed together.
The IPM class provides applications with an interface to control the following functions (depending on the capabilities of the specific underlying device):
- Capture an image of the front of an item in multiple formats and bit depths.
- Capture an image of the back of an item in multiple formats and bit depths.
- Read the code line of an item using MICR reader.
- Read the code line of an item using OCR.
- Endorse (print text) on an item.
- Stamp an item.
- Return an item to the customer.
- Deposit an item in a bin.
- Retract items left by the customer.
The IPM device class uses the concept of a Media-In transaction to track and control a customer’s interaction with the device. A Media-In transaction consists of one or more WFS_CMD_IPM_MEDIA_IN commands. The transaction is initiated by the first WFS_CMD_IPM_MEDIA_IN command and remains active until the transaction is either confirmed through WFS_CMD_IPM_MEDIA_IN_END, or terminated by WFS_CMD_IPM_MEDIA_IN_ROLLBACK, WFS_CMD_IPM_RETRACT_MEDIA or WFS_CMD_IPM_RESET. While a transaction is active the WFS_INF_IPM_TRANSACTION_STATUS command reports the status of the current transaction. When a transaction is not active the WFS_INF_IPM_TRANSACTION_STATUS command reports the status of the last transaction as well as some current status values.
There are primarily two types of devices supported by the IPM, those devices with a stacker and those without.
In this the specification the terms “long edge” and “short edge” are used to describe the orientation of a check and length of its edges. The diagram below illustrates these definitions.
XFS 3.40 has been designed to minimize backwards compatibility issues. This document highlights the changes made to the IPM device class between version 3.30 and 3.40, by highlighting the additions and deletions to the text.
起 草 人:
归口单位:
CEN/WS XFS-
代替如下标准1
