CN103838670B - Simulation testing device based on EPOS and system - Google Patents

Simulation testing device based on EPOS and system Download PDF

Info

Publication number
CN103838670B
CN103838670B CN201310642582.9A CN201310642582A CN103838670B CN 103838670 B CN103838670 B CN 103838670B CN 201310642582 A CN201310642582 A CN 201310642582A CN 103838670 B CN103838670 B CN 103838670B
Authority
CN
China
Prior art keywords
interface
epos
unit
card
main control
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.)
Active
Application number
CN201310642582.9A
Other languages
Chinese (zh)
Other versions
CN103838670A (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.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information 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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN201310642582.9A priority Critical patent/CN103838670B/en
Publication of CN103838670A publication Critical patent/CN103838670A/en
Application granted granted Critical
Publication of CN103838670B publication Critical patent/CN103838670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides simulation testing device and system based on EPOS, this device is used for testing EPOS, described EPOS is EPOS complete machine or EPOS terminal mainboard, and described simulation testing device comprises main control unit, NIU, display interface unit, card-brushing groove interface unit, unit keyboard interface and power subsystem; Described NIU, display interface unit, card-brushing groove interface unit, unit keyboard interface, power subsystem are connected with main control unit. The present invention has realized the emulation testing rapidly and efficiently to EPOS, has solved the low problem of existing EPOS testing efficiency.

Description

Simulation testing device based on EPOS and system
Technical field
The present invention relates to simulation testing device and system based on EPOS.
Background technology
In the test of embedded software product, do not have more common test platform, mostly need to independently develop according to the application of product and platform. Embedded test job mainly contains some analogue system tests of developing under traditional manual operation test and particular platform. Simulation Test Environment has at present: semi-hardware type simulation test environment, in-circuit emulator test environment, Digital Simulation Test Environment.
In phone-payment industry (as EPOS: bank card receiving system). Most test operations, is all completed by tester's manual operations, although had a lot of aids in test process, automatic test field or blank out based on phone-payment terminal. Tester is in the process of test, need to complete test by manual implementation of test cases, inevitable during this time, need to carry out a large amount of buttons, the operation such as swipe the card, is especially running in some performances, when test in intensity, often a large amount of manual operations, bothersome effort, the error that the possibility of result also exists. In process for test, some states of existence cannot be recorded and repeat, and when needing to carry out regression tested, still will do identical work next time.
Summary of the invention
The technical problem to be solved in the present invention, being provides the emulation test system based on EPOS, solves the low problem of existing EPOS testing efficiency.
The present invention is achieved in that
Based on the simulation testing device of EPOS, be used for testing EPOS, described EPOS is EPOS complete machine or EPOS terminal mainboard, and described simulation testing device comprises main control unit, NIU, display interface unit, card-brushing groove interface unit, unit keyboard interface and power subsystem; Described NIU, display interface unit, card-brushing groove interface unit, unit keyboard interface, power subsystem are connected with main control unit; Wherein:
Described NIU comprises first network interface, and described first network interface is for being connected with the network interface of EPOS to be measured;
Described display interface unit comprises the first display interface, and the first described display interface is for being connected with the display interface of EPOS to be measured;
Described card-brushing groove interface unit comprises the first card-brushing groove interface, and described the first card-brushing groove interface is for being connected with the card-brushing groove interface of EPOS to be measured;
Described unit keyboard interface comprises the first keyboard interface, and the first described keyboard interface is for being connected with the keyboard interface of EPOS to be measured;
Described first network interface, the first display interface, the first card-brushing groove interface are connected with main control unit with the first keyboard interface;
Described main control unit is used for testing EPOS to be measured.
Further, described first network interface is telephone line interface, and described NIU also comprises fsk signal processor, and described first network interface is connected with main control unit by described fsk signal processor.
Further, described NIU also comprises second network interface and the first relay, described second network interface is for being connected with external network interface, and described the first relay is used for receiving the break-make between signal controlling first network interface and the second network interface of main control unit.
Further, described NIU also comprises the first hand switch, and the first described hand switch is for manually controlling the break-make between first network interface and second network interface.
Further, described NIU also comprises the first indicator lamp, and described the first indicator lamp is used to indicate the on off operating mode between first network interface and second network interface.
Further, described display interface unit comprises the second display interface, and the second described display interface is connected with the first display interface, and the second described display interface is for being connected with the display of EPOS to be measured.
Further, described display interface unit comprises demonstration decoder, and the first described display interface is connected with described main control unit by described demonstration decoder.
Further, the first described display interface is the first LCD interface, and described demonstration decoder is liquid crystal decoder.
Further, described card-brushing groove interface unit comprises the signal simulator of swiping the card, and the first described card-brushing groove interface is connected with described main control unit by the described signal simulator of swiping the card.
Further, described card-brushing groove interface unit comprises the second card-brushing groove interface, and described the second card-brushing groove interface is connected with described main control unit, and described the second card-brushing groove interface is for being connected with the card-brushing groove of EPOS to be measured.
Further, described unit keyboard interface comprises push button signalling simulator, and the first described keyboard interface is connected with described main control unit by described push button signalling simulator.
Further, described unit keyboard interface also comprises the second keyboard interface, and the second described keyboard interface is connected with described main control unit, and the second described keyboard interface is for being connected with the keyboard of EPOS to be measured.
Further, described unit keyboard interface also comprises push button signalling identifier, and the second described keyboard interface is connected with described main control unit by described push button signalling identifier.
Further, described power subsystem includes power supply processing circuit, the first power interface and the second relay, the first described power interface is for being connected with the power interface of EPOS to be measured, and described the second relay is used for receiving the connecting and disconnecting of the circuit between signal control power supply treatment circuit and first power interface of described main control unit.
Further, described power subsystem also comprises the second indicator lamp, and the second described indicator lamp is used to indicate the connecting and disconnecting of the circuit state between power supply processing circuit and the first power interface.
Further, described power subsystem also comprises the second hand switch, and the second described hand switch is for manually controlling the connecting and disconnecting of the circuit between power supply processing circuit and the first power interface.
Further, also comprise communications interface unit, described communications interface unit is connected with main control unit, and described communications interface unit comprises the first communication interface, the first described communication interface is connected with main control unit, and the first described communication interface is for being connected with the communication interface of EPOS to be measured.
Further, the first described communication interface is serial ports.
Further, described communications interface unit also comprises code keypad processor, and described code keypad processor is connected with the first communication interface and main control unit respectively.
Further, described communications interface unit also comprises second communication interface, and described second communication interface is connected with main control unit, and described second communication interface is for being connected with host computer.
Further, described second communication interface is USB or serial ports.
Further, also comprise display unit, described display unit is connected with main control unit.
And the present invention also provides the emulation test system based on EPOS, comprise simulation testing device and host computer, described host computer is connected with simulation testing device.
Further, described host computer is PC.
Tool of the present invention has the following advantages: the automatic test of one, having realized EPOS terminal, the design of whole system, the various operations in EPOS terminal test process are realized, by instruction control EPOS terminal operation, and the result of obtaining operation analyzes contrast, finally can generate test report, complete automatic test course, greatly improve testing efficiency, saved testing cost. Two, analogue-key, simulates the operation of swiping the card, and the button simulator in system and the simulator of swiping the card, can replace a large amount of various manual operations. Three, can real-time listening EPOS terminal operating status of processes, liquid crystal decoder module is directly connected with terminal LCD Interface, the data that can Real-time Obtaining liquid crystal display show, and be uploaded to PC, thus reach the process status of real-time monitoring EPOS operation.
Brief description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the apparatus structure schematic diagram of the embodiment of the present invention one.
Fig. 2 is the apparatus structure schematic diagram of the embodiment of the present invention two.
Fig. 3 is the apparatus structure schematic diagram of the embodiment of the present invention three.
Fig. 4 is the apparatus structure schematic diagram of the embodiment of the present invention four.
Fig. 5 is the apparatus structure schematic diagram of the embodiment of the present invention five.
Fig. 6 is the apparatus structure schematic diagram of the embodiment of the present invention six.
Fig. 7 is the apparatus structure schematic diagram of the embodiment of the present invention seven.
Fig. 8 is the system architecture schematic diagram of the embodiment of the present invention eight.
Detailed description of the invention
Refer to Fig. 1 to shown in Fig. 8, below the present invention is described in detail.
Embodiment mono-:
As shown in Figure 1, the simulation testing device 1 based on EPOS, for testing EPOS2, simulation testing device 1 comprises main control unit 10, NIU 11, display interface unit 12, card-brushing groove interface unit 13, unit keyboard interface 14 and power subsystem 15; NIU 11, display interface unit 12, card-brushing groove interface unit 13, unit keyboard interface 14, power subsystem 15 are connected with main control unit 10.
NIU 11 comprises first network interface 110, and display interface unit 12 comprises the first display interface 120, and card-brushing groove interface unit 13 comprises the first card-brushing groove interface 130, and unit keyboard interface 14 comprises the first keyboard interface 140. First network interface 110, the first display interface 120, the first card-brushing groove interface 130 are connected with main control unit 10 with the first keyboard interface 140. Main control unit 10 is for testing EPOS to be measured.
EPOS2 (being EPOS to be measured, can be EPOS complete machine or EPOS terminal mainboard) includes network interface 210, display interface 220, card-brushing groove interface 230 and keyboard interface 240.
In the time will testing EPOS2, first network interface 110 is connected with network interface 210, and the first display interface 120 is connected with display interface 220, and the first card-brushing groove interface 130 is connected with card-brushing groove interface 230, and the first keyboard interface 140 is connected with keyboard interface 240.
Simulation testing device 1 can send the packet of packet to the payment of EPOS2 or reception EPOS2 by first network interface 110 in the time swiping the card payment test. Simulation testing device 1 can get the demonstration data of EPOS2 by the first display interface 120, the data flow of the first display interface 120 is 1 one-way interaction from EPOS2 to simulation testing device. Simulation testing device 1 can be simulated and be sent brushing card data to EPOS2 by the first card-brushing groove interface 130. Simulation testing device 1 can be simulated and be sent button data to EPOS2 by the first keyboard interface 140. Power subsystem 15 is for giving the power supply of the unit on simulation testing device 1.
Simulation testing device 1 can carry out multiple test to EPOS2 according to the test program being pre-stored in test program or the memory of main control unit, now test process is described as example to pay test. First the main control unit 10 of simulation testing device 1 sends transaction request to EPOS2 by 110 simulations of first network interface, and EPOS2 receives transaction request from network interface 210, can be by the relevant information output of transaction request on display interface 220. Main control unit 10 gets demonstration data from the first display interface 120, main control unit 10 just can from judge show data whether correct and test out EPOS2 normally whether. If shown normally, main control unit 10 sends brushing card data to card-brushing groove interface 230 by the first card-brushing groove interface 130 simulations, and EPOS2 can export brushing card data relevant information at display interface 220. Main control unit 10 judges that whether brushing card data relevant information is correct, correctly simulates output key data at the first keyboard interface 140. EPOS2 can send and swipe the card with key information to network interface 210 from keyboard interface 240 receives button data, main control unit 10 from first network interface 110 get swipe the card and key information can judge that whether information correct, thereby whether test out EPOS2 normal.
When simulation testing device 1 is tested EPOS2, can fast detecting whether go out EPOS2 normal, can fast detecting go out the abort situation of EPOS2.
In order to get detailed detecting information, simulation testing device 1 can be connected with host computer. Simulation testing device 1 can be connected with host computer by NIU 11, also can be connected with host computer by USB or serial ports. The test instruction that main control unit 10 can be used for issuing according to host computer is tested, and main control unit 10 also can be used for test process and result to send on host computer.
Embodiment bis-:
The type of network interface of common EPOS2 has telephone wire, netting twine or wireless network. In the time that network interface 210 is netting twine, the first network interface 110 of simulation testing device 1 will be connected to by a switch or router the network interface 210 of EPOS2. In the time that network interface 210 is telephone line interface, first network interface 110 is telephone line interface. In order to mate the signal type of telephone wire and the signal type of main control unit 10, on the basis of the simulation testing device 1 of embodiment mono-, NIU 11 also comprises FSK (frequency shift keying) signal processor 111, as shown in Figure 2, first network interface 110 is connected with main control unit 10 by fsk signal processor 111. Simulation testing device 1 can complete the test of the EPOS2 to telephone wire type.
NIU 11 also comprises second network interface 112 and the first relay 113, second network interface 112 is for being connected with external network interface, external network interface provides for paying provider (as Unionpay), connects and can realize the network interface of on-line payment for EPOS. Can realize EPOS2 by external network interface connects outside payment network and tests. The first relay 113 is for receiving the break-make between signal controlling first network interface 110 and the second network interface 112 of main control unit 10. The input control end of the first relay 113 is connected with main control unit 10, and the output switching end of the first relay 113 is connected with second network interface 112 with first network interface 110 respectively. The first relay 113 disconnects and closed output switching end according to the instruction of main control unit 10, can realize in simulation manual testing process, network occurs and disconnect unexpected or other artificial overtime situations of data that receive of manufacturing.
Be not subject under main control unit 10 controls in order to realize, still can operate artificially the break-make of first network interface 110 and second network interface 112, NIU 11 also comprises the first hand switch 114, the first hand switch 114 is connected between first network interface 110 and second network interface 112, for manually controlling the break-make between first network interface 110 and second network interface 112.
NIU 11 also comprises the first indicator lamp 115, the first indicator lamps and is connected between first network interface 110 and second network interface 112, and the first indicator lamp 115 is used to indicate the on off operating mode between first network interface 110 and second network interface 112. The first indicator lamp 115 can be realized more intuitive judgment. Can represent circuit communication with the bright situation of indicator lamp, the situation that indicator lamp goes out represents that circuit disconnects. User friendly judgement.
Embodiment tri-:
As shown in Figure 3, on the basis of the simulation testing device 1 of embodiment mono-, in order to facilitate tester conveniently see the displaying contents of EPOS2 and conveniently the display of EPOS2 tested, display interface unit 12 comprises the second display interface 121, the second display interface 121 is connected with the first display interface 120, and the second display interface 121 is for being connected with the display of EPOS2. The second display interface 121 and first display interface 120 these two interfaces are interconnected, and in the time that EPOS2 sends out demonstration information, this demonstration information can show simultaneously on the display of EPOS2.
In order to facilitate the obtaining of demonstration data of the display interface 220 of main control unit 10 to EPOS2, display interface unit 12 comprises and shows that decoder 122, the first display interfaces 120 are by showing that decoder 122 is connected with main control unit, as shown in Figure 3. Show that decoder 122 passes through to process for the demonstration data that EPOS2 is sent, and is reduced into the True Data that shows data representative, and True Data is delivered to main control module and identify. The upper conventional display of EPOS is liquid crystal display, and the first display interface 120 can be the first LCD interface, shows that decoder 122 is liquid crystal decoder.
Embodiment tetra-:
As shown in Figure 4, on the basis of the simulation testing device 1 of embodiment mono-, card-brushing groove interface unit 13 comprises signal simulator 131, the first card-brushing groove interfaces 130 of swiping the card and is connected with main control unit 10 by the signal simulator 131 of swiping the card. The brushing card data of signal simulator 131 for sending according to main control unit 10 of swiping the card, the simulation signal of swiping the card.
Card-brushing groove interface unit 13 further can also comprise the second card-brushing groove interface 132, the second card-brushing groove interfaces 132 with described main control unit 10, the second card-brushing groove interfaces 132 for being connected with the card-brushing groove of EPOS to be measured. Swipe the card when test at the card-brushing groove of EPOS2 tester like this, main control unit 10 can get card using information, then from the first card-brushing groove interface 130, card using information is forwarded to EPOS2 again, can get on the basis of card using information at main control unit 10, EPOS2 can complete the operation of swiping the card.
Embodiment five:
As shown in Figure 5, on the basis of the simulation testing device 1 of embodiment mono-, further, unit keyboard interface 14 comprises push button signalling simulator 141, the first keyboard interfaces 140 and is connected with main control unit 10 by push button signalling simulator 141. Push button signalling simulator 141 to EPOS2, has alleviated the processing load of main control unit 10 for the push button signalling that converts the button data of main control unit 10 to specific format according to the button agreement of EPOS2.
Unit keyboard interface 14 comprises the second keyboard interface 142, the second keyboard interfaces 142 and is connected with main control unit 10, and the second keyboard interface 142 is for being connected with the keyboard of EPOS2. , in the time that reality is carried out input operation test to the button of EPOS2, the main control unit 10 of simulation testing device 1 can get the input message of keyboard, can test keyboard. Unit keyboard interface 14 also comprises push button signalling identifier 143, the second keyboard interfaces 142 and is connected with main control unit 10 by push button signalling identifier 143. The decoding data of push button signalling identifier 143 for the keyboard of EPOS2 is transmitted, facilitates the identification of main control unit 10 to button data, thereby can accelerate test speed. Because the keyboard of existing EPOS all has button indicator lamp, so main control unit 10 also can recognize button indicator lamp signal from the second keyboard interface 142.
Embodiment six:
As shown in Figure 6, power subsystem 15 includes power supply processing circuit 150, the first power interface 151 and the second relay 152, the first power interface 151 is for being connected with the power interface 250 of EPOS2, and the second relay 152 is for receiving the connecting and disconnecting of the circuit between signal control power supply treatment circuit 150 and first power interface 151 of main control unit 10. Power subsystem 15 is as the unit of powering to simulation testing device 1, and in order to meet the requirement of power supply, power subsystem 15 includes power supply processing circuit 150. What power supply processing circuit 150 this areas were conventional includes filter circuit and voltage conversion circuit, and output meets the voltage of power reguirements. The second relay 152 is connected between power supply processing circuit 150 and the first power interface 151, and be connected acknowledge(ment) signal with main control unit 10 and control power supply processing circuit 150 and the break-make of the first power interface 151, realize the control of main control unit 10 to EPOS2 power supply. Thereby main control unit 10 can be realized in simulation manual testing process, need the artificial terminal accident power-off of manufacturing, restart the situation of EPOS2.
Power subsystem 15 also comprises the second indicator lamp 153, the second indicator lamps 153 and is used to indicate the connecting and disconnecting of the circuit state between power supply processing circuit 150 and the first power interface 151. The second indicator lamp 153 is realized the on off operating mode of intuitive judgment foregoing circuit. The bright situation of indicator lamp represents that foregoing circuit is communicated with, and the situation that indicator lamp goes out represents that foregoing circuit disconnects. Power subsystem 15 also comprises the second hand switch 154, the second hand switches 154 for manually controlling the connecting and disconnecting of the circuit between power supply processing circuit 150 and the first power interface 151. The second hand switch 154 has been guaranteed not to be subject under the control of main control unit 10, conducting and disconnection that still can manual operation foregoing circuit.
Embodiment seven:
As shown in Figure 7, simulation testing device 1 also comprises communications interface unit 16, communications interface unit 16 is connected with main control unit 10, communications interface unit 16 comprises the first communication interface 160, the first communication interface 160 is connected with main control unit 10, and the first communication interface 160 is for being connected with the communication interface 260 of EPOS to be measured. Can realize the information interaction of simulation testing device 1 and EPOS2 by the first communication interface 160. The first common communication interface type is serial ports or USB. The first communication interface 160 any information alternately, comprises code keypad synchronizing information. In the time will processing code keypad synchronizing information, communications interface unit 16 also comprises code keypad processor 161, and code keypad processor 161 is connected with the first communication interface 160 and main control unit 10 respectively. Code keypad processor 161 can be realized the two-way processing to code keypad synchronizing information. Main control unit 10, in the time sending code keypad synchronizing information, is processed with regard to directly information being sent to code keypad processor 161, and in the time sending code keypad synchronizing information, information is sent to the first communication interface 160. Code keypad processor 161, in the time receiving request Synchronizing Passwords keypad information, can be processed information, imitates code keypad synchronous.
Communications interface unit 16 also comprises second communication interface 162, and second communication interface 162 is connected with main control unit 10, and second communication interface 162 is for being connected with host computer, and second communication interface 162 is USB or serial ports. Second communication interface 162 can be realized with the host computer of multiple communication interface and communicating. Simulation testing device 1 also comprises display unit 17, and display unit 17 is connected with main control unit 10. Display unit 17 can be used for showing test relevant information, as test process information, test result information etc., facilitates tester intuitively to see test relevant information.
Arbitrary embodiment of embodiment bis-to embodiment seven is in order to be further optimized and to make the unit of simulation testing device 1, because the unit that wherein each enforcement is optimized is not identical, the embodiment of embodiment bis-to embodiment seven can be combined with arbitrarily, and can not think that embodiment bis-to embodiment seven realizes separately only.
The present invention is on the basis of simulation testing device 1 all schemes in the cards, emulation test system based on EPOS is provided, comprise simulation testing device and host computer, host computer is connected with simulation testing device, and described simulation testing device is any simulation testing device provided by the invention. Any can realization is initiatively all host computer with the equipment of simulation testing device information interaction, and preferably, host computer is PC. PC has highly versatile as host computer, and price is low, has wide advantage. For illustrate in the present embodiment to the improvement of unit can be arbitrarily in conjunction with and emulation test system provided by the invention, below will describe as an example of embodiment eight example.
Embodiment eight:
As shown in Figure 8, based on the emulation test system of EPOS, comprise simulation testing device 1 and host computer 3, emulation test system is for testing EPOS2. Simulation testing device 1 is connected with host computer 3 and EPOS2 respectively. Simulation testing device 1 includes main control unit 10, NIU 11, display interface unit 12, card-brushing groove interface unit 13, unit keyboard interface 14, power subsystem 15, communications interface unit 16 and display unit 17. NIU 11 includes first network interface 110, fsk signal processor 111, second network interface 112, the first relay 113, the first hand switch 114 and the first indicator lamp 115. Display interface unit 12 includes the first display interface 120, the second display interfaces 121 and shows decoder 122. Card-brushing groove interface unit 13 includes the first card-brushing groove interface 130, swipe the card signal simulator 131 and the second card-brushing groove interface 132. Unit keyboard interface 14 includes the first keyboard interface 140, push button signalling simulator 141, the second keyboard interface 142 and push button signalling identifier 143. Power subsystem 15 includes power supply processing circuit 150, the first power interface 151, the second relay 152, the second indicator lamp 153 and the second hand switch 154. Communications interface unit 16 includes the first communication interface 160, code keypad processor 161 and second communication interface 162. Host computer 3 is connected with simulation testing device 1 by second communication interface 162. The explanation in embodiment mono-to embodiment seven of the annexation of the subelement in above unit and unit thereof, here repeats no more. Below will describe how to realize each test process.
One, network function emulation testing:
Host computer 3 issues " link order " and " open command " of network interface by second communication interface 162, main control unit 10 receives after instruction, drives the first relay 113 to carry out corresponding connection or disconnection. When network interface connects or disconnects, EPOS2 can be on display interface 220 state of output network interface, main control unit 10 can get demonstration information from the first display interface 120, main control unit 10 is crossed second communication interface 162 by this demonstration information exchange again and is sent to PC, whether PC just can to judge network function normal, PC can be by the simulation results the formal output with report.
Two, power supply function emulation testing:
Host computer 3 issues " link order " and " open command " of power interface 250 by second communication interface 162, main control unit 10 receives after instruction, drives the second relay 152 to carry out corresponding connection or disconnection. When power interface 250 connects, EPOS2 can export basic state on display interface 220, when power interface 250 disconnects, and display interface 220 no-outputs of EPOS2. Main control unit 10 can get demonstration information from the first display interface 120, main control unit 10 is crossed second communication interface 162 by this demonstration information exchange again and is sent to PC, whether PC just can to judge power supply function normal, PC can be by the simulation results the formal output with report.
Three, communication function emulation testing:
Host computer 3 issues and the communication data of EPOS2 by second communication interface 162, and main control unit 10 receives after communication data, communication data is forwarded to the first communication interface 160. EPOS2 receives after communication data, can output on display interface 220. Main control unit 10 can get demonstration information from the first display interface 120, main control unit 10 is crossed second communication interface 162 by this demonstration information exchange again and is sent to PC, whether PC just can to judge communication function normal, PC can be by the simulation results the formal output with report.
Four, keypress function emulation testing:
Host computer 3 issues analogue-key data by second communication interface 162, and main control unit 10 receives after analogue-key data, analogue-key data is sent to push button signalling simulator 141. Push button signalling simulator 141 sends to button data the keyboard interface of EPOS2, and EPOS2 receives after button data, can output on display interface 220. Main control unit 10 can get demonstration information from the first display interface 120, main control unit 10 is crossed second communication interface 162 by this demonstration information exchange again and is sent to PC, whether PC just can to judge keypress function normal, PC can be by the simulation results the formal output with report.
Five, card-brushing groove functional simulation test
Host computer 3 issues simulation brushing card data by second communication interface 162, and main control unit 10 receives after simulation brushing card data, simulation brushing card data is sent to the signal simulator 131 of swiping the card. The signal simulator 131 of swiping the card sends to brushing card data the card-brushing groove interface of EPOS2, and EPOS2 receives after brushing card data, can output on display interface 220. Main control unit 10 can get demonstration information from the first display interface 120, main control unit 10 is crossed second communication interface 162 by this demonstration information exchange again and is sent to PC, whether PC just can to judge function of swiping card normal, PC can be by the simulation results the formal output with report.
To sum up: the present invention can realize to EPOS completely, automatically emulation and test, greatly increased testing efficiency, can carry out off-line or online test simultaneously, the present invention has saved the manpower work in test process greatly.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art are in equivalent modification and the variation done according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (15)

1. the simulation testing device based on EPOS, for testing EPOS, described EPOS is EPOSComplete machine or EPOS terminal mainboard, is characterized in that: described simulation testing device comprises main control unit, netNetwork interface unit, display interface unit, card-brushing groove interface unit, unit keyboard interface and power subsystem;Described NIU, display interface unit, card-brushing groove interface unit, unit keyboard interface, power supplyUnit is connected with main control unit; Wherein:
Described NIU comprises first network interface, and described first network interface is used for to be measuredThe network interface of EPOS connects;
Described display interface unit comprises the first display interface, and the first described display interface is used for to be measuredThe display interface of EPOS connects;
Described card-brushing groove interface unit comprises the first card-brushing groove interface, described the first card-brushing groove interface forThe card-brushing groove interface of EPOS to be measured connects;
Described unit keyboard interface comprises the first keyboard interface, and the first described keyboard interface is used for to be measuredThe keyboard interface of EPOS connects;
Described first network interface, the first display interface, the first card-brushing groove interface and the first keyboard interfaceBe connected with main control unit;
Described main control unit is used for testing EPOS to be measured.
2. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described first network interface is telephone line interface, and described NIU also comprises fsk signal placeReason device, described first network interface is connected with main control unit by described fsk signal processor.
3. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described NIU also comprises second network interface and the first relay, and described second network connectsMouth is for being connected with external network interface, and described the first relay is for receiving the signal controlling of main control unitBreak-make between first network interface and second network interface.
4. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described display interface unit comprises the second display interface, and the second described display interface and the first demonstration connectMouth connects, and the second described display interface is for being connected with the display of EPOS to be measured.
5. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described display interface unit comprises demonstration decoder, and the first described display interface is by described demonstrationDecoder is connected with described main control unit.
6. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described card-brushing groove interface unit comprises the signal simulator of swiping the card, and the first described card-brushing groove interface passes through instituteThe signal simulator of swiping the card of stating is connected with described main control unit.
7. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described card-brushing groove interface unit comprises the second card-brushing groove interface, described the second card-brushing groove interface and described masterControl unit connects, and described the second card-brushing groove interface is for being connected with the card-brushing groove of EPOS to be measured.
8. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described unit keyboard interface comprises push button signalling simulator, and the first described keyboard interface is by describedPush button signalling simulator is connected with described main control unit.
9. the simulation testing device based on EPOS according to claim 1, is characterized in that:Described unit keyboard interface also comprises the second keyboard interface, the second described keyboard interface and described masterControl unit connects, and the second described keyboard interface is for being connected with the keyboard of EPOS to be measured.
10. the simulation testing device based on EPOS according to claim 9, is characterized in that:Described unit keyboard interface also comprises push button signalling identifier, described in the second described keyboard interface passes throughPush button signalling identifier be connected with described main control unit.
11. simulation testing devices based on EPOS according to claim 1, is characterized in that:Described power subsystem includes power supply processing circuit, the first power interface and the second relay, describedThe first power interface is for being connected with the power interface of EPOS to be measured, and described the second relay is for receivingConnecting and disconnecting of the circuit between signal control power supply treatment circuit and first power interface of described main control unit.
12. simulation testing devices based on EPOS according to claim 1, is characterized in that:Also comprise communications interface unit, described communications interface unit is connected with main control unit, and described communication connectsMouthful unit comprises the first communication interface, and the first described communication interface is connected with main control unit, and described theOne communication interface is for being connected with the communication interface of EPOS to be measured.
13. simulation testing devices based on EPOS according to claim 12, is characterized in that:Described communications interface unit also comprises second communication interface, described second communication interface and main control unitConnect, described second communication interface is for being connected with host computer.
14. simulation testing devices based on EPOS according to claim 1, is characterized in that:Also comprise display unit, described display unit is connected with main control unit.
15. emulation test systems based on EPOS, is characterized in that: comprise simulation testing device and upperPosition machine, described host computer is connected with simulation testing device, and described simulation testing device is claim1 to 14 arbitrary described simulation testing device.
CN201310642582.9A 2013-12-03 2013-12-03 Simulation testing device based on EPOS and system Active CN103838670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310642582.9A CN103838670B (en) 2013-12-03 2013-12-03 Simulation testing device based on EPOS and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310642582.9A CN103838670B (en) 2013-12-03 2013-12-03 Simulation testing device based on EPOS and system

Publications (2)

Publication Number Publication Date
CN103838670A CN103838670A (en) 2014-06-04
CN103838670B true CN103838670B (en) 2016-05-18

Family

ID=50802193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310642582.9A Active CN103838670B (en) 2013-12-03 2013-12-03 Simulation testing device based on EPOS and system

Country Status (1)

Country Link
CN (1) CN103838670B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834598B (en) * 2015-04-10 2018-09-28 福建升腾资讯有限公司 A kind of method of IC card terminal test
CN107590067A (en) * 2017-08-01 2018-01-16 百富计算机技术(深圳)有限公司 The method and device tested by POS simulators

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785845B2 (en) * 2001-04-10 2004-08-31 Hewlett-Packard Development Company, L.P. POS terminal test system and method
CN101335651A (en) * 2007-06-26 2008-12-31 中国银联股份有限公司 Simulated testing system and method for expanding system by the same system
CN103063938A (en) * 2011-10-21 2013-04-24 佛山市顺德区顺达电脑厂有限公司 Point-of-sale (POS) machine automatic testing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785845B2 (en) * 2001-04-10 2004-08-31 Hewlett-Packard Development Company, L.P. POS terminal test system and method
CN101335651A (en) * 2007-06-26 2008-12-31 中国银联股份有限公司 Simulated testing system and method for expanding system by the same system
CN103063938A (en) * 2011-10-21 2013-04-24 佛山市顺德区顺达电脑厂有限公司 Point-of-sale (POS) machine automatic testing device

Also Published As

Publication number Publication date
CN103838670A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN105788227B (en) Fault diagnosis equipment for electricity consumption information acquisition system
CN104483959A (en) Fault simulation and test system
CN109144036B (en) Manipulator simulation test system and test method based on FPGA chip
CN214480706U (en) Remote debugging equipment and system
CN104516798A (en) Wireless one-to-many test system
CN104836877B (en) A kind of method for debugging detection mobile phone
CN104021105A (en) Multifunctional interface expansion device and method based on ARM
CN206523872U (en) A kind of USB device test system
CN101876825B (en) Human-computer interface device of small PLC
CN105182111B (en) A kind of performance test methods and system of mobile terminal
CN103838670B (en) Simulation testing device based on EPOS and system
CN202693709U (en) Test tool and test system of electric equipment
CN111203869B (en) Robot system maintenance method and device, robot and readable storage medium
CN114356671A (en) Board card debugging device, system and method
CN102121977A (en) Method and device for detecting IC (Integrate Circuit) card electric energy meter
CN106844277A (en) A kind of server and its information transferring method
CN103576667A (en) Main control panel test method, device and system
CN113094256B (en) BMS software testing method and electronic equipment
CN102375099A (en) Portable-type electronic device testing system
CN201838235U (en) Intelligent training control device and training teaching examination system
CN108562805A (en) A kind of interactive mode break-make electric test device, system and method
CN109993951B (en) Doorplate system and control method and device thereof
CN114745257A (en) Data frame debugging method, device, equipment and storage medium
CN204919100U (en) Self -service washing machine external member
CN102567161A (en) Notebook mainboard testing system and notebook mainboard testing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant