了解ISO 8583消息传递日志 [英] Understanding ISO 8583 messaging log

查看:76
本文介绍了了解ISO 8583消息传递日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 WIKI

I read about ISO 8583 messaging at WIKI and Code Project; I understood ISO 8583 messages can basically be divided in 3 parts:

  1. MTI(消息类型指示器)

1.1.版本

1.2.邮件类别

1.3.留言功能

1.4.邮件来源

  1. 位图

指出存在哪些数据元素.

Indicate which data elements are present.

  1. DataElement

整个ISO消息的本质,包含有关事务的信息,例如:

The essence of the whole ISO message, contain information about the transaction such as:

  • 交易类型

  • transaction type,

金额

客户编号等

因此,在阅读了这两个Web参考之后,我想将我的ISO消息日志分为MTI,位图和数据元素.

So, after reading these two web references, I want to make divide my ISO messaging log as MTI, bitmap, and Data Element.

例如:

(0800 2020000000800000   000000 000001 3239313130303031)
MTI:  0800 (1987 version, Network Management Message, Request, Acquirer)
Bitmap: 20 20 00 00 00 80 00 00 (eg. 20 = 0010 0000 ,so position 3 is on)
DataElement:(by seeing Bitmap , we can defined data element as follow)
    field 03:000000 (Processing Code)
    field 11:000001 (Systems trace audit number)
    field 41:3239313130303031 (Card acceptor terminal idenfication)

但是我的挑战是我已经从我的ATM机上获得了ISO 8583消息日志.

But my challenge is that I already have ISO 8583 messaging log from my ATM Machine.

这个实际的输出消息日志不是很清晰,就像上面的代码片段一样.

This actual output messaging log is not very clear like the one in the snippet above.

因此,我无法像上例一样将此消息划分为MTI,位图和数据元素.

So I cannot divide this message to MTI, Bitmap and Data element like upper example.

00000:00 5B 30 31 31 30 30 30 30 30 30 30 30 38 32 30 80 38 00 00  [.[01100000000820.8..]
00020:00 81 00 00 04 00 00 00 00 00 00 00 33 36 32 39 31 30 31 30  [............36291010]
00040:32 39 35 37 31 30 33 31 31 30 30 30 30 30 30 35 30 33 31 53  [2957103110000005031S]
00060:55 32 30 31 31 31 30 33 31 31 30 32 39 35 37 32 30 31 31 31  [U2011103110295720111]
00080:30 33 31 31 30 32 39 35 37 33 30 30 31                       [0311029573001       ]

我以前没有使用ISO 8583消息的经验,欢迎提出建议.

I have no previous experience in ISO 8583 message and welcome suggestions.

推荐答案

知道了,
此消息分为以下内容:

Got it,
This message is divided as follows:

前2个字节是消息长度00 5B = 91
后跟标头的14个字节= 01100000000820

First 2 bytes are the message length 00 5B = 91
Followed by 14 bytes of header = 01100000000820


BMP采取了以下措施:


Followed somehow by BMP as follows:

  • 主BMP = 80 38 00 00 00 81 00 00 =字段{1,11,12,13,41,48}存在
    字段1表示存在次要BMP
  • 次要BMP = 04 00 00 00 00 00 00 00 =字段70存在
  • Primary BMP = 80 38 00 00 00 81 00 00 = Fields {1, 11,12, 13, 41, 48} exist
    Field 1 means secondary BMP exist
  • Secondary BMP = 04 00 00 00 00 00 00 00 = Field 70 exist

我不确定MTI在哪里,请问是头标拖车中的0820吗?因为它是ASCII格式,通常以08 20的数字形式出现,但这可能是规范的一部分. 0820表示网络管理建议

I am not sure where is MTI, will it be the 0820 at the trailer of the header? since it is in ASCII and usually it comes in numeric value of 08 20 but this might be part of the specs. 0820 means network management advice

无论如何,解码后的BMP中的字段如下:

anyways, the fields from the decoded BMP as follows:

  • DE 11 = 362910
    系统跟踪审核号
  • DE 12 = 102957
    本地交易时间hh(24)mmss
  • DE 13 = 1031
    本地交易日期MMDD
  • DE 41 = 10000005
    终端ID
  • DE 48 =(031)SU20111031102957201110311029573
    请注意该字段中剩余数据之前的3位数字长度字段.这是一个通用(将来/私人使用)字段
  • DE 70 = 001
    网络管理信息代码< 001 =登录>
  • DE 11 = 362910
    System Trace Audit Number
  • DE 12 = 102957
    Local transaction time hh(24)mmss
  • DE 13 = 1031
    Local transaction date MMDD
  • DE 41 = 10000005
    terminal ID
  • DE 48 = (031) SU20111031102957201110311029573
    notice the 3 digits length field preceding the remaining data in this field. which is a generic (future/private use) field
  • DE 70 = 001
    network management information code <001 = sign on>

从DE 70值001开始,这是一条登录消息,必须为0800 MTI.

From DE 70 value 001 this is a sign on message, which must be a 0800 MTI.

要获取有关MTI位置和DE 48含义的更多信息,应阅读此设备的手册(技术规格)以获取更多信息.

To get more information about the location of the MTI and the meaning of DE 48, you should read the manual (technical specs) of this device to get more information.

这篇关于了解ISO 8583消息传递日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