Search

CN-122027677-A - POS terminal debugging system and method of remote VPN

CN122027677ACN 122027677 ACN122027677 ACN 122027677ACN-122027677-A

Abstract

The invention discloses a POS terminal debugging system and method of a remote VPN (virtual private network), and relates to the technical field of POS terminal debugging. The system comprises a forwarding terminal, a client, a server and a payment terminal, wherein the forwarding terminal comprises at least one communication port and is used for forwarding data received by the communication port to the platform through a network connection platform of a VPN SIM card, receiving data returned by the platform and forwarding the data through the communication port, the client is connected with the forwarding terminal through the communication port and is in remote connection with the server and is used for forwarding the data acquired by the communication port to the server and sending the data acquired by the remote connection to the forwarding terminal, the server is connected with the payment terminal to be debugged through the local port and is connected with the client through the remote port and is used for monitoring the data of the local port and forwarding the data to the client and monitoring the data of the remote port and forwarding the data to the payment terminal. The invention realizes remote development and debugging of the POS terminal for the VPN network through a forwarding terminal, a server program and a client program.

Inventors

  • LIN XIN
  • XIE CHUNPO

Assignees

  • 福建魔方电子科技有限公司

Dates

Publication Date
20260512
Application Date
20251216

Claims (8)

  1. 1. A POS terminal debugging system of a remote VPN network, comprising: The forwarding terminal comprises at least one communication port and is used for forwarding data received by the communication port to the platform through a network connection platform of the VPN SIM card, and receiving data returned by the platform and forwarding the data through the communication port; The client is connected with the forwarding terminal through a communication port, and establishes remote connection with the server, and is used for forwarding the data acquired by the communication port to the server and transmitting the data acquired by the remote connection to the forwarding terminal; the server is connected with the payment terminal to be debugged through the local port, is connected with the client through the remote port, and is used for monitoring the data of the local port and forwarding the data to the client, monitoring the data of the remote port and forwarding the data to the payment terminal.
  2. 2. The system of claim 1, wherein the communication port is a serial port.
  3. 3. The system of claim 1, wherein the local port is an intranet port or a public network port and the remote port is a public network port.
  4. 4. The system of claim 1, wherein the TCP connection is established between the server and the payment terminal, and the TCP connection is established between the client and the server.
  5. 5. The system of claim 1, wherein the client establishes a reverse connection communication channel with the server, maintains a long connection, and provides a data transparent function.
  6. 6. A method for debugging a POS terminal of a remote VPN network, wherein the system according to any one of claims 1-5 is provided, the method comprising: The connection process comprises the following steps: starting a server program, and configuring the server program to start a local port and a remote port; starting a client program, and connecting the client program with a server program through a remote port; opening a client communication port and connecting a forwarding terminal; opening a program of a payment terminal to be debugged, and connecting a local port of a server; debugging: transmitting a connection request of the payment terminal to the forwarding terminal through the server and the client in sequence; the forwarding terminal receives the connection request and then passes through the network connection platform of the VPN SIM card; The payment terminal sequentially sends data to the forwarding terminal through the server and the client, and forwards the data to the platform through the forwarding terminal; after the platform processes, sending a response to the forwarding terminal, and the forwarding terminal sequentially sends the data returned by the platform to the payment terminal through the client and the server; And the payment terminal completes the debugging process according to the returned data.
  7. 7. The method of claim 6, wherein the client configures IP and ports to establish a reverse connection communication channel with the server, maintain a long connection, and provide a transparent data transmission function.
  8. 8. The method of claim 6, wherein after the payment terminal completes the debugging process, the payment terminal is replaced, the program for opening the payment terminal to be debugged is re-executed, and after the local port of the server is connected, the debugging process is executed.

Description

POS terminal debugging system and method of remote VPN Technical Field The invention relates to the technical field of POS terminal debugging, in particular to a POS terminal debugging system and method of a remote VPN. Background In recent years, with the positive advancement of international strategic layout, the foreign business of the POS machine is steadily expanded. With the deep advancement of the service, the customers in part of the countries find that based on the local service operation requirement, the SIM card carrying the VPN is selected to realize the communication connection between the POS terminal and the platform. The VPN network connection mode can effectively ensure the safety and privacy of terminal transaction data in the transmission process, can adapt to a part of complex network architecture of the country, ensures that a POS terminal can be stably connected to a dedicated service platform of a client, and realizes core functions such as transaction information uploading, terminal state monitoring, service parameter updating and the like. However, an efficient connection with foreign customer VPN platforms cannot be established over conventional network links in the country. Before the POS terminal is formally put into use, the POS terminal must complete the work of key links such as communication adaptation debugging, function compatibility test, transaction flow verification and the like of the customer VPN platform so as to ensure that the terminal equipment can meet the actual service requirements of local customers and ensure the successful development of subsequent transaction services. In view of the fact that the domestic network cannot solve the problem of communication with the customer VPN platform, in order to guarantee the service delivery quality and progress, professional technicians must be arranged to go to foreign customer sites, and omnibearing debugging work is carried out under the environment of local accessible VPN networks until the POS terminal can stably and safely realize data interaction with the customer platform. Disclosure of Invention The invention aims to solve the technical problem of providing a POS terminal debugging system and method for a remote VPN, which realize the development and debugging of the POS terminal for the VPN by realizing a forwarding terminal, a server program and a client program. In a first aspect, the present invention provides a POS terminal debugging system of a remote VPN network, including: The forwarding terminal comprises at least one communication port and is used for forwarding data received by the communication port to the platform through a network connection platform of the VPN SIM card, and receiving data returned by the platform and forwarding the data through the communication port; The client is connected with the forwarding terminal through a communication port, and establishes remote connection with the server, and is used for forwarding the data acquired by the communication port to the server and transmitting the data acquired by the remote connection to the forwarding terminal; the server is connected with the payment terminal to be debugged through the local port, is connected with the client through the remote port, and is used for monitoring the data of the local port and forwarding the data to the client, monitoring the data of the remote port and forwarding the data to the payment terminal. Further, the communication port is a serial port. Further, the local port is an intranet port or a public network port, and the remote port is a public network port. Further, a TCP connection is established between the server and the payment terminal, and a TCP connection is established between the client and the server. Further, the client establishes a communication channel of reverse connection with the server, maintains long connection, and provides a transparent transmission function of data. In a second aspect, the present invention provides a method for debugging a POS terminal of a remote VPN network, where the system according to the first aspect is provided, and the method includes: The connection process comprises the following steps: starting a server program, and configuring the server program to start a local port and a remote port; starting a client program, and connecting the client program with a server program through a remote port; opening a client communication port and connecting a forwarding terminal; opening a program of a payment terminal to be debugged, and connecting a local port of a server; debugging: transmitting a connection request of the payment terminal to the forwarding terminal through the server and the client in sequence; the forwarding terminal receives the connection request and then passes through the network connection platform of the VPN SIM card; The payment terminal sequentially sends data to the forwarding terminal through the server and the client, and forwards the dat