POS machine multi-dimensional test method, system and test bench
Through POS machine multi-dimensional testing methods and systems, POS machine hardware performance indicators are automatically monitored and compared, which solves the limitations of traditional testing methods and achieves efficient and accurate test results and timely abnormal discovery.
Patent Information
- Application Number
- CN202410787205.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-11
AI Technical Summary
Traditional POS machine testing methods rely on manual inspection, which has limitations. It is difficult to monitor the operating status and logic in real time, which affects the accuracy and efficiency of test results, and it is impossible to provide timely feedback on unexpected abnormalities.
A multi-dimensional testing method and system for POS machines is designed. Test instructions are sent to the test bench through the test system, hardware performance indicators are monitored in real time, baseline data and test data are compared, and if an abnormality is found, an alarm program is started and a test report is generated. Optimize testing strategies to improve testing quality and efficiency.
It realizes automated testing, reduces manual interference, improves the accuracy and efficiency of POS machine testing, detects abnormalities in time and triggers alarms, and improves testing quality and efficiency.
Smart Images

Figure CN118760554A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of POS machine testing technology, and in particular to a multi-dimensional testing method, system and test bench for a POS machine. Background Art
[0002] POS is a multifunctional terminal that provides data services and management functions for commodity and media transactions and can perform non-cash settlement. Currently, POS is widely used to support payment collection application scenarios, which are diverse, so customers have high requirements for the quality of POS products.
[0003] Traditional testing methods rely on manual testing, where testers conduct hardware function and performance checks on production prototypes, and at a specific time point, check whether a certain functional indicator meets the requirements.
[0004] However, there are limitations in the process of testers verifying product functions. The operating status, logic, and time factors may affect the test results, thereby affecting the deviation of the test results. It is also impossible to feedback sudden abnormalities during operation, affecting the quality and efficiency of POS machine testing. Summary of the invention
[0005] The present application provides a multi-dimensional testing method, system and test bench for POS machines, which are used to improve the testing quality and testing efficiency of POS machines.
[0006] In a first aspect, the present application provides a multi-dimensional testing method for a POS machine, the method being applied to a testing system, the testing system being communicatively connected to a testing bench, the testing bench comprising a POS machine to be tested, the method comprising:
[0007] Sending a test instruction to the test bench, wherein the test instruction is used to perform hardware performance index detection on the POS machine;
[0008] Real-time monitoring of test data generated when the POS terminal executes the test instruction;
[0009] Determine baseline data from the data warehouse, calculate the baseline data and the test data according to the set rules, and determine whether the test data is qualified according to the calculation result;
[0010] If it is determined that unqualified abnormal data appears in the test data, an alarm program for the POS machine is started.
[0011] Optionally, the operating the baseline data and the test data according to a set rule includes:
[0012] The baseline data includes a standard voltage curve, a standard current curve, a standard power consumption curve, and standard display interface data;
[0013] The test data includes real-time test voltage curve, test current curve, test power consumption curve, and test display interface data;
[0014] The standard voltage curve, the standard current curve, the standard power consumption curve and the standard interface data are respectively subjected to similarity calculations with the test voltage curve, the test current curve, the test power consumption curve and the test display interface data.
[0015] Optionally, the initiating an alarm procedure for the POS machine includes:
[0016] Start the light or sound alarm program for the POS machine.
[0017] Optionally, after the alarm procedure for the POS machine is started, the method further comprises:
[0018] Generate a test report, which includes test results, abnormality analysis and optimization suggestions;
[0019] The test report is sent to a user terminal.
[0020] Optionally, after generating the test report, the method further includes:
[0021] Changing the test strategy according to the test report, and adjusting the test instructions according to the test strategy;
[0022] The POS machine is subjected to a secondary test based on the adjusted test instruction.
[0023] A second aspect of the present application provides a multi-dimensional testing method for a POS machine, the method being applied to a test bench, the test bench being communicatively connected to a test system, the test bench comprising a POS machine to be tested, the method comprising:
[0024] Receive a test instruction sent by the test system, and control the POS terminal to perform a test action based on the test instruction;
[0025] Determining test data corresponding to the test action;
[0026] In response to the real-time monitoring of the test system, the test data is fed back to the test system.
[0027] Optionally, the test bench includes a power supply control and a camera;
[0028] The controlling the POS terminal to perform a test action based on the test instruction comprises:
[0029] According to the power supply test instruction, the power supply is disconnected and / or connected through the power supply control to start and / or stop the test action of the test voltage, test current and test power consumption;
[0030] The recording function of the camera is started and / or stopped according to the camera test instruction to start and / or stop the test action on the display interface of the POS machine, and the test instruction includes the power test instruction and the camera test instruction.
[0031] Optionally, the test bench further includes button control, USB port control and serial port control;
[0032] The controlling the POS terminal to perform a test action based on the test instruction comprises:
[0033] Based on the test instruction, the key manipulator is driven by the key control to perform a key test action;
[0034] The data transmission test action of the POS machine is performed through the USB port control and the serial port control.
[0035] The third aspect of the present application provides a multi-dimensional testing system for a POS machine, wherein the system is communicatively connected to a test bench, the test bench includes a POS machine to be tested, and the system includes:
[0036] Command control center, data warehouse and data analysis center;
[0037] The command control center, the data warehouse and the data analysis center are in communication connection;
[0038] The command control center is used to send a test instruction to the test bench, and the test instruction is used to perform hardware performance index detection on the POS machine;
[0039] The data analysis center is used to monitor in real time the test data generated when the POS machine executes the test instruction;
[0040] The data analysis center is also used to determine the baseline data from the data warehouse, calculate the baseline data and the test data according to the set rules, and determine whether the test data is qualified according to the calculation result;
[0041] The data analysis center is also used to start an alarm program for the POS machine if it is determined that unqualified abnormal data appears in the test data.
[0042] Optionally, the baseline data includes a standard voltage curve, a standard current curve, a standard power consumption curve, and standard display interface data;
[0043] The test data includes real-time test voltage curve, test current curve, test power consumption curve, and test display interface data;
[0044] The data analysis center is specifically used to perform similarity calculations on the standard voltage curve, the standard current curve, the standard power consumption curve and the standard interface data with the test voltage curve, the test current curve, the test power consumption curve and the test display interface data respectively.
[0045] Optionally, the data analysis center is specifically used to start a light or sound alarm program for the POS machine.
[0046] Optionally, the data analysis center is further used to generate a test report, which includes test results, abnormality analysis and optimization suggestions;
[0047] The test report is sent to a user terminal.
[0048] Optionally, the data analysis center is further used to change the test strategy according to the test report, and adjust the test instruction according to the test strategy;
[0049] The command control center is also used to perform a secondary test on the POS machine based on the adjusted test instructions.
[0050] A fourth aspect of the present application provides a test bench, the test bench being communicatively connected to a test system, the test bench comprising a POS machine to be tested, and the test bench further comprising:
[0051] An execution unit, used to receive a test instruction sent by the test system, and control the POS terminal to execute a test action based on the test instruction;
[0052] A determination unit, used to determine the test data corresponding to the test action;
[0053] A feedback unit is used to feed back the test data to the test system in response to the real-time monitoring of the test system.
[0054] Optionally, the test bench includes a power supply control and a camera;
[0055] The execution unit is specifically used to disconnect and / or connect the power supply through the power supply control according to the power supply test instruction, so as to start and / or stop the test action of the test voltage, test current and test power consumption;
[0056] The recording function of the camera is started and / or stopped according to the camera test instruction to start and / or stop the test action on the display interface of the POS machine, and the test instruction includes the power test instruction and the camera test instruction.
[0057] Optionally, the test bench further includes button control, USB port control and serial port control;
[0058] The execution unit is specifically used to drive the key manipulator to perform a key test action through the key control based on the test instruction;
[0059] The data transmission test action of the POS machine is performed through the USB port control and the serial port control.
[0060] A fifth aspect of the present application provides a POS machine multi-dimensional testing device, the device comprising:
[0061] Processor, memory, input-output unit, and bus;
[0062] The processor is connected to the memory, the input and output unit, and the bus;
[0063] The memory stores a program, and the processor calls the program to execute the first aspect and any optional multi-dimensional testing method for a POS machine in the first aspect, or to execute the second aspect and any optional multi-dimensional testing method for a POS machine in the second aspect.
[0064] In a sixth aspect, the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional multi-dimensional testing method for a POS machine in the first aspect, or executes the second aspect and any optional multi-dimensional testing method for a POS machine in the second aspect.
[0065] It can be seen from the above technical solutions that this application has the following advantages:
[0066] The test system of the present application sends a test instruction to the test bench, and the test instruction is used to detect the hardware performance index of the POS machine; then the test data generated when the POS machine executes the test instruction is monitored in real time; the baseline data is determined from the data warehouse, the baseline data and the test data are calculated according to the set rules, and whether the test data is qualified is judged according to the calculation result; if it is determined that unqualified abnormal data appears in the test data, the alarm program for the POS machine is started, and the POS machine is automatically tested by the test system, so as to reduce the influence of the manual test of the test personnel on the test result, and when it is determined that the POS machine has an abnormality according to the test result, the test system triggers the alarm program for the POS machine, so as to improve the test quality and test efficiency of the POS machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0068] Figure 1 A flowchart of an embodiment of the multi-dimensional testing method for POS machines provided in this application;
[0069] Figure 2 A flowchart of another embodiment of the multi-dimensional testing method for POS machines provided in this application;
[0070] Figure 3 A flowchart of another embodiment of the multi-dimensional testing method for POS machines provided in this application;
[0071] Figure 4 A flowchart of another embodiment of the multi-dimensional testing method for POS machines provided in this application;
[0072] Figure 5 A flowchart of another embodiment of the multi-dimensional testing method for POS machines provided in this application;
[0073] Figure 6 A flowchart of another embodiment of the multi-dimensional testing method for POS machines provided in this application;
[0074] Figure 7 A schematic diagram of the structure of an embodiment of a multi-dimensional testing system for POS machines provided in this application;
[0075] Figure 8 A schematic diagram of the structure of an embodiment of the test bench provided in this application;
[0076] Fig. 9 This is a schematic diagram of the structure of an embodiment of the multi-dimensional testing device for POS machines provided in this application. DETAILED DESCRIPTION
[0077] The present application provides a multi-dimensional testing method, system and test bench for POS machines, which are used to improve the testing quality and testing efficiency of POS machines.
[0078] It should be noted that the multi-dimensional testing method for POS machines provided in this application can be applied to terminals or servers. For example, the terminal can be a smart phone or computer, tablet computer, smart TV, smart watch, portable computer terminal or a fixed terminal such as a desktop computer. For the convenience of explanation, this application uses the test system as an example for illustration.
[0079] See also Figure 1 , Figure 1 An embodiment of the multi-dimensional testing method for a POS machine provided in the present application includes:
[0080] Step S101: Send a test instruction to the test bench, where the test instruction is used to test the hardware performance index of the POS machine;
[0081] Step S102: real-time monitoring of test data generated when the POS terminal executes the test instruction;
[0082] Step S103, determining the baseline data from the data warehouse, calculating the baseline data and the test data according to the set rules, and judging whether the test data is qualified according to the calculation result;
[0083] Step S104: If it is determined that unqualified abnormal data appears in the test data, an alarm program for the POS machine is started.
[0084] The multi-dimensional testing method for POS machines of the present application first sends a test instruction to the test bench through the test system, and the test instruction is used to detect the hardware performance index of the POS machine; then, the test data generated when the POS machine executes the test instruction is monitored in real time; further, the baseline data is determined from the data warehouse, the baseline data and the test data are calculated according to the set rules, and whether the test data is qualified is determined according to the calculation results; finally, if it is determined that unqualified abnormal data appears in the test data, the alarm program for the POS machine is started. It should be noted that the test system is connected to the test bench for communication. Specifically, the test system and the test bench are connected via communication methods such as TCP or RD232. Among them, the test system can be a control PC or server, or other terminals, which are not limited here. The test bench is connected to the POS machine to be tested.
[0085] The present application performs automated hardware testing on a POS machine based on the test instructions generated by the test system to determine the test data, and the test data is the operation data generated by the POS machine during the test process by the test bench. The baseline data of the POS is pre-stored in the data warehouse, and the baseline data is the expected standard data. Therefore, after determining the baseline data and the test data, the test system performs analytical operations on the POS machine based on the baseline data and the test data. When unqualified abnormal data appears, the alarm program is started, and there is no need for manual participation in the test, which reduces the impact of the tester's manual test on the test results. When it is determined that the POS machine is abnormal according to the test results, the test system directly triggers the alarm program for the POS machine, thereby improving the test quality and test efficiency of the POS machine.
[0086] In step S101 of some embodiments, a test instruction is sent to the test bench, and the test instruction is used to detect the hardware performance index of the POS machine. It should be noted that the test instruction is generated according to a pre-set test script. After the POS machine is turned on and the test system determines to start the test of the POS machine, the test system obtains the test script and generates a corresponding test instruction according to the test script. The test instruction is used to detect the hardware performance index of the POS machine, and may include but is not limited to a POS machine battery usage test instruction, a CPU usage test instruction, a POS machine memory usage test instruction, a POS standard voltage test instruction, a standard current test instruction, a display screen display test instruction, a button test instruction, etc. In addition, the test system can also generate a test instruction for the detection of the software performance index of the POS machine according to the script, which is used to detect the software performance of the POS machine. The test instruction may include a wireless network test instruction, a Bluetooth connection test instruction, etc., which are not limited here.
[0087] In step S102 of some embodiments, the test data generated when the POS machine executes the test instruction is monitored in real time. It should be noted that the test system performs real-time detection on the test data of the POS machine, which may include real-time monitoring and achieving acquisition, recording and analysis of the test data, etc., which is not limited here.
[0088] In step S103 of some embodiments, the baseline data is determined from the data warehouse, the baseline data and the test data are calculated according to the set rules, and whether the test data is qualified is determined based on the calculation results. It should be noted that the baseline data is the standard data under the qualified state of the POS machine, and the baseline data can be pre-stored in the test system. When the test system needs to test the POS machine, the baseline data is obtained, the baseline data and the test data are compared and calculated, and whether the test data is qualified is determined based on the comparison results. Specifically, if it is determined based on the comparison results that the baseline data and the test data are consistent, then the test data is qualified, and if they are inconsistent, then the test data is unqualified.
[0089] According to some embodiments of the present application, step S103 of calculating the baseline data and the test data according to the set rules may include, but is not limited to, the following:
[0090] The standard voltage curve, the standard current curve, the standard power consumption curve and the standard interface data are respectively subjected to similarity calculations with the test voltage curve, the test current curve, the test power consumption curve and the test display interface data.
[0091] In this embodiment, the baseline data includes a standard voltage curve, a standard current curve, a standard power consumption curve, and standard display interface data. The test data includes a test voltage curve, a test current curve, a test power consumption curve, and a test display interface data. Then, a similarity operation is performed on the baseline data and the corresponding test data, and whether the test data is qualified is determined based on the similarity value. For example, a curve similarity operation of the voltage curve is performed on the standard voltage curve and the test voltage curve, and the voltage similarity value of the two is calculated. If the voltage similarity value reaches a preset threshold, it is determined that the voltage data corresponding to the test voltage curve is qualified. If it does not reach the preset threshold, it is determined that the voltage data corresponding to the test voltage curve is unqualified and is abnormal data.
[0092] In step S104 of some embodiments, if it is determined that unqualified abnormal data appears in the test data, an alarm program for the POS machine is started. It should be noted that if there is an unqualified abnormal data in the test data, the abnormal data is recorded and the alarm program for the POS machine is started to alert the tester of the abnormal data.
[0093] According to some embodiments of the present application, step S104 of starting the alarm program for the POS machine may include, but is not limited to, starting the light or sound alarm program for the POS machine. The light or sound alarm can make the tester notice the abnormal data as soon as possible and adjust the subsequent POS machine.
[0094] See also Figure 2 According to some embodiments of the present application, after step S104 starts the alarm program for the POS machine, the multi-dimensional testing method of the POS machine of the present application further includes steps S201 to S202:
[0095] Step S201: Generate a test report, which includes test results, abnormality analysis and optimization suggestions;
[0096] Step S202: Send the test report to the user terminal.
[0097] In step S201 to step S202 of this embodiment, after the test is completed, the test system automatically generates a detailed test report, which includes test results, abnormal analysis, optimization suggestions, etc., and sends the test report to the user terminal for the convenience of test personnel to view and analyze. In addition, the test report can also be displayed on the display interface of the test system for the convenience of test personnel to view.
[0098] See also Figure 3 According to some embodiments of the present application, after step S201 generates a test report, the multi-dimensional testing method of the POS machine of the present application further includes steps S301 to S302:
[0099] Step S301: Change the test strategy according to the test report, and adjust the test instructions according to the test strategy;
[0100] Step S302: Perform a secondary test on the POS terminal based on the adjusted test instruction.
[0101] In step S301 to step S302 of this embodiment, the test system can also adjust the test strategy and test instructions according to the test results and test reports, and perform a secondary test on the POS machine according to the adjusted test instructions to meet different test requirements.
[0102] For example, the test system performs a key test on a POS machine. If the test instruction in the first test requires that the key be pressed continuously for 100 times, and if it is determined according to the test report that the key becomes unresponsive after being pressed continuously for more than 10 times, the test strategy is adjusted according to the test results, the number of tests is adjusted to 500 times, and the corresponding test instructions are adjusted to perform a higher frequency key press test.
[0103] Furthermore, the test system records the key test data during the test in real time, such as key response time, error code when the key is unresponsive, and other data, so as to be reflected in the test report, making it easier for testers to locate the root cause of the problem and make adjustments to the POS machine.
[0104] The above describes the multi-dimensional testing method for POS machines applied to the test system. The following describes the multi-dimensional testing method for POS machines applied to the test bench.
[0105] See also Figure 4 , Figure 4 Another embodiment of the multi-dimensional testing method for a POS machine provided in the present application includes:
[0106] Step S401, receiving a test instruction sent by a test system, and controlling the POS terminal to perform a test action based on the test instruction;
[0107] Step S402, determining the test data corresponding to the test action;
[0108] Step S403: In response to the real-time monitoring of the test system, the test data is fed back to the test system.
[0109] The multi-dimensional testing method for POS machines of the present application first receives the test instructions sent by the test system, and controls the POS machine to perform the test action based on the test instructions; then determines the test data corresponding to the test action; and finally, in response to the real-time monitoring of the test system, feeds back the test data to the test system.
[0110] It should be noted that the test bench receives the test instructions transmitted by the test system, executes the corresponding test actions, determines the test data corresponding to the test actions, and feeds back the corresponding test data to the test system. The test data includes the result data of the test action execution, the process data of the actual test, etc., so that the test system can judge whether the POS test is qualified and whether abnormal data occurs based on the test data. There is no need for manual testing, which reduces labor costs and improves test instructions and test efficiency.
[0111] In step S401 of some embodiments, a test instruction sent by the test system is received, and the POS machine is controlled to perform a test action based on the test instruction. It should be noted that the test bench includes monitorable terminal data control, such as button control, USB port control, serial port control, power control, camera, etc. The test instruction may include a power test instruction, a button test instruction, a camera test instruction, etc. The test bench controls the POS machine to perform a corresponding test action according to the test instruction.
[0112] See also Figure 5 According to some embodiments of the present application, step S401 of controlling the POS terminal to perform a test action based on the test instruction may include, but is not limited to, the following:
[0113] Step S501: disconnecting and / or connecting the power supply through the power supply control according to the power supply test instruction to start and / or stop the test action of the test voltage, test current and test power consumption;
[0114] Step S502: start and / or stop the recording function of the camera according to the camera test instruction to start and / or stop the test action on the display interface of the POS machine. The test instruction includes a power test instruction and a camera test instruction.
[0115] In step S501 to step S502 of this embodiment, the power supply control disconnects and / or connects the power supply according to the power supply test instruction, starts and / or stops the test action of voltage, current and power consumption, and records the corresponding test voltage, test current and test power consumption data. The camera starts and / or stops the video recording function according to the camera test instruction, and records the recorded video data. In this way, the recorded data is fed back to the test system for test data analysis according to the corresponding requirements.
[0116] See also Figure 6 According to some embodiments of the present application, step S401 of controlling the POS terminal to perform a test action based on the test instruction may include, but is not limited to, the following:
[0117] Step S601, based on the test instruction, the key manipulator is driven by key control to perform a key test action;
[0118] Step S602: Perform data transmission test of the POS terminal through USB port control and serial port control.
[0119] In step S601 to step S602 of this embodiment, the button control performs the button pressing test action according to the button control instruction. Specifically, after the test system transmits the button control instruction, it can drive the button manipulator to test the buttons of the POS machine, wherein a single button can be pressed at one time, or multiple buttons can be pressed at one time to perform a button combination action, and then the button response data of the button test action is recorded and fed back to the test system.
[0120] Furthermore, the data transmission test of the POS machine is performed through the USB port and the serial port. The USB port can provide power supply, data transmission, etc., and the serial port can perform writing and reading of serial port data. Data transmission is performed through the USB port and the serial port. The USB port is connected by a relay, or it can be connected by other methods, which are not limited here.
[0121] Furthermore, the test bench can be expanded into a test cabinet, each of which includes several layers of test benches. The test system is connected to the test cabinet in communication, and controls multiple test benches in the test cabinet to perform POS machine testing, so as to achieve one-to-many synchronous testing and improve the testing efficiency of POS machines.
[0122] The above describes the multi-dimensional testing method for POS machines provided by the present application. The following describes the multi-dimensional testing system for POS machines provided by the present application:
[0123] See also Figure 7 , Figure 7 An embodiment of the multi-dimensional testing system for POS machines provided in the present application is provided. The system is communicatively connected to a test bench, the test bench includes a POS machine to be tested, and the system includes:
[0124] Command control center 701, data warehouse 702 and data analysis center 703;
[0125] The command control center 701, the data warehouse 702 and the data analysis center 703 are in communication connection;
[0126] The command control center 701 is used to send test instructions to the test bench, and the test instructions are used to test the hardware performance indicators of the POS machine;
[0127] The data analysis center 703 is used to monitor in real time the test data generated when the POS machine executes the test instructions;
[0128] The data analysis center 703 is also used to determine the baseline data from the data warehouse 702, calculate the baseline data and the test data according to the set rules, and determine whether the test data is qualified according to the calculation results;
[0129] The data analysis center 703 is also used to start an alarm program for the POS machine if it is determined that unqualified abnormal data appears in the test data.
[0130] Optionally, the baseline data includes a standard voltage curve, a standard current curve, a standard power consumption curve, and standard display interface data;
[0131] The test data includes real-time test voltage curve, test current curve, test power consumption curve, and test display interface data;
[0132] The data analysis center 703 is specifically used to perform similarity calculations on the standard voltage curve, the standard current curve, the standard power consumption curve and the standard interface data with the test voltage curve, the test current curve, the test power consumption curve and the test display interface data respectively.
[0133] Optionally, the data analysis center 703 is specifically used to start a light or sound alarm program for the POS machine.
[0134] Optionally, the data analysis center 703 is also used to generate a test report, which includes test results, abnormality analysis and optimization suggestions;
[0135] Send the test report to the user terminal.
[0136] Optionally, the data analysis center 703 is also used to change the test strategy according to the test report, and adjust the test instructions according to the test strategy;
[0137] The command control center 701 is also used to perform a secondary test on the POS terminal based on the adjusted test instructions.
[0138] In this embodiment, the functions performed by each unit are similar to those in the above-mentioned Figures 1 to 3 The steps in the method embodiment shown correspond to each other and will not be described in detail here.
[0139] In this embodiment, the POS machine is automatically tested by the test system to reduce the impact of manual testing by testers on the test results. When it is determined that the POS machine is abnormal based on the test results, the test system triggers an alarm program for the POS machine, thereby improving the test quality and test efficiency of the POS machine.
[0140] The following is a description of the test bench provided in this application. Figure 8 , Figure 8 An embodiment of the test bench provided in the present application is that the test bench is communicatively connected to the test system, the test bench includes a POS machine to be tested, and the test bench also includes:
[0141] The execution unit 801 is used to receive the test instruction sent by the test system and control the POS terminal to execute the test action based on the test instruction;
[0142] A determination unit 802, used to determine the test data corresponding to the test action;
[0143] The feedback unit 803 is used to feed back test data to the test system in response to the real-time monitoring of the test system.
[0144] Optionally, the test bench includes a power supply control and a camera;
[0145] The execution unit 801 is specifically used to disconnect and / or connect the power supply through the power supply control according to the power supply test instruction, so as to start and / or stop the test action of the test voltage, test current and test power consumption;
[0146] The recording function of the camera is started and / or stopped according to the camera test instruction to start and / or stop the test action on the display interface of the POS machine. The test instruction includes a power test instruction and a camera test instruction.
[0147] Optionally, the test bench also includes button control, USB port control and serial port control;
[0148] The execution unit 801 is specifically used to drive the key manipulator to perform key test actions through key control based on the test instruction;
[0149] The data transmission test action of the POS machine is carried out through USB port control and serial port control.
[0150] In the test bench of this embodiment, the functions performed by each unit are the same as those described above. Figures 4 to 6 The steps in the method embodiment shown correspond to each other and will not be described in detail here.
[0151] In this embodiment, the test bench receives the test instructions transmitted from the test system, executes the corresponding test actions, determines the test data corresponding to the test actions, and feeds back the corresponding test data to the test system. The test data includes the result data of the test action execution, the process data of the actual test, etc., so that the test system can judge whether the POS test is qualified and whether abnormal data occurs based on the test data. There is no need for manual testing, which reduces labor costs and improves test instructions and test efficiency.
[0152] This application also provides a POS machine multi-dimensional testing device, see Fig. 9 , Fig. 9 An embodiment of a multi-dimensional testing device for a POS machine provided in the present application includes:
[0153] Processor 901, memory 902, input and output unit 903, bus 904;
[0154] The processor 901 is connected to the memory 902, the input and output unit 903 and the bus 904;
[0155] The memory 902 stores a program, and the processor 901 calls the program to execute any of the above POS machine multi-dimensional testing methods.
[0156] The present application also relates to a computer-readable storage medium on which a program is stored. When the program is run on a computer, the computer executes any of the above-mentioned multi-dimensional testing methods for POS machines.
[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0158] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0160] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0161] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk, etc. Various media that can store program codes.
Claims
1. A multi-dimensional testing method for POS machines. It is characterized in that The method is applied to a test system, the test system is communicatively connected to a test bench, the test bench includes a POS machine to be tested, and the method includes: Sending a test instruction to the test bench, wherein the test instruction is used to perform hardware performance index detection on the POS machine; Real-time monitoring of test data generated when the POS terminal executes the test instruction; Determine baseline data from the data warehouse, calculate the baseline data and the test data according to the set rules, and determine whether the test data is qualified according to the calculation result; If it is determined that unqualified abnormal data appears in the test data, an alarm program for the POS machine is started.
2. The multi-dimensional testing method for POS machines according to claim 1, It is characterized in that The operating the baseline data and the test data according to the set rules includes: The baseline data includes a standard voltage curve, a standard current curve, a standard power consumption curve, and standard display interface data; The test data includes real-time test voltage curve, test current curve, test power consumption curve, and test display interface data; The standard voltage curve, the standard current curve, the standard power consumption curve and the standard interface data are respectively subjected to similarity calculation with the test voltage curve, the test current curve, the test power consumption curve and the test display interface data.
3. The multi-dimensional testing method for POS machines according to claim 1, It is characterized in that The initiation of the alarm procedure for the POS machine includes: Start the light or sound alarm program for the POS machine.
4. The multi-dimensional testing method for POS machines according to claim 1, It is characterized in that After the alarm procedure for the POS machine is started, the method further comprises: Generate a test report, which includes test results, abnormality analysis and optimization suggestions; The test report is sent to a user terminal.
5. The multi-dimensional testing method for POS machines according to claim 4, It is characterized in that After generating the test report, the method further includes: Changing the test strategy according to the test report, and adjusting the test instructions according to the test strategy; The POS machine is subjected to a secondary test based on the adjusted test instruction.
6. A multi-dimensional testing method for POS machines. It is characterized in that The method is applied to a test bench, the test bench is communicatively connected to a test system, the test bench includes a POS machine to be tested, and the method includes: Receive a test instruction sent by the test system, and control the POS terminal to perform a test action based on the test instruction; Determining test data corresponding to the test action; In response to the real-time monitoring of the test system, the test data is fed back to the test system.
7. The multi-dimensional testing method for POS machine according to claim 6, It is characterized in that The test bench includes a power supply control and a camera; The controlling the POS terminal to perform a test action based on the test instruction comprises: According to the power supply test instruction, the power supply is disconnected and / or connected through the power supply control to start and / or stop the test action of the test voltage, test current and test power consumption; The recording function of the camera is started and / or stopped according to the camera test instruction to start and / or stop the test action on the display interface of the POS machine, and the test instruction includes the power test instruction and the camera test instruction.
8. The multi-dimensional testing method for POS machine according to claim 7, It is characterized in that The test bench also includes button control, USB port control and serial port control; The controlling the POS terminal to perform a test action based on the test instruction comprises: Based on the test instruction, the key manipulator is driven by the key control to perform a key test action; The data transmission test action of the POS machine is performed through the USB port control and the serial port control.
9. A multi-dimensional testing system for POS machines. It is characterized in that The system is communicatively connected to a test bench, the test bench includes a POS machine to be tested, and the system includes: Command control center, data warehouse and data analysis center; The command control center, the data warehouse and the data analysis center are in communication connection; The command control center is used to send a test instruction to the test bench, and the test instruction is used to perform hardware performance index detection on the POS machine; The data analysis center is used to monitor in real time the test data generated when the POS machine executes the test instruction; The data analysis center is also used to determine the baseline data from the data warehouse, calculate the baseline data and the test data according to the set rules, and determine whether the test data is qualified according to the calculation result; The data analysis center is also used to start an alarm program for the POS machine if it is determined that unqualified abnormal data appears in the test data.
10. A test bench, the test bench being communicatively connected to a test system, the test bench comprising a POS machine to be tested, It is characterized in that The test bench also includes: An execution unit, used to receive a test instruction sent by the test system, and control the POS terminal to execute a test action based on the test instruction; A determination unit, used to determine the test data corresponding to the test action; A feedback unit is used to feed back the test data to the test system in response to the real-time monitoring of the test system.
