登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 通信工程 > 正文

银行业PC通讯报文研究毕业论文

 2022-03-26 05:03  

论文总字数:39522字

摘 要

银行业中P端、C端和V端是ATM重要的组成部分,交易的实质是PC两端进行报文通讯。此次毕设选取PC两端通讯作为研究对象,目标从报文接收、报文处理、报文发送到后期生成报告,完成交易过程中所有的报文处理过程,并进行探索研究。

本文主要是以PC通讯报文作为本次研究的出发点,通讯程序监听到C端发送的消息,接收XML报文,并将XML报文进行解析组包成8583报文,发送到P端;通讯程序接收P端返回的8583报文,并将8583报文进行解析组包成XML报文,返回给C端。

本文在VC6.0的软件环境下,实现报文的发送与接收、报文的解析与组包、报文接口,并利用DES算法实现报文的安全性,保证报文在传输的过程中不被篡改。借助C端和模拟P端实现软件测试。

关键词:PC端 报文 DES

Research on P side and C side communication message of banking

Abstract

Sides of P, C and V are an important part of the ATM in the banking industry,the essence of the transaction is that Both P side and C side deal with the process of message communication. This graduation design selects PC communicating as the research object, target from the packet reception, packet processing, packet transmission to the late generation Report, Completes the all the message processing process in transaction, and carries on the exploration research.

This paper mainly is based on the PC communication message as the starting point of this study. Communicating program is listening information that C side send, and receive XML messages.XML packets are analyzed packet into 8583 packets, and send to the P side. Communication program receive the returned 8583 message of the P side.8583 packets are analyzed group packet into XML packets, and return to C side.

The paper is under VC6.0 software environment, realizing message sending and receiving, message parsing and group package, message interface, and using DES algorithm to achieve the security of the message, to ensure that the message is not tampered with in the transmission process. With the help of C side and analog P side achieve software testing.

 

Key Words: Both P side and C side; Message; DES

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1 引言 1

1.2 PCV通讯模型 1

1.3 研究内容 2

1.3.1 Socket网络通讯 2

1.3.2 DES算法实现MAC校验 2

1.3.3 报文类型转换 2

1.3.4 交易接口的实现 2

1.4 相关环境介绍 3

1.4.1 开发环境 3

1.4.2 测试环境 3

第二章 Socket网络通讯 4

2.1 Socket编程基础 4

2.1.1 Socket简介 4

2.1.2 Windows Socket API 4

2.2 CSocket类 5

2.2.1 CSocket类简介 5

2.2.2 CSocket编程模型 5

2.2.3 CSocket成员函数 5

2.3 继承CSocket类的网络通讯实现 6

2.3.1 CListenCSocket – 监听ATMC应用的socket 6

2.3.2 CRecvCSocket – 接收ATMC应用的socket 7

2.3.3 CConnPSocket – 发送给ATMP的socket 9

2.4 网络通讯模块的实现与测试 10

第三章 DES算法实现校验 12

3.1 DES加密标准 12

3.2 各模块算法实现 13

3.2.1 64bit明文初始置换IP和56bit秘钥置换选择1 13

3.2.2 16次迭代算法 14

3.2.3 左右交换 18

3.2.4 逆初始置换 18

3.3 DES编码实现 19

3.4 DES算法的应用与测试 20

3.4.1 CalANSI919MAC 20

3.4.2 CalMAC 22

第四章 报文解析与组包实现报文转换 24

4.1 XML报文 24

4.2 8583报文 24

4.2.1 报文结构 24

4.2.2 位图与报文域 25

4.3 报文转换的实现 25

4.3.1 报文转换算法流程 25

4.3.2 编码 26

4.4 测试结果 30

第五章 交易接口的实现 31

5.1 交易类型 31

5.2 配置与编码 31

5.2.1 配置(不牵扯C端和P端的配置) 31

5.2.2 编码 32

5.3 测试与报文 34

5.3.1 测试 34

5.3.2 报文 35

第六章 总结与改善 39

6.1 总结 39

6.2 改善 40

参考文献 41

致谢 43

第一章 绪论

1.1 引言

中国经济的发展过程中,银行是金融机构之一,一直扮演着重要的角色。目前,我国有商业银行、政策性银行等,其网点遍至全国各地,自助设备数量也因此而庞大。

请支付后下载全文,论文总字数:39522字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图