CN115689561A - U shield testing method, device, equipment and medium - Google Patents

U shield testing method, device, equipment and medium Download PDF

Info

Publication number
CN115689561A
CN115689561A CN202210924658.6A CN202210924658A CN115689561A CN 115689561 A CN115689561 A CN 115689561A CN 202210924658 A CN202210924658 A CN 202210924658A CN 115689561 A CN115689561 A CN 115689561A
Authority
CN
China
Prior art keywords
shield
initial
clicker
execution result
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210924658.6A
Other languages
Chinese (zh)
Inventor
侯文龙
杨洋
刘康婷
张玉娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210924658.6A priority Critical patent/CN115689561A/en
Publication of CN115689561A publication Critical patent/CN115689561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a U shield testing method which is applied to the fields of computers and financial science and technology. The method comprises the following steps: controlling an initial clicker corresponding to the U shield to execute a click operation on the U shield to obtain a click operation execution result; under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, executing first reset operation on the initial clicker to obtain a target clicker; performing image compliance detection on the U shield image information to obtain an image acquisition execution result, wherein the U shield image is obtained after an initial image acquisition device corresponding to the U shield performs image acquisition operation on the U shield; under the condition that the image acquisition execution result represents that the initial image collector executes abnormity, executing second reset operation on the initial image collector to obtain a target image collector; and executing a transaction function test on the U shield by using the target clicker and the target image collector. The disclosure also provides a U shield testing device, equipment, a storage medium and a program product.

Description

U shield testing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technology and the field of financial technology, and in particular, to a method, an apparatus, a device, a medium, and a program product for testing a U-shield.
Background
In a business application system provided by a financial enterprise such as a bank, a U shield is generally provided as an identification for authenticating a transaction client in order to ensure security of transactions and prevent impersonation for business transactions involving account change. With the continuous increase of the service scale, the number of issued U shields is increased rapidly, and with the continuous increase of the version iteration speed of the U shields, the test efficiency of the test work for a large number of U shields becomes an important factor influencing the iteration of the U shield versions.
The inventor finds that in the process of testing a large number of U shields, the U shield with a test fault is difficult to determine quickly, so that the test efficiency of the U shield is low, and the actual U shield test requirements cannot be met.
Disclosure of Invention
In view of the above, the present disclosure provides a U-shield testing method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, a U shield testing method is provided, including:
controlling an initial clicker corresponding to the U shield to execute a click operation on the U shield to obtain a click operation execution result;
under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, executing a first reset operation on the initial clicker to obtain a target clicker which is qualified in test;
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 acquisition device corresponding to the U shield performs image acquisition operation on the U shield;
under the condition that the image acquisition execution result represents that the initial image collector is abnormal in execution, executing second reset operation on the initial image collector to obtain a target image collector qualified in test; and
and executing a transaction function test on the U shield by using the target clicker and the target image collector.
According to an embodiment of the present disclosure, before the controlling the initial clicker corresponding to the U shield performs the click operation on the U shield, the U shield testing method further includes:
carrying out consistency verification on the initial digital certificate stored in the U shield to obtain a consistency verification result; and
and under the condition that the consistency verification result represents that the initial digital certificate and a preset digital certificate associated with the U shield are abnormally matched, replacing the initial digital certificate with the preset digital certificate to obtain a new U shield in which the preset digital certificate is stored.
According to an embodiment of the present disclosure, the click operation execution result includes a first click operation execution result;
the method for controlling the initial clicker corresponding to the U shield to execute the click operation on the U shield to obtain the click operation execution result comprises the following steps:
controlling an initial clicker corresponding to the U shield to execute click operation on the function keys of the U shield;
acquiring transaction attribute information generated by the U shield in response to the click operation; and
and matching the transaction attribute information with preset transaction attribute information corresponding to the function key to obtain the first click operation execution result.
According to an embodiment of the present disclosure, the first reset operation includes a first position reset operation, and the first position reset operation represents an operation of changing a positional relationship of the initial clicker;
wherein, under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, executing a first reset operation on the initial clicker to obtain a target clicker which is qualified in test comprises:
and under the condition that the transaction attribute information represented by the first clicking operation execution result is not matched with the preset transaction attribute information corresponding to the function key, controlling a mechanical arm to execute the first position resetting operation on the initial clicker until the initial clicker moves to a preset clicker position, and obtaining the target clicker.
According to an embodiment of the present disclosure, the click operation execution result includes a second click operation execution result;
the controlling of the initial clicker corresponding to the U shield to perform the click operation on the U shield to obtain the click operation execution result includes:
controlling an initial clicker corresponding to the U shield to execute clicking operation on the function keys of the U shield; and
and generating the second click operation execution result in response to that the transaction attribute information sent by the U shield cannot be detected within a preset time threshold.
According to an embodiment of the present disclosure, the first reset operation includes a first restart operation;
wherein, when the click operation execution result represents that the initial clicker is abnormal, executing a first reset operation on the initial clicker to obtain a target clicker qualified in the test comprises:
and executing the first restarting operation on the initial clicker to obtain the target clicker under the condition that the click operation execution result is the second click operation execution result.
According to an embodiment of the present disclosure, N edge markers are disposed on a first surface of the U shield, the edge markers are used to represent edge positions of the first surface, the image acquisition execution result includes a marker recognition result, N is a positive integer greater than 1, and the second reset operation includes a second restart operation;
the image compliance detection of the U shield image information is carried out, and the image acquisition execution result is obtained by the method comprising the following steps:
performing edge identification on the U shield image information to obtain an identification result;
wherein, the executing the second reset operation on the initial image collector to obtain the qualified target image collector under the condition that the image collection executing result represents that the initial image collector executes abnormity comprises:
and under the condition that the number of the edge identifiers obtained by the identifier identification result representation identification is zero, executing the second restart operation on the initial image collector to obtain the target image collector.
According to an embodiment of the present disclosure, the above-mentioned second reset operation further includes a second position reset operation;
wherein, the performing the second reset operation on the initial image collector under the condition that the image collection performing result represents that the initial image collector performs exception, and obtaining the target image collector qualified in the test further comprises:
and under the condition that the number of the edge identifications obtained by the identification result representation identification is M, controlling a mechanical arm to execute the second position resetting operation on the initial image collector until the initial image collector moves to a preset collector position to obtain the target image collector, wherein M is a positive integer smaller than N.
According to an embodiment of the present disclosure, before the target clicker and the target image collector are used to perform a function test on the U-shield, the U-shield testing method further includes:
executing a U shield reset connection operation on the U shield;
wherein, executing the U shield reset operation on the U shield comprises:
installing a preset U shield driving program in the U shield; and/or
And controlling the mechanical arm to execute plugging operation on the U shield, wherein the plugging operation is suitable for resetting the communication connection state of the U shield.
A second aspect of the present disclosure provides a U shield testing apparatus, including:
the system comprises a clicking operation module, a display module and a display module, wherein the clicking operation module is used for controlling an initial clicker corresponding to a U shield to execute clicking operation on the U shield to obtain a clicking operation execution result;
the first resetting module is used for executing a first resetting operation on the initial clicker under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, so as to obtain a target clicker which is qualified in test;
the device comprises a compliance detection module, a data acquisition module and a data processing module, wherein the compliance detection module is used for carrying out image compliance detection on U shield image information to obtain an image acquisition execution result, and the U shield image is obtained after an initial image acquisition device corresponding to the U shield executes image acquisition operation on the U shield;
the second resetting module is used for executing second resetting operation on the initial image collector under the condition that the image collection execution result represents that the initial image collector is abnormal in execution, so as to obtain a target image collector qualified in test; and
and the transaction function testing module is used for executing transaction function testing on the U shield by utilizing the target clicker and the target image collector.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the U shield testing method.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the U shield testing method described above.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the U-shield testing method described above.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, taken in conjunction with the accompanying drawings of which:
fig. 1 schematically illustrates an application scenario diagram of a U-shield testing method and apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a method for testing a Ushield according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flowchart for controlling an initial clicker corresponding to a U shield to perform a click operation on the U shield, so as to obtain a click operation execution result, according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a schematic view of a U shield according to an embodiment of the disclosure;
fig. 5 schematically shows a block diagram of a U shield testing apparatus according to an embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of an electronic device adapted to implement the U-shield testing method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
In those instances where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.).
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure, application and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations, necessary confidentiality measures are taken, and the customs of the public order is not violated.
In the technical scheme of the disclosure, before the personal information of the user is obtained or collected, the authorization or the consent of the user is obtained.
In the related art, the U shield is usually tested in a U shield centralized manufacturing and centralized deployment mode, that is, the U shield testing equipment is deployed in a cloud manner to form an intensive testing mode so as to improve the testing efficiency. Because a large amount of U shield equipment are uniformly distributed in the U shield test cabinet, the U shield is connected with the routing drive equipment, the U shield button clicking equipment (namely a clicker) and the U shield display information acquisition equipment (namely an image acquisition device), and the U shield is in communication connection with the test computer, so that the functions of testing the buttons of the U shield, the display information in the U shield and the like are realized.
However, when the U shield to be tested has a communication connection fault and a hardware fault, and the clicker and the image collector for executing the test have faults, a large number of U shields are concentrated in the U shield test cabinet of the machine room for deployment, so that it is difficult to quickly find the U shield or the U shield test equipment having faults, and the test efficiency of the U shield test is affected.
The embodiment of the disclosure provides a U shield testing method, which comprises the following steps:
controlling an initial clicker corresponding to the U shield to execute a click operation on the U shield to obtain a click operation execution result; under the condition that the execution result of the clicking operation represents that the initial clicker is abnormal in execution, executing a first reset operation on the initial clicker to obtain a target clicker which is qualified in test; performing image compliance detection on the U shield image information to obtain an image acquisition execution result, wherein the U shield image is obtained after an initial image acquisition device corresponding to the U shield performs image acquisition operation on the U shield; under the condition that the image acquisition execution result represents that the initial image collector is abnormal in execution, executing second reset operation on the initial image collector to obtain a target image collector qualified in test; and executing a transaction function test on the U shield by using the target clicker and the target image collector.
According to the embodiment of the disclosure, an initial clicker is controlled to execute a click operation on a U shield to be tested, a click operation execution result can be obtained, and under the condition that the click operation execution result is abnormal, a first reset operation is executed on the initial clicker so as to reset the initial clicker, and an obtained target clicker can normally execute the click operation on the U shield. And then, the transaction function test is executed on the U shield by using the target clicker and the target collector, so that the operation execution accuracy of test equipment such as the clicker and the image collector can be improved at least partially, and the test efficiency of the transaction function test executed on the U shield can be improved.
Fig. 1 schematically shows an application scenario diagram of a U shield testing method and device according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, a server 105, and a U-shield test room 110. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 101, 102, 103 to interact with a server 105 over a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The backend management server may analyze and process the received data such as the user request, and feed back a processing result (for example, a web page, information, or data obtained or generated according to the user request) to the terminal device.
The U shield test machine room 110 can include a U shield test cabinet 111, the U shield test cabinet 111 can be provided with a test interface for communication connection with the U shield, and the U shield can be connected with the corresponding test interface according to the U shield number of the U shield. The U shield test cabinet 111 can communicate with the terminal devices 101, 102, 103 and the server 105 through the network 104, for example, the U shield test cabinet 111 can receive an operation instruction from the terminal device 102 through the network 104, and can also send communication information such as pictures and messages to the terminal device 102.
The target area Q111 of the U-shield test cabinet 111 may include a U-shield 121, a pointing device 122, and an image collector 123. The clicker 122 can execute a click operation on a button or a touch display screen of the U-shield according to a control instruction or a related execution program, and the image collector 123 can collect image information of the U-shield including the U-shield.
It should be noted that the U shield testing method provided by the embodiment of the present disclosure may be generally executed by the terminal devices 101, 102, and 103. Accordingly, the U shield testing device provided by the embodiment of the present disclosure can be generally disposed in the terminal devices 101, 102, and 103. In addition, the U shield testing method provided by the embodiment of the present disclosure may also be executed by the server 105. Correspondingly, the U shield testing apparatus provided by the embodiment of the present disclosure may also be disposed in the server 105. The U-shield testing method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the U shield testing apparatus provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the numbers of terminal devices, networks, servers, U-shield test cabinets, U-shields, clickers, and image collectors in fig. 1 are merely illustrative. According to the implementation requirement, any number of terminal devices, networks, servers, U shield test cabinets, U shields, clickers and image collectors can be provided. Correspondingly, the position relationship and the connection relationship of the U shield test cabinet, the U shield, the clicker and the image collector in fig. 1 are not limited to the mode shown in fig. 1, and those skilled in the art can design according to actual requirements.
The U shield testing method of the disclosed embodiment will be described in detail below by using fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 2, the U shield testing method of this embodiment includes operations S210 to S250.
In operation S210, the initial clicker corresponding to the U shield is controlled to perform a click operation on the U shield, so as to obtain a click operation execution result.
According to an embodiment of the present disclosure, the initial clicker may include a device or an apparatus for performing an operation on an operating apparatus of the U shield, which may be, for example, a key provided on the U shield, or may also be a touchable display screen installed on the U shield.
It should be noted that the initial clicker needs to have a corresponding relationship with the U shield, so that the initial clicker can be controlled to perform a click operation on the U shield by sending a click operation instruction or sending a control signal to the initial clicker corresponding to the U shield.
In operation S220, under the condition that 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 target clicker that is qualified in the test.
According to the embodiment of the disclosure, the click operation result may be a comparison result of operation information actually generated by the U shield after responding to the execution of the click operation and preset operation information expected to be generated by the U shield after responding to the click operation, so that the execution abnormal condition of the initial clicker may be determined through the comparison result of the operation information actually generated and the preset operation information expected to be generated.
According to an embodiment of the present disclosure, the first reset operation may include an operation for eliminating an execution exception condition of the initial clicker, the first restart operation may include a software update class operation such as restart, an update operation execution program, or a hardware update class operation such as replacement clicker, movement of clicker position, or the like.
It should be understood that a person skilled in the art may design the specific operation manner of the first reset operation according to practical requirements, and the embodiment of the disclosure does not limit the specific operation manner of the first reset operation.
In operation S230, performing image compliance detection on the U-shield image information to obtain an image acquisition execution result, where the U-shield image is obtained after the initial image acquirer corresponding to the U-shield performs an image acquisition operation on the U-shield.
According to the embodiment of the disclosure, the image compliance detection may include detecting compliance of information such as image quality and image content of the U-shield image information, and by performing the image compliance detection on the U-shield image information, the execution condition of the initial image collector in the U-shield test process may be detected by using the obtained image collection execution result.
In operation S240, under the condition that the image capturing execution result indicates that the initial image capturing device is abnormal, a second reset operation is performed on the initial image capturing device to obtain a target image capturing device that is qualified in the test.
According to the embodiment of the disclosure, the second reset operation may include an operation for eliminating an execution exception condition of the initial image collector, the second restart operation may also include a software update class operation such as a restart, an update operation execution program, or a hardware update class operation such as a replacement of the image collector, a moving of the position of the image collector, or the like.
It should be understood that, a person skilled in the art may design a specific operation manner of the second resetting operation according to actual requirements, and the embodiment of the disclosure does not limit the specific operation manner of the second resetting operation.
In operation S250, a transaction function test is performed on the U-shield using the target clicker and the target image collector.
According to the embodiment of the disclosure, an initial clicker is controlled to execute a click operation on a U shield to be tested, a click operation execution result can be obtained, and under the condition that the click operation execution result is abnormal, a first reset operation is executed on the initial clicker so as to reset the initial clicker, and an obtained target clicker can normally execute the click operation on the U shield. And then, the target clicker and the target collector are used for executing the transaction function test on the U shield, so that the operation execution accuracy of test equipment such as the clicker and the image collector can be improved at least partially, and the test efficiency of executing the transaction function test on the U shield can be improved.
According to an embodiment of the present disclosure, before controlling the initial clicker corresponding to the U shield to perform a clicking operation on the U shield in operation S210, the U shield testing method of the embodiment may further include the following operations:
carrying out consistency verification on the initial digital certificate stored in the U shield to obtain a consistency verification result; and under the condition that the consistency verification result represents that the initial digital certificate and the preset digital certificate associated with the U shield are matched abnormally, replacing the initial digital certificate with the preset digital certificate to obtain a new U shield stored with the preset digital certificate.
According to embodiments of the present disclosure, a digital certificate may be a document, code, or the like used to verify user identity information in a transaction. Based on the requirement of the U shield on transaction security, each U shield needs to store a unique digital certificate, namely the U shield number of the U shield and the digital certificate stored in the U shield need to have a matching relationship.
According to an embodiment of the present disclosure, the performing consistency verification on the initial digital certificate stored in the U shield may include detecting, by related instructions or programs, whether the initial digital certificate currently stored in the U shield is consistent with a preset digital certificate configured for the U shield. Under the condition that the initial digital certificate is consistent with the preset digital certificate, the initial digital certificate and the preset digital certificate can be determined to be normally matched. In the case that the initial digital certificate is inconsistent with the preset digital certificate, it may be determined that the initial digital certificate is abnormally matched with the preset digital certificate.
For example, the preset digital certificate configured for the U shield with the U shield number 100003 is 2ABC1113, but it can be determined that the initial digital certificate matches with the preset digital certificate abnormally by detecting that the initial digital certificate actually stored in the U shield is 2ABC 1111.
It should be noted that after the initial digital certificate in the U shield is replaced with the preset digital certificate, consistency verification may be performed on the initial digital certificate stored in the U shield again, and when the consistency verification performed for multiple cycles (for example, 3 times) represents an abnormality, a consistency verification abnormality result may be recorded to form an error log for relevant operation and maintenance personnel to quickly determine the U shield with the fault, so as to improve the repair efficiency for the U shield fault.
According to the embodiment of the disclosure, the corresponding relationship between the initial clicker and the initial image collector and the U shield can be verified according to the number of the U shield, so that the initial clicker and/or the initial image collector can be determined to execute the test on the corresponding target U shield. The U shield number can be arranged on a first surface of the U shield, for example, on the same surface as the U shield display screen.
For example, the corresponding relationship between the clicker, the image collector and the U-shield can be configured through table 1. Sending an image acquisition instruction to the image acquirer B1, and acquiring first U shield image information with a U shield number of 100001 by the image acquirer B1 according to the configuration relation in the table 1. According to the related image identification technology, a U shield number in the first U shield image information can be identified, and when the identification result is 100001, it can be determined that the installation position of the image collector B1 corresponds to the position with the U shield number of 100001. When the identification result is 100003, it can be determined that the installation position of the image collector B1 corresponds to the position with the U shield number of 100003, so that the identification result can be recorded in a related log for related operation and maintenance personnel to quickly eliminate the fault.
TABLE 1
Figure BDA0003778154610000121
For another example, a click operation control instruction may be sent to the clicker A1, and the clicker A1 may perform a click operation on a U shield function key (e.g., a determination key) with a U shield number of 100001, where an expected display result of the U shield in the display screen may be "transaction success". Then, an image collector B1 is used to collect second U shield image information with a U shield number of 100001, and a related image identification technology is used to identify the U shield number in the second U shield image information, so that in the case that the U shield number is 100001, it can be determined that the installation position of the clicker A1 corresponds to the position of the U shield.
In the case that the U shield number in the second U shield image information is 100003, an error of the installation position of the clicker A1 or the U shield may be determined, so that the identification result may be recorded in an error log, so that the relevant operation and maintenance personnel may quickly troubleshoot the fault, for example, the configuration relationship in table 1 may be updated or the U shield placement position may be changed.
It should be understood that the U shield number may include a unique identifier assigned to the U shield for characterizing the uniqueness of the U shield.
According to an embodiment of the present disclosure, the click operation execution result includes a first click operation execution result.
Fig. 3 schematically shows a flowchart for controlling an initial clicker corresponding to a U shield to perform a click operation on the U shield, so as to obtain a click operation execution result according to an embodiment of the present disclosure.
As shown in fig. 3, in operation S210, controlling the initial clicker corresponding to the U shield to perform a click operation on the U shield, and obtaining a click operation execution result may include operations S310 to S330.
In operation S310, an initial clicker corresponding to the U shield is controlled to perform a clicking operation on a function key of the U shield.
In operation S320, transaction attribute information generated by the U shield in response to the click operation is acquired.
In operation S330, the transaction attribute information is matched with the preset transaction attribute information corresponding to the function key to obtain a first click operation execution result.
According to an embodiment of the present disclosure, the function key may be, for example, a confirmation key, a movement operation key, or the like. The embodiment of the disclosure does not limit the specific type of the function key, as long as the U shield can generate the transaction attribute information by detecting the operation of the function key.
According to an embodiment of the present disclosure, the transaction attribute information may include information related to the transaction process, for example, transaction success, transaction failure, transaction authorization information, transaction type information, and the like.
It should be understood that the function keys of the U shield may have a unique correspondence with the generated transaction attribute information.
For example, the function keys installed on the U shield may include a confirmation key and a return key, the initial clicker performs a first click operation on the confirmation key of the U shield according to the operation instruction, the U shield responds to the first click operation of the confirmation key, the expected generated preset transaction attribute information may be "transaction success", and in the case that it is detected that the transaction attribute information actually generated by the U shield is "transaction cancel", it may be obtained that the execution result of the first click operation is not matched.
According to an embodiment of the present disclosure, the first reset operation includes a first position reset operation, the first position reset operation characterizing an operation of changing a positional relationship of the initial clicker.
In operation S220, when the click operation execution result indicates that the initial clicker is abnormal, a first reset operation is performed on the initial clicker, and obtaining a target clicker that is qualified in the test may include the following operations:
and under the condition that the first click operation execution result represents that the transaction attribute information is not matched with the preset transaction attribute information corresponding to the function key, controlling the mechanical arm to execute a first position resetting operation on the initial clicker until the initial clicker moves to the preset clicker position to obtain the target clicker.
According to the embodiment of the disclosure, under the condition that the first click operation execution result represents that the transaction attribute information is not matched with the preset transaction attribute information corresponding to the function key, the offset of the installation position of the initial clicker can be preliminarily determined, so that the initial clicker can be moved to the preset clicker position by sending a control instruction to the mechanical arm, the clicker can be enabled to correspond to the function key of the U shield by the target clicker at the preset clicker position, and the fault of the clicker can be rapidly discharged.
According to the embodiment of the disclosure, under the condition that the first click operation execution result represents that the transaction attribute information is not matched with the preset transaction attribute information corresponding to the function key, the U shield can be moved to the preset U shield position by sending a control instruction to the mechanical arm, and the preset U shield position can enable the target clicker to correspond to the function key of the U shield, so that the fault of the clicker is rapidly eliminated from the other side.
According to an embodiment of the present disclosure, the click operation execution result includes a second click operation execution result.
In operation S210, the step of controlling the initial clicker corresponding to the U shield to perform a click operation on the U shield to obtain a click operation execution result may include the following operations:
controlling an initial clicker corresponding to the U shield to execute click operation on a function key of the U shield; and responding to the fact that the transaction attribute information sent by the U shield cannot be detected within the preset time threshold, and generating a second click operation execution result.
According to the embodiment of the disclosure, under the condition that the transaction attribute information sent by the U shield cannot be detected within the preset time threshold, the functional key of the U shield can be determined to have a fault or the U shield has a fault, so that the problem U shield can be rapidly checked, and the test efficiency of the U shield is improved.
The preset time threshold may be set according to the transaction attribute information generation time length of the U-shield, and may be set to, for example, 5s,20s, and the like. The specific duration of the preset time threshold is not limited in the embodiments of the present disclosure, and those skilled in the art can design the time threshold according to actual requirements.
According to an embodiment of the present disclosure, the first reset operation includes a first restart operation.
In operation S220, when the click operation execution result indicates that the initial clicker is abnormal, a first reset operation is performed on the initial clicker, and obtaining a target clicker that is qualified in the test may include the following operations:
and under the condition that the click operation execution result is a second click operation execution result, executing a first restarting operation on the initial clicker to obtain a target clicker.
According to the embodiment of the disclosure, the first restart operation may include restarting the initial clicker, or may further include resetting configuration information such as a control program of the initial clicker, so that a fault of the initial clicker may be eliminated, and the target clicker that is qualified in the test may normally perform the click operation for the U shield.
According to the embodiment of the disclosure, the U shield can be restarted by controlling the mechanical arm to plug and unplug the U shield again, so that fault factors such as connection failure of the U shield can be eliminated.
It should be noted that the transaction attribute information generated by the U shield may be the content of the transaction attribute information generated in the display screen of the U shield, but is not limited thereto, and the transaction attribute information generated by the U shield may also be a data packet, a data stream, and the like, and the related detection device may determine whether the transaction attribute information matches the preset transaction attribute information by processing the transaction attribute information.
According to the embodiment of the disclosure, the first surface of the U shield is provided with N edge marks, the edge marks are used for representing edge positions of the first surface, the image acquisition execution result comprises a mark recognition result, N is a positive integer greater than 1, and the second reset operation comprises a second reset operation.
Operation S230, performing image compliance detection on the U-shield image information, and obtaining an image acquisition execution result may include the following operations:
and carrying out edge identification on the U shield image information to obtain an identification result.
In operation S240, when the image capturing execution result indicates that the initial image capturing device is abnormal, performing a second reset operation on the initial image capturing device to obtain a target image capturing device that is qualified in the test may include the following operations:
and under the condition that the number of the edge identifications obtained by the identification result representation identification is zero, executing a second restart operation on the initial image collector to obtain a target image collector.
According to the embodiment of the disclosure, the first surface of the U shield can comprise the surface of the U shield on which the display screen is installed, the edge mark is arranged at the edge position of the first surface, so that whether the U shield deviates from the preset installation position or not can be judged conveniently by identifying the mark identification result of the edge mark in the image of the U shield, and meanwhile, whether the installation position of the initial image collector can meet the requirement of collecting all image information of the U shield or not can be quickly determined, and therefore the whole process of the U shield test can be monitored conveniently.
According to the embodiment of the disclosure, under the condition that the number of the edge identifiers obtained by the identifier identification result representation identification is zero, it can be determined that the initial image collector cannot collect the U-shield image information due to a fault, a second restart operation is performed on the initial image collector, and the fault of the initial image collector can be preliminarily eliminated, so that the obtained target image collector can normally perform image collection operation.
It should be understood that after the initial image collector is executed with the second restart operation, if the initial image collector still cannot collect the U-shield image information, the number of the initial image collector may be recorded, so that the relevant operation and maintenance personnel may be notified to remove the fault in time.
It should be noted that the edge identifier may include characters, numbers, letters, and other symbols, and the specific content of the edge identifier is not limited in the embodiments of the present disclosure.
According to an embodiment of the present disclosure, the second reset operation may further include a second position reset operation.
Operation S240, when the image capturing execution result indicates that the initial image capturing device is abnormal, performing a second reset operation on the initial image capturing device, and obtaining a target image capturing device that is qualified in the test may further include the following operations:
and under the condition that the number of the edge identifiers obtained by the identifier identification result representation identification is M, controlling the mechanical arm to execute second position resetting operation on the initial image collector until the initial image collector moves to the preset collector position to obtain a target image collector, wherein M is a positive integer smaller than N.
According to the embodiment of the disclosure, under the condition that the number of the edge identifications obtained by the identification result representation identification is M, the number of the edge identifications obtained by the identification in the U shield image information can be determined to be less than the actual number of the edge identifications, so that the position offset of the initial image collector can be preliminarily determined, the collected U shield image information cannot record all images of the U shield, and the fault reason of the initial image collector can be rapidly determined.
According to the embodiment of the disclosure, the mechanical arm is controlled to move the initial image collector to the preset collector position, so that the fault of the initial image collector can be timely eliminated, the fault rate of the image collector in the subsequent transaction function testing process is at least partially reduced, and the overall testing efficiency of the U shield testing is improved.
It should be noted that the identification result may be realized by an image recognition method in the related art, for example, the image recognition method constructed based on the neural network model performs image recognition on the U-shield image information to obtain the identification result. However, the method is not limited to this, and other methods may also be used to identify the edge identifier in the U-shield image information, for example, an image matching method, and the like.
Fig. 4 schematically shows a schematic view of a U-shield according to an embodiment of the disclosure.
As shown in fig. 4, the U shield 400 of this embodiment may include a display screen 410, function keys 421, 422, 423, 424, and a U shield number 430. Function key 421 may be a return key, and function key 422 may be an enter key.
Edge marks T411, T412, T413 may be provided at corner edges of the first surface of the U shield 400 in the present embodiment.
Under the condition that the number of the edge identifications obtained by the identification result representation identification is 3, the number of the edge identifications obtained by the identification in the U shield image information can be determined to be less than the actual number of the edge identifications, so that the position offset of the initial image collector can be preliminarily determined, the collected U shield image information cannot record all images of the U shield 400, and the fault reason of the initial image collector can be rapidly determined.
Under the condition that the number of the edge identifications obtained by the identification result representation identification is zero, namely under the condition that any edge identification cannot be identified by the identification result, the situation that the initial image collector cannot collect the image information of the U shield 400 due to a fault can be determined, the initial image collector is restarted, the fault of the initial image collector can be preliminarily eliminated, and therefore the obtained target image collector can normally execute image collection operation.
It should be noted that the number and the setting position of the edge marks in fig. 4 are only schematic, and any number of edge marks may be provided according to implementation needs, or any number of edge marks may be set at any edge position, and those skilled in the art may design according to actual requirements.
According to an embodiment of the disclosure, before the transaction function test is performed on the U shield by using the target clicker and the target image collector in operation S250, the U shield testing method of the embodiment may further include the following operations.
And executing the U shield reset connection operation on the U shield.
According to an embodiment of the present disclosure, performing a U shield reset operation on a U shield may include:
installing a preset U shield driving program in a U shield; and/or
And controlling the mechanical arm to execute plugging operation on the U shield, wherein the plugging operation is suitable for resetting the communication connection state of the U shield.
According to the embodiment of the disclosure, before the transaction function test is performed on the U shield by using the target clicker and the target image collector, the faults of the initial clicker and the initial image collector can be preliminarily eliminated by using the U shield test method in the embodiment, so that the target clicker and the target image collector which are qualified in the test are obtained. The connection state of the U shield and the related test equipment can be tested by executing the U shield reset connection operation on the U shield, so that the transaction function test can be smoothly carried out.
According to the embodiment of the disclosure, installing the preset U shield driver in the U shield may include uninstalling the driver in the U shield through the USB device of the test system and reinstalling the preset U shield driver, or may also directly install the preset U shield driver to the U shield.
According to the embodiment of the disclosure, the mechanical arm can be further controlled to perform plugging and unplugging operations on the U shield, that is, the U shield can be pulled out from the related test equipment, and the state reset of the U shield is realized in a mode of inserting the U shield.
It should be noted that, after the U shield reset connection operation is performed on the U shield, the U shield testing method in the above embodiment may be performed again until the clicker, the collector, and the U shield are tested to be qualified, and then the service script is run to perform the transaction function test on the U shield. If the service script fails to be executed due to the fault problem of the target clicker, the target collector or the U shield in the subsequent transaction function test process, the U shield test method in the embodiment can be re-executed so as to confirm the fault problem in time and eliminate the fault problem in time.
According to an embodiment of the present disclosure, the U shield testing method may further include the following operations:
and recording the click operation execution result and/or the image acquisition execution result to form an operation execution log for the U shield.
According to the embodiment of the disclosure, the operation execution log can be represented by, for example, table 2, the operation execution log can record the click operation execution result and/or the image acquisition execution result, and can record the successful execution result of the clicker, the collector and the U shield test through the operation execution log, so that the relevant operation and maintenance personnel can quickly determine the fault reason affecting the U shield test according to the U shield number in the operation execution log, and the overall efficiency of the U shield test is improved.
TABLE 2
Figure BDA0003778154610000191
Based on the U shield testing method, the disclosure also provides a U shield testing device. The apparatus will be described in detail below with reference to fig. 5.
Fig. 5 schematically shows a block diagram of a U shield testing apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the U shield testing apparatus 500 of 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.
The click operation module 510 is configured to control an initial clicker corresponding to the U shield to perform a click operation on the U shield, so as to obtain a click operation execution result.
The first resetting module 520 is configured to, when the click operation execution result indicates that the initial clicker is abnormal in execution, perform a first resetting operation on the initial clicker to obtain a target clicker that is qualified in the test.
The compliance detection module 530 is configured to perform image compliance detection on the U-shield image information to obtain an image acquisition execution result, where 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.
The second resetting module 540 is configured to, when the image acquisition execution result indicates that the initial image acquirer is abnormal in execution, perform a second resetting operation on the initial image acquirer to obtain a target image acquirer that is qualified in the test.
The transaction function testing module 550 is configured to perform a transaction function test on the U shield by using the target clicker and the target image collector.
According to this disclosed embodiment, U shield testing arrangement still includes: a consistency verification module and a replacement module.
The consistency verification module is used for performing consistency verification on the initial digital certificate stored in the U shield to obtain a consistency verification result.
And the replacing module is used for replacing the initial digital certificate by using the preset digital certificate under the condition that the consistency verification result represents that the initial digital certificate and the preset digital certificate associated with the U shield are abnormally matched, so as to obtain a new U shield in which the preset digital certificate is stored.
According to an embodiment of the present disclosure, the click operation execution result includes a first click operation execution result.
The click operation module comprises: the device comprises a first click operation unit, a first acquisition unit and a first matching unit.
The first clicking operation unit is used for controlling an initial clicker corresponding to the U shield to execute clicking operation on the functional keys of the U shield.
The first acquisition unit is used for acquiring transaction attribute information generated by the U shield in response to the click operation.
The first matching unit is used for matching the transaction attribute information with preset transaction attribute information corresponding to the function keys to obtain a first click operation execution result.
According to an embodiment of the present disclosure, the first reset operation includes a first position reset operation, the first position reset operation representing an operation of changing a positional relationship of the initial clicker.
The first reset module includes: a first reset unit.
The first resetting unit is used for controlling the mechanical arm to execute first position resetting operation on the initial clicker under the condition that the first click operation execution result represents that the transaction attribute information is not matched with 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.
According to an embodiment of the present disclosure, the click operation execution result includes a second click operation execution result.
The click operation module comprises: the device comprises a second click operation unit and a first detection unit.
The second click operation unit is used for executing click operation on the function keys of the U shield by the initial clicker corresponding to the U shield.
The first detection unit is used for responding to the fact that the transaction attribute information sent by the U shield cannot be detected within the preset time threshold value, and generating a second click operation execution result.
According to an embodiment of the present disclosure, the first reset operation includes a first restart operation.
The first reset module includes: a second reset unit.
And the second resetting unit is used for executing the first restarting operation on the initial clicker to obtain the target clicker under the condition that the click operation execution result is the second click operation execution result.
According to the embodiment of the disclosure, the first surface of the U shield is provided with N edge marks, the edge marks are used for representing edge positions of the first surface, the image acquisition execution result comprises a mark recognition result, N is a positive integer greater than 1, and the second reset operation comprises a second reset operation.
The compliance detection module includes: a first identification unit.
The first identification unit is used for carrying out edge identification on the U shield image information to obtain an identification result.
The second reset module includes: a first reset unit.
The first resetting unit is used for executing second resetting operation on the initial image collector to obtain the target image collector under the condition that the number of the edge identifications obtained by the identification result representation identification is zero.
According to an embodiment of the present disclosure, the second reset operation further includes a second position reset operation.
The second reset module further includes: a second reset unit.
The second resetting unit is used for controlling the mechanical arm to execute second position resetting operation on the initial image collector under the condition that the number of the edge identifications obtained by identification result representation and identification is M until the initial image collector moves to a preset collector position to obtain a target image collector, wherein M is a positive integer smaller than N.
According to this disclosed embodiment, U shield testing arrangement still includes: the connection module is reset.
The reset connection module is used for executing U shield reset connection operation on the U shield.
Wherein, executing the U shield reset operation on the U shield comprises:
installing a preset U shield driving program in a U shield; and/or
And controlling the mechanical arm to execute plugging and unplugging operation on the U shield, wherein the plugging and unplugging operation is suitable for resetting the communication connection state of the U shield.
According to an embodiment of the present disclosure, 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. Any of the modules may be combined into one module for implementation, or any of the modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present 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 may be at least partially implemented as a hardware circuit, 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 a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the click manipulation module 510, the first reset module 520, the compliance detection module 530, the second reset module 540, and the transaction function testing module 550 may be implemented at least in part as a computer program module that, when executed, may perform a corresponding function.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement the U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601 that 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 section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include on-board memory for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to embodiments of the present disclosure by executing programs in the ROM 602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 600 may also include input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604, according to an embodiment of the disclosure. The electronic device 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 602 and/or RAM 603 described above and/or one or more memories other than the ROM 602 and RAM 603.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated by the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 601. The above described systems, devices, modules, units, etc. may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, downloaded and installed through the communication section 609, and/or installed from the removable medium 611. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609 and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the disclosure, and these alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (13)

