[go: up one dir, main page]

CN105590378A - POS terminal and testing method by using the same - Google Patents

POS terminal and testing method by using the same Download PDF

Info

Publication number
CN105590378A
CN105590378A CN201510821643.7A CN201510821643A CN105590378A CN 105590378 A CN105590378 A CN 105590378A CN 201510821643 A CN201510821643 A CN 201510821643A CN 105590378 A CN105590378 A CN 105590378A
Authority
CN
China
Prior art keywords
pos terminal
module
transaction message
transaction
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510821643.7A
Other languages
Chinese (zh)
Other versions
CN105590378B (en
Inventor
尹祥龙
陈煜�
周继恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201510821643.7A priority Critical patent/CN105590378B/en
Publication of CN105590378A publication Critical patent/CN105590378A/en
Application granted granted Critical
Publication of CN105590378B publication Critical patent/CN105590378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0009Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a POS terminal and a testing method by using the same. The POS terminal comprises: a connection module configured to connect with a system to be tested; a simulation module configured to interact with the system to be tested; and a determination module configured to determine the testing result according to the interaction result.

Description

一种POS终端和利用该POS终端进行测试的方法A kind of POS terminal and the method for using the POS terminal to test

技术领域technical field

本发明的实施例涉及软件系统测试,并且尤其涉及POS终端和利用该POS终端进行测试的方法。Embodiments of the present invention relate to software system testing, and particularly to a POS terminal and a method for testing using the POS terminal.

背景技术Background technique

持卡人在进行刷卡时,POS终端读取卡片信息并且生成交易报文。收单机构接收并处理来自POS终端的交易报文,并且将经处理过的交易报文通过转接机构(例如,银联、VISA等银行卡组织)发送至发卡机构。发卡机构根据接收的交易报文对卡片的账户进行扣款操作。转接机构在收到扣款成功的应答后,向POS终端返回交易结果。When the cardholder swipes the card, the POS terminal reads the card information and generates a transaction message. The acquirer receives and processes the transaction message from the POS terminal, and sends the processed transaction message to the card issuer through a transfer agency (for example, a bank card organization such as UnionPay and VISA). The card issuer debits the card account according to the received transaction message. After receiving the response of successful deduction, the transfer organization returns the transaction result to the POS terminal.

上述交易过程涉及多个软件系统,包括收单系统、转接系统、发卡系统。为正确执行交易,在设计和实施交易流程中的一个或多个系统时,需要对其进行测试。The above-mentioned transaction process involves multiple software systems, including the acquiring system, switching system, and card issuing system. To execute a transaction correctly, one or more systems in the transaction process need to be tested as they are designed and implemented.

发明内容Contents of the invention

本发明公开一种POS终端,包括:连接模块,用于与待测系统连接;仿真模块,用于与待测系统进行交互;判断模块,用于根据所述交互的结果来判断测试结果。The invention discloses a POS terminal, comprising: a connection module, used for connecting with a system to be tested; a simulation module, used for interacting with the system to be tested; and a judging module, used for judging the test result according to the interaction result.

优选地,所述待测系统包括收单系统,所述连接模块被配置为向该收单系统发送交易报文,所述仿真模块被配置为接收由该收单系统处理过的交易报文,并且产生应答报文,所述判断模块被配置为基于该应答报文来判断对于该收单系统的测试结果。Preferably, the system under test includes an acquiring system, the connection module is configured to send transaction messages to the acquiring system, and the simulation module is configured to receive transaction messages processed by the acquiring system, And a response message is generated, and the judging module is configured to judge the test result of the acquiring system based on the response message.

优选地,所述待测系统包括发卡系统,所述连接模块被配置为向该仿真模块发送交易报文,所述仿真模块被配置为对该交易报文进行预处理,以及将预处理过的交易报文发送至该发卡系统,所述判断模块被配置为基于该发卡系统产生的应答报文来判断对于该发卡系统的测试结果。Preferably, the system under test includes a card issuing system, the connection module is configured to send a transaction message to the simulation module, and the simulation module is configured to preprocess the transaction message, and the preprocessed The transaction message is sent to the card issuing system, and the judging module is configured to judge the test result of the card issuing system based on the response message generated by the card issuing system.

优选地,还包括用于配置测试参数的配置模块。Preferably, a configuration module for configuring test parameters is also included.

优选地,所述仿真模块、所述判断模块、所述配置模块中的一个或多个被部署在该POS终端的云端。Preferably, one or more of the simulation module, the judgment module, and the configuration module are deployed in the cloud of the POS terminal.

一种利用POS终端进行测试的方法,在该POS终端执行以下步骤:连接步骤,与待测系统连接;仿真步骤,与待测系统进行交互;判断步骤,根据所述交互的结果来判断测试结果。A method for testing using a POS terminal, the following steps are performed on the POS terminal: a connection step, connecting with a system to be tested; a simulation step, interacting with the system to be tested; a judging step, judging the test result according to the result of the interaction .

优选地,所述待测系统包括收单系统,所述连接步骤包括向该收单系统发送交易报文,所述仿真步骤包括接收由该收单系统处理过的交易报文,并且产生应答报文,所述判断步骤包括基于该应答报文来判断对于该收单系统的测试结果。Preferably, the system to be tested includes an acquiring system, the connecting step includes sending a transaction message to the acquiring system, and the simulating step includes receiving a transaction message processed by the acquiring system, and generating a response message In the above text, the judging step includes judging the test result of the acquiring system based on the response message.

优选地,所述待测系统包括发卡系统,所述连接步骤包括向该仿真步骤发送交易报文,所述仿真步骤包括对该交易报文进行预处理,以及将预处理过的交易报文发送至该发卡系统,所述判断步骤包括基于该发卡系统产生的应答报文来判断对于该发卡系统的测试结果。Preferably, the system to be tested includes a card issuing system, the connecting step includes sending a transaction message to the emulation step, the emulation step includes preprocessing the transaction message, and sending the preprocessed transaction message For the card issuing system, the judging step includes judging the test result of the card issuing system based on the response message generated by the card issuing system.

优选地,还包括配置测试参数的配置步骤。Preferably, a configuration step of configuring test parameters is also included.

优选地,所述仿真步骤、所述判断步骤、所述配置步骤中的一个或多个在该POS终端的云端被执行。Preferably, one or more of the simulating step, the judging step, and the configuring step are executed on the cloud of the POS terminal.

本发明的优势包括:由于测试交易来自真实的卡片和真实的POS终端,可规避模拟卡片、模拟终端导致的不准确的测试结果。进一步,操作方便:由于把仿真模块和POS终端集成在一起,简化了测试操作。另外,由于不需要安装仿真专用设备,减少了硬件投入成本和升级成本都减少了。The advantages of the present invention include: since the test transactions come from real cards and real POS terminals, inaccurate test results caused by simulated cards and simulated terminals can be avoided. Further, the operation is convenient: since the simulation module and the POS terminal are integrated together, the test operation is simplified. In addition, because there is no need to install special simulation equipment, the hardware input cost and upgrade cost are reduced.

当结合附图阅读以下描述时也将理解本发明的实施例的其它特征和优势,其中附图借助于实例示出了本发明的实施例的原理。Other features and advantages of embodiments of the invention will also be understood when read in the following description when taken in conjunction with the accompanying drawings, illustrating by way of example the principles of embodiments of the invention.

附图说明Description of drawings

图1是根据本发明实施例的通过POS终端进行刷卡交易的示意图。Fig. 1 is a schematic diagram of a card swiping transaction through a POS terminal according to an embodiment of the present invention.

图2是根据本发明实施例的POS终端的组成示意图。Fig. 2 is a schematic diagram of the composition of a POS terminal according to an embodiment of the present invention.

图3是根据本发明实施例的利用POS终端测试收单系统的示意图。Fig. 3 is a schematic diagram of testing an acquiring system using a POS terminal according to an embodiment of the present invention.

图4是根据本发明实施例的利用POS终端测试发卡系统的示意图。Fig. 4 is a schematic diagram of a card issuing system tested by using a POS terminal according to an embodiment of the present invention.

图5是根据本发明实施例的利用POS终端执行测试的方法的流程图。FIG. 5 is a flowchart of a method for performing a test using a POS terminal according to an embodiment of the present invention.

具体实施方式detailed description

在下文中,将结合实施例描述本发明的原理。应当理解的是,给出的实施例只是为了本领域技术人员更好地理解并且实践本发明,而不是限制本发明的范围。例如,本说明书中包含许多具体的实施细节不应被解释为对发明的范围或可能被要求保护的范围的限制,而是应该被视为特定于实施例的描述。例如,在各实施例的上下文描述的特征可被组合在单一实施例中来实施。在单一实施例的上下文中描述的特可在多个实施例来实施。Hereinafter, the principle of the present invention will be described with reference to the embodiments. It should be understood that the given examples are only for those skilled in the art to better understand and practice the present invention, rather than limiting the scope of the present invention. For example, the inclusion of many specific implementation details in this specification should not be construed as limitations on the scope of the invention or of what may be claimed, but rather as descriptions specific to the embodiments. For example, features that are described in the context of separate embodiments can be implemented in combination in a single embodiment. Features described in the context of a single embodiment can be implemented in multiple embodiments.

图1是根据本发明实施例的通过POS终端进行刷卡交易的示意图。如图1所示,刷卡交易涉及卡片、POS终端、收单系统、转接/清算系统(例如,银联、VISA等银行卡组织)、发卡系统等实体。持卡人在进行刷卡时,POS终端读取卡片信息并且生成交易报文。收单机构接收并处理来自POS终端的交易报文,并且将经处理过的交易报文通过转接机构发送至发卡机构。发卡机构根据接收的交易报文对卡片的账户进行扣款操作。转接机构在收到扣款成功的应答后,向POS终端返回交易结果。信息传递的路径可以如图1所示从POS终端到收单系统再到转接/清算系统最后至发卡系统,以及与此相反的路径。Fig. 1 is a schematic diagram of a card swiping transaction through a POS terminal according to an embodiment of the present invention. As shown in Figure 1, card swiping transactions involve entities such as cards, POS terminals, acquiring systems, transfer/clearing systems (for example, bank card organizations such as UnionPay and VISA), and card issuing systems. When the cardholder swipes the card, the POS terminal reads the card information and generates a transaction message. The acquirer receives and processes the transaction message from the POS terminal, and sends the processed transaction message to the card issuer through the transfer agency. The card issuer debits the card account according to the received transaction message. After receiving the response of successful deduction, the transfer organization returns the transaction result to the POS terminal. The path of information transmission can be as shown in Figure 1, from the POS terminal to the acquiring system, then to the transfer/clearing system, and finally to the card issuing system, and the opposite path.

本发明的各实施例对上述交易路径中的收单系统和/或发卡系统进行测试。相比于采用人工设计的测试数据,本发明的实施例采用真实的交易数据进行测试来提高测试的准确性和效率。为方便测试人员进行测试,以及减少测试成本,本发明的实施例对现有的POS终端进行了扩展。Various embodiments of the present invention test the acquiring system and/or card issuing system in the above transaction path. Compared with artificially designed test data, the embodiments of the present invention use real transaction data for testing to improve the accuracy and efficiency of testing. In order to facilitate testing by testers and reduce testing costs, the embodiments of the present invention expand existing POS terminals.

图2是根据本发明实施例的POS终端的组成示意图。如图2所示,除了POS终端中的原始的收银台模块之外,本发明的一个或多个实施例还在POS终端设置连接模块、仿真模块、判断模块、配置模块中的一个或多个。这些模块可以被设置在POS终端本地,或者作为POS终端的一部分相对于POS终端实体被远程地设置。Fig. 2 is a schematic diagram of the composition of a POS terminal according to an embodiment of the present invention. As shown in Figure 2, in addition to the original cash register module in the POS terminal, one or more embodiments of the present invention also set one or more of the connection module, simulation module, judgment module, and configuration module in the POS terminal . These modules may be located locally at the POS terminal, or as part of the POS terminal remotely with respect to the POS terminal entity.

根据一个实施例,POS终端包括:连接模块,用于与待测系统连接;仿真模块,用于与待测系统进行交互;判断模块,用于根据所述交互的结果来判断测试结果。连接模块与待测系统通过网络连接。仿真模块用于模拟一个或多个交易路径中的系统来与待测系统交互。判断模块可以根据预定条件来判断测试结果。According to one embodiment, the POS terminal includes: a connection module, used for connecting with the system under test; a simulation module, used for interacting with the system under test; and a judging module, used for judging the test result according to the result of the interaction. The connection module is connected with the system under test through the network. The simulation module is used to simulate the system in one or more transaction paths to interact with the system under test. The judging module can judge the test result according to the predetermined condition.

可选地,POS终端还可以包括配置模块,用于配置测试参数,例如测试输入、执行条件以及预期结果,以及待测系统端的参数等。Optionally, the POS terminal may also include a configuration module for configuring test parameters, such as test input, execution conditions and expected results, and parameters of the system to be tested.

在不同的实施例中,待测系统可以是收单系统、发卡系统、或者这两者。收单系统可以是与收单机构相关的、收单机构内的任何软件系统、软件模块、或特定代码。发卡系统可以是与发卡机构相关的、发卡机构内的任何软件系统、软件模块、或特定代码。In different embodiments, the system under test may be an acquiring system, a card issuing system, or both. The acquiring system may be any software system, software module, or specific code related to the acquiring institution or within the acquiring institution. The card issuer system can be any software system, software module, or specific code related to the card issuer or within the card issuer.

通过仿真模块模拟交易流程中的除POS终端和待测系统之外的其它软件系统,可以简化测试流程。尤其是,将仿真模块设置在POS终端可以简化测试操作,节约测试成本。测试人员仅需操作POS终端进行测试。The test process can be simplified by simulating other software systems in the transaction process except the POS terminal and the system to be tested through the simulation module. In particular, setting the simulation module on the POS terminal can simplify the test operation and save the test cost. Testers only need to operate the POS terminal for testing.

图3是根据本发明实施例的利用POS终端测试收单系统的示意图。在该实施例中,待测系统包括收单系统。卡片与POS终端的收银台模块产生交易报文,该交易报文被收银台模块上送到收单系统。该过程产生真实的交易数据。之后,被测试的收单系统将经处理的交易报文上送至仿真模块。仿真模块可以根据测试案例的配置生产应答报文,并将其返回至收单系统。该应答再经由收单系统返回至POS终端中的判断模块。借助于仿真模块完成交易流程从而达到测试收单系统的目的。具体地,在测试过程中,连接模块被配置为向该收单系统发送交易报文,仿真模块被配置为接收由该收单系统处理过的交易报文,并且产生应答报文,判断模块被配置为基于该应答报文来判断对于该收单系统的测试结果。Fig. 3 is a schematic diagram of testing an acquiring system using a POS terminal according to an embodiment of the present invention. In this embodiment, the system under test includes an acquirer system. The card and the cash register module of the POS terminal generate a transaction message, which is sent to the acquiring system by the cash register module. This process produces real transaction data. Afterwards, the acquired system under test sends the processed transaction message to the simulation module. The simulation module can generate a response message according to the configuration of the test case, and return it to the acquiring system. The response is returned to the judging module in the POS terminal via the acquiring system. With the help of the simulation module, the transaction process is completed to achieve the purpose of testing the acquiring system. Specifically, during the testing process, the connection module is configured to send transaction messages to the acquiring system, the simulation module is configured to receive transaction messages processed by the acquiring system, and generate response messages, and the judging module is It is configured to judge the test result of the acquiring system based on the response message.

根据该实施例,针对收单系统的测试人员仅需要使用POS终端即可实现对收单系统的测试。According to this embodiment, the testers for the acquiring system only need to use the POS terminal to test the acquiring system.

图4是根据本发明实施例的利用POS终端测试发卡系统的示意图。在该实施例中,待测系统包括发卡系统。卡片与POS终端的收银台模块产生交易报文,该交易报文被收银台模块上送到仿真模块。该过程产生真实的交易数据。之后,仿真模块模拟收单系统接收来自POS终端的交易报文,并且模拟转接系统向被测试的发卡系统发生经处理的交易报文。发卡系统在处理完该交易报文之后,通过原交易路径向POS终端返回应答报文。具体地,在测试过程中,连接模块被配置为向该仿真模块发送交易报文,仿真模块被配置为对该交易报文进行预处理,以及将预处理过的交易报文发送至该发卡系统,判断模块被配置为基于该发卡系统产生的应答报文来判断对于该发卡系统的测试结果。Fig. 4 is a schematic diagram of a card issuing system tested by using a POS terminal according to an embodiment of the present invention. In this embodiment, the system under test includes a card issuing system. The card and the cash register module of the POS terminal generate a transaction message, which is sent to the simulation module by the cash register module. This process produces real transaction data. Afterwards, the simulation module simulates the acquiring system to receive the transaction message from the POS terminal, and simulates the switching system to send the processed transaction message to the card issuing system under test. After processing the transaction message, the card issuing system returns a response message to the POS terminal through the original transaction path. Specifically, during the test, the connection module is configured to send transaction messages to the simulation module, and the simulation module is configured to preprocess the transaction messages and send the preprocessed transaction messages to the card issuing system The judging module is configured to judge the test result of the card issuing system based on the response message generated by the card issuing system.

在该实施例中,利用真实的卡片和真实的POS终端生产的交易,可规避模拟卡片、模拟终端导致的不准确的测试结果。In this embodiment, using real cards and transactions produced by real POS terminals can avoid inaccurate test results caused by simulated cards and simulated terminals.

如上所述,仿真模块、判断模块、配置模块中的一个或多个可以作为POS终端的一部分相对于POS终端实体被远程地设置。例如,仿真模块、判断模块、配置模块中的一个或多个被部署在该POS终端的云端。这些模块的功能或者要由这些模块执行的一个或多个步骤可以基于云计算技术被动态扩展到互联网,并且使用互联网上的虚拟资源完成计算。因此,在一些实施例中,POS终端是云POS。云POS的硬件实体可以被设计成仅具备基础功能,其它功能可以被设置在POS的云端,或者在需要的时候被下载到POS终端硬件中。通过这种部署方式,进一步提高了测试的灵活性和可扩展性。As mentioned above, one or more of the emulation module, judgment module, and configuration module can be remotely set relative to the POS terminal entity as a part of the POS terminal. For example, one or more of the simulation module, judgment module and configuration module are deployed on the cloud of the POS terminal. The functions of these modules or one or more steps to be performed by these modules can be dynamically extended to the Internet based on cloud computing technology, and computing can be completed using virtual resources on the Internet. Thus, in some embodiments, the POS terminal is a cloud POS. The hardware entity of cloud POS can be designed to only have basic functions, and other functions can be set in the cloud of POS, or downloaded to the POS terminal hardware when needed. Through this deployment method, the flexibility and scalability of the test are further improved.

图5是根据本发明实施例的利用POS终端执行测试的方法的流程图。如图5所示,利用POS终端进行测试的方法包括在该POS终端执行以下步骤:FIG. 5 is a flowchart of a method for performing a test using a POS terminal according to an embodiment of the present invention. As shown in Figure 5, the method for utilizing the POS terminal to test includes performing the following steps at the POS terminal:

连接步骤501:与待测系统连接;Connection step 501: connect with the system under test;

仿真步骤502:与待测系统进行交互;Simulation step 502: interact with the system under test;

判断步骤503:根据所述交互的结果来判断测试结果。Judging step 503: judging the test result according to the interaction result.

在一个实施例中,待测系统包括收单系统,所述连接步骤包括向该收单系统发送交易报文,所述仿真步骤包括接收由该收单系统处理过的交易报文,并且产生应答报文,所述判断步骤包括基于该应答报文来判断对于该收单系统的测试结果。In one embodiment, the system to be tested includes an acquiring system, the connecting step includes sending a transaction message to the acquiring system, and the simulating step includes receiving a transaction message processed by the acquiring system, and generating a response message, and the judging step includes judging the test result of the acquiring system based on the response message.

在一个实施例中,所述待测系统包括发卡系统,所述连接步骤包括向该仿真步骤发送交易报文,所述仿真步骤包括对该交易报文进行预处理,以及将预处理过的交易报文发送至该发卡系统,所述判断步骤包括基于该发卡系统产生的应答报文来判断对于该发卡系统的测试结果。In one embodiment, the system to be tested includes a card issuing system, the connecting step includes sending a transaction message to the emulation step, the emulation step includes preprocessing the transaction message, and converting the preprocessed transaction The message is sent to the card issuing system, and the judging step includes judging the test result of the card issuing system based on the response message generated by the card issuing system.

在一个实施例中,还包括配置测试参数的配置步骤。In one embodiment, a configuration step of configuring test parameters is also included.

在一个实施例中,所述仿真步骤、所述判断步骤、所述配置步骤中的一个或多个在该POS终端的云端被执行。In one embodiment, one or more of the simulation step, the judgment step, and the configuration step are executed on the cloud of the POS terminal.

附图中所示的各个框可被视为方法步骤、和/或被视为由于运行计算机程序代码而导致的操作、和/或被视为构建为实施相关功能的多个耦合的逻辑电路元件。尽管操作按特定的顺序在图中被描绘,但这不应被理解为要求按照所示的特定顺序或按依次顺序来执行这些操作,或要求所有例示的操作被执行。在某些情况下,多任务并行处理可能是有利的。The various blocks shown in the figures may be viewed as method steps, and/or as operations resulting from the execution of computer program code, and/or as a plurality of coupled logic circuit elements constructed to carry out the associated functions . Although operations are depicted in the figures in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown, or in sequential order, or that all illustrated operations be performed. In some cases, multitasking may be advantageous.

示例性实施例可在硬件、软件或其组合中来实施。例如,本发明的某些方面可在硬件中实施,而其它方面则可在软件中实施。尽管本发明的示例性实施例的方面可被示出和描述为框图、流程图,但很好理解的是,这里描述的这些装置、或方法可在作为非限制性实例的系统中被实现为功能模块。此外,上述装置不应被理解为要求在所有的实施例中进行这种分离,而应该被理解为所描述的程序组件和系统通常可以被集成在单一的软件产品中或打包成多个软件产品。Exemplary embodiments may be implemented in hardware, software or a combination thereof. For example, some aspects of the invention may be implemented in hardware, while other aspects may be implemented in software. Although aspects of the exemplary embodiments of the present invention may be shown and described as block diagrams, flow diagrams, it is well understood that these apparatuses, or methods described herein may be implemented in a system as a non-limiting example functional module. Furthermore, the above-described arrangements should not be understood as requiring such separation in all embodiments, but rather that the described program components and systems may generally be integrated in a single software product or packaged into multiple software products .

相关领域的技术人员当结合附图阅读前述说明书时,对本发明的前述示例性实施例的各种修改和变形对于相关领域的技术人员会变得明显。因此,本发明的实施例不限于所公开的特定实施例,并且变形例和其它实施例意在涵盖在所附权利要求的范围内。Various modifications and alterations to the foregoing exemplary embodiments of this invention may become apparent to those skilled in the relevant arts to those skilled in the relevant arts, when the foregoing specification is read in conjunction with the accompanying drawings. Therefore, the embodiments of the invention are not to be limited to the particular embodiments disclosed and modifications and other embodiments are intended to be covered within the scope of the appended claims.

Claims (10)

1. a POS terminal, is characterized in that, comprising:
Link block, for being connected with treating examining system;
Emulation module, for carrying out alternately with treating examining system;
Judge module, for judging test result according to described mutual result.
2. POS terminal as claimed in claim 1, is characterized in that:
Describedly treat that examining system comprises receipts single system,
Described link block is configured to send transaction message to this receipts single system,
Described emulation module is configured to receive the transaction message of being processed by this receipts single system, and generation is repliedMessage,
Described judge module is configured to judge the test result for this receipts single system based on this response message.
3. POS terminal as claimed in claim 1, is characterized in that:
Describedly treat that examining system comprises card sending system,
Described link block is configured to send transaction message to this emulation module,
Described emulation module is configured to this transaction message to carry out pretreatment, and by pretreated transaction reportLiterary composition is sent to this card sending system,
The response message that described judge module is configured to produce based on this card sending system judges for this hair fastenerThe test result of system.
4. POS terminal as claimed in claim 1, is characterized in that, also comprises for configuration testing parameterConfiguration module.
5. POS terminal as claimed in claim 5, is characterized in that, described emulation module, described judgementOne or more high in the clouds that are deployed in this POS terminal in module, described configuration module.
6. a method of utilizing POS terminal to test, is characterized in that, this POS terminal carry out withLower step:
Connection Step, is connected with treating examining system;
Simulation process, carries out alternately with treating examining system;
Determining step, judges test result according to described mutual result.
7. method as claimed in claim 6, is characterized in that:
Describedly treat that examining system comprises receipts single system,
Described Connection Step comprises to this receipts single system and sends transaction message,
Described simulation process comprises the transaction message that reception was processed by this receipts single system, and report is replied in generationLiterary composition,
Described determining step comprises based on this response message and judges the test result for this receipts single system.
8. method as claimed in claim 6, is characterized in that:
Describedly treat that examining system comprises card sending system,
Described Connection Step comprises to this simulation process and sends transaction message,
Described simulation process comprises this transaction message is carried out to pretreatment, and pretreated transaction message is sent outDeliver to this card sending system,
Described determining step comprises that the response message producing based on this card sending system judges for this card sending systemTest result.
9. method as claimed in claim 6, is characterized in that, also comprises the configuration step of configuration testing parameterSuddenly.
10. method as claimed in claim 9, is characterized in that, described simulation process, described determining step,One or more high in the clouds in this POS terminal in described configuration step are performed.
CN201510821643.7A 2015-11-24 2015-11-24 A kind of POS terminal and the method tested using the POS terminal Active CN105590378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510821643.7A CN105590378B (en) 2015-11-24 2015-11-24 A kind of POS terminal and the method tested using the POS terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510821643.7A CN105590378B (en) 2015-11-24 2015-11-24 A kind of POS terminal and the method tested using the POS terminal

Publications (2)

Publication Number Publication Date
CN105590378A true CN105590378A (en) 2016-05-18
CN105590378B CN105590378B (en) 2018-10-23

Family

ID=55929930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510821643.7A Active CN105590378B (en) 2015-11-24 2015-11-24 A kind of POS terminal and the method tested using the POS terminal

Country Status (1)

Country Link
CN (1) CN105590378B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076905A1 (en) * 2016-10-31 2018-05-03 福建联迪商用设备有限公司 Pos terminal test method and system running on pc terminal
WO2018076906A1 (en) * 2016-10-31 2018-05-03 福建联迪商用设备有限公司 Method and system for testing pos terminal running on mobile phone terminal
CN108153660A (en) * 2016-12-05 2018-06-12 深圳壹账通智能科技有限公司 The simulation process method and apparatus of sequence information
CN110082671A (en) * 2019-03-27 2019-08-02 百富计算机技术(深圳)有限公司 Analog detection method, system, device, hub and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050127173A1 (en) * 2003-12-15 2005-06-16 Idol Charles W.Jr. Point of sale automated testing technology (POSATT©)
CN101010690A (en) * 2004-06-25 2007-08-01 佩珀尔硬币公司 Payment processing method and system
CN101089903A (en) * 2006-06-14 2007-12-19 中国银联股份有限公司 A bank card transaction testing method and system
CN101149858A (en) * 2007-11-05 2008-03-26 浪潮齐鲁软件产业有限公司 Finance transaction simulation test method
CN201278168Y (en) * 2008-07-29 2009-07-22 北京牡丹齐通科技发展有限公司 Combined electronic payment terminal
CN102479123A (en) * 2010-11-29 2012-05-30 上海华虹集成电路有限责任公司 System and method for testing chip operating system (COS)
CN103530209A (en) * 2013-09-17 2014-01-22 福建升腾资讯有限公司 Automated testing method for code keyboard
CN104461902A (en) * 2014-12-23 2015-03-25 东信和平科技股份有限公司 Financial payment test platform, method and system
US9037491B1 (en) * 2013-11-26 2015-05-19 Square, Inc. Card reader emulation for cardless transactions

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050127173A1 (en) * 2003-12-15 2005-06-16 Idol Charles W.Jr. Point of sale automated testing technology (POSATT©)
CN101010690A (en) * 2004-06-25 2007-08-01 佩珀尔硬币公司 Payment processing method and system
CN101089903A (en) * 2006-06-14 2007-12-19 中国银联股份有限公司 A bank card transaction testing method and system
CN101149858A (en) * 2007-11-05 2008-03-26 浪潮齐鲁软件产业有限公司 Finance transaction simulation test method
CN201278168Y (en) * 2008-07-29 2009-07-22 北京牡丹齐通科技发展有限公司 Combined electronic payment terminal
CN102479123A (en) * 2010-11-29 2012-05-30 上海华虹集成电路有限责任公司 System and method for testing chip operating system (COS)
CN103530209A (en) * 2013-09-17 2014-01-22 福建升腾资讯有限公司 Automated testing method for code keyboard
US9037491B1 (en) * 2013-11-26 2015-05-19 Square, Inc. Card reader emulation for cardless transactions
CN104461902A (en) * 2014-12-23 2015-03-25 东信和平科技股份有限公司 Financial payment test platform, method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076905A1 (en) * 2016-10-31 2018-05-03 福建联迪商用设备有限公司 Pos terminal test method and system running on pc terminal
WO2018076906A1 (en) * 2016-10-31 2018-05-03 福建联迪商用设备有限公司 Method and system for testing pos terminal running on mobile phone terminal
CN108153660A (en) * 2016-12-05 2018-06-12 深圳壹账通智能科技有限公司 The simulation process method and apparatus of sequence information
CN110082671A (en) * 2019-03-27 2019-08-02 百富计算机技术(深圳)有限公司 Analog detection method, system, device, hub and storage medium

Also Published As

Publication number Publication date
CN105590378B (en) 2018-10-23

Similar Documents

Publication Publication Date Title
US20220261223A1 (en) SYSTEMS AND METHODS FOR TRANSLATING DATA READ FROM PROXY APIs INTO COMPUTING CODE
US11099835B1 (en) Continuous integration framework for development of software for EMV-based card present transaction processing
CN105590378B (en) A kind of POS terminal and the method tested using the POS terminal
CN108446215B (en) Method, device, system and terminal for POS machine testing
CN105930259B (en) A kind of method and apparatus of WEB regression tests
US11710117B1 (en) Systems and methods for EMV terminal device testing using EMV card emulation
CN112037051B (en) Account clearing account opening method and device
CN111881020B (en) Payment center interface testing method, device and system
US12287715B2 (en) Computer and conduit for system testing
CN110059011A (en) Interface test method, device, medium and electronic equipment
CN107741906A (en) Monetary fund system automatic testing method, device, equipment and storage medium
CN110879787A (en) Client test method and system
US9053264B2 (en) What-if simulation methods and systems
KR20150032606A (en) System and method for testing of credit authorization terminal
CN115801597A (en) 8583 message simulation method and device
CN110992172B (en) Offline payment method, device and storage medium
CN113052727A (en) House purchasing recommendation device and method based on house purchasing qualification verification
CN111538664A (en) System and method for testing payment marking application
CN108038750A (en) Sequence information generation method and device
US12253926B2 (en) Simulator application on mobile device for integration testing
CN116721505A (en) POS transaction testing method and its devices, equipment, media and products
CN113641570B (en) Test method and terminal
CN119250808A (en) A payment method, device, electronic device and storage medium
WO2020091631A3 (en) Automated system and method of linking cash register receipts to payment transactions
CN117609073A (en) Standardized test flow of distributed multi-source heterogeneous financial data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant