Visual hard wallet testing method and system

An automated testing system using robotic arm kits and image recognition terminals has solved the problems of low efficiency and misjudgment in visual hardware wallet testing, achieving efficient and accurate test results.

CN121544259APending Publication Date: 2026-02-17THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510812004.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-17
Publication Date
2026-02-17

AI Technical Summary

Technical Problem

Existing visual hardware wallet testing relies on manual operation, resulting in low testing efficiency and easy misjudgment of results, making it difficult to achieve accuracy and consistency.

Method used

By using a robotic arm kit and an image recognition terminal in conjunction with a test control machine, the system automatically executes button operations and reads displayed information, thereby enabling the testing of the functionality and display correctness of the visual hard wallet.

Benefits of technology

It improves testing efficiency, ensures the accuracy and consistency of test results, and reduces the possibility of human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121544259A_ABST
    Figure CN121544259A_ABST
Patent Text Reader

Abstract

The invention discloses a visual hard wallet testing system, and relates to the field of hardware wallet testing. The system comprises a tested visual hard wallet, a transaction test terminal, an image reading terminal, a mechanical arm suite and a test control machine, wherein the tested visual hard wallet is placed at a preset position; the mechanical arm suite is used for grabbing and moving the transaction test terminal to a non-contact transaction position; the transaction test terminal is used for performing a non-contact transaction test with the tested visual hard wallet and returning transaction test response data; the image reading terminal is used for reading display information of the tested visual hard wallet to obtain test display data; and the test control machine is used for analyzing and recording the transaction test response data and the test display data. According to the embodiment, the error rate of manual testing is reduced, the testing efficiency is improved, and the testing consistency is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more particularly to a visual hard wallet testing system, method, electronic device, and computer-readable medium. Background Technology

[0002] The visual hardware wallet is a digital RMB hardware wallet equipped with a display screen that shows transaction information such as balance, notifications, and payment codes. It supports contactless payment transactions via tap-to-pay (near-field communication) or payment codes. The visual hardware wallet features a button switch; clicking the button toggles the payment function on or off and switches between payment code and tap-to-pay transactions. During testing, repeated button operations are required, along with verification of the accuracy of the displayed information. Test cases must cover all branches of the normal process and various abnormal scenarios. Currently, during complex testing, button operations still rely on manual operation, and the accuracy of the displayed information is verified through manual visual inspection and smart terminal scanning. This testing method suffers from low efficiency and is prone to misjudgments. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a visual hard wallet testing system, which can support automated testing of the functionality and display correctness of visual hard wallets. Compared with manual button operation and manual visual inspection, it improves testing efficiency and ensures the accuracy of test results. Specifically, a visual hard wallet testing system includes a visual hard wallet under test, a transaction testing terminal, an image recognition terminal, a robotic arm kit, and a test control machine, wherein...

[0004] The visual hard wallet under test is placed in the predetermined location;

[0005] The robotic arm kit is used to grab and move the transaction test terminal from its initial position to the contactless transaction location according to the contactless transaction test preparation instructions.

[0006] The transaction testing terminal is used to perform contactless transaction tests with the visual hardware wallet under test according to the contactless transaction test execution instructions, and return transaction test response data;

[0007] The image recognition terminal is used to recognize the display information of the visual hardware wallet according to the recognition instructions and obtain test display data;

[0008] The test control unit is used to send contactless transaction test preparation instructions, contactless transaction test execution instructions, and reading instructions according to the test task, receive transaction test response data and test display data, and analyze and record the transaction test response data and test display data.

[0009] In some embodiments of the present invention, before the robotic arm kit grasps the transaction test terminal, it is also used to click the button on the visual hard wallet under test according to the button operation instruction, so as to switch the visual hard wallet under test to the test preparation state; the test controller is also used to send the button operation instruction.

[0010] In some embodiments of the present invention, the robotic arm kit includes a robotic arm with a gripping device at its end.

[0011] In some embodiments of the present invention, the robotic arm kit includes a robotic arm with a gripping device and a button pressing device at its end.

[0012] In some embodiments of the invention, the robotic arm kit also includes a controller for controlling the robotic arm.

[0013] In some embodiments of the present invention, the test controller is further configured to send a homing command to the robotic arm kit after analyzing and recording the transaction test response data and test display data; the robotic arm kit is configured to move the transaction test terminal to the initial position of the transaction test terminal according to the homing command and place the transaction test terminal.

[0014] In some embodiments of the present invention, contactless transaction testing includes near-field communication transaction testing, ultra-wideband transaction testing, and / or QR code transaction testing.

[0015] Another aspect of this invention provides a visual hardware wallet testing method, applied to a test control machine, the method comprising:

[0016] Obtain test tasks;

[0017] According to the test task, a contactless transaction test preparation instruction is sent to the robotic arm kit so that the robotic arm kit can grab the transaction test terminal from the initial position of the transaction test terminal and move the transaction test terminal to the contactless transaction position, wherein the visual hard wallet under test is placed in the predetermined position.

[0018] According to the test task, send the contactless transaction test execution instruction to the transaction test terminal so that the transaction test terminal can conduct contactless transaction test with the visual hard wallet under test and return the transaction test response data.

[0019] Send a reading command to the image reading terminal so that the image reading terminal can read the display information of the visual hardware wallet and obtain test display data;

[0020] Receive transaction response data and test display data, and analyze and record the transaction response data and test display data.

[0021] In another aspect of this invention, the method further includes:

[0022] In response to the test task indicating that the visual hard wallet under test has a button, a button operation command is sent to the robotic arm kit before sending the contactless transaction test preparation command, so that the robotic arm kit clicks the button on the visual hard wallet under test, causing the visual hard wallet to switch to the test preparation state.

[0023] In another aspect of this invention, the test task includes a contactless transaction test type, which includes one or more of near-field communication transaction test, ultra-wideband transaction test, and QR code transaction test; the contactless transaction test execution instruction includes the contactless transaction test type, and the transaction test terminal is used to perform contactless transaction test according to the contactless transaction test type.

[0024] In another aspect of this invention, the method further includes:

[0025] After analyzing and recording the transaction test response data and test display data, a homing command is sent to the robotic arm kit so that the robotic arm kit moves the transaction test terminal to its initial position and places the transaction test terminal.

[0026] According to another aspect of the present invention, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the visual hard wallet testing method provided in the embodiments of the present invention.

[0027] According to another aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the visual hard wallet testing method provided in the embodiments of the present invention.

[0028] One embodiment of the above invention has the following advantages or beneficial effects: In this embodiment of the invention, after the test control machine obtains the test task, it controls the robotic arm kit to move the transaction test terminal to the contactless transaction position according to the test task, sends instructions to the transaction test terminal, and the transaction test terminal conducts a contactless transaction with the visual hard wallet under test. The transaction test result is obtained from the transaction test terminal, and the display data of the visual hard wallet under test is obtained through the image recognition terminal. The transaction test result and display data are analyzed and recorded to form a test conclusion. Compared with the manual visual inspection of the display result of the visual hard wallet under test, the test efficiency is improved, and the accuracy and consistency of the test can be guaranteed.

[0029] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0030] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:

[0031] Figure 1 This is a schematic diagram of the overall architecture of a visual hard wallet testing system according to some embodiments of the present invention;

[0032] Figure 2 This is a side view of the visual hard wallet being tested placed in the clamp according to some embodiments of the present invention;

[0033] Figure 3a This is a schematic diagram showing the positions of the transaction test terminal and the image recognition terminal relative to the visual hard wallet under test, according to some embodiments of the present invention;

[0034] Figure 3b This is a schematic diagram showing the positions of the transaction test terminal and the image recognition terminal relative to the visual hard wallet under test, according to other embodiments of the present invention;

[0035] Figure 3c This is a schematic diagram showing the positions of the transaction test terminal and the image recognition terminal relative to the visual hard wallet under test, according to other embodiments of the present invention;

[0036] Figure 4a This is a schematic diagram showing the position of the transaction test terminal when performing near-field communication transaction tests and QR code transaction tests according to some embodiments of the present invention;

[0037] Figure 4b This is a schematic diagram showing the position of the transaction test terminal when performing near-field communication transaction tests and QR code transaction tests according to some embodiments of the present invention;

[0038] Figure 5a This is a schematic diagram of the gripping device at the end of a robotic arm according to some embodiments of the present invention;

[0039] Figure 5b This is a schematic diagram of the pressing device at the end of a robotic arm according to some embodiments of the present invention;

[0040] Figure 6 This is a schematic diagram of the structure of a transaction test terminal set in a fixture according to some embodiments of the present invention;

[0041] Figure 7 This is a flowchart illustrating a visual hard wallet testing method according to some embodiments of the present invention;

[0042] Figure 8 This is a flowchart illustrating a visual hard wallet testing method according to other embodiments of the present invention;

[0043] Figure 9 This is an architectural diagram of a visual hard wallet testing system according to other embodiments of the present invention;

[0044] Figure 10This is a schematic diagram of the operation flow of a visual hard wallet testing system according to other embodiments of the present invention;

[0045] Figure 11 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;

[0046] Figure 12 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation

[0047] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0048] It should be noted that the technical solutions disclosed in this invention, regarding the collection, updating, analysis, processing, use, transmission, and storage of user personal information, all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.

[0049] It should be noted that the collection, use, storage, sharing and transfer of user personal information involved in the technical solution of the present invention all comply with the provisions of relevant laws and regulations, and require notification to users and obtaining their consent or authorization. When applicable, user personal information is subjected to de-identification and / or anonymization and / or encryption technical processing.

[0050] In this embodiment of the invention, "NFC (Near Field Communication)" refers to near field communication technology; "POS (Point of Sale)" refers to a terminal with transaction function.

[0051] This invention relates to contactless functional testing of hardware wallets, achieving fully automated testing of hardware wallets. The hardware wallet in this invention refers to a secure chip system capable of storing user digital currency account information and key data, and supporting offline payments. It can be in the form of a card, a terminal, or a wearable product. The contactless functional testing involved in this invention includes functional and performance testing of the hardware wallet. For example, it includes testing the hardware wallet's opening, binding, top-up, spending, limit management, and password-free management functions, as well as performance testing such as transaction time and card contact distance.