1. A U shield testing method comprises the following steps:
controlling an initial clicker corresponding to the U shield to execute a click operation on the U shield to obtain a click operation execution result;
under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, executing a first reset operation on the initial clicker to obtain a target clicker which is qualified in test;
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 acquisition device corresponding to the U shield performs image acquisition operation on the U shield;
under the condition that the image acquisition execution result represents that the initial image collector is abnormal in execution, executing second reset operation on the initial image collector to obtain a target image collector qualified in test; and
and executing a transaction function test on the U shield by utilizing the target clicker and the target image collector.
2. The method of claim 1, wherein before the controlling the initial clicker corresponding to the U shield performs the clicking operation on the U shield, the U shield testing method further comprises:
carrying out consistency verification on the initial digital certificate stored in the U shield to obtain a consistency verification result; and
and under the condition that the consistency verification result represents that the initial digital certificate and a preset digital certificate associated with the U shield are abnormally matched, replacing the initial digital certificate with the preset digital certificate to obtain a new U shield in which the preset digital certificate is stored.
3. The method of claim 1, wherein the click operation execution result comprises a first click operation execution result;
the method comprises the following steps of controlling an initial clicker corresponding to the U shield to execute a click operation on the U shield, and obtaining a click operation execution result, wherein the click operation execution result comprises the following steps:
controlling an initial clicker corresponding to the U shield to execute clicking operation on the function keys of the U shield;
acquiring transaction attribute information generated by the U shield in response to the click operation; and
and matching the transaction attribute information with preset transaction attribute information corresponding to the function key to obtain the first click operation execution result.
4. The method of claim 3, wherein the first reset operation comprises a first position reset operation that characterizes an operation that changes a positional relationship of the initial clicker;
wherein, under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, executing a first reset operation on the initial clicker to obtain a target clicker qualified in test comprises:
and under the condition that the transaction attribute information represented by the first clicking operation execution result is not matched with the preset transaction attribute information corresponding to the function key, controlling a mechanical arm to execute the first position resetting operation on the initial clicker until the initial clicker moves to a preset clicker position, and obtaining the target clicker.
5. The method of claim 1, wherein the click operation execution result comprises a second click operation execution result;
the method comprises the following steps of controlling an initial clicker corresponding to the U shield to execute a click operation on the U shield, and obtaining a click operation execution result, wherein the step of controlling the initial clicker corresponding to the U shield comprises the following steps:
controlling an initial clicker corresponding to the U shield to execute clicking operation on the function keys of the U shield; and
and generating a second click operation execution result in response to that the transaction attribute information sent by the U shield is not detected within a preset time threshold.
6. The method of claim 5, wherein the first reset operation comprises a first reboot operation;
wherein, under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, executing a first reset operation on the initial clicker to obtain a target clicker qualified in test comprises:
and under the condition that the click operation execution result is the second click operation execution result, executing the first restart operation on the initial clicker to obtain the target clicker.
7. The method according to claim 1, wherein N edge identifiers are arranged on a first surface of the U shield, the edge identifiers are used for representing edge positions of the first surface, the image acquisition execution result comprises an identifier recognition result, N is a positive integer greater than 1, and the second reset operation comprises a second reset operation;
the method for detecting the image compliance of the U shield image information to obtain the image acquisition execution result comprises the following steps:
performing edge identification on the U shield image information to obtain an identification result;
wherein, when the image acquisition execution result represents that the initial image collector executes abnormity, executing a second reset operation on the initial image collector to obtain a target image collector qualified in the test, the method comprises:
and under the condition that the number of the edge identifiers obtained by the identifier identification result representation identification is zero, executing the second restart operation on the initial image collector to obtain the target image collector.
8. The method of claim 7, wherein the second reset operation further comprises a second position reset operation;
wherein, when the image acquisition execution result represents that the initial image collector executes abnormity, executing a second reset operation on the initial image collector to obtain a target image collector qualified in the test, further comprises:
and under the condition that the number of the edge identifications obtained by the identification result representation identification is M, controlling a mechanical arm to execute the second position resetting operation on the initial image collector until the initial image collector moves to a preset collector position to obtain the target image collector, wherein M is a positive integer smaller than N.
9. The method of claim 1, wherein before performing a functional test on the U-shield by using the target clicker and the target image collector, the U-shield testing method further comprises:
executing U shield reset connection operation on the U shield;
wherein, executing the U shield reset operation on the U shield comprises:
installing a preset U shield driving program in the U shield; and/or
And controlling the mechanical arm to execute a plugging operation on the U shield, wherein the plugging operation is suitable for resetting the communication connection state of the U shield.
10. A U shield testing device, comprising:
the system comprises a click operation module, a display module and a display module, wherein the click operation module is used for controlling an initial clicker corresponding to a U shield to execute click operation on the U shield to obtain a click operation execution result;
the first resetting module is used for executing a first resetting operation on the initial clicker under the condition that the click operation execution result represents that the initial clicker is abnormal in execution, so as to obtain a target clicker which is qualified in test;
the compliance detection module is used for carrying out 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 acquisition device corresponding to the U shield executes image acquisition operation on the U shield;
the second reset module is used for executing second reset operation on the initial image collector under the condition that the image collection execution result represents that the initial image collector is abnormal in execution, so as to obtain a target image collector qualified in test; and
and the transaction function testing module is used for executing transaction function testing on the U shield by utilizing the target clicker and the target image collector.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-9.
12. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 9.
13. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 9.
CN202210924658.6A 2022-08-02 2022-08-02 U shield testing method, device, equipment and medium Pending CN115689561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210924658.6A CN115689561A (en) 2022-08-02 2022-08-02 U shield testing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210924658.6A CN115689561A (en) 2022-08-02 2022-08-02 U shield testing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115689561A true CN115689561A (en) 2023-02-03

