U-shield test method, apparatus, device, and medium

By resetting the clicker and image capture device in the U-shield test, the problem of low efficiency in the U-shield test was solved, and a more efficient U-shield test was achieved.

CN115689561BActive Publication Date: 2025-11-21INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210924658.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-02
Publication Date
2025-11-21
Estimated Expiration
2042-08-02

AI Technical Summary

Technical Problem

In the business application systems of banks and other financial enterprises, the testing efficiency of USB tokens is low, making it difficult to quickly identify test failures and affecting the iteration of USB token versions.

Method used

By controlling the initial clicker and image capture device to perform operations, obtaining the execution results, and resetting the device in case of abnormalities, a qualified target clicker and image capture device are obtained, and the transaction function of the U-shield is tested using the target device.

Benefits of technology

It improves the accuracy and efficiency of U-shield testing, quickly identifies and eliminates faults, and enhances the operational accuracy of U-shield testing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115689561B_ABST
    Figure CN115689561B_ABST
Patent Text Reader

Abstract

The present disclosure provides a U-shield test method, applied to the field of computer and the field of financial technology. The method comprises: controlling an initial clicker corresponding to the U-shield to perform a click operation on the U-shield to obtain a click operation execution result; in the case that the click operation execution result represents that the initial clicker performs abnormally, performing a first reset operation on the initial clicker to obtain a target clicker; performing image compliance detection on U-shield image information to obtain an image acquisition execution result, wherein the U-shield image is obtained after an initial image acquirer corresponding to the U-shield performs an image acquisition operation on the U-shield; in the case that the image acquisition execution result represents that the initial image acquirer performs abnormally, performing a second reset operation on the initial image acquirer to obtain a target image acquirer; and using the target clicker and the target image acquirer to perform a transaction function test on the U-shield. The present disclosure also provides a U-shield test device, equipment, storage medium and program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the fields of computer technology and financial technology, and specifically to a U-shield testing method, apparatus, equipment, medium, and program product. Background Technology

[0002] In the business application systems provided by banks and other financial institutions, USB tokens are typically used as identity verification for transaction transactions involving accounting changes to ensure transaction security and prevent impersonation. As business scale continues to grow, the number of USB tokens released is increasing rapidly, and with the accelerating pace of USB token version iterations, the testing efficiency for testing a large number of USB tokens has become a crucial factor affecting USB token version iterations.

[0003] The inventors discovered that during the testing of a large number of USB tokens, it was difficult to quickly identify faulty USB tokens, resulting in low testing efficiency and failing to meet actual USB token testing needs. Summary of the Invention

[0004] In view of the above problems, this disclosure provides a U-shield testing method, apparatus, equipment, medium and program product.

[0005] According to the first aspect of this disclosure, a method for testing a USB security token is provided, comprising:

[0006] Control the initial clicker corresponding to the U-shield to perform a click operation on the U-shield and obtain the click operation execution result;

[0007] If the execution result of the above click operation indicates that the execution of the above initial clicker is abnormal, the first reset operation is performed on the above initial clicker to obtain a target clicker that passes the test.

[0008] The U-shield image information is subjected to image compliance detection to obtain the image acquisition execution result. The U-shield image is obtained by the initial image acquisition device corresponding to the U-shield after performing image acquisition operation on the U-shield.

[0009] If the image acquisition results indicate an abnormality in the initial image acquisition unit, a second reset operation is performed on the initial image acquisition unit to obtain a qualified target image acquisition unit; and

[0010] Using the aforementioned target clicker and target image capture device, the transaction function of the aforementioned U-shield was tested.

[0011] According to embodiments of this disclosure, before the initial clicker corresponding to the USB key performs a click operation on the USB key, the USB key testing method further includes:

[0012] The initial digital certificate stored in the aforementioned USB key is subjected to consistency verification, and the consistency verification result is obtained; and

[0013] If the above consistency verification results indicate an anomaly between the initial digital certificate and the preset digital certificate associated with the U-shield, the initial digital certificate is replaced with the preset digital certificate to obtain a new U-shield that stores the preset digital certificate.

[0014] According to embodiments of this disclosure, the above-mentioned click operation execution result includes the first click operation execution result;

[0015] The aforementioned control unit, corresponding to the U-shield, performs a click operation on the U-shield, and the click operation execution result includes:

[0016] Control the initial clicker corresponding to the above-mentioned U-shield to perform click operations on the function buttons of the above-mentioned U-shield;

[0017] Obtain the transaction attribute information generated by the above-mentioned U-shield in response to the above-mentioned click operation; and

[0018] The transaction attribute information is matched with the preset transaction attribute information corresponding to the function button to obtain the execution result of the first click operation.

[0019] According to an embodiment of this disclosure, the first reset operation includes a first position reset operation, which represents an operation that changes the positional relationship of the initial clicker;

[0020] Wherein, in the case where the execution result of the click operation indicates that the initial clicker is abnormal, the first reset operation is performed on the initial clicker to obtain a qualified target clicker, including:

[0021] If the transaction attribute information and the preset transaction attribute information corresponding to the function button do not match as indicated by the execution result of the first click operation, the robotic arm is controlled to perform the first position reset operation on the initial clicker until the initial clicker moves to the preset clicker position to obtain the target clicker.

[0022] According to embodiments of this disclosure, the above-mentioned click operation execution result includes the second click operation execution result;

[0023] The aforementioned control unit, corresponding to the U-shield, performs a click operation on the U-shield, and the click operation execution result includes:

[0024] Control the initial clicker corresponding to the aforementioned USB key to perform click operations on the function keys of the aforementioned USB key; and

[0025] In response to the failure to detect transaction attribute information sent from the aforementioned U-shield within a preset time threshold, the execution result of the aforementioned second click operation is generated.

[0026] According to embodiments of this disclosure, the first reset operation includes a first restart operation;

[0027] Wherein, in the case where the execution result of the click operation indicates that the initial clicker is abnormal, the first reset operation is performed on the initial clicker to obtain a qualified target clicker, including:

[0028] If the result of the above click operation is the same as the result of the second click operation, the first restart operation is performed on the initial clicker to obtain the target clicker.

[0029] According to an embodiment of this disclosure, N edge markers are provided on the first surface of the U-shield. The edge markers are used to characterize the edge positions of the first surface. The image acquisition execution result includes the marker recognition result. N is a positive integer greater than 1. The second reset operation includes a second restart operation.

[0030] The image compliance check performed on the U-shield image information yields the following image acquisition execution results:

[0031] Edge marker recognition is performed on the above U-shield image information to obtain the marker recognition result;

[0032] Wherein, in the case where the image acquisition execution result indicates that the initial image acquisition device is malfunctioning, the second reset operation is performed on the initial image acquisition device to obtain a qualified target image acquisition device, including:

[0033] If the number of edge markers identified by the above-mentioned marker recognition result is zero, the above-mentioned second restart operation is performed on the above-mentioned initial image collector to obtain the above-mentioned target image collector.

[0034] According to embodiments of this disclosure, the second reset operation further includes a second position reset operation;

[0035] The method of performing a second reset operation on the initial image acquisition device to obtain a qualified target image acquisition device when the image acquisition execution result indicates that the initial image acquisition device is abnormal, further includes:

[0036] When the number of edge markers identified by the above-mentioned marker recognition result is M, the control robot arm performs the above-mentioned second position reset operation on the above-mentioned initial image collector until the above-mentioned initial image collector moves to the preset collector position and obtains the above-mentioned target image collector, where M is a positive integer less than N.

[0037] According to embodiments of this disclosure, before performing a functional test on the USB key using the aforementioned target clicker and target image capture device, the USB key testing method further includes:

[0038] Perform a U-shield reconnection operation on the aforementioned U-shield;

[0039] The process of resetting the USB key includes:

[0040] Install the default USB key driver in the aforementioned USB key; and / or

[0041] The robotic arm is controlled to perform a plug-in / plug-out operation on the aforementioned USB key, wherein the plug-in / plug-out operation is applicable to resetting the communication connection status of the aforementioned USB key.

[0042] A second aspect of this disclosure provides a U-shield testing device, comprising:

[0043] The click operation module is used to control the initial clicker corresponding to the U-shield to perform a click operation on the U-shield and obtain the click operation execution result.

[0044] The first reset module is used to perform a first reset operation on the initial clicker when the execution result of the above click operation indicates that the initial clicker is abnormal, so as to obtain a target clicker that passes the test.

[0045] The compliance detection module is used to perform image compliance detection on the U-shield image information and obtain the image acquisition execution result. The U-shield image is obtained by the initial image acquisition device corresponding to the U-shield after performing image acquisition operation on the U-shield.

[0046] The second reset module is used to perform a second reset operation on the initial image acquirer when the image acquisition execution result indicates an abnormality in the initial image acquirer, thereby obtaining a target image acquirer that passes the test; and

[0047] The transaction function testing module is used to perform transaction function tests on the U-shield using the aforementioned target clicker and target image capture device.

[0048] A third aspect of this disclosure provides an electronic device, comprising: one or more processors; and a memory 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 perform the U-shield testing method.

[0049] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the U-shield testing method described above.

[0050] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described U-shield testing method. Attached Figure Description

[0051] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0052] Figure 1 This diagram illustrates an application scenario of the U-shield testing method and apparatus according to embodiments of the present disclosure.

[0053] Figure 2 A flowchart illustrating a U-shield testing method according to an embodiment of the present disclosure is shown schematically.

[0054] Figure 3 This schematically illustrates a flowchart of controlling an initial clicker corresponding to a USB key to perform a click operation on the USB key according to an embodiment of the present disclosure, and obtaining the click operation execution result;

[0055] Figure 4 A schematic diagram of a USB security token according to an embodiment of the present disclosure is shown.

[0056] Figure 5 A schematic diagram of the structure of a U-shield testing device according to an embodiment of the present disclosure is shown.

[0057] Figure 6 A block diagram schematically illustrates an electronic device suitable for implementing a U-shield testing method according to an embodiment of the present disclosure. Detailed Implementation

[0058] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0059] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0060] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0061] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).

[0062] In the technical solution disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of user personal information comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and there is no violation of public order and good morals.

[0063] In the technical solution disclosed herein, the user's authorization or consent is obtained before acquiring or collecting the user's personal information.

[0064] In related technologies, a centralized manufacturing and deployment model is typically used for testing USB tokens. This involves cloud-based deployment of USB token testing equipment to improve testing efficiency through a centralized testing approach. A large number of USB tokens are deployed in a unified USB token testing cabinet. The USB tokens connect to routing drivers, button clickers, and information acquisition devices (image capture devices), and communicate with a test computer to test the functions of the USB tokens, including their buttons and displayed information.

[0065] However, when the USB token being tested experiences communication connection failures, hardware failures, or malfunctions in the clickers or image acquisition devices used to perform the tests, the large number of USB tokens deployed in the USB token test cabinets in the computer room makes it difficult to quickly identify the faulty USB tokens or USB token test devices, thus affecting the testing efficiency of USB token testing.

[0066] The embodiments of this disclosure provide a U-shield testing method, including:

[0067] The system controls the initial clicker corresponding to the U-shield to perform a click operation on the U-shield, obtaining the click operation execution result; if the click operation execution result indicates that the initial clicker is abnormal, a first reset operation is performed on the initial clicker to obtain a qualified target clicker; image compliance detection is performed on the U-shield image information to obtain the image acquisition execution result, wherein the U-shield image is obtained after the initial image acquisition device corresponding to the U-shield performs an image acquisition operation on the U-shield; if the image acquisition execution result indicates that the initial image acquisition device is abnormal, a second reset operation is performed on the initial image acquisition device to obtain a qualified target image acquisition device; and the transaction function test is performed on the U-shield using the target clicker and the target image acquisition device.

[0068] According to embodiments of this disclosure, by controlling an initial clicker to perform a click operation on the USB key to be tested, the click operation execution result can be obtained. If the click operation execution result is abnormal, a first reset operation is performed on the initial clicker to reset it. The resulting target clicker can then perform click operations normally on the USB key. Furthermore, by performing image compliance detection on the USB key image information, it can be discovered whether the initial image collector corresponding to the USB key has any execution abnormalities. A second reset operation is then performed to reset the initial image collector, resulting in the target image collector. Then, by using the target clicker and the target collector to perform transaction function tests on the USB key, the operational accuracy of the clicker, image collector, and other testing devices can be improved at least partially, thereby increasing the testing efficiency for transaction function tests on the USB key.

[0069] Figure 1 The illustration shows an application scenario of the U-shield testing method and apparatus according to embodiments of the present disclosure.

[0070] like Figure 1 As shown, application scenario 100 according to this embodiment may include terminal devices 101, 102, and 103, network 104, server 105, and U-shield testing room 110. Network 104 is used as a medium to provide a communication link between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

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

[0072] Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0073] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using terminal devices 101, 102, and 103 (for example only). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0074] The U-shield testing room 110 may include a U-shield testing cabinet 111. The U-shield testing cabinet 111 may be equipped with a testing interface for communicating with the U-shield. The U-shield can be connected to the corresponding testing interface according to its U-shield number. The U-shield testing cabinet 111 can communicate with terminal devices 101, 102, 103 and server 105 through network 104. For example, the U-shield testing cabinet 111 can receive operation commands from terminal device 102 through network 104, and can also send images, messages and other communication information to terminal device 102.

[0075] The target area Q111 of the U-shield testing cabinet 111 may include a U-shield 121, a clicker 122, and an image acquisition device 123. The clicker 122 can perform click operations on the buttons or touch screen of the U-shield according to control commands or related execution programs, and the image acquisition device 123 can acquire U-shield image information containing the U-shield.

[0076] It should be noted that the U-shield testing method provided in this embodiment can generally be executed by terminal devices 101, 102, and 103. Correspondingly, the U-shield testing device provided in this embodiment can generally be installed in terminal devices 101, 102, and 103. Furthermore, the U-shield testing method provided in this embodiment can also be executed by server 105. Correspondingly, the U-shield testing device provided in this embodiment can also be installed in server 105. The U-shield testing method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103, and / or server 105. Correspondingly, the U-shield testing device provided in this embodiment can also be installed in a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103, and / or server 105.

[0077] It should be understood that Figure 1The number of terminal devices, networks, servers, U-shield testing cabinets, U-shields, clickers, and image capture devices shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, servers, U-shield testing cabinets, U-shields, clickers, and image capture devices can be included. Correspondingly, Figure 1 The positional and connection relationships of the U-Shield test cabinet, U-Shield, clicker, and image acquisition device are not limited to... Figure 1 The method shown can be designed by those skilled in the art according to actual needs.

[0078] The following will be based on Figure 1 The described scene, through Figures 2-4 The U-shield testing method of the disclosed embodiments is described in detail.

[0079] Figure 2 A flowchart illustrating a U-shield testing method according to an embodiment of the present disclosure is shown schematically.

[0080] like Figure 2 As shown, the U-shield testing method in this embodiment includes operations S210 to S250.

[0081] In operation S210, the initial clicker corresponding to the U-shield is controlled to perform a click operation on the U-shield, and the click operation execution result is obtained.

[0082] According to embodiments of this disclosure, the initial clicker may include a device or apparatus for performing operations on the operating device of the U-shield, such as a button on the U-shield or a touch screen mounted on the U-shield.

[0083] It should be noted that the initial clicker needs to be associated with the USB key. This allows the initial clicker to be controlled to perform a click operation on the USB key by sending a click operation command or a control signal to the initial clicker associated with the USB key.

[0084] In operation S220, if the result of the click operation indicates that the initial clicker is abnormal, the first reset operation is performed on the initial clicker to obtain a target clicker that passes the test.

[0085] According to embodiments of this disclosure, the click operation result can be a comparison between the actual operation information generated by the U-shield after responding to the click operation and the preset operation information expected to be generated by the U-shield after responding to the click operation. Therefore, the execution abnormality of the initial clicker can be determined by comparing the actual generated operation information and the expected generated preset operation information.

[0086] According to embodiments of this disclosure, the first reset operation may include operations for eliminating execution anomalies of the initial clicker, and the first restart operation may include software update operations or hardware update operations. Software update operations may include, for example, restarting or updating the operation execution program, while hardware update operations may include, for example, replacing the clicker or moving the clicker position.

[0087] It should be understood that those skilled in the art can design the specific operation method of the first reset operation according to actual needs, and the embodiments of this disclosure do not limit the specific operation method of the first reset operation.

[0088] In operation S230, image compliance detection is performed on the U-shield image information to obtain the image acquisition execution result. The U-shield image is obtained by the initial image acquisition device corresponding to the U-shield after performing image acquisition operation on the U-shield.

[0089] According to embodiments of this disclosure, image compliance detection may include detecting the compliance of information such as image quality and image content of the U-shield image information. By performing image compliance detection on the U-shield image information, the obtained image acquisition execution results can be used to detect the execution status of the initial image acquisition device during the U-shield testing process.

[0090] In operation S240, if the image acquisition execution result indicates that the initial image acquisition device is abnormal, a second reset operation is performed on the initial image acquisition device to obtain a target image acquisition device that passes the test.

[0091] According to embodiments of this disclosure, the second reset operation may include operations for eliminating abnormal execution conditions of the initial image acquisition unit. The second restart operation may also include software update operations or hardware update operations. Software update operations may include, for example, restarting or updating the operation execution program, while hardware update operations may include, for example, replacing the image acquisition unit or moving the image acquisition unit's position.

[0092] It should be understood that those skilled in the art can design the specific operation method of the second reset operation according to actual needs, and the embodiments of this disclosure do not limit the specific operation method of the second reset operation.

[0093] When operating the S250, the U-shield was tested for transaction functionality using a target clicker and a target image capture device.

[0094] According to embodiments of this disclosure, by controlling an initial clicker to perform a click operation on the USB key to be tested, the click operation execution result can be obtained. If the click operation execution result is abnormal, a first reset operation is performed on the initial clicker to reset it. The resulting target clicker can then perform click operations normally on the USB key. Furthermore, by performing image compliance detection on the USB key image information, it can be discovered whether the initial image collector corresponding to the USB key has any execution abnormalities. A second reset operation is then performed to reset the initial image collector, resulting in the target image collector. Then, by using the target clicker and the target collector to perform transaction function tests on the USB key, the operational accuracy of the clicker, image collector, and other testing devices can be improved at least partially, thereby increasing the testing efficiency for transaction function tests on the USB key.

[0095] According to an embodiment of this disclosure, before operating S210 and controlling the initial clicker corresponding to the U-shield to perform a click operation on the U-shield, the U-shield testing method of this embodiment may further include the following operations:

[0096] The initial digital certificate stored in the U-shield is subjected to consistency verification to obtain the consistency verification result; and if the consistency verification result indicates that the initial digital certificate and the preset digital certificate associated with the U-shield do not match, the initial digital certificate is replaced with the preset digital certificate to obtain a new U-shield that stores the preset digital certificate.

[0097] According to embodiments of this disclosure, a digital certificate can be a document, encoding, or other information used to verify user identity information during transactions. Based on the security requirements of USB tokens for transactions, each USB token must store a unique digital certificate; that is, the USB token's own serial number and the digital certificate stored in the USB token must have a matching relationship.

[0098] According to embodiments of this disclosure, verifying the consistency of the initial digital certificate stored in the USB key can include detecting, through relevant instructions or programs, whether the initial digital certificate currently stored in the USB key is consistent with a preset digital certificate configured for the USB key. If the initial digital certificate is consistent with the preset digital certificate, it can be determined that the initial digital certificate and the preset digital certificate match normally. If the initial digital certificate and the preset digital certificate are inconsistent, it can be determined that the initial digital certificate and the preset digital certificate do not match normally.

[0099] For example, the default digital certificate configured for a U-shield with the number 100003 is 2ABC1113, but the actual initial digital certificate stored in the U-shield is detected to be 2ABC1111. It can be determined that the initial digital certificate and the default digital certificate do not match.

[0100] It should be noted that after replacing the initial digital certificate in the U-shield with the preset digital certificate, the consistency verification of the initial digital certificate stored in the U-shield can be performed again. If the consistency verification is abnormal after multiple cycles (e.g., 3 times), the abnormal consistency verification result can be recorded to form an error log, which can help relevant operation and maintenance personnel quickly identify the faulty U-shield and improve the efficiency of repairing U-shield faults.

[0101] According to embodiments of this disclosure, the correspondence between the initial clicker and the initial image capture device and the U-shield can also be verified based on the U-shield number, thereby determining that the initial clicker and / or the initial image capture device can perform tests on the corresponding target U-shield. The U-shield number can be set on the first surface of the U-shield, for example, on the same surface as the U-shield display screen.

[0102] For example, Table 1 can be used to configure the correspondence between the clicker, image collector, and USB token. Sending an image acquisition command to image collector B1, according to the configuration in Table 1, allows image collector B1 to acquire image information of the first USB token with USB token number 100001. Based on relevant image recognition technology, the USB token number in the first USB token image information can be identified. When the identification result is 100001, the installation location of image collector B1 can be determined to correspond to the location of USB token number 100001. When the identification result is 100003, the installation location of image collector B1 can be determined to correspond to the location of USB token number 100003. The identification results can then be recorded in the relevant logs for maintenance personnel to quickly troubleshoot the problem.

[0103] Table 1

[0104]

[0105] For example, a click operation control command can be sent to clicker A1, which can then click the function button (e.g., the OK button) of the U-shield with U-shield number 100001. The expected display result on the screen for this U-shield could be "Transaction successful". Then, image acquisition device B1 is used to acquire image information of the second U-shield with U-shield number 100001, and the U-shield number in the second U-shield image information is identified by relevant image recognition technology. In the case of U-shield number 100001, it can be determined that the installation position of clicker A1 corresponds to the position of the U-shield.

[0106] If the U-shield number in the second U-shield image information is identified as 100003, it can be determined that the clicker A1 or the U-shield is installed in the wrong location. The identification result can be recorded in the error log so that relevant maintenance personnel can quickly troubleshoot the problem, such as updating the configuration relationship in Table 1 or changing the U-shield deployment location.

[0107] It should be understood that the U-shield number may include a unique identifier assigned to that U-shield to characterize its uniqueness.

[0108] According to embodiments of this disclosure, the click operation execution result includes the first click operation execution result.

[0109] Figure 3 The flowchart illustrates a process according to an embodiment of the present disclosure, in which an initial clicker corresponding to a U-shield performs a click operation on the U-shield and obtains the result of the click operation.

[0110] like Figure 3 As shown, operation S210 controls the initial clicker corresponding to the U-shield to perform a click operation on the U-shield, and the result of the click operation can include operations S310 to S330.

[0111] When operating S310, the initial clicker corresponding to the U-shield is controlled to perform click operations on the function buttons of the U-shield.

[0112] When operating the S320, obtain the transaction attribute information generated by the U-shield in response to the click operation.

[0113] When operating S330, the transaction attribute information is matched with the preset transaction attribute information corresponding to the function key to obtain the execution result of the first click operation.

[0114] According to embodiments of this disclosure, function keys may be, for example, confirmation keys, movement operation keys, etc. Embodiments of this disclosure do not limit the specific type of function keys, as long as they enable the U-shield to generate transaction attribute information by detecting the operation of the function keys.

[0115] According to embodiments of this disclosure, transaction attribute information may include information related to the transaction process, such as transaction success, transaction failure, transaction authorization information, transaction type information, etc.

[0116] It should be understood that the function buttons on the U-shield can have a unique correspondence with the generated transaction attribute information.

[0117] For example, the function buttons installed on the USB key may include a confirmation button and a back button. The initial clicker performs a first click operation on the confirmation button of the USB key according to the operation instruction. The USB key responds to the first click operation on the confirmation button. The expected preset transaction attribute information generated may be "transaction successful". If the actual transaction attribute information generated by the USB key is "transaction canceled", the result of the first click operation can be considered as a mismatch.

[0118] According to embodiments of this disclosure, the first reset operation includes a first position reset operation, which characterizes an operation that changes the positional relationship of the initial clicker.

[0119] Operation S220, where the click operation result indicates an abnormality in the initial clicker, involves performing a first reset operation on the initial clicker to obtain a qualified target clicker, which may include the following operations:

[0120] If the transaction attribute information represented by the first click operation does not match the preset transaction attribute information corresponding to the function button, the robotic arm is controlled to perform a first position reset operation on the initial clicker until the initial clicker moves to the preset clicker position and the target clicker is obtained.

[0121] According to the embodiments of this disclosure, if the transaction attribute information represented by the execution result of the first click operation does not match the preset transaction attribute information corresponding to the function key, the offset of the installation position of the initial clicker can be preliminarily determined. Then, by sending a control command to the robotic arm, the initial clicker can be moved to the preset clicker position. The target clicker at the preset clicker position can realize that the clicker corresponds to the function key of the U-shield, thereby quickly eliminating the clicker malfunction.

[0122] According to embodiments of this disclosure, if the transaction attribute information represented by the first click operation execution result does not match the preset transaction attribute information corresponding to the function button, a control command can be sent to the robotic arm to move the U-shield to a preset U-shield position. This preset U-shield position can make the target clicker correspond to the function button of the U-shield, thereby quickly eliminating the clicker malfunction from another perspective.

[0123] According to embodiments of this disclosure, the result of a click operation includes the result of a second click operation.

[0124] Operation S210 controls the initial clicker corresponding to the U-shield to perform a click operation on the U-shield. The result of the click operation can include the following operations:

[0125] The system controls the initial clicker corresponding to the U-shield to perform a click operation on the function buttons of the U-shield; and in response to the failure to detect transaction attribute information sent from the U-shield within a preset time threshold, it generates a second click operation execution result.

[0126] According to embodiments of this disclosure, if no transaction attribute information sent from the U-shield is detected within a preset time threshold, it can be determined that the function buttons of the U-shield are malfunctioning or that the U-shield itself is malfunctioning. This allows for quick identification of faulty U-shields and improves the testing efficiency of U-shields.

[0127] It should be noted that the preset time threshold can be set according to the generation duration of the transaction attribute information of the U-shield, for example, it can be set to 5 seconds, 20 seconds, etc. The embodiments disclosed herein do not limit the specific duration of the preset time threshold; those skilled in the art can design it according to actual needs.

[0128] According to embodiments of this disclosure, the first reset operation includes a first restart operation.

[0129] Operation S220, where the click operation result indicates an abnormality in the initial clicker, involves performing a first reset operation on the initial clicker to obtain a qualified target clicker, which may include the following operations:

[0130] If the result of the click operation is the same as the result of the second click operation, perform the first restart operation on the initial clicker to obtain the target clicker.

[0131] According to embodiments of this disclosure, the first restart operation may include restarting the initial clicker, or it may also include resetting the configuration information such as the control program of the initial clicker, thereby eliminating the fault of the initial clicker and enabling the target clicker that has passed the test to perform the clicking operation on the U-shield normally.

[0132] According to embodiments of this disclosure, the U-shield can also be restarted by controlling the robotic arm to re-plug it, thereby eliminating fault factors such as U-shield connection failure.

[0133] It should be noted that the transaction attribute information generated by the U-shield can be the transaction attribute information content generated on the U-shield's display screen, but it is not limited to this. The transaction attribute information generated by the U-shield can also be data packets, data streams, etc. The relevant detection device can process the transaction attribute information to determine whether the transaction attribute information matches the preset transaction attribute information.

[0134] According to an embodiment of this disclosure, N edge markers are provided on the first surface of the U-shield. The edge markers are used to characterize the edge positions of the first surface. The image acquisition execution result includes the marker recognition result. N is a positive integer greater than 1. The second reset operation includes a second restart operation.

[0135] Operation S230 performs image compliance detection on the U-shield image information, and the image acquisition execution result can include the following operations:

[0136] Edge identification is performed on the U-shield image information to obtain the identification results.

[0137] Operation S240, where the image acquisition execution result indicates an abnormality in the initial image acquisition device, involves performing a second reset operation on the initial image acquisition device to obtain a qualified target image acquisition device. This can include the following operations:

[0138] If the number of edge markers identified by the marker recognition result is zero, a second restart operation is performed on the initial image collector to obtain the target image collector.

[0139] According to embodiments of this disclosure, the first surface of the U-shield may include the surface on which the display screen is mounted. By setting edge markers at the edge positions of the first surface, it is convenient to determine whether the U-shield deviates from the preset installation position by recognizing the identification results of the edge markers in the U-shield image. At the same time, it is also convenient to quickly determine whether the installation position of the initial image acquisition device can meet the requirement of acquiring all image information of the U-shield, thereby facilitating the monitoring of the entire process of U-shield testing.

[0140] According to the embodiments of this disclosure, when the number of edge markers identified by the marker recognition result is zero, it can be determined that the initial image collector is unable to collect U-shield image information due to a fault. Performing a second restart operation on the initial image collector can initially eliminate the fault of the initial image collector, thereby enabling the target image collector to perform image acquisition operations normally.

[0141] It should be understood that if the initial image collector still cannot collect U-shield image information after performing a second restart operation on the initial image collector, the number of the initial image collector can be recorded so that relevant maintenance personnel can be notified to troubleshoot the problem in a timely manner.

[0142] It should be noted that edge markers may include symbols such as text, numbers, and letters, and the embodiments disclosed herein do not limit the specific content of edge markers.

