版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Ping XiongJun 20132 F5 Networks, Inc.Agenda Technical Background for Online Transaction Interface Overall structure ISO8583 Fixed Length Message MBLB for Fixed Length Message Handling half-duplex, asynchronous messages iRules Collect data Get message length, make sure the full message captured Get t
2、he sequence # for reference Dispatch the response message to proper sender3 F5 Networks, Inc.4 F5 Networks, Inc.Technical Specification Long life TCP connections Half-Duplex Communication Overall Message structureMessage Length(4 Bytes)Message Body005050 bytes message body (8583 or Fixed Length)Exam
3、pleData Structure5 F5 Networks, Inc.ISO8583 Message Structure Message HeaderMessage HeaderMessage Type IDBitmapMessage FieldsFieldField NameLength(Byte)Field1Header Length1Field2Header Flag and Version1Field3Total Message Length4Field4Destination ID11Field5Source ID11Field6Message Status Flags3Field
4、7Batch Number1Field8Reserved for Use8Field9User Info16 F5 Networks, Inc.ISO8583 Other useful fields Field 7: TRANSMISSION-DATE-AND-TIME, 10 bytes Field 11: SYSTEM-TRACE-AUDIT-NUMBER, 6 Bytes Field 32: ACQUIRING-INSTITUTION-IDENTIFICAT ION-CODE, 11 bytes Field 7, 11 and 32 compose a unique ID for a t
5、ransaction We can use this unique ID to track a transaction7 F5 Networks, Inc.Fixed Length Message For Counter Transaction, Phone Banking, Call Center Useful Information Message Length, the first 4 bytes Field 7: Transaction Sequence Number Example: Credit Account Inquiry RequestField NameVariableFo
6、rmat Remarks1Transaction CodeTRXTYPEN (4)30012Response CodeRETCODE A(6)3Bank NumberBNKNBRA(4)4Transaction Source SOURCEA(2)5Branch NumberBRN_NON(6)6Operator NumberOPE_NON(6)7Sequence NumberSEQNON(6)8Card NumberCARDNOA(19)9PIN FlagPIN_FLAG A(1)10 PasswordA(8)8 F5 Networks, Inc.9 F5 Networks, Inc.WANH
7、andling Half-Duplex, Asynchronous Message We can use Field7, Sequence Number, to track the message Here is the iRulesCUP FE VIPRIONBank AFEBank AFECUP DataBank LANvs cup_fevs bank_afeRequest_nResponse_n10 F5 Networks, Inc.iRules Collecting message data, make sure the full message captured # Get firs
8、t 4 bytes for the length of the message# Get data count, 1-4 Bytes, then turn it into integerset bitVal substr $payloadbit 0 32set len binary format B* $bitValset nlen expr expr substr $len 0 1 * 1000 + expr substr $len 1 1 * 100 + expr substr $len 2 1 * 10 + expr substr $len 3 1log Mess
9、age Length:$nlenif $tcplen expr $nlen + 4 # more packets in the message, need to collect more datalog payload length is $tcplen, continue to collect .TCP:collect11 F5 Networks, Inc.iRules When full message captured, get field7 for reference else # data collection finished, start to proce
10、ss .set ascii7 substr TCP:payload 32 6set tkey $ascii7log Field7 SEQNO: $ascii712 F5 Networks, Inc.iRules Select proper pool member based on field7(sequence #) content# client Select, for VS which receive Unionpay response dataif $rflag = 1 if table lookup -subtable UNIONPAYFIXED -notouch $tkey eq $ippos pool $static:Recive_Pool member $ippos else pool $static:Recive_Poolelseif $rflag = 0 table set -subtable UNION
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年浙江省衢州市高职单招职业适应性测试考试题库(夺分金卷)附答案详解
- 2025年成都龙泉山职业学院单招综合素质考试模拟试卷及答案详解【各地真题】
- 2024年泰安现代文旅学院单招综合素质考试模拟试卷含答案详解(培优)
- 2026年娄底职业技术学院单招职业技能考试模拟试卷【黄金题型】附答案详解
- 2025年湖南怀化鹤城职业学院单招综合素质考试模拟试卷【研优卷】附答案详解
- 2027届南郑县四年级数学第一学期期末经典模拟试题含解析
- 2026年生活缴费行业十年转型趋势报告
- 汽车构造教学教案
- 镁铝合金轻量化汽车零部件项目施工方案
- 慢性病防控提质增效风险监测工作规范
- 凤凰模拟飞行培训课件
- 警务督察现场督察课件
- 标书保密方案模板(3篇)
- 临床医学检验质控试题及答案2025版
- 2025年天津市面向甘南籍未就业高校毕业生招聘事业单位工作人员公笔试备考试题附答案详解(a卷)
- 2023隧道装配式仰拱设计与施工技术标准
- 中医诊断学舌诊介绍
- 尼康S8200中文说明书
- GB/T 4706.7-2024家用和类似用途电器的安全第7部分:真空吸尘器和吸水式清洁器具的特殊要求
- 2024年高中数学奥林匹克竞赛全真试题
- 农业机械租赁模式创新研究
评论
0/150
提交评论