Family

ID=85061320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210924658.6A Pending CN115689561A (en) 2022-08-02 2022-08-02 U shield testing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115689561A (en)

Similar Documents

Publication Publication Date Title
US10310969B2 (en) Systems and methods for test prediction in continuous integration environments
KR102268355B1 (en) Cloud deployment infrastructure validation engine
US10437703B2 (en) Correlation of source code with system dump information
US10185924B1 (en) Security risk response impact analysis
CN113076104A (en) Page generation method, device, equipment and storage medium
CN110727575B (en) Information processing method, system, device and storage medium
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
US20220300395A1 (en) Contextual drill back to source code and other resources from log data
CN108369503A (en) Automatic system response to external field replaceable units (FRU) process
CN109408361A (en) Monkey tests restored method, device, electronic equipment and computer readable storage medium
CN105955838A (en) System halt reason check method and device
US20150302089A1 (en) Recovery of Information from Commercial Web Portals
CN110674426B (en) Webpage behavior reporting method and device
US10291700B2 (en) Network optimized scan with dynamic fallback recovery
CN115689561A (en) U shield testing method, device, equipment and medium
CN114064510A (en) Function testing method and device, electronic equipment and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN114462030A (en) Privacy policy processing and evidence obtaining method, device, equipment and storage medium
CN113592645A (en) Data verification method and device
CN112162954A (en) User operation log generation method, user operation log generation device
US20200202230A1 (en) Cognitive device support for potentially affected devices
CN111026612A (en) Application program operation monitoring method and device, storage medium and electronic equipment
CN111290870A (en) Method and device for detecting abnormity
CN104424090A (en) Crash identifying method, device and system
CN117112063A (en) System date processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination