beautypg.com

Pos application template connection modes, Tcp connection mode, Flow connection mode – H3C Technologies H3C MSR 5600 User Manual

Page 11

background image

4

Figure 3 Network diagram for POS TCP access

POS application template connection modes

A POS application template communicates with an FEP either through a TCP connection or a flow

connection, depending on the connection mode of the FEP to the POS access device.
Upon receiving a packet from a POS terminal, the POS access device processes the packet as follows:

1.

Encapsulates the packet according to the connection mode of the corresponding POS application
template.

2.

Sends the resulting packet to the FEP.

TCP connection mode

In TCP connection mode, a POS application template communicates with the FEP through a TCP
connection. A POS application is identified by an IP address and a port number on the FEP.
The TCP connection modes for POS application templates include permanent TCP connection mode and

temporary TCP connection mode.

Permanent TCP connection mode—The router (POS access device) uses the same TCP connection
for transactions of POS terminals. In this mode, a TCP connection does not actively terminate after
being established. When a POS terminal sends transaction data to the router for the first time, the

router establishes a TCP connection to the FEP, and transfers the data to the FEP through the TCP

connection. After the first transaction completes, the TCP connection is maintained, and is used to

transfer data from subsequent transactions.

Temporary TCP connection mode—The router uses a separate TCP connection for each transaction

of POS terminals. In this mode, a TCP connection is terminated when a transaction completes, and
another TCP connection will be established for a new transaction.

Flow connection mode

In flow connection mode, a POS application template is bound to an asynchronous interface through

commands. One application corresponds to one asynchronous interface.