[0143] According to embodiments of this disclosure, the second reset operation may further include a second position reset operation.

[0144] Operation S240, in the case that the image acquisition execution result indicates an abnormality in the initial image acquisition device, performs a second reset operation on the initial image acquisition device to obtain a qualified target image acquisition device, may also include the following operations:

[0145] If the number of edge markers identified by the marker recognition result is M, the robotic arm is controlled to perform a second position reset operation on the initial image collector until the initial image collector moves to the preset collector position to obtain the target image collector, where M is a positive integer less than N.

[0146] According to the embodiments of this disclosure, when the identification result indicates that the number of edge identifiers identified is M, it can be determined that the number of edge identifiers identified in the U-shield image information is less than the actual number of edge identifiers. Thus, it can be preliminarily determined that the position of the initial image collector is offset, and the acquired U-shield image information cannot record the entire image of the U-shield. In this way, the cause of the initial image collector failure can be quickly determined.

[0147] According to embodiments of this disclosure, controlling the robotic arm to move the initial image collector to a preset collector position can promptly eliminate the faults of the initial image collector, thereby at least partially reducing the failure rate of the image collector during subsequent transaction function testing and improving the overall testing efficiency of the U-shield.

[0148] It should be noted that the identification result can be achieved through image recognition methods in related technologies, such as image recognition methods based on neural network models to perform image recognition on U-shield image information to obtain the identification result. However, it is not limited to this; other methods can also be used to identify edge markers in U-shield image information, such as image matching methods. The embodiments disclosed herein do not limit the specific method for obtaining the identification result, and those skilled in the art can design it according to the actual situation.

[0149] Figure 4 A schematic diagram of a U-shield according to an embodiment of the present disclosure is shown.

[0150] like Figure 4 As shown, the U-shield 400 in this embodiment may include a display screen 410, function buttons 421, 422, 423, 424, and a U-shield number 430. Function button 421 may be a return button, and function button 422 may be a confirmation button.

[0151] In this embodiment, edge markers T411, T412, T413, and T413 can be provided at the corner edges of the first surface of the U-shield 400.

[0152] If the identification result indicates that there are 3 edge identifiers, it can be determined that the number of edge identifiers identified in the U-shield image information is less than the actual number of edge identifiers. Therefore, it can be preliminarily determined that the position of the initial image acquisition device is offset and that the acquired U-shield image information cannot record all the images of the U-shield 400. This allows for a quick determination of the cause of the initial image acquisition device's failure.

[0153] If the number of edge markers identified by the identification result is zero, that is, if the identification result cannot identify any edge marker, it can be determined that the initial image acquisition device is unable to acquire U-Shield 400 image information due to a fault. Performing a second restart operation on the initial image acquisition device can initially eliminate the fault of the initial image acquisition device, so that the target image acquisition device can perform image acquisition operation normally.

[0154] It should be noted that, Figure 4 The number and placement of edge markers are only illustrative. Depending on the implementation requirements, there can be any number of edge markers, or any number of edge markers can be placed at any edge position. Those skilled in the art can design according to actual needs.

[0155] According to an embodiment of this disclosure, before performing transaction function testing on the U-shield using the target clicker and the target image collector in operation S250, the U-shield testing method of this embodiment may further include the following operations.

[0156] Perform a U-shield reconnection operation on the U-shield.

[0157] According to embodiments of this disclosure, performing a USB key reset operation may include the following steps:

[0158] Install the default USB key driver in the USB key; and / or

[0159] The robotic arm is controlled to perform insertion and removal operations on the USB key, which are used to reset the communication connection status of the USB key.

[0160] According to embodiments of this disclosure, before performing transaction function testing on the U-shield using the target clicker and target image capture device, the U-shield testing method described in the above embodiments can be used to initially eliminate faults in the initial clicker and initial image capture device, resulting in a qualified target clicker and target image capture device. Then, the connection status between the U-shield and related testing devices can be tested by performing a U-shield reset connection operation on the U-shield, facilitating the smooth progress of the transaction function testing.

[0161] According to embodiments of this disclosure, installing a preset U-shield driver in a U-shield may include uninstalling the driver in the U-shield through a USB device of the test system and reinstalling the preset U-shield driver, or it may also be possible to directly install the preset U-shield driver on the U-shield.

[0162] According to embodiments of this disclosure, a robotic arm can also be controlled to perform insertion and removal operations on the U-shield, that is, the U-shield can be removed from the relevant testing equipment and then inserted to reset the state of the U-shield.

[0163] It should be noted that after resetting the U-shield connection, the U-shield testing method described in the above embodiments can be executed again until the clicker, collector, and U-shield pass the tests. Then, the business script can be run to test the transaction function of the U-shield. If, during subsequent transaction function testing, the business script fails to execute due to a malfunction of the target clicker, target collector, or U-shield, the U-shield testing method described in the above embodiments can be re-executed to promptly identify and resolve the problem.

[0164] According to embodiments of this disclosure, the U-shield testing method may further include the following operations:

[0165] Record the results of click operations and / or image acquisition operations to form an operation log for the U-shield.

[0166] According to embodiments of this disclosure, the operation execution log can be represented, for example, by Table 2. The operation execution log can record the execution results of click operations and / or image acquisition execution results. At the same time, the operation execution log can also record the execution results of successful clicker, collector and U-shield tests, so that relevant maintenance personnel can quickly determine the cause of failure affecting U-shield testing based on the U-shield number in the operation execution log, thereby improving the overall efficiency of U-shield testing.

[0167] Table 2

[0168]

[0169] Based on the above-described U-shield testing method, this disclosure also provides a U-shield testing device. The following will be combined with... Figure 5 The device is described in detail.

[0170] Figure 5 A schematic block diagram of a U-shield testing device according to an embodiment of the present disclosure is shown.

[0171] like Figure 5 As shown, the U-shield testing device 500 in this embodiment includes a click operation module 510, a first reset module 520, a compliance detection module 530, a second reset module 540, and a transaction function testing module 550.

[0172] The click operation module 510 is used to control the initial clicker corresponding to the U-shield to perform a click operation on the U-shield and obtain the click operation execution result.

[0173] The first reset module 520 is used to perform a first reset operation on the initial clicker when the click operation execution result indicates that the initial clicker is abnormal, so as to obtain a target clicker that passes the test.

[0174] The compliance detection module 530 is used to perform image compliance detection on the U-shield image information and obtain the image acquisition execution result. The U-shield image is obtained by the initial image acquisition device corresponding to the U-shield after performing image acquisition operation on the U-shield.

[0175] The second reset module 540 is used to perform a second reset operation on the initial image acquisition device when the image acquisition execution result indicates that the initial image acquisition device is abnormal, so as to obtain a target image acquisition device that passes the test.

[0176] The transaction function test module 550 is used to perform transaction function tests on the U-shield using a target clicker and a target image capture device.

[0177] According to embodiments of this disclosure, the U-shield testing device further includes: a consistency verification module and a replacement module.

[0178] The consistency verification module is used to perform consistency verification on the initial digital certificate stored in the U-shield and obtain the consistency verification result.

[0179] The replacement module is used to replace the initial digital certificate with the preset digital certificate when the consistency verification result indicates an anomaly between the initial digital certificate and the preset digital certificate associated with the U-shield, thereby obtaining a new U-shield that stores the preset digital certificate.

[0180] According to embodiments of this disclosure, the click operation execution result includes the first click operation execution result.

[0181] The click operation module includes: a first click operation unit, a first acquisition unit, and a first matching unit.

[0182] The first click operation unit is used to control the initial clicker corresponding to the U-shield to perform click operations on the function buttons of the U-shield.

[0183] The first acquisition unit is used to acquire the transaction attribute information generated by the U-shield in response to the click operation.

[0184] The first matching unit is used to match the transaction attribute information with the preset transaction attribute information corresponding to the function button to obtain the execution result of the first click operation.

[0185] According to embodiments of this disclosure, the first reset operation includes a first position reset operation, which characterizes an operation that changes the positional relationship of the initial clicker.

[0186] The first reset module includes: a first reset unit.

[0187] The first reset unit is used to control the robotic arm to perform a first position reset operation on the initial clicker when the transaction attribute information represented by the execution result of the first click operation does not match the preset transaction attribute information corresponding to the function key, until the initial clicker moves to the preset clicker position and the target clicker is obtained.

[0188] According to embodiments of this disclosure, the result of a click operation includes the result of a second click operation.

[0189] The click operation module includes: a second click operation unit and a first detection unit.

[0190] The second click operation unit is used by the initial clicker corresponding to the U-shield to perform click operations on the function buttons of the U-shield.

[0191] The first detection unit is used to generate the second click operation execution result in response to the failure to detect transaction attribute information sent from the U-shield within a preset time threshold.

[0192] According to embodiments of this disclosure, the first reset operation includes a first restart operation.

[0193] The first reset module includes: a second reset unit.

[0194] The second reset unit is used to perform a first restart operation on the initial clicker when the result of the click operation is the result of the second click operation, so as to obtain the target clicker.

[0195] According to an embodiment of this disclosure, N edge markers are provided on the first surface of the U-shield. The edge markers are used to characterize the edge positions of the first surface. The image acquisition execution result includes the marker recognition result. N is a positive integer greater than 1. The second reset operation includes a second restart operation.

[0196] The compliance testing module includes: the first identification unit.

[0197] The first recognition unit is used to perform edge identification on the U-shield image information to obtain the identification result.

[0198] The second reset module includes: a first reset unit.

[0199] The first reset unit is used to perform a second restart operation on the initial image collector when the number of edge markers identified by the marker recognition result is zero, so as to obtain the target image collector.

[0200] According to embodiments of this disclosure, the second reset operation further includes a second position reset operation.

[0201] The second reset module also includes: a second reset unit.

[0202] The second reset unit is used to control the robotic arm to perform a second position reset operation on the initial image collector when the number of edge markers identified by the marker recognition result is M, until the initial image collector moves to the preset collector position and the target image collector is obtained, where M is a positive integer less than N.

[0203] According to embodiments of this disclosure, the U-shield testing device further includes a resetting connection module.

[0204] The Reset Connection Module is used to perform a U-Shield Reset Connection operation.

[0205] The process of resetting a USB security token includes:

[0206] Install the default USB key driver in the USB key; and / or

[0207] The robotic arm is controlled to perform insertion and removal operations on the USB key, which are used to reset the communication connection status of the USB key.

[0208] According to embodiments of this disclosure, any multiple modules among the click operation module 510, the first reset module 520, the compliance detection module 530, the second reset module 540, and the transaction function test module 550 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the click operation module 510, the first reset module 520, the compliance detection module 530, the second reset module 540, and the transaction function test module 550 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the click operation module 510, the first reset module 520, the compliance detection module 530, the second reset module 540, and the transaction function test module 550 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0209] Figure 6 A block diagram schematically illustrates an electronic device suitable for implementing a U-shield testing method according to an embodiment of the present disclosure.

[0210] like Figure 6As shown, an electronic device 600 according to an embodiment of this disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of this disclosure.

[0211] RAM 603 stores various programs and data required for the operation of electronic device 600. Processor 601, ROM 602, and RAM 603 are interconnected via bus 604. Processor 601 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 602 and / or RAM 603. It should be noted that the programs may also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.

[0212] According to embodiments of this disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to a bus 604. The electronic device 600 may also include one or more of the following components connected to the I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 610 as needed so that computer programs read from it can be installed into the storage section 608 as needed.

[0213] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0214] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 602 and / or RAM 603 and / or one or more memories other than ROM 602 and RAM 603 described above.

[0215] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods provided in the embodiments of this disclosure.

[0216] When the computer program is executed by the processor 601, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0217] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 609, and / or installed from the removable medium 611. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0218] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0219] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0220] 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 this disclosure. 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.

[0221] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0222] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A method for testing a USB security token, comprising: Control the initial clicker corresponding to the U-shield to perform a click operation on the U-shield, and obtain the click operation execution result, which includes the first click operation execution result; If the result of the click operation indicates that the initial clicker is abnormal, a first reset operation is performed on the initial clicker to obtain a target clicker that passes the test; The U-shield image information is subjected to image compliance detection to obtain the image acquisition execution result, wherein the U-shield image is obtained by the initial image acquisition device corresponding to the U-shield performing image acquisition operation on the U-shield; If the image acquisition execution result indicates that the initial image acquisition device is malfunctioning, a second reset operation is performed on the initial image acquisition device to obtain a target image acquisition device that passes the test; and The U-shield was tested for transaction functionality using the target clicker and the target image capture device. The control of the initial clicker corresponding to the U-shield to perform a click operation on the U-shield, and the result of the click operation execution includes: Control the initial clicker corresponding to the U-shield to perform click operations on the function keys of the U-shield; Obtain the transaction attribute information generated by the U-shield in response to the click operation; and The transaction attribute information is matched with the preset transaction attribute information corresponding to the function button to obtain the execution result of the first click operation.

2. The method according to claim 1, wherein, Before the initial clicker corresponding to the USB key performs a click operation on the USB key, the USB key testing method further includes: Perform consistency verification on the initial digital certificate stored in the U-shield to obtain the consistency verification result; and If the consistency verification result indicates an anomaly between the initial digital certificate and the preset digital certificate associated with the U-shield, the initial digital certificate is replaced with the preset digital certificate to obtain a new U-shield storing the preset digital certificate.

3. The method according to claim 1, wherein, The first reset operation includes a first position reset operation, which represents an operation that changes the positional relationship of the initial clicker; Wherein, the step of performing a first reset operation on the initial clicker to obtain a qualified target clicker when the click operation execution result indicates that the initial clicker is abnormal includes: If the transaction attribute information represented by the first click operation does not match the preset transaction attribute information corresponding to the function button, the robotic arm is controlled to perform the first position reset operation on the initial clicker until the initial clicker moves to the preset clicker position to obtain the target clicker.

4. The method according to claim 1, wherein, The result of the click operation includes the result of the second click operation. The control of the initial clicker corresponding to the U-shield to perform a click operation on the U-shield, and the result of the click operation execution includes: Control the initial clicker corresponding to the USB key to perform click operations on the function keys of the USB key; and In response to the failure to detect transaction attribute information sent from the U-shield within a preset time threshold, the execution result of the second click operation is generated.

5. The method according to claim 4, wherein, The first reset operation includes a first restart operation; Wherein, the step of performing a first reset operation on the initial clicker to obtain a qualified target clicker when the click operation execution result indicates that the initial clicker is abnormal includes: If the result of the click operation is the same as the result of the second click operation, the first restart operation is performed on the initial clicker to obtain the target clicker.

6. The method according to claim 1, wherein, The first surface of the U-shield is provided with N edge markers, which are used to characterize the edge position of the first surface. The image acquisition execution result includes the marker recognition result, where N is a positive integer greater than 1. The second reset operation includes a second restart operation. The image compliance detection of the U-shield image information to obtain the image acquisition execution result includes: Edge marker recognition is performed on the U-shield image information to obtain the marker recognition result; Wherein, the step of performing a second reset operation on the initial image acquirer to obtain a qualified target image acquirer when the image acquisition execution result indicates that the initial image acquirer is abnormal includes: If the number of edge markers identified by the marker recognition result is zero, the second restart operation is performed on the initial image collector to obtain the target image collector.

7. The method according to claim 6, wherein, The second reset operation also includes a second position reset operation; The step of performing a second reset operation on the initial image acquirer to obtain a qualified target image acquirer when the image acquisition execution result indicates that the initial image acquirer is abnormal, further includes: When the identification result indicates that the number of edge identifiers identified is M, the robotic arm is controlled to perform the second position reset operation on the initial image collector until the initial image collector moves to the preset collector position to obtain the target image collector, where M is a positive integer less than N.

8. The method according to claim 1, wherein, Before performing a functional test on the USB key using the target clicker and the target image capture device, the USB key testing method further includes: Perform a U-shield reset connection operation on the U-shield; The process of resetting the USB token includes: Install a preset U-shield driver in the U-shield; and / or The robotic arm is controlled to perform a plug-in / plug-out operation on the USB shield, wherein the plug-in / plug-out operation is suitable for resetting the communication connection status of the USB shield.

9. A U-shield testing device, comprising: The click operation module is used to control the initial clicker corresponding to the U-shield to perform a click operation on the U-shield and obtain the click operation execution result, which includes the first click operation execution result. The first reset module is used to perform a first reset operation on the initial clicker when the click operation execution result indicates that the initial clicker is abnormal, so as to obtain a target clicker that passes the test. The compliance detection module is used to perform image compliance detection on the U-shield image information and obtain the image acquisition execution result. The U-shield image is obtained by the initial image acquisition device corresponding to the U-shield after performing image acquisition operation on the U-shield. The second reset module is configured to perform a second reset operation on the initial image acquirer if the image acquisition execution result indicates that the initial image acquirer is performing abnormally, thereby obtaining a target image acquirer that passes the test; and The transaction function testing module is used to perform transaction function testing on the U-shield using the target clicker and the target image collector; The click operation module includes: The first click operation unit is used to control the initial clicker corresponding to the U-shield to perform click operations on the function keys of the U-shield; The first acquisition unit is used to acquire transaction attribute information generated by the U-shield in response to the click operation; The first matching unit is used to match the transaction attribute information with the preset transaction attribute information corresponding to the function button to obtain the execution result of the first click operation.

10. An electronic device, comprising: One or more processors; 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 perform the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 8.

12. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method for issuing digital certificate

    CN101645889A

  • USB key display information acquisition method and device applied to USB key test, equipment, medium and program product

    CN114115628A