[0052] This invention provides an embodiment for contactless testing of visual hardware wallets, particularly digital currency visual hardware wallets. It utilizes transaction testing terminals, such as POS terminals or mobile terminals in card reader or QR code scanning modes, to perform interactive tests with the visual hardware wallet under test. This achieves functional testing of various contactless transactions and display testing of the visual hardware wallet. During the test, a test controller (e.g., a PC) controls a robotic arm to grasp the visual hardware wallet under test and place it in a predetermined position (or the visual hardware wallet is manually placed in a predetermined position). The robotic arm then retrieves the transaction testing terminal from its initial position, moves it closer to the visual hardware wallet, and stops it at a contactless transaction position near the predetermined location. The PC sends instructions to the transaction testing terminal, which executes the contactless transaction test. After the test, the transaction testing terminal returns the test data to the PC. Simultaneously, an image recognition terminal reads the display data of the visual hardware wallet under test and returns the display data to the PC. The PC analyzes and records the test and display data to form a test conclusion. No human intervention was required during the testing process, which improved test consistency and ensured test accuracy.

[0053] like Figure 1 As shown, this embodiment of the invention provides a visual hard wallet testing system 100, including a visual hard wallet under test 110, a transaction testing terminal 120, an image recognition terminal 130, a robotic arm kit 140, and a test control machine 150.

[0054] In embodiments of the present invention, the visual hard wallet 110 under test is placed at a predetermined position A; the transaction test terminal is placed at its initial position B; a contactless transaction position C is also provided near the predetermined position A. In some embodiments of the present invention, the distance between position C and position A can be set according to different transaction test types. For example, when testing near-field communication transaction functions, the distance between the two positions is between 10mm and 20mm; when testing QR code transaction functions, the distance between the two positions can be between 100mm and 300mm. In some embodiments of the present invention, the visual hard wallet 110 under test can be initially placed at the initial position, then grasped by the robotic arm kit 140 and placed at the predetermined position A, or the test user can manually place the visual hard wallet under test at the predetermined position A.

[0055] In some embodiments of the present invention, in order to ensure the stability of the position of the visual hard wallet 110 under test during the test, at a predetermined position A, such as Figure 2 As shown, a hard wallet clamp 160 can also be provided, such as a semi-open groove-type fixing clamp that can adapt to the shape of the visual hard wallet being tested (generally square), wherein the shape of the groove 161 is adapted to the shape of the visual hard wallet being tested, and the visual hard wallet being tested 110 is placed in the groove 161.

[0056] In an embodiment of the present invention, the test controller 150 sends relevant instructions to the robotic arm kit 140, the transaction test terminal 120 and the image recognition terminal 130 according to the test task to realize contactless transactions and obtain test data and hard wallet display data.

[0057] The test controller 150 acquires the test task, decomposes the test task, and generates test instructions. The test task includes information such as the button type of the visual hardware wallet under test (with buttons, without buttons), the position of the buttons of the visual hardware wallet under test relative to the visual hardware wallet under test, and the contactless transaction test type (near field communication transaction test, ultra-wideband transaction test, QR code transaction test).

[0058] In this embodiment of the invention, in order to send instructions to the robotic arm kit 140, the transaction test terminal 120, and the image recognition terminal 130 and receive returned information, the test controller 150 can establish a communication connection with the transaction test terminal 120, the image recognition terminal 130, and the robotic arm kit 140 in advance before the test system 100 starts the test task.

[0059] According to the test task, the test controller 150 sends a contactless transaction test preparation command to the robotic arm kit 140. The robotic arm kit 140, based on the contactless transaction test preparation command, grasps and moves the transaction test terminal 120 from its initial position B to a contactless transaction position C near a predetermined position A. The position information of the contactless transaction position C can be set in the robotic arm kit 140's motion task through teach-programming, or the position information of the contactless transaction position C can be sent to the robotic arm kit 140 via the contactless transaction test preparation command. Based on the position information, the robotic arm kit 140 moves the transaction test terminal 120 to position C. In some embodiments, after the robotic arm kit 140 completes the movement of the transaction test terminal 120 to position C, it returns the task result to the test controller 150.

[0060] According to the test task, the test controller 150 sends a contactless transaction test execution instruction to the transaction test terminal 120. The transaction test terminal 120 performs a contactless transaction test with the visual hard wallet under test 110 according to the instruction and returns transaction test response data. In some embodiments of the present invention, the contactless transaction test execution instruction may include a contactless transaction test type, so that the transaction test terminal 120 executes the corresponding transaction test according to the contactless transaction test type. For example, if the contactless transaction test type indicates a near-field communication transaction test, then the transaction test terminal 120 performs a near-field communication transaction test with the visual hard wallet under test 110; if the contactless transaction test type indicates a QR code transaction test, then the transaction test terminal 120 performs a QR code transaction test with the visual hard wallet under test 110; if the contactless transaction test type indicates both a near-field communication transaction test and a QR code transaction test, then the transaction test terminal 120 performs both a near-field communication transaction test and a QR code transaction test with the visual hard wallet under test 110. In some embodiments of the present invention, after the transaction test terminal 120 completes the transaction test, it will return a task execution completion instruction to the test controller 150. In some embodiments, the transaction test terminal 120 will also store and identify the transaction test response data of this transaction test, and return the identifier of the transaction test response data to the test controller 150. When the test controller 150 needs to obtain it again in the future, it can obtain the corresponding transaction test response data according to the identifier.

[0061] In this invention, after a transaction is completed, the tested visual hard wallet 110 will display the wallet balance and transaction information (transaction amount, transaction time, etc.) so that the user can intuitively understand the transaction information. To test the display capability of the tested visual hard wallet 110, in this embodiment, the test control unit 150 will also send a reading instruction to the image reading terminal 130 based on the test task and the status information (task completion notification) returned by the transaction test terminal 120. The image reading terminal 130 reads the display information of the tested visual hard wallet 110, obtains test display data, and sends the test display data to the test control unit 150. In some embodiments of this invention, the tested visual hard wallet 110 can not only display transaction information such as transaction amount and balance, but also display QR codes or barcodes to support QR code transactions. In this embodiment, the image reading terminal 130 can not only read the displayed text information, but also parse the information in the QR code or barcode to obtain its text content.

[0062] In some embodiments of the present invention, the image recognition terminal 130 is set near a predetermined position A, and the display area 111 of the visual hard wallet 110 under test is within the recognition range of the image recognition terminal 130. After receiving the recognition instruction, the image recognition terminal 130 can automatically focus and recognize the content in the display area 110.

[0063] In some embodiments of the present invention, such as Figure 3a As shown, the image recognition terminal 130 can be positioned above the visual hardware wallet 110 under test. To ensure a consistent testing environment, the display area 111 of the visual hardware wallet 110 under test faces upwards, consistent with the usage scenario, and exposed to visible light. In some embodiments, ambient lights are also provided around the testing system 100 to simulate the light environment under normal usage conditions. To prevent spatial positional conflicts between the image recognition terminal 130 and the transaction testing terminal 120, in some embodiments, position C can be set below the visual hardware wallet 110 under test. Of course, if the visual hardware wallet 110 under test is at a predetermined position A, such as... Figure 3b As shown, the image recognition terminal 130 and position C are fixed vertically and can be located on the left and right sides of the tested visual hard wallet 110.

[0064] In some embodiments of the present invention, the visual hard wallet 110 under test can realize QR code transactions through the displayed QR code or barcode information. In this case, the transaction test terminal 120 performs transaction tests by reading the displayed QR code or barcode. Figure 3c As shown, the transaction test terminal 120 and the image recognition terminal 130 are both located on the same side of the visual hard wallet 110 being tested.

[0065] In some embodiments of the present invention, the contactless transaction location C of the transaction test terminal 120 may be different for different transaction test modes, for example, such as Figure 4a As shown, when the transaction test terminal 120 conducts near-field communication transaction tests with the visual hard wallet 110 under test, it is located at position C1, which is relatively close to the visual hard wallet 110 under test, or as shown in the figure. Figure 4b As shown, position C2 is located close to the lower side of the visual hard wallet 110 under test; when the transaction test terminal 120 performs a QR code transaction test with the visual hard wallet 110 under test, position C3 is located far away from the visual hard wallet 110 under test, so as not to obstruct the content in the display area 111 of the image recognition terminal 130. In some embodiments of the present invention, when the transaction test terminal 120 performs near-field communication transaction testing with the visual hard wallet 110 under test, after the test is completed or after a certain period of time (e.g., 5 seconds) of card contact, the transaction test terminal 120 can move away from the visual hard wallet 110 under test to avoid obstructing the subsequent image recognition terminal 130's recognition of the display area 111. Specifically, the robotic arm kit 140 may include a task of timing and waiting at position C1 in the task of moving the transaction test terminal 120. After the timing ends, the robotic arm kit 140 continues to move the transaction test terminal 120 away from the visual hard wallet 110 under test; or after the transaction test terminal 130 completes the transaction test, it can send a response to the test control unit 150. After receiving the response, the test control unit 150 can send a control command to the robotic arm kit 140 to move the transaction test terminal 120 away from the visual hard wallet 110 under test.

[0066] The test control unit 150 analyzes and records the transaction test response data and test display data to form a test conclusion. In this embodiment of the invention, the test control unit 150 analyzes the success of the transaction, determines that the transaction test has been completed, and compares the transaction test information with the displayed transaction information. If they match, the test passes. For example, if the transaction test response data returned by the transaction test terminal 120 indicates a transaction of 10 yuan, and the transaction amount displayed in the test display data is also 10 yuan, then the test passes. In some QR code transaction tests, the display data also includes the displayed QR code / barcode content. The test control unit 150 also verifies the QR code / barcode content to ensure correct display. In this embodiment of the invention, the content of the QR code or barcode displayed by the tested visual hard wallet 110 is generated based on specific rules and specific factors. After the test control unit 110 generates content according to the same rules and the same factors, it compares it with the content. If the comparison passes, the QR code / barcode display test passes.

[0067] In some embodiments of the present invention, the tested visual hard wallet 110 can perform both near-field communication transactions and QR code transactions. To switch between different transaction modes, such as... Figure 1As shown, the visual hard wallet under test 110 is also equipped with a button 112 with a corresponding switching function. Before conducting a transaction test, the transaction mode of the visual hard wallet under test can be switched using button 112. Based on the test task, the test controller 150 learns that the visual hard wallet under test 110 is a hard wallet with dual payment modes. According to the type of transaction test to be performed, the test controller 150 determines whether to switch from the near-field communication mode transaction test mode to the QR code transaction test mode. Before sending the contactless transaction test preparation instruction, the test controller 150 sends a button operation instruction to the robotic arm component 140, which includes the location of button 112 within the visual hard wallet under test 110. The robotic arm assembly 140 presses the button 112, causing the tested visual hard wallet 110 to switch to the transaction mode and switch to the test preparation state. Then, the test controller 150 sends a contactless transaction test preparation command to the robotic arm assembly 140. The robotic arm assembly 140 grabs the transaction test terminal 120 and moves the transaction test terminal 120 to the contactless transaction position C to continue to complete the QR code transaction test.

[0068] In this embodiment of the invention, the robotic arm kit 140 includes a controller 141 and a robotic arm 142. The controller 141 is used to receive instructions from the test controller 150 to control the movement of the robotic arm 142. In some embodiments, the robotic arm kit 140 may also include a teach pendant, which establishes the movement tasks of the robotic arm 142. Subsequently, the test controller 150 can invoke these movement tasks through instructions to complete operations such as grasping and moving the transaction test terminal 120 and pressing the button 112. Different devices can be installed at the end of the robotic arm 142 to meet different testing needs. For example, for grasping the transaction test terminal 120, the end of the robotic arm 142 can be equipped with a grasping device 1421. The grasping device 1421 can be a two-finger or three-finger robotic hand. In some embodiments, the grasping device 1421 is as follows: Figure 5a As shown, this is a three-finger robotic hand. The two outer robotic fingers can be used to grasp the transaction test terminal 120, and the middle robotic finger can be used to assist in grasping the transaction test terminal 120. In some embodiments of the present invention, to facilitate the grasping device 1421 in grasping the transaction test terminal 120, such as... Figure 6 As shown, the transaction test terminal 120 may also include a test terminal fixture 121. The transaction test terminal body 122 is set inside the test terminal fixture 121. Before testing, the user can fix the transaction test terminal body 122 through the fixing structure on the test terminal fixture 121. Subsequently, the gripping device 142 can grip the test terminal fixture 121. In this way, even if the transaction test terminal 120 is irregularly shaped, the robotic arm 142 can easily grip it, reducing the design complexity of the gripping device 1421 and reducing the overall cost.

[0069] In some embodiments of the present invention, such as Figure 5b As shown, when the robotic arm kit 140 needs to press the button 112 on the tested visual hard wallet 110, the end of the robotic arm 142 can also be provided with a button pressing device 1422. In some embodiments, the button pressing device 1422 can be a single mechanical finger. In some embodiments, to save costs, the button pressing device 1422 and the gripping device 1421 can be integrated into one device, for example, as shown in the figure. Figure 5a As shown, when the gripping device 1421 is a three-finger robotic arm, the middle robotic finger can be used to press the button 112. In some embodiments of the present invention, a vision camera can also be provided at the end of the robotic arm 142, which can identify the position of the button in the tested visual hard wallet 110, thereby precisely controlling the position of the button pressing device 1422.

[0070] In this embodiment of the invention, to facilitate the next test and ensure test continuity, the test controller 150 will also issue a homing command to return the robotic arm kit 140 to its original position. Specifically, the test controller 150 analyzes the transaction test response data and test display data. After the analysis is completed, it sends a homing command to the robotic arm kit 140. According to the homing command, the robotic arm kit 140 moves the transaction test terminal 120 to the initial position B of the transaction test terminal and places the transaction test terminal 120 at the initial position B of the transaction test terminal.

[0071] In this embodiment of the invention, continuous testing is performed on different functions of the same visual hard wallet 110 under test. Repeated testing can also be performed on the same function. The test controller 150 can repeatedly send instructions to the robotic arm kit 140 to make the transaction test terminal 120 approach the visual hard wallet 110 under test, perform transaction tests, and then control the transaction test terminal 120 to move away from the visual hard wallet 110 under test. If the next transaction test needs to be performed, the test controller 150 sends control instructions to control the robotic arm kit 140 to move the transaction test terminal 120 to approach the visual hard wallet 110 under test again, until all tests are completed, and the robotic arm kit 140 returns the transaction test terminal 120 to its original position.

[0072] In some embodiments of the present invention, the test controller 150 will disconnect the communication connection with the robotic arm kit 140, the transaction test terminal 120, and the image recognition terminal 130 after completing all tests.

[0073] The system in this embodiment of the invention achieves automated testing of visual hard wallets through the robotic arm kit 140, saving manpower, improving testing efficiency and accuracy, and ensuring testing consistency.

[0074] like Figure 7As shown, this embodiment of the invention also provides a visual hardware wallet testing method, applied to a test control machine, the method comprising:

[0075] S210: Obtain the test task; In this embodiment of the invention, the test task includes information such as: the button type of the visual hardware wallet under test (with buttons, without buttons), the position of the buttons of the visual hardware wallet under test relative to the visual hardware wallet under test, and the contactless transaction test type (near field communication transaction test, ultra-wideband transaction test, QR code transaction test).

[0076] S220: According to the test task, send a contactless transaction test preparation instruction to the robotic arm kit so that the robotic arm kit can grab the transaction test terminal from the initial position and move the transaction test terminal to a contactless transaction position near the predetermined position, wherein the visual hard wallet under test is placed at the predetermined position.

[0077] S230: According to the test task, a contactless transaction test execution instruction is sent to the transaction test terminal, so that the transaction test terminal can perform contactless transaction testing with the visual hard wallet under test, and return transaction test response data. In some embodiments of the present invention, after the robotic arm kit moves into place, it will send the task completion status to the test controller, and the test controller will then send the contactless transaction test execution instruction.

[0078] S240: Send a reading instruction to the image reading terminal so that the image reading terminal can read the display information of the visual hard wallet and obtain test display data; In the embodiments of the present invention, the image reading terminal can read and display text information, and can also parse the content in QR codes and barcodes. After obtaining the test display data, the image reading terminal can send it to the test control machine, or it can temporarily save it and send it to the test control machine when the test control machine reads it.

[0079] S250: Receive transaction response data and test display data, and analyze and record the transaction response data and test display data. In embodiments of the present invention, the test controller analyzes the success of the transaction, determines that the transaction test has been completed, and compares the transaction test information with the displayed transaction information. If they match, the test passes. For example, if the transaction test response data returned by the transaction test terminal indicates a transaction of 10 yuan, and the transaction amount displayed in the test display data is also 10 yuan, then the test passes. In some QR code transaction tests, the display data also includes the displayed QR code / barcode content. The test controller also verifies the QR code / barcode content to ensure correct display. In embodiments of the present invention, the content of the QR code or barcode displayed in the tested visual hard wallet is generated based on specific rules and specific factors. After the test controller 110 generates content according to the same rules and the same factors, it compares it with the content. If the comparison passes, the QR code / barcode display test passes.

[0080] In some embodiments of the present invention, for scenarios where the visual hard wallet under test has buttons, the test control unit can also control a robotic arm kit to press the buttons. For example... Figure 8 As shown, the method in this embodiment further includes:

[0081] S260: In response to the test task indicating that the visual hard wallet under test has a button, before sending the contactless transaction test preparation instruction, a button operation instruction is sent to the robotic arm kit, so that the robotic arm kit clicks the button on the visual hard wallet under test, causing the visual hard wallet to switch to the test preparation state. In an embodiment of the present invention, the button operation instruction also includes the position information of the button on the visual hard wallet under test, so that the robotic arm kit knows the button position.

[0082] In an embodiment of the present invention, the test task includes a contactless transaction test type, which includes one or more of near-field communication transaction test, ultra-wideband transaction test, and QR code transaction test; the contactless transaction test execution instruction includes the contactless transaction test type, and the transaction test terminal is used to perform contactless transaction test according to the contactless transaction test type.

[0083] In embodiments of the present invention, such as Figure 7 , Figure 8 As shown, the test controller can also control the homing position to prepare for the next test. Specifically, the method in this embodiment further includes:

[0084] S270: After analyzing and recording the transaction test response data and test display data, a homing command is sent to the robotic arm kit so that the robotic arm kit moves the transaction test terminal to the initial position of the transaction test terminal and places the transaction test terminal.

[0085] In this embodiment of the invention, the test control machine generates corresponding instructions through test tasks and sends them to the robotic arm kit, the transaction test terminal, and the image recognition terminal, thereby achieving automated testing of the transaction function and display content of the visual hardware wallet.

[0086] In other embodiments of the present invention, an automated testing system 300 is provided for a visual hard wallet 350 (equipped with buttons), such as... Figure 9 As shown, it includes a PC tester 310, a robotic arm kit 320, a transaction test terminal 330, and an image scanning and reading terminal 340.

[0087] The PC Tester 310 is a computer with automated testing software installed; it can be a desktop or a laptop.

[0088] The robotic arm kit 320 is a collaborative robotic arm with a button-clicking tool and a vision camera at its end, which can automatically identify and click buttons through visual positioning; at the same time, its end is also equipped with a gripper that can grasp the transaction test terminal 330.

[0089] The transaction test terminal 330 is a device that supports contactless card reading, and can be a card reader, smartphone, smart POS machine, contactless signal generator, etc.

[0090] The image scanning and reading terminal 340 is a smart terminal with QR code scanning and image and text reading functions, which can be a smartphone, smart POS machine or other smart device.

[0091] In an embodiment of the present invention, the transaction test terminal 330 is a card reader, and the image scanning and reading terminal 340 is a smartphone.

[0092] Based on the aforementioned system 300, some embodiments of the present invention provide a complete automated testing process for a visual hard wallet equipped with buttons, such as... Figure 10 As shown, the process steps are as follows:

[0093] S401: Preparation, starting all hardware devices and test software. Turn on the PC test machine and start the automated test software; start the robotic arm controller; power on the card reader; start the image scanning and recognition app on the smartphone. The visual hard wallet under test is fixed on the dedicated test stand. The smartphone is placed at the fixed recognition point, facing the display screen of the visual hard wallet.

[0094] S402: Establish communication connections. The PC test unit establishes communication connections with the robotic arm controller, card reader, and smartphone, respectively.

[0095] S403: Touch-to-Pay Transaction Test Terminal. The PC test unit instructs the robotic arm controller to grab the card reader, and the controller controls the robotic arm to grab the card reader.

[0096] S404: Click the visual hard wallet to prepare for testing. The PC test unit instructs the robotic arm controller to click the power button on the visual hard wallet. The controller then controls the robotic arm to perform button operations on the visual hard wallet, turning the payment switch on / off or changing the displayed information.

[0097] If it's a payment code function test, jump directly to S408; if it's a tap-to-transaction function test, continue to S405.

[0098] S405: Preparing for a tap-to-pay transaction. The PC test unit instructs the robotic arm controller to prepare for a tap-to-pay transaction. The controller controls the robotic arm to bring the reader's RF zone, which was grabbed in step S403, close to the visible hard wallet, preparing for the transaction.

[0099] S406: Execute a tap-to-pay transaction. The PC test device calls the card reader to execute a tap-to-pay transaction. The card reader sends a tap-to-pay transaction instruction to the visual hardware wallet and receives the response data returned by the visual hardware wallet after executing the transaction instruction.

[0100] S407: Obtain Tap & Go transaction data. The PC test unit obtains Tap & Go transaction data from the card reader.

[0101] S408: Obtain display scan and recognition results. The PC test unit instructs the smartphone to scan and recognize the display screen of the visual hard wallet and returns the recognition results.

[0102] S409: Record test data and reading results. The PC test machine records the transaction data obtained in step seven and the reading results obtained in step eight.

[0103] S410: Analyze and record test results. The PC tester analyzes and judges all test data and reading results recorded during the test, derives the test results, and records them. For example, in the case of a payment code correctness function test, it checks whether the payment code read in step S408 matches the expected payment code (derived from the payment code calculation factor preset in the visual hardware wallet). If they match, the test result is a pass; otherwise, the test result is a fail. In the case of a contactless tap-to-transaction function test, it checks whether the response data returned by the visual hardware wallet in the transaction data obtained in step S407 matches the expected value, and whether the display reading result obtained in step S408 matches the expected display information. If both match, the test result is a pass; otherwise, the test result is a fail.

[0104] S411: Return all test terminals to their original positions and close all communication connections. The PC tester instructs the robotic arm controller to return to the card reader and close communication connections with the robotic arm controller, card reader, and smartphone.

[0105] In some embodiments of the present invention, S406 to S409 can be executed multiple times in a loop, depending on the complexity of each tap-to-tap transaction.

[0106] In some embodiments of the present invention, depending on the complexity of the test case, an automated test process can be executed multiple times in a loop from S404 to S409.

[0107] In some embodiments of the present invention, the testing process for payment via payment code does not require execution of S403 and S405 to S407.

[0108] This invention provides an automated testing method and system that enables fully automated testing of visual hard wallets. This method significantly improves testing efficiency, saves labor costs, and ensures the accuracy and consistency of test results. A robotic arm with a vision camera automatically identifies and locates the switch icon on the visual hard wallet, thereby automatically controlling a button-clicking tool to click the switch button. This automated operation replaces manual operation, improving testing efficiency and ensuring the accuracy and consistency of test results. A robotic arm grasps a transaction testing terminal and brings it close to the visual hard wallet to conduct transactions, simulating a real-world tap-to-transaction scenario. This automated operation replaces manual operation, improving testing efficiency. An image scanning and reading terminal automatically scans and reads the display screen of the visual hard wallet, replacing manual operation. Simultaneously, it avoids errors in test result judgment caused by human visual reading, further ensuring the accuracy and consistency of test results.

[0109] Figure 11 An exemplary system architecture 1100 is shown that can be applied to the visual hard wallet testing method or visual hard wallet testing implementation apparatus of the present invention.

[0110] like Figure 11 As shown, system architecture 1100 may include terminal devices 1101, 1102, and 1103, network 1104, and server 1105. Network 1104 is used as a medium to provide communication links between terminal devices 1101, 1102, and 1103 and server 1105. Network 1104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0111] Users can use terminal devices 1101, 1102, and 1103 to interact with server 1105 via network 1104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 1101, 1102, and 1103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0112] Terminal devices 1101, 1102, and 1103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0113] Server 1105 can be a server that provides various services, such as a backend management server that supports shopping websites browsed by users using terminal devices 1101, 1102, and 1103 (for example only). The backend management server can analyze and process data such as received product information query requests, and feed back the processing results (such as target push information and product information - for example only) to the terminal devices.

[0114] It should be noted that the visual hard wallet testing method provided in this embodiment of the invention is generally executed by server 1105, and correspondingly, the visual hard wallet testing implementation device is generally set in server 1105.

[0115] It should be understood that Figure 11 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0116] The following is for reference. Figure 12 It shows a schematic diagram of the structure of a computer system 1200 suitable for implementing terminal devices or servers of the present invention. The methods or apparatus for implementing the methods in the embodiments of the present invention can be implemented on the computer system 1200. Figure 12 The terminal device or server shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0117] like Figure 12 As shown, the computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1202 or programs loaded from storage section 1208 into random access memory (RAM) 1203. The RAM 1203 also stores various programs and data required for the operation of the system 1200. The CPU 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0118] The following components are connected to I / O interface 1205: an input section 1206 including a keyboard, mouse, etc.; an output section 1207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN card, modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to I / O interface 1205 as needed. Removable media 1211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1210 as needed so that computer programs read from them can be installed into storage section 1208 as needed.

[0119] In particular, according to embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1209, and / or installed from removable medium 1211. When the computer program is executed by central processing unit (CPU) 1201, it performs the functions defined above in the system of this invention.

[0120] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0122] The units or modules described in the embodiments of the present invention can be implemented in software or hardware. The described units or modules can also be housed in a processor; for example, a processor can be described as including a sending unit (or "module"), an acquisition unit, a determining unit, and a first processing unit. The names of these units or modules do not necessarily limit the specific unit or module itself; for example, a sending unit can also be described as "a unit that sends an image acquisition request to a connected server."

[0123] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to perform the described method.

[0124] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A visual hard wallet testing system, characterized by, The visual hard wallet under test, a transaction test terminal, an image recognition terminal, a mechanical arm kit and a test control machine are included, wherein, The visual hard wallet under test is placed in a predetermined position; The mechanical arm kit is used to pick up the transaction test terminal from an initial position and move it to a non-contact transaction position according to non-contact transaction test preparation instructions; The transaction test terminal is used to perform non-contact transaction test with the visual hard wallet under test according to non-contact transaction test execution instructions and return transaction test response data; The image recognition terminal is used to recognize display information of the visual hard wallet under test according to recognition instructions and obtain test display data; The test control machine is used to send the non-contact transaction test preparation instructions, the non-contact transaction test execution instructions and the recognition instructions according to a test task, receive the transaction test response data and the test display data, and analyze and record the transaction test response data and the test display data.

2. The test system of claim 1, wherein, Before picking up the transaction test terminal, the mechanical arm kit is further used to click a key on the visual hard wallet under test according to key operation instructions, so that the visual hard wallet under test switches to a test preparation state; and the test control machine is further used to send the key operation instructions.

3. The test system of claim 1, wherein, The mechanical arm kit includes a mechanical arm with a grabbing device at the end.

4. The test system of claim 2, wherein, The mechanical arm kit includes a mechanical arm with a grabbing device and a key pressing device at the end.

5. The test system of claim 3 or 4, wherein, The mechanical arm kit further includes a controller for controlling the mechanical arm.

6. The test system of claim 1, wherein, After analyzing and recording the transaction test response data and the test display data, the test control machine is further used to send a homing instruction to the mechanical arm kit; and the mechanical arm kit is used to move the transaction test terminal to the initial position of the transaction test terminal according to the homing instruction and place the transaction test terminal.

7. The test system of claim 1, wherein, The non-contact transaction test includes near field communication transaction test, ultra-wideband transaction test and / or code scanning transaction test.

8. A method of testing a visual hardware wallet, the method comprising: The method applied to the test control machine includes: Obtaining a test task; According to the test task, sending non-contact transaction test preparation instructions to the mechanical arm kit to make the mechanical arm kit pick up the transaction test terminal from an initial position and move it to a non-contact transaction position, wherein the visual hard wallet under test is placed in a predetermined position; According to the test task, sending non-contact transaction test execution instructions to the transaction test terminal to make the transaction test terminal perform non-contact transaction test with the visual hard wallet under test and return transaction test response data; Sending recognition instructions to the image recognition terminal to make the image recognition terminal recognize display information of the visual hard wallet under test and obtain test display data; Receiving the transaction response data and the test display data, and analyzing and recording the transaction response data and the test display data.

9. The method according to claim 8, characterized in that, The method further includes: In response to the test task indicating that the visual hard wallet under test has a button, before sending the non-contact transaction test preparation instruction, a button operation instruction is sent to the mechanical arm set to make the mechanical arm set click the button on the visual hard wallet under test, so that the visual hard wallet switches to a test preparation state.

10. The method according to claim 9, characterized in that, The test task includes a non-contact transaction test type, the non-contact transaction test type including one or more of a near field communication transaction test, an ultra-wideband transaction test, and a code scanning transaction test; the non-contact transaction test execution instruction including the non-contact transaction test type, and the transaction test terminal being configured to perform a non-contact transaction test according to the non-contact transaction test type.

11. The method of claim 8, wherein, The method further includes: After the analysis and recording of the transaction test response data and the test display data are completed, a homing instruction is sent to the mechanical arm set to make the mechanical arm set move the transaction test terminal to the initial position of the transaction test terminal and place the transaction test terminal.

12. An electronic device, comprising: comprise: one or more processors; a memory device storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method according to any one of claims 8-11.

13. A computer readable medium having stored thereon a computer program, characterized in that The program is executed by the processor to implement the method according to any one of claims 8-11.

Citation Information

Patent Citations

  • System and method for realizing automatic auxiliary detection of payment terminal based on mechanical arm

    CN115860016A

  • Method and system for testing non-contact function of hardware wallet

    CN117971573A

  • Automated testing systems and methods for point-of-sale terminals

    US20190156638A1

  • Comparing extracted card data with user data

    US8879783B1