摘要
在银联交易中,各个入网机构与CUPS(中国银联信息处理中心系统)之间采用长连接的方式,即socket连接建立后,除非发生异常导致连接中断,否则不再关闭连接。为了保证通讯的稳定和高效,在银联技术规范2.0中引入了"组"的概念,指对多条连接进行分组,当同组内有一条连接中断时,要关闭组内的所有连接,并重建这些连接。描述了入网机构金卡前置机以组为单位的连接形式的设计与实现,重点对管理模块、发送模块和接收模块等部分进行了描述。
CUP transactions in various network institutions and CUPS(Information Processing Center,China UnionPay system) using a long connection between the way that the socket connection is established,unless an exception causes the connection to break,or is no longer close the connection.In order to ensure stable and efficient communication in CUP 2.0 specification introduced a "group" concept,refers to the number of connections to be grouped within the same group when there is a connection is interrupted,turn off all connections within the group,and reconstruction these connections.This paper describes the front-end network agency Gold group units connected to form the design and implementation,focusing on the management module,sending module and receiver module and some other description.
出处
《软件导刊》
2012年第3期87-89,共3页
Software Guide
关键词
TCP/IP通信
长连接
连接组
TCP/IP
Communication The-Long-Connection
Connection-Group