Test method for terminal systems and related apparatus
By installing a simulator plugin on the testing equipment and using electronic credential data to simulate verification, the problem of financial equipment testing relying on real hardware was solved, and efficient business testing was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PING AN BANK CO LTD
- Filing Date
- 2022-10-11
- Publication Date
- 2026-04-28
AI Technical Summary
Business testing of financial instruments relies heavily on real hardware equipment, resulting in long test preparation time, high costs, and a large demand for machines, equipment, and manpower.
By installing a simulator plugin on the test equipment, the credential verification function of financial instruments is simulated, and electronic credential data is used to perform simulated verification processing to achieve business testing.
Complete business testing without relying on physical equipment and credentials, improving testing efficiency and saving testing costs and time.
Smart Images

Figure CN115454755B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of financial equipment testing technology, specifically to a testing method and related equipment for terminal systems. Background Technology
[0002] With the development of electronic financial services, financial equipment is appearing more and more frequently in people's daily lives. Financial equipment refers to the machines and products used daily by banks and other financial institutions, such as anti-counterfeiting banknote counters, banknote detectors, recounting machines, POS machines, smart terminals, coin sorting machines, banknote sorting machines, banknote bundling machines, paper shredders, and ID card verification devices. The use of financial equipment, such as deposit and withdrawal devices, not only reduces the workload of staff but also shortens customer waiting times, greatly facilitating people's lives.
[0003] Currently, the business testing of financial equipment relies heavily on real hardware devices. For example, business testing requires operations such as swiping cards, swiping ID cards, scanning tickets, and facial recognition.
[0004] For example, during system version iterations, system business testers need to conduct related testing on real devices throughout the process. Furthermore, they need to prepare physical cards, paper documents, and other test materials beforehand, which consumes a significant amount of time. Additionally, the number of physical financial testing machines is limited, requiring testers to take turns testing in a queue, resulting in a high demand for equipment and manpower, long testing cycles, and high costs. Summary of the Invention
[0005] This application provides a testing method and related equipment for a terminal system. The related equipment may include a testing device for the terminal system, electronic equipment, computer-readable storage medium, and computer program product. It can complete business testing without relying on financial instruments and physical voucher data, thereby improving testing efficiency and saving testing costs.
[0006] This application provides a testing method for a terminal system, including:
[0007] Install an emulator plugin on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test. The terminal system under test is a system corresponding to financial equipment. The client is deployed on the test equipment.
[0008] When performing business tests on the client for the terminal system under test, and the business tests require verification of business operation credentials, the target electronic credential data for simulated verification is determined.
[0009] The simulator plugin performs simulated verification processing based on the target electronic credential data.
[0010] Once the simulation verification is successful, subsequent business tests will be performed on the terminal system under test.
[0011] Accordingly, embodiments of this application provide a testing apparatus for a terminal system, comprising:
[0012] The installation unit is used to install an emulator plugin on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test. The terminal system under test is a system corresponding to financial equipment. The client is deployed on the test equipment.
[0013] The determining unit is configured to determine target electronic credential data for simulated verification when a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials.
[0014] The simulation unit is used to perform simulated verification processing based on the target electronic credential data through the simulator plugin;
[0015] The testing unit is used to perform subsequent business tests on the terminal system under test after the simulation verification is passed.
[0016] Optionally, in some embodiments of this application, the determining unit may include a type determining subunit and a selection subunit, as follows:
[0017] The type determination subunit is used to determine the target credential type corresponding to the business operation credential that needs to be verified.
[0018] A selection subunit is used to select target electronic credential data that matches the target credential type from candidate electronic credential data of at least one type for simulation verification.
[0019] Optionally, in some embodiments of this application, the determining unit may include a configuration subunit and a determining subunit, as follows:
[0020] The configuration subunit is used to generate candidate electronic credential data for simulation verification through a preset data generation platform;
[0021] The determination subunit is used to trigger the simulator plugin to determine the target electronic credential data from the candidate electronic credential data of the preset data generation platform through the target transmission protocol when a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials.
[0022] Optionally, in some embodiments of this application, the simulation unit may be used to perform simulated verification processing on the target electronic credential data based on the original processing logic corresponding to the terminal system under test through the simulator plugin.
[0023] Optionally, in some embodiments of this application, the simulation unit may include an algorithm determination subunit, an encryption subunit, and a verification subunit, as follows:
[0024] The algorithm determination subunit is used to determine the encryption algorithm corresponding to the target electronic credential data based on the original processing logic corresponding to the terminal system under test.
[0025] The encryption subunit is used to encrypt the target electronic credential data according to the encryption algorithm through the simulator plugin to obtain the target encryption feature;
[0026] The verification subunit is used to perform simulated verification processing on the target encryption features.
[0027] Optionally, in some embodiments of this application, the verification subunit may be specifically used to obtain preset standard credential data corresponding to the business operation credential to be verified; encrypt the preset standard credential data according to the encryption algorithm to obtain standard encryption features; and perform simulation verification processing on the target encryption features according to the standard encryption features.
[0028] An electronic device provided in this application includes a processor and a memory. The memory stores multiple instructions, and the processor loads the instructions to execute the steps in the testing method for a terminal system provided in this application.
[0029] This application also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps in the testing method for a terminal system provided in this application.
[0030] Furthermore, embodiments of this application also provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the steps in the testing method for a terminal system provided in embodiments of this application.
[0031] This application provides a testing method and related equipment for a terminal system. A simulator plugin can be installed on the client side of the terminal system under test. The simulator plugin simulates the credential verification function of the terminal system under test, which is a system corresponding to a financial instrument. The client side is deployed in the testing equipment. When business testing of the terminal system under test is performed on the client side, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined. Simulated verification is performed based on the target electronic credential data using the simulator plugin. After successful simulated verification, subsequent business tests for the terminal system under test are executed. This application can perform simulated verification processing using a simulator plugin and target electronic credential data, enabling business testing to be completed without relying on financial instruments and physical credential data, thereby improving testing efficiency and saving testing costs. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1a This is a schematic diagram of a scenario for a testing method for a terminal system provided in an embodiment of this application;
[0034] Figure 1b This is a flowchart of a testing method for a terminal system provided in an embodiment of this application;
[0035] Figure 1c This is another flowchart of a testing method for a terminal system provided in an embodiment of this application;
[0036] Figure 2 This is another flowchart of a testing method for a terminal system provided in an embodiment of this application;
[0037] Figure 3 This is a schematic diagram of the structure of the testing device for a terminal system provided in the embodiments of this application;
[0038] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0039] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0040] This application provides a testing method and related equipment for a terminal system. The related equipment may include a testing device for the terminal system, an electronic device, a computer-readable storage medium, and a computer program product. Specifically, the testing device for the terminal system may be integrated into an electronic device, which may be a terminal or a server, etc.
[0041] It is understood that the testing method for the terminal system in this embodiment can be jointly executed by the terminal and the server. The above examples should not be construed as limiting this application.
[0042] like Figure 1a As shown, an example of a terminal system test method jointly executed by a terminal and a server is presented. The terminal system test system provided in this application includes a terminal 10 and a server 11, etc.; the terminal 10 and the server 11 are connected via a network, such as a wired or wireless network, etc., wherein the terminal system test device can be integrated into the terminal.
[0043] Terminal 10 can be used to: install a simulator plugin on a client corresponding to the terminal system under test, the simulator plugin being used to simulate the credential verification function of the terminal system under test, where the terminal system under test is a system corresponding to a financial instrument, and the client is deployed in a test device; when business testing of the terminal system under test is performed on the client, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined; simulated verification processing is performed based on the target electronic credential data through the simulator plugin; and after the simulated verification is passed, subsequent business testing of the terminal system under test is executed. Terminal 10 can be the test device. Terminal 10 can include a mobile phone, smart TV, tablet computer, laptop computer, or personal computer (PC), etc. A client can also be set on terminal 10, which can be an application client or a browser client, etc.
[0044] Server 11 can be used to: receive a simulated verification pass instruction sent by terminal 10, and execute subsequent business tests on the terminal system under test according to the simulated verification pass instruction. Server 11 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0045] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0046] This embodiment will be described from the perspective of a test device for a terminal system, which can be integrated into an electronic device.
[0047] like Figure 1b As shown, the specific process of this testing method for terminal systems can be as follows:
[0048] 101. Install an emulator plugin on the client corresponding to the terminal system to be tested. The emulator plugin is used to simulate the credential verification function of the terminal system to be tested. The terminal system to be tested is a system corresponding to financial equipment. The client is deployed in the test equipment.
[0049] In this embodiment, the client corresponding to the terminal system under test can be installed on the test device first, and then an emulator plugin can be installed on the client. The test device can be the equipment used by the tester, such as the tester's office computer. The client can be installed on the test device.
[0050] Financial equipment refers to the equipment products commonly used by banks and other financial institutions, such as anti-counterfeiting banknote counters, banknote detectors, recounting machines, POS machines, smart terminals, coin sorting machines, banknote sorting machines, banknote bundling machines, shredders, and ID card verification devices. The terminal system to be tested specifically refers to the system corresponding to the terminal to be tested; here, the terminal to be tested can refer to financial equipment. In a specific embodiment, financial equipment can be a CTM (Customer Service Terminal) machine, and the terminal system to be tested can be a CTM system. A CTM system refers to a corporate self-service terminal system, which can be installed in the lobby of a bank branch for users to operate independently.
[0051] Among them, the simulator plugin can simulate the credential verification function of physical financial instruments, such as simulating the functions of swiping cards, swiping ID cards, and scanning tickets.
[0052] In current technologies, business testing of CTM systems heavily relies on real hardware devices. For example, business testing requires card swiping, ID card scanning, ticket scanning, and facial recognition. Specifically, during system version iterations, business testers must perform all testing on real devices. Furthermore, preparing physical cards, paper tickets, and other test materials beforehand consumes significant time and is a complex process. Additionally, the number of physical CTM machines is limited, often requiring testers to take turns testing in a queue. This results in a high demand for equipment and manpower, long testing cycles, low efficiency, and high costs.
[0053] This application provides a testing method for terminal systems. It can address the current testing status of CTM systems by designing a machine simulator plugin that enables human-machine separation in CTM systems. Specifically, the CTM system client can be installed on an office computer first, and then this simulator plugin can be installed to enable all business tests to be completed on the office computer through mouse clicks and keyboard input.
[0054] 102. When conducting business tests on the client for the terminal system under test, and the business tests require verification of business operation credentials, determine the target electronic credential data for simulated verification.
[0055] The business operation credentials can be any operation credentials required during the business operation process. For example, business operation credentials can be ID cards, bank cards, various types of tickets, etc., and this embodiment does not impose any restrictions on this.
[0056] Optionally, in this embodiment, the step "determining the target electronic credential data for simulated verification" may include:
[0057] Determine the target credential type corresponding to the business operation credential that needs to be verified;
[0058] Select target electronic credential data for simulation verification from candidate electronic credential data of at least one type that matches the target credential type.
[0059] There are various types of vouchers for business operations, such as ID cards, bank cards, and receipts.
[0060] Optionally, in this embodiment, before the step "when performing business testing on the client for the terminal system under test, and the business testing requires verifying business operation credentials, determining the target electronic credential data for simulated verification" may further include:
[0061] Candidate electronic credential data for simulation verification is generated through a pre-configured data generation platform.
[0062] The step "When performing business testing on the client for the terminal system under test, and the business testing requires verification of business operation credentials, determine the target electronic credential data for simulated verification" may include:
[0063] When a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, the simulator plugin is triggered to determine the target electronic credential data from the candidate electronic credential data of the preset data generation platform through the target transmission protocol.
[0064] The target transmission protocol can be HTTP (Hypertext Transfer Protocol), etc., and this embodiment does not limit it.
[0065] The preset data generation platform can be configured to generate electronic voucher data required for testing, such as electronic data of bank cards and ID cards, or images of various invoices. These electronic voucher data serve as candidate electronic voucher data, and a large amount of data for testing and verification can be prepared at once through the preset data generation platform.
[0066] 103. Using the simulator plugin, perform simulated verification processing based on the target electronic credential data.
[0067] Optionally, in this embodiment, the step "performing simulated verification processing based on the target electronic credential data using the simulator plugin" may include:
[0068] The simulator plugin performs simulated verification processing on the target electronic credential data based on the original processing logic corresponding to the terminal system under test.
[0069] For example, if the target electronic credential data is an electronic credential data of the type of face image, then the simulated verification process can be the recognition process of the face; the original processing logic corresponding to the terminal system under test is also the original face recognition logic.
[0070] For example, if the target electronic credential data is bank card type electronic credential data, the simulated verification process can be the identification of the bank card number, etc.; the original processing logic of the terminal system under test is the original bank card number identification logic.
[0071] Optionally, in this embodiment, the step "using the simulator plugin to perform simulated verification processing on the target electronic credential data based on the original processing logic corresponding to the terminal system under test" may include:
[0072] Based on the original processing logic of the terminal system under test, the encryption algorithm corresponding to the target electronic credential data is determined.
[0073] The target electronic credential data is encrypted using the simulator plugin according to the encryption algorithm to obtain the target encryption feature;
[0074] The target encryption features are then subjected to simulation verification processing.
[0075] Optionally, in this embodiment, the step "simulating and verifying the target encryption feature" may include:
[0076] Obtain the preset standard credential data corresponding to the business operation credential required for verification;
[0077] The preset standard credential data is encrypted using the encryption algorithm to obtain standard encryption features;
[0078] Based on the standard encryption features, the target encryption features are subjected to simulation verification processing.
[0079] For example, the target electronic voucher data can be electronic voucher data of the type of face image, and the preset standard voucher data can be face image data that has been authenticated in the terminal system. In this embodiment, the target electronic voucher data is encrypted using an encryption algorithm to obtain face encryption features (i.e., the target encryption features in the above embodiment); then, the face encryption features are compared with the standard face encryption features corresponding to the preset standard voucher data (i.e., the standard encryption features in the above embodiment) to determine whether the face image corresponding to the target electronic voucher data has been authenticated. If it has been authenticated, the simulation verification is successful.
[0080] 104. After the simulation verification is successful, perform subsequent business tests on the terminal system under test.
[0081] The testing method for terminal systems provided in this application enables testing without relying on physical CTM devices via an emulator plugin. Based on system-level simulated device recognition, business testing can be completed directly on an office computer using a mouse, eliminating the need for manual operation and queuing to use physical CTM devices, thus improving tester efficiency. Furthermore, the emulator plugin eliminates the need for physical documents, saving time on preparing paper documents for testing, reducing testing costs, and improving efficiency. In short, with the emulator plugin, the CTM system can be deployed on ordinary test computers, eliminating the need for testers to stand in front of the CTM device, achieving human-machine separation, and saving time spent queuing to use the device. Since business testing can be performed on an office computer using a mouse and keyboard, without relying on card swiping and document scanning, automated UI automation can be achieved for regression testing, further improving testing efficiency.
[0082] In specific scenarios, such as Figure 1c The diagram illustrates the implementation principle of a simulator plugin for achieving human-machine separation in a CRM system. The specific details are as follows:
[0083] 1. Triggering the emulator plugin: When the emulator plugin is installed, if the CTM system client triggers verification of credentials such as card swiping, ID card, and ticket during business testing, the emulator plugin will be triggered.
[0084] 2. Data Acquisition and Display: After the simulator plugin is triggered, it will retrieve the candidate electronic voucher data prepared in advance from the preset data generation platform based on the conditions via the HTTP protocol, and display it in a pop-up window on the client for testers to select and use;
[0085] 3. Sending data to the platform for processing: When the tester selects a specific electronic voucher data from the drop-down menu, the simulator plugin will send the electronic voucher data to the preset data generation platform for various types of encryption processing to simulate the original hardware processing logic.
[0086] 4. Obtain processed data: The simulator plugin obtains the processed data from the preset data generation platform and returns it to the CTM system client. The CTM system client then performs subsequent business tests based on the processing results.
[0087] As can be seen from the above, this embodiment can install a simulator plugin on the client corresponding to the terminal system under test. The simulator plugin is used to simulate the credential verification function of the terminal system under test, which is a system corresponding to a financial instrument. The client is deployed in the test equipment. When business testing is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined. Through the simulator plugin, simulated verification processing is performed based on the target electronic credential data. After the simulated verification is passed, subsequent business tests for the terminal system under test are executed. This application can perform simulated verification processing through a simulator plugin and target electronic credential data, thereby completing business testing without relying on financial instruments and physical credential data, thus improving testing efficiency and saving testing costs.
[0088] Based on the method described in the preceding embodiments, the following will provide a more detailed explanation by taking the specific integration of this test device for the terminal system into the terminal as an example.
[0089] This application provides a testing method for terminal systems, such as... Figure 2 As shown, the specific process of this testing method for terminal systems can be as follows:
[0090] 201. The terminal installs an emulator plugin on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test. The terminal system under test is a system corresponding to financial equipment. The client is deployed in the test equipment.
[0091] In this embodiment, the client corresponding to the terminal system under test can be installed on the test device first, and then an emulator plugin can be installed on the client. The test device can be the equipment used by the tester, such as the tester's office computer. The client can be installed on the test device.
[0092] Financial equipment refers to the equipment products commonly used by banks and other financial institutions, such as anti-counterfeiting banknote counters, banknote detectors, recounting machines, POS machines, smart terminals, coin sorting machines, banknote sorting machines, banknote bundling machines, shredders, and ID card verification devices. The terminal system to be tested specifically refers to the system corresponding to the terminal to be tested; here, the terminal to be tested can refer to financial equipment. In a specific embodiment, financial equipment can be a CTM (Customer Service Terminal) machine, and the terminal system to be tested can be a CTM system. A CTM system refers to a corporate self-service terminal system, which can be installed in the lobby of a bank branch for users to operate independently.
[0093] Among them, the simulator plugin can simulate the credential verification function of physical financial instruments, such as simulating the functions of swiping cards, swiping ID cards, and scanning tickets.
[0094] 202. When a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, the terminal determines the target electronic credential data for simulated verification.
[0095] The business operation credentials can be any operation credentials required during the business operation process. For example, business operation credentials can be ID cards, bank cards, various types of tickets, etc., and this embodiment does not impose any restrictions on this.
[0096] Optionally, in this embodiment, the step "determining the target electronic credential data for simulated verification" may include:
[0097] Determine the target credential type corresponding to the business operation credential that needs to be verified;
[0098] Select target electronic credential data for simulation verification from candidate electronic credential data of at least one type that matches the target credential type.
[0099] There are various types of vouchers for business operations, such as ID cards, bank cards, and receipts.
[0100] Optionally, in this embodiment, before the step "when performing business testing on the client for the terminal system under test, and the business testing requires verifying business operation credentials, determining the target electronic credential data for simulated verification" may further include:
[0101] Candidate electronic credential data for simulation verification is generated through a pre-configured data generation platform.
[0102] The step "When performing business testing on the client for the terminal system under test, and the business testing requires verification of business operation credentials, determine the target electronic credential data for simulated verification" may include:
[0103] When a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, the simulator plugin is triggered to determine the target electronic credential data from the candidate electronic credential data of the preset data generation platform through the target transmission protocol.
[0104] The target transmission protocol can be HTTP (Hypertext Transfer Protocol), etc., and this embodiment does not limit it.
[0105] The preset data generation platform can be configured to generate electronic voucher data required for testing, such as electronic data of bank cards and ID cards, or images of various invoices. These electronic voucher data serve as candidate electronic voucher data, and a large amount of data for testing and verification can be prepared at once through the preset data generation platform.
[0106] 203. The terminal uses the simulator plugin to perform simulated verification processing on the target electronic credential data based on the original processing logic corresponding to the terminal system under test.
[0107] For example, if the target electronic credential data is an electronic credential data of the type of face image, then the simulated verification process can be the recognition process of the face; the original processing logic corresponding to the terminal system under test is also the original face recognition logic.
[0108] For example, if the target electronic credential data is bank card type electronic credential data, the simulated verification process can be the identification of the bank card number, etc.; the original processing logic of the terminal system under test is the original bank card number identification logic.
[0109] 204. After the simulation verification is passed, the terminal performs subsequent business tests on the terminal system under test.
[0110] In one specific embodiment, the testing process for the terminal system can be as follows:
[0111] First, the system can generate electronic voucher data such as bank card, ID card, and invoice images required for business testing with one click on the preset data generation platform. During the specific business testing process, the system can select the specific electronic voucher data required from the drop-down menu.
[0112] Then, testers opened the CTM system client on their office computers to conduct normal business tests. When a situation arose requiring hardware-based ID card swiping during the test, a pop-up window on the client interface displayed the relevant electronic voucher data configured on the preset data generation platform for testers to select from. Testers could directly select the required ID card data (specifically, the target electronic voucher data mentioned above) from the drop-down list and click OK to complete the simulated hardware ID card swiping operation; then they could continue with subsequent business tests. It is understood that other electronic voucher data such as receipts, card swiping, and password input can be processed using the same method.
[0113] As can be seen from the above, this embodiment allows the installation of a simulator plugin on the client side corresponding to the terminal system under test. The simulator plugin simulates the credential verification function of the terminal system under test, which is a system corresponding to a financial instrument. The client side is deployed in the test equipment. When business testing is performed on the client side for the terminal system under test, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined. Simulated verification is then performed based on the target electronic credential data using the simulator plugin. After successful simulated verification, subsequent business tests for the terminal system under test are executed. This application can perform simulated verification processing using a simulator plugin and target electronic credential data, enabling business testing to be completed without relying on financial instruments and physical credential data, thereby improving testing efficiency and saving testing costs.
[0114] To better implement the above methods, embodiments of this application also provide a testing device for terminal systems, such as... Figure 3 As shown, the testing device for the terminal system may include an installation unit 301, a determination unit 302, a simulation unit 303, and a testing unit 304, as follows:
[0115] (1) Installation unit 301;
[0116] The installation unit is used to install an emulator plugin on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test. The terminal system under test is a system corresponding to financial equipment, and the client is deployed in the test equipment.
[0117] (2) Determine unit 302;
[0118] The determining unit is configured to determine target electronic credential data for simulated verification when a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials.
[0119] Optionally, in some embodiments of this application, the determining unit may include a type determining subunit and a selection subunit, as follows:
[0120] The type determination subunit is used to determine the target credential type corresponding to the business operation credential that needs to be verified.
[0121] A selection subunit is used to select target electronic credential data that matches the target credential type from candidate electronic credential data of at least one type for simulation verification.
[0122] Optionally, in some embodiments of this application, the determining unit may include a configuration subunit and a determining subunit, as follows:
[0123] The configuration subunit is used to generate candidate electronic credential data for simulation verification through a preset data generation platform;
[0124] The determination subunit is used to trigger the simulator plugin to determine the target electronic credential data from the candidate electronic credential data of the preset data generation platform through the target transmission protocol when a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials.
[0125] (3) Simulation unit 303;
[0126] The simulation unit is used to perform simulated verification processing based on the target electronic credential data through the simulator plugin.
[0127] Optionally, in some embodiments of this application, the simulation unit may be used to perform simulated verification processing on the target electronic credential data based on the original processing logic corresponding to the terminal system under test through the simulator plugin.
[0128] Optionally, in some embodiments of this application, the simulation unit may include an algorithm determination subunit, an encryption subunit, and a verification subunit, as follows:
[0129] The algorithm determination subunit is used to determine the encryption algorithm corresponding to the target electronic credential data based on the original processing logic corresponding to the terminal system under test.
[0130] The encryption subunit is used to encrypt the target electronic credential data according to the encryption algorithm through the simulator plugin to obtain the target encryption feature;
[0131] The verification subunit is used to perform simulated verification processing on the target encryption features.
[0132] Optionally, in some embodiments of this application, the verification subunit may be specifically used to obtain preset standard credential data corresponding to the business operation credential to be verified; encrypt the preset standard credential data according to the encryption algorithm to obtain standard encryption features; and perform simulation verification processing on the target encryption features according to the standard encryption features.
[0133] (4) Test unit 304;
[0134] The testing unit is used to perform subsequent business tests on the terminal system under test after the simulation verification is passed.
[0135] As can be seen from the above, in this embodiment, an emulator plugin can be installed on the client corresponding to the terminal system under test via the installation unit 301. The emulator plugin is used to simulate the credential verification function of the terminal system under test, which is a system corresponding to a financial instrument. The client is deployed in the test equipment. When business testing is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, the determination unit 302 determines the target electronic credential data for simulated verification. The simulation unit 303 performs simulated verification processing based on the target electronic credential data through the emulator plugin. After the simulated verification is passed, the test unit 304 executes subsequent business tests for the terminal system under test. This application can perform simulated verification processing through the emulator plugin and the target electronic credential data, thereby completing business testing without relying on financial instruments and physical credential data, thus improving testing efficiency and saving testing costs.
[0136] This application also provides an electronic device, such as... Figure 4 The diagram shows a structural schematic of an electronic device involved in an embodiment of this application. This electronic device can be a terminal or a server, specifically:
[0137] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0138] The processor 401 is the control center of the electronic device, connecting various parts of the device via various interfaces and lines. It executes software programs and / or modules stored in the memory 402, and calls data stored in the memory 402, to perform various functions and process data. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0139] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and tests for the terminal system by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0140] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0141] The electronic device may also include an input unit 404, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0142] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402 to realize various functions, as follows:
[0143] An emulator plugin is installed on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test, which is a system corresponding to financial instruments. The client is deployed in the test equipment. When business testing is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined. Simulated verification is performed based on the target electronic credential data through the emulator plugin. After the simulated verification is successful, subsequent business tests for the terminal system under test are executed.
[0144] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0145] As can be seen from the above, this embodiment can install a simulator plugin on the client corresponding to the terminal system under test. The simulator plugin is used to simulate the credential verification function of the terminal system under test, which is a system corresponding to a financial instrument. The client is deployed in the test equipment. When business testing is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined. Through the simulator plugin, simulated verification processing is performed based on the target electronic credential data. After the simulated verification is passed, subsequent business tests for the terminal system under test are executed. This application can perform simulated verification processing through a simulator plugin and target electronic credential data, thereby completing business testing without relying on financial instruments and physical credential data, thus improving testing efficiency and saving testing costs.
[0146] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0147] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the testing methods for a terminal system provided in embodiments of this application. For example, the instructions can execute the following steps:
[0148] An emulator plugin is installed on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test, which is a system corresponding to financial instruments. The client is deployed in the test equipment. When business testing is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, target electronic credential data for simulated verification is determined. Simulated verification is performed based on the target electronic credential data through the emulator plugin. After the simulated verification is successful, subsequent business tests for the terminal system under test are executed.
[0149] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0150] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0151] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the testing methods for terminal systems provided in the embodiments of this application, the beneficial effects that any of the testing methods for terminal systems provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0152] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations of the testing aspects for a terminal system described above.
[0153] The above provides a detailed description of a testing method and related equipment for a terminal system provided by the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A testing method for a terminal system, characterized in that, include: Install an emulator plugin on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test. The terminal system under test is a system corresponding to financial equipment. The client is deployed on the test equipment. Candidate electronic credential data for simulation verification is generated through a pre-configured data generation platform. When a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, the simulator plugin is triggered to determine the target electronic credential data for simulation verification from the candidate electronic credential data of the preset data generation platform through the target transmission protocol. The simulator plugin performs simulated verification processing based on the target electronic credential data. Once the simulation verification is successful, subsequent business tests will be performed on the terminal system under test. The simulated verification process based on the target electronic credential data via the simulator plugin includes: Based on the original processing logic of the terminal system under test, the encryption algorithm corresponding to the target electronic credential data is determined. The target electronic credential data is encrypted using the simulator plugin according to the encryption algorithm to obtain the target encryption feature; The target encryption features are then subjected to simulation verification processing.
2. The method according to claim 1, characterized in that, The determination of the target electronic credential data for simulated verification includes: Determine the target credential type corresponding to the business operation credential that needs to be verified; Select target electronic credential data for simulation verification from candidate electronic credential data of at least one type that matches the target credential type.
3. The method according to claim 1, characterized in that, The simulation verification process for the target encryption feature includes: Obtain the preset standard credential data corresponding to the business operation credential required for verification; The preset standard credential data is encrypted using the encryption algorithm to obtain standard encryption features; Based on the standard encryption features, the target encryption features are subjected to simulation verification processing.
4. A testing device for a terminal system, characterized in that, include: The installation unit is used to install an emulator plugin on the client corresponding to the terminal system under test. The emulator plugin is used to simulate the credential verification function of the terminal system under test. The terminal system under test is a system corresponding to financial equipment. The client is deployed on the test equipment. The determination unit is used to generate candidate electronic voucher data for simulation verification through a preset data generation platform configuration; When a business test is performed on the client for the terminal system under test, and the business test requires verification of business operation credentials, the simulator plugin is triggered to determine the target electronic credential data for simulation verification from the candidate electronic credential data of the preset data generation platform through the target transmission protocol. The simulation unit is used to perform simulated verification processing based on the target electronic credential data through the simulator plugin; The testing unit is used to perform subsequent business tests on the terminal system under test after the simulation verification is passed. The simulation unit is used to perform simulated verification processing based on the target electronic credential data through the simulator plugin, including: Based on the original processing logic of the terminal system under test, the encryption algorithm corresponding to the target electronic credential data is determined. The target electronic credential data is encrypted using the simulator plugin according to the encryption algorithm to obtain the target encryption feature; The target encryption features are then subjected to simulation verification processing.
5. An electronic device, characterized in that, It includes a memory and a processor; the memory stores an application program, and the processor runs the application program within the memory to perform the operations in the test method for a terminal system as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to perform the steps of the test method for a terminal system as described in any one of claims 1 to 3.
7. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the steps of the test method for a terminal system as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Test system, system test method, related equipment and storage medium
CN114428723A