Search

CN-115422953-B - Code scanning equipment testing method and code scanning equipment testing device

CN115422953BCN 115422953 BCN115422953 BCN 115422953BCN-115422953-B

Abstract

The invention mainly aims to provide a code scanning equipment testing method and a code scanning equipment testing device, and belongs to the field of testing. The invention can rapidly obtain the compatibility test result of the code matching of the terminal product, and the test process does not need personnel intervention or collection of a large number of entity mobile phones. According to the code scanning equipment testing method, information parameters to be tested are obtained, the control code simulation equipment displays simulation codes matched with the information parameters, and the code scanning equipment is controlled to conduct code scanning testing on the simulation codes to obtain testing results. According to the code scanning equipment testing method, a large number of mobile phones do not need to be collected for compatibility testing, so that the detection cost is saved, and the development period of the code scanning equipment is shortened.

Inventors

  • HE YUYAN
  • LI LIN
  • SUN YANFANG

Assignees

  • 深圳市新国都支付技术有限公司

Dates

Publication Date
20260508
Application Date
20220810

Claims (10)

  1. 1. The code scanning equipment testing method is characterized by comprising the following steps of: Acquiring information parameters to be tested, wherein the information parameters comprise target application of a target terminal, the target terminal is terminal equipment to be simulated, and the target application is an application program which is simulated to run on the target terminal; determining matched analog codes in a code analog library according to the target terminal and the target application; The control code simulation equipment displays simulation codes matched with the information parameters, and comprises the steps of acquiring terminal model parameters corresponding to the target terminal from the code simulation library, generating a corresponding terminal display screen according to the terminal model parameters, acquiring a code system to be tested corresponding to the target application from the code simulation library, and displaying corresponding simulation codes in the terminal display screen generated by the code simulation equipment according to the code system; and controlling code scanning equipment to scan the analog codes to obtain a test result.
  2. 2. The code scanning apparatus testing method according to claim 1, wherein said control code simulation apparatus displays a simulation code matched with said information parameter, comprising: Acquiring an analog code matched with a target application of the target terminal; The control code simulation device displays the simulation code.
  3. 3. The method for testing a code scanning device according to claim 2, wherein the acquiring the analog code matched with the target application of the target terminal includes: And calling the simulation code corresponding to the target application of the target terminal from a simulation code library.
  4. 4. The method for testing a code scanning device according to claim 2, wherein the information parameter further includes a depth of field parameter, and the control code simulation device displays the simulation code, comprising: Determining a scaling according to the depth of field parameter; The control code simulation device displays the simulation code at the scaling scale.
  5. 5. The method according to claim 2, wherein the information parameter further includes an angle parameter, and the control code simulation device displays the simulation code, including: determining an inclination angle according to the angle parameter; The control code simulation device displays the simulation code at the tilt angle.
  6. 6. The code scanning apparatus testing method according to claim 2, wherein the information parameter further includes a moving speed parameter, and the control code simulation apparatus displays the simulation code, comprising: determining a moving speed and a moving direction according to the moving speed parameter; And the control code simulation device displays the simulation code in a moving mode at the moving speed and the moving direction.
  7. 7. The method for testing a code scanning device according to any one of claims 1 to 6, wherein after the control code simulation device displays the simulation code matched with the information parameter, further comprising: And if the information parameters are detected to be changed, the control code simulation equipment displays the simulation codes matched with the changed information parameters.
  8. 8. The method for testing a code scanning device according to any one of claims 1 to 6, wherein the obtaining the information parameter to be tested includes: acquiring characteristic information of code scanning equipment; Displaying a parameter configuration interface matched with the characteristic information; And acquiring information parameters to be tested selected by a user at the parameter configuration interface.
  9. 9. The method for testing a code scanning device according to any one of claims 1 to 6, wherein the controlling the code scanning device to scan the analog code to obtain a test result includes: And controlling code scanning equipment to perform code scanning test on the analog code according to the received code scanning test instruction so as to obtain a test result.
  10. 10. Sweep a yard equipment testing arrangement, its characterized in that includes: The information testing device comprises an acquisition unit, a code simulation library and a code simulation library, wherein the acquisition unit is used for acquiring information parameters to be tested, the information parameters comprise target application of a target terminal, the target terminal is terminal equipment to be simulated, the target application is application program which is simulated and runs on the target terminal, and the acquisition unit is also used for determining matched simulation codes in the code simulation library according to the target terminal and the target application; the first control unit is used for controlling the code simulation equipment to display the simulation code matched with the information parameter, and comprises the steps of acquiring terminal model parameters corresponding to the target terminal from the code simulation library, generating a corresponding terminal display screen according to the terminal model parameters, acquiring a code system to be tested corresponding to the target application from the code simulation library, and displaying a corresponding simulation code in the terminal display screen generated by the code simulation equipment according to the code system; And the second control unit is used for controlling the code scanning equipment to scan the analog codes to obtain a test result.

Description

Code scanning equipment testing method and code scanning equipment testing device Technical Field The invention relates to the field of testing, in particular to a code scanning device testing method and a code scanning device testing device. Background Along with the development of intelligent mobile terminals in the market, the code scanning equipment is used for carrying out the code scanning payment more and more, and the code scanning compatibility testing problem of the code scanning equipment products is caused. Because of the wide variety of mobile phones used by consumers, the application programs used are different, and it is very difficult to ensure that the code scanning device can be compatible with all mobile phone applications of all models. The code scanning application test of the existing code scanning equipment generally uses a test tool to test, the actual code display equipment is required to be continuously polled, and codes to be tested of the same terminal under the scenes of different application programs are different, so that the compatibility test workload is large, and the efficiency is low. Disclosure of Invention The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims. The main purpose of the embodiment of the application is to provide a code scanning device testing method and a code scanning device testing device, which can rapidly obtain the compatibility testing result of terminal products on codes, and the testing process does not need personnel intervention or collection of a large number of entity mobile phones. According to the first aspect of the application, the method for testing the code scanning equipment comprises the steps of obtaining information parameters to be tested, controlling code simulation equipment to display simulation codes matched with the information parameters, and controlling the code scanning equipment to scan the simulation codes to obtain test results. According to the code scanning equipment testing method, a large number of mobile phones do not need to be collected for compatibility testing, so that the detection cost is saved, and the development period of the code scanning equipment is shortened. In some embodiments, the information parameter includes a target application of a target terminal, and the control code simulation device displays a simulation code matched with the information parameter, including obtaining a simulation code matched with the target application of the target terminal, and the control code simulation device displays the simulation code. In some embodiments, the obtaining the analog code that matches the target application of the target terminal includes invoking the analog code corresponding to the target application of the target terminal from an analog code library. In some embodiments, the information parameters further include a depth of field parameter, and the control code simulation device displays the simulation code, including determining a scale according to the depth of field parameter, and the control code simulation device displays the simulation code at the scale. In some embodiments, the information parameters further include an angle parameter, and the control code simulation device displays the simulation code, including determining a tilt angle according to the angle parameter, and the control code simulation device displays the simulation code at the tilt angle. In some embodiments, the information parameters further include a movement speed parameter, and the control code simulation device displays the simulation code, including determining a movement speed and a movement direction according to the movement speed parameter, and the control code simulation device displays the simulation code in a movement manner at the movement speed and the movement direction. In some embodiments, after the control code simulation device displays the simulation code matched with the information parameter, the control code simulation device further comprises displaying the simulation code matched with the changed information parameter if the information parameter is detected to be changed. In some embodiments, the obtaining the information parameters to be tested includes obtaining feature information of the code scanning device, displaying a parameter configuration interface matched with the feature information, and obtaining the information parameters to be tested selected by a user on the parameter configuration interface. In some embodiments, the control code scanning device performs code scanning test on the analog code to obtain a test result, and the control code scanning device performs code scanning test on the analog code to obtain a test result according to the received code scanning test instruction. According to a second aspect of the application, a code scanning device testing apparatus is provided, which comprises an