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

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

Info

Publication number
CN113204459A
CN113204459A CN202110588000.8A CN202110588000A CN113204459A CN 113204459 A CN113204459 A CN 113204459A CN 202110588000 A CN202110588000 A CN 202110588000A CN 113204459 A CN113204459 A CN 113204459A
Authority
CN
China
Prior art keywords
shield
usb interface
state
connection
physical
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
CN202110588000.8A
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 CN202110588000.8A priority Critical patent/CN113204459A/en
Publication of CN113204459A publication Critical patent/CN113204459A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a U shield testing method, which can be applied to the technical field of information security and big data, and comprises the following steps: determining the current state of the USB interface; when the current state is the idle state, establishing a connection relation between the execution machine and the USB interface; and testing the U shield according to the connection relation. Therefore, the connection relation between the execution machine and the to-be-tested U shield is automatically and flexibly established based on the actual service test scene, the situations that the to-be-tested U shield is switched by manual plugging and unplugging and the U shield is manually clicked are avoided, the U shield test execution efficiency is greatly improved, manual verification operation is reduced, and the automation and the intelligentization degree are higher. In addition, the disclosure also provides a U shield testing device, electronic equipment and a computer readable storage medium.

Description

U shield testing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a U shield testing method, a U shield testing apparatus, an electronic device, and a computer-readable storage medium.
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. Specifically, when a customer performs a business transaction, a U shield needs to be inserted into an electronic device to perform the relevant business transaction in a business application system. The U shield is used as an important customer identity certificate and has a very important role in the business transaction operation process of a business application system, and particularly the U shield is used for business transactions of public enterprises which are more frequently used. However, with the accelerated rhythm of version development, the automatic verification operation based on the service application system needs to consider the automatic test of the U shield.
Disclosure of Invention
Technical problem to be solved
In order to solve at least one of the technical problems in the prior art in the process of automatic testing of the U shield, the disclosure provides a U shield testing method, a U shield testing device, electronic equipment and a computer readable storage medium.
(II) technical scheme
One aspect of the present disclosure provides a U shield testing method, including: determining the current state of the USB interface; when the current state is the idle state, establishing a connection relation between the execution machine and the USB interface; and testing the U shield according to the connection relation.
According to the embodiment of the present disclosure, before determining the current state of the USB interface, the method further includes: parameterizing the automation script to form a parameterized script; and determining the corresponding USB interface logic number according to the U shield number of the U shield in the parameterized script.
According to the embodiment of the present disclosure, in determining the current state of the USB interface, the method includes: generating a U shield use application instruction in response to the determination of the USB interface logic number; and inquiring the current state of the corresponding USB interface based on the application instruction.
According to the embodiment of the present disclosure, when the current state is the idle state, the establishing of the connection relationship between the execution machine and the USB interface includes: determining a USB interface physical number according to the USB interface logical number; and forming a data path between the execution machine and the USB interface through the USB interface physical serial number so as to establish a connection relation.
According to the embodiment of the present disclosure, in establishing the connection relationship between the execution machine and the USB interface when the current state is the idle state, the method further includes: and updating the test information of the corresponding USB interface.
According to the embodiment of the present disclosure, after determining the current state of the USB interface, the method further includes: when the current state is an occupied state, determining the occupied time of the occupied state; and updating the occupation state according to the occupation time.
According to the embodiment of the present disclosure, in updating the occupied state according to the occupied time, the method includes: when the occupied time exceeds the set threshold time, disconnecting the current connection relation of the USB interface; and updating the current state of the USB interface to be in an idle state in response to the disconnection of the current connection relation.
According to the embodiment of the present disclosure, in disconnecting the current connection relationship of the USB interface when the occupied time exceeds the set threshold time, the method includes: when the occupied time exceeds the set threshold time, generating a USB interface releasing instruction; and executing the command of releasing the USB interface to break the closed path between the USB interface and the corresponding execution machine, so that the current connection relation is broken.
According to the embodiment of the present disclosure, in updating the occupied state according to the occupied time, the method includes: when the occupied time does not exceed the set threshold time, maintaining the current connection relation of the USB interface; and updating the current state of the USB interface to a deactivation state in response to the maintenance of the current connection relation.
According to the embodiment of the present disclosure, after determining the current state of the USB interface, the method further includes: when the current state is a reset state, generating a reset physical U shield connection instruction; and responding to the physical U shield connection instruction, and performing power-off time setting and re-powering-on operation on the USB interface to complete the reset of the physical connection of the U shield.
According to the embodiment of the present disclosure, after determining the current state of the USB interface, the method further includes: when the current state is a reset state, generating an initialized U shield route configuration instruction; and responding to the command for initializing the U shield routing configuration, and resetting the test information of the U shield.
According to the embodiment of the disclosure, in testing the U shield according to the connection relationship, the method comprises the following steps: according to the connection relation, determining that the execution machine sends simulated click data to the clicker corresponding to the U shield; and controlling the clicker to perform simulated click on the U shield according to the simulated click data to finish the test of the U shield.
According to the embodiment of the present disclosure, after determining the current state of the USB interface, the method further includes: responding to the physical access change information of the U shield, and generating a physical U shield connection updating instruction; and updating the test information corresponding to the USB interface according to the physical U shield connection updating instruction.
Another aspect of the present disclosure provides a U-shield testing apparatus, which includes a state determining module, a connection establishing module, and a U-shield testing module. The state determining module is used for determining the current state of the USB interface; the connection establishing module is used for establishing the connection relation between the execution machine and the USB interface when the current state is the idle state; and the U shield testing module is used for testing the U shield according to the connection relation.
Another aspect of the disclosure provides an electronic device, comprising one or more processors and memory; the memory is used 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 implement the method described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the instructions, when executed, are for implementing the above-described method.
(III) advantageous effects
The disclosure provides a U shield testing method, which includes: determining the current state of the USB interface; when the current state is the idle state, establishing a connection relation between the execution machine and the USB interface; and testing the U shield according to the connection relation. Therefore, the connection relation between the execution machine and the to-be-tested U shield is automatically and flexibly established based on the actual service test scene, the situations that the to-be-tested U shield is switched by manual plugging and unplugging and the U shield is manually clicked are avoided, the U shield test execution efficiency is greatly improved, manual verification operation is reduced, and the automation and the intelligentization degree are higher. In addition, the disclosure also provides a U shield testing device, electronic equipment and a computer readable storage medium.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 schematically illustrates an exemplary system architecture to which a Udun test method may be applied, according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates another exemplary system architecture to which a Udun test method may be applied, according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flow chart of a method for testing a Ushield according to an embodiment of the present disclosure;
FIG. 4 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 5 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 6 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 7A schematically illustrates another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 7B schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 7C schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 7D schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 8 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 9 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 10 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
FIG. 11 schematically shows another flowchart of a Ushield testing method according to an embodiment of the present disclosure;
fig. 12 schematically shows an application scene diagram applied to the U shield testing method according to the embodiment of the present disclosure;
fig. 13 schematically illustrates a block diagram of a U shield testing apparatus according to an embodiment of the present disclosure;
FIG. 14 schematically illustrates another exemplary system architecture to which a Udun test method may be applied, according to another embodiment of the present disclosure;
FIG. 15 schematically shows a flow chart of a Ushield testing method according to another embodiment of the present disclosure;
FIG. 16 is a view schematically illustrating an application scenario applied to the U shield testing method according to another embodiment of the present disclosure;
fig. 17 schematically shows a block diagram of a U shield testing apparatus according to another embodiment of the present disclosure; and
FIG. 18 schematically shows a block diagram of an electronic device according to an embodiment of the 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 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.
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, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
With the accelerated development rhythm of the system application version, the automatic verification of the business application system becomes a preferred scheme in the testing process. The business transaction which needs the local device to insert the U shield as the security medium is generally a high-risk key transaction and is also the content which needs key verification in the version test at each stage.
In the traditional automatic testing process, due to the limitation of hardware safety medium operation (plugging and unplugging and physical key clicking), more manual operation links are required to be added to normally complete the operation process of one transaction, so that the automation of the transaction always needs manual intervention to be linked, the automation cost is higher, and the automatic testing can not be efficiently realized. However, the U shield used for various business transactions is increasingly frequent, and the U shield is an important proof of the identity of a client, and is very important in the process of performing system transaction operation, especially for the transactions of public enterprises.
< example 1>
Wherein, the automatic test scene of current U shield that relates to mainly faces two problems:
(1) and clicking physical keys on the U shield equipment. In the conventional solution, the physical peripheral scheme is used, and in the whole transaction process, the operation mode of repeatedly and uninterruptedly clicking the physical button on the U shield is performed by the external device to realize the operation of the physical button of the U shield.
(2) And performing switching operation on the current U shield in use. However, in current practical work, the operation can only be realized by manually plugging and unplugging the switching U shield.
In view of the above technical problems, for example, for a multi-stage combined authorization process for a public customer to complete a purchase order-removing business transaction for a 'weekly dividend red ultra-short term legal RMB financial product', the process comprises four steps of operation 1-financial product purchase, operation 2-purchase authorization, operation 3-purchased share redemption and operation 4-redemption authorization, respectively. Wherein, operation 1 and operation 3 are operated by a financial purchaser (customer) using a submit U shield, and operation 2 and operation 4 are operated by an approver using an approve U shield. Therefore, to complete the test of the business transaction process, manual operations of U shield switching and clicking are required in each step, and the whole process is required to perform the plugging and unplugging of the U shield medium and the clicking of the U shield confirmation key 4 times.
It can be seen that, for the above service scenarios, in the existing automated testing technology, there are mainly two automated implementation manners:
the first method comprises the following steps: 4 computers are prepared, a corresponding U shield is inserted into each computer, 4 scripts are compiled, and the scripts are connected in series to form a test scene and then are scheduled and implemented through an automatic execution scheduling platform.
And the second method comprises the following steps: all transactions are tested on one execution machine.
However, it should be noted that, since the U shields are used as a way to securely authenticate the user identity, only digital certificate identity information of one client can be stored in each U shield. Thus, the functionality of different customer types and transaction paths needs to be verified during each round of testing. Therefore, in the actual operation process, the first test method needs to prepare a larger number of test devices, and the resource utilization rate of the computer device is low, and the resource requirement for the test execution environment is lower than the effect generated by the automatic test verification, so that the method is theoretically feasible but is difficult to implement in the actual operation process. In the second testing mode, because the tester needs to intervene manually to perform the operation of switching the U shield by manual plugging, the manual operation process needs to intervene four times to complete the plugging and pulling replacement of the U shield, so that the testing interruption is caused in the operation process, and the mode also cannot realize the unattended automatic execution of the whole flow.
Therefore, the test execution efficiency of the service transaction is low in the existing test technology mode, and under a large environment with an accelerated version release rhythm, great execution pressure is applied to manual execution of testers, so that test missing or untimely verification coverage caused by version cycles, tasks and the like is easily generated.
In order to solve at least one of the technical problems in the prior art in the process of automatic testing of the U shield, the disclosure provides a U shield testing method, a U shield testing device, electronic equipment and a computer readable storage medium.
It should be noted that the U shield testing method and the U shield testing apparatus provided by the present disclosure may be applied to the technical field of information security, the technical field of big data, the technical field of finance, and any technical field other than the above technical field, and the application field of the U shield testing method and apparatus of the present disclosure is not particularly limited.
Fig. 1 schematically shows an exemplary system architecture to which a U-shield test method may be applied according to an embodiment of the present disclosure.
It should be noted that fig. 1 is only an application example to which the embodiment of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the U shield test method of the embodiment of the present disclosure may not be used in other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to the embodiment may include a data request system 110, and a server system 120 that establishes data communication with the data request system 110, wherein the server system includes servers M, 121, 122, 123, 124, and 125 that establish a data transmission channel with the data request system 110, and wherein the server M is a main access server (i.e., a main server) and may obtain instruction information from a user (e.g., a tester). The servers 121, 122, 123, 124 and 125 are secondary access servers (i.e. sub-servers), and the data request system 110 and the servers M, 121, 122, 123, 124 and 125 can be implemented based on an internal cloud network server C. Alternatively, when the main server M of the servers M, 121, 122, 123, 124 and 125 is a network server, that is, an intranet of the other terminal devices 111, 112, 113, 114 and 115, the main server M of the server system 120 may be located in an extranet. At this time, the cloud network server C is used here as a medium for providing communication links between the other terminal devices 111, 112, 113, 114 and 115. The data transmission path between the server system 120 and the plurality of terminal devices may be implemented by various communication connection types, such as wired, wireless communication links, or fiber optic cables. The cloud network server C may be a web server to provide a graphical display and input interface for a user.
It should be noted that, according to the embodiment of the present disclosure, the servers 121, 122, 123, 124, and 125 may implement a secret-less interconnection, and are applied to a large U shield test service capable of ensuring information security.
The user may use the terminal devices 111, 112, 113, 114 and 115 to interact with the server system 120 to receive or send messages or the like to implement the U-shield test or process, in particular with respect to access to the database in the main server M in the server system. For example, the terminal device 111 sends access request content such as U shield test data to the terminal device 112, and after receiving the U shield test data of the terminal device 111, the server system 120 performs forwarding processing on the corresponding U shield test data, and encrypts the U shield test data under specific requirements, so that the U shield test data finally reaching the terminal device 111 is secured. Various messenger client applications, such as management-type applications, web browser applications, search-type applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on terminal devices 111, 112, 113, 114, and 115.
The terminal devices 111, 112, 113, 114, and 115 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop and desktop computers, and various types of application servers, and so on.
The server system 120 may include various types of firewalls that provide various services, such as filtering-type firewalls (by way of example only) that provide support for websites browsed by users using the terminal devices 111, 112, 113, 114, and 115. The filtering firewall can analyze and process the received data such as the user request, analyze the data based on the address of the data source, the protocol type and other mark characteristics, and determine whether the data can pass through, so that unsafe factors are filtered or blocked.
It should be noted that the U shield testing method provided by the embodiment of the present disclosure may be generally executed by the server system 120. Accordingly, the U shield testing apparatus provided by the embodiment of the present disclosure can be generally disposed in the server system 120. The U-shield testing method provided by the embodiment of the present disclosure may also be performed by other server systems different from the server system 120 and capable of communicating with the terminal devices 111, 112, 113, 114, 115 and/or the server system 120. Accordingly, the U shield testing apparatus provided by the embodiment of the present disclosure may also be disposed in other server systems different from the server system 120 and capable of communicating with the terminal devices 111, 112, 113, 114, 115 and/or the server system 120.
It should be understood that the number of terminal devices and servers in fig. 1 is merely illustrative. Any number of terminal devices and servers may be provided according to implementation needs.
Fig. 2 schematically illustrates another exemplary system architecture in which a U-shield testing method may be implemented according to an embodiment of the present disclosure.
As shown in fig. 2, the system architecture 200 is used to implement the U shield testing method according to the embodiment of the present disclosure, and specifically includes: an execution machine pool 210, a test control module 220, a physical U shield module 230, and a U shield physical button click module 240. Among them, the test control module 220 includes: the device comprises an execution machine external equipment management module 221, a U shield data switching routing module 222, a U shield equipment connection module 223, a U shield information management module 224 and the like.
In addition, the physical U shield module 230 includes a plurality of physical U shields 1-n to be tested, which can be connected to the plurality of USB interfaces of the U shield device connection module 223 in a one-to-one correspondence. The pool of execution machines 210 comprises a plurality of execution machines 1-n, wherein each execution machine has a function of controlling the implementation of a test corresponding to a respective connected U-shield to be tested.
The U shield data switching routing module 222 may be configured to receive a U shield use instruction sent by the execution machine external device management module 221, query a USB interface connection state in the U shield routing configuration table, and complete operations such as USB interface connection and disconnection, U shield routing initialization, U shield physical connection reset, and synchronization of information between the U shield and the USB interface according to different situations. Finally, the U shield physical key clicking module 224 completes the periodical manual simulated clicking operation on the physical U shield device. For specific contents of the U shield routing configuration table, reference may be made to the following contents.
The U-shield device connection module 223 may be configured to establish a mapping relationship between the USB interface and the physical U-shield. The U shield device connection module 223 includes a plurality of USB interfaces 1-n, each USB interface is connected to a physical U shield device, each USB interface is numbered according to the difference of the USB interfaces, and a mapping table of the USB interface and the physical U shield device is formed according to the serial number of the USB interface and the U shield serial number of the physical U shield device inserted into the USB interface, as shown in table 1 below.
Figure BDA0003087787900000091
Figure BDA0003087787900000101
TABLE 1
Therefore, as shown in the above table 1, for example, the numbers of the USB interface 1 and the USB interface 2 are USB-QY-01 and USB-QY-02, respectively, and the U shield numbers corresponding to the physical U shield inserted into the USB interface 1 and the USB interface 2 are 5300016804 and 5300016861, respectively, then mapping tables of USB-QY-01 and 5300016804, USB-QY-02 and 5300016861 are formed.
The U shield information management module 224 is configured to store and manage information such as a U shield number, comparison information of a USB interface connected to the U shield device, and service usage of the U shield, and provide an information maintenance function. The information of the service usage mainly comprises the following information items: the specific reference may be made to table 2 below, such as the U shield number, the U shield brand, the U shield ID certificate number, the U shield type, the U shield usage, and the USB interface logic number.
Figure BDA0003087787900000102
TABLE 2
The USB interface logic number corresponding to the U-shield number performs data synchronization from the U-shield device connection module 223 through the "update physical U-shield connection" message sent by the execution machine external device management module 221.
The execution machine external device management module 221 is configured to interact with the U-shield data switching routing module 222, and send U-shield usage communication message information to the U-shield data switching routing module 222 according to different business processes. The communication message information used by the U shield includes contents such as U shield number, operation instruction, sending time, execution machine name, sending IP and the like, and the specific message form can refer to the following message instruction information:
Figure BDA0003087787900000111
as can be seen, the communication message information used by the above exemplary U shield includes a U shield number 5300016804, an operation instruction, and a sending time 2021/3/1215: 12: 12. the name of the execution machine Ukeytest01, the sending IP address 83.25.10.12 and the like.
The operation instruction may include creating a USB interface connection, releasing the USB interface connection, initializing a U shield routing configuration, resetting a physical U shield connection, and updating the physical U shield connection, and when the corresponding flag bits are 01, 02, 03, 04, and 05, the U shield uses the operation instruction 01 in the communication packet information to be the created USB interface connection.
Specifically, the newly-established USB interface connection represents that the connection between the execution machine and the corresponding USB interface is established; releasing the USB interface connection indicates that the executive machine and the corresponding USB interface are disconnected; initializing the U shield routing configuration means that the U shield routing configuration table in the U shield data switching routing module 222 is restored to the initialization setting; resetting the physical U shield connection, carrying out power-off operation on all USB interfaces for 10 seconds, and then carrying out power-on operation again, and resetting all the U shield physical connections; the updating of the physical U shield connection is to update the mapping relationship between the USB interface and the physical U shield to the U shield device connection module 223 and synchronize to the U shield information management module 224 when the U shield connected to the physical USB interface is plugged or switched.
The U shield data switching routing module 222 may be configured to receive the U shield usage communication message information sent by the external execution machine device management module 221, perform corresponding operation according to the U shield usage communication message information, and manage and maintain a U shield routing configuration table.
The U shield routing configuration table comprises fields such as USB interface physical numbers, USB interface logic numbers, connection states, start time, end time, currently occupied execution machine names, currently occupied execution machine IP and the like. Further, according to the U shield number and the operation instruction in the U shield usage communication message, the mapping table information between the USB logical interface number and the physical U shield number in the U shield information management module 224, and the USB interface physical number and the USB interface logical number information in the U shield routing configuration table, the connection between the execution engine and the corresponding USB physical interface is established or interrupted, and fields such as the connection state, the start time, the end time, the currently occupied execution engine name, and the currently occupied execution engine IP are synchronously updated to the U shield routing configuration table, which is specifically shown in the following table 3.
Figure BDA0003087787900000121
TABLE 3
Finally, the U shield physical key clicking module 240 is used to implement a clicking operation on a physical "OK" key of the U shield device. For example, by using 16U shield device click boxes, the U shield physical key click module 240 can support the click operation on the physical OK keys of 16U shields, and the U shield physical key click module 240 completely simulates the manual click of a human to operate the U shield device, thereby ensuring high reduction of a service scene.
In order to avoid the problem of insufficient power supply generated when a plurality of U shields are connected, a +5V power supply input is added to the U shield device connection module.
The U shield testing method, the U shield testing apparatus, the electronic device and the computer readable storage medium provided by the present disclosure are further described in detail below with reference to fig. 3 to 13 and 18.
Fig. 3 schematically shows a flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 3, an aspect of the present disclosure provides a U shield testing method, which includes steps S301 to S303.
In step S301, the current state of the USB interface is determined;
in step S302, when the current state is the idle state, a connection relationship between the execution engine and the USB interface is established; and
in step S303, the U shield is tested according to the connection relationship.
As shown in fig. 2, the USB device connection module 223 has different logical connection states and physical connection states for each USB interface. The physical connection state is a connection state realized by a slot where the USB interface is located and a plug of the U shield in the physical state, and the logical connection state is a logical connection state which is formed among the execution machine, the USB interface and/or the U shield and can be used for data transmission. Therefore, in a specific situation, when the USB interface and the USB shield have a physical connection state, the USB interface and the USB shield may not have a corresponding logical connection state therebetween, and thus, a corresponding data transmission function cannot be implemented. Therefore, even when the test device has only the physical connection state, the test device corresponding to the U shield cannot perform the test control of the U shield. On the other hand, when the U shield plug is physically disconnected from the slot corresponding to the USB interface, at least a logical connection state may exist between the USB interface and the execution machine. At this time, when a new U shield to be tested is inserted into the USB interface, the current connection state of the USB interface is still likely to be the data transmission state between the execution machines corresponding to the previously inserted U shield.
Therefore, when the USB interface inserted by the U shield to be tested is still in the data communication state with the execution machine corresponding to the previous inserted U shield, the current state of the USB interface is the occupied state. Otherwise, it is in an empty state.
Only when the USB interface inserted into the USB interface to be tested is separated from the data communication state of the execution machine corresponding to the previous U shield inserted into the USB interface, a new connection establishment instruction corresponding to the USB interface can be generated, and meanwhile, in response to a test application related instruction corresponding to the U shield to be tested, a connection relationship between the execution machine and the inserted USB interface corresponding to the U shield to be tested is established, wherein the connection relationship can be understood as a logical communication relationship for the data transmission, and at the moment, the USB interface and the execution machine corresponding to the U shield to be tested are in the logical communication state and are in an occupied state again.
When the USB interface inserted corresponding to the U shield to be tested is in the logic connection state of the execution machine corresponding to the U shield, the execution machine may be used to control execution of the corresponding test application related instruction, so that the execution machine may perform the U shield test operation on the USB interface.
Therefore, by the method for testing the U shield according to the embodiment of the disclosure, a problem that a large manual execution workload is generated due to the fact that a plurality of U shield media need to be switched in one transaction but the existing test mode is limited so that full process automation cannot be achieved in the process of testing by using the U shield transaction by existing testers is solved, automation of switching the plurality of U shield media is achieved by the device, test execution efficiency is improved, and the problem that the test transaction is not timely verified and covered due to the problems of large manual verification workload, tight version period and the like is solved.
Therefore, the connection relation between the execution machine and the to-be-tested U shield is automatically and flexibly established based on the actual service test scene, the situations that the to-be-tested U shield is switched by manual plugging and unplugging and the U shield is manually clicked are avoided, the U shield test execution efficiency is greatly improved, manual verification operation is reduced, and the automation and the intelligentization degree are higher.
Fig. 12 schematically shows an application scene diagram applied to the U shield testing method according to the embodiment of the present disclosure. It should be noted that fig. 12 is only an application example of a scenario in which the embodiment of the present disclosure may be applied to help a person skilled in the art understand the technical content of the present disclosure, but does not mean that the U shield test method of the embodiment of the present disclosure may not be used in other devices, systems, environments, or scenarios.
Fig. 4 schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 4, according to the embodiment of the present disclosure, before determining the current state of the USB interface in step S301, steps S401 to S402 are further included.
In step S401, parameterizing an automation script to form a parameterized script;
in step S402, a corresponding USB interface logic number is determined according to the U shield number of the U shield in the parameterized script.
The automatic script is used for meeting maintainability, reliability and transportability of the automatic test of the U shield, the natural language is used as the test script of the language for compiling the test script, the test script is used as an executable file, the compiling mode accords with the natural language description habit, is equal to a test case, does not need to convert the test case and the test script, and is relatively simple and convenient to maintain the test case, so that the test process described by the case is unified with the actual test operation and the test result judgment.
Before acquiring the current state of the USB interface into which the U shield is inserted, it is necessary to determine the corresponding execution machine of the USB interface according to the U shield to be tested. Therefore, in the process of compiling the automation script, the U shield number to be tested needs to be parameterized. Then, the USB interface, the execution engine, and the physical U shield are physically connected through the U shield data switching routing module 222, that is, the USB interface and the U shield are physically connected.
After the physical connection among the USB interface, the execution machine, and the physical U-shield is realized, the execution machine can be controlled to execute the automatic script, so as to realize the file parsing of the automatic script, obtain the U-shield number to be used from the parameters of the automatic script, and obtain the USB interface logical number corresponding to the U-shield number from the U-shield information management module 224.
Therefore, the USB interface corresponding to the execution machine can be uniquely determined before the current state of the USB interface is acquired.
Fig. 5 schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 5, according to the embodiment of the present disclosure, steps S501 to S502 are included in determining the current state of the USB interface in step S301.
In step S501, in response to the determination of the USB interface logic number, a U shield application instruction is generated;
in step S502, based on the application instruction, the current state of the corresponding USB interface is queried.
As shown in step S1201 in fig. 12, after the USB interface logic number is obtained, the execution machine external device management module 221 generates an instruction message for the U shield application, and sends the instruction message to the U shield data switching routing module 222 in the form of an application instruction, after the U shield data switching routing module 222 receives and executes the application instruction, the U shield data switching routing module 222 executes a USB interface query operation on the U shield routing configuration table in the U shield data switching routing module 222 according to the USB interface logic number included in the application instruction, and further determines that the current state of the USB interface corresponding to the USB interface logic number is an idle state or an occupied state, specifically, as shown in fig. 12, a determination process of whether the USB interface is occupied in step S1202.
Therefore, the current state of the USB interface can be determined more quickly and effectively by means of the USB shield routing configuration table.
Fig. 6 schematically shows another flowchart of a U shield testing method according to an embodiment of the present disclosure.
As shown in fig. 6, according to the embodiment of the present disclosure, in the step S302, when the current state is the idle state, the connection relationship between the execution machine and the USB interface is established, including steps S601-S602.
In step 601, determining a physical serial number of the USB interface according to the logical serial number of the USB interface;
in step 602, a data path between the execution engine and the USB interface is formed by the USB interface physical number to establish a connection relationship.
In step S1203 shown in fig. 12, when it is determined that the current state of the USB interface is an idle state, that is, the USB interface is not occupied, the U shield routing configuration table is queried through the USB interface logical number to obtain a USB interface physical number, and the execution machine applied by the U shield can be controlled to establish a data path with the USB interface based on the USB interface physical number, so as to form a logical connection relationship between the USB interface and the execution machine, and form a substantial interconnection, that is, the connection relationship satisfies both a physical connection state and a logical connection state.
Therefore, when the execution machine of the embodiment of the disclosure is controlled to execute the test instruction of the U shield, the execution machine can directly perform the test operation on the U shield through the connection relationship with the USB interface.
According to the embodiment of the present disclosure, in the step S302, when the current state is the idle state, establishing a connection relationship between the execution machine and the USB interface, the method further includes: and updating the test information of the corresponding USB interface.
As shown in step S1208 in fig. 12, when the connection relationship of the logical connectivity state between the execution machine and the USB interface is established, the U shield data switching routing module 222 may be further controlled to update the test information related to the occupied USB interface, such as the execution machine name, the execution machine IP, the start time, and the like in the U shield routing configuration table.
At this time, the U shield and the corresponding execution machine establish the basis of physical connection and logical connection, and can expand the subsequent test interaction operation accordingly.
Fig. 7A schematically illustrates another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 7A, according to the embodiment of the present disclosure, after determining the current state of the USB interface in step S301, steps S701 to S702 are further included.
In step S701, when the current state is the occupied state, determining an occupied time of the occupied state;
in step S702, the occupancy state is updated according to the occupancy time.
As shown in steps S1204 and S1208 in fig. 12, when it is determined that the current state of the USB interface is the occupied state, that is, the logical connection state of the USB interface is the connection relationship with the original execution machine, the current occupied time of the occupied state, that is, the time maintained by the logical connection relationship between the USB interface and the original execution machine, is determined. And controls the U shield data switching routing module 222 to update the state of the U shield routing configuration table by using the occupied time as update data, so that the occupied information recorded in the occupied state is instant information, which is favorable for judging the ending of the current occupied state and the beginning of the vacant state of the USB interface.
Fig. 7B schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 7B, according to an embodiment of the present disclosure, in updating the occupied state according to the occupied time at step S702, steps S710-S720 are included.
In step S710, when the occupied time exceeds the set threshold time, disconnecting the current connection relationship of the USB interface;
in step S720, in response to the disconnection of the current connection relationship, the current state of the USB interface is updated to the idle state.
As shown in steps S1204 and S1205 in fig. 12, when the duration of the current occupation state of the USB interface in the U shield routing configuration table exceeds the preset threshold time, the logical connection with the execution machine in the current occupation state of the USB interface is controlled to be disconnected, so that the current connection of the USB interface is disconnected. Meanwhile, the U shield data switching routing module 222 may further update the current state of the USB interface to an idle state in the U shield routing configuration table in response to the end of the current connection relationship of the USB interface. Therefore, the current state of the USB interface can be updated in real time, so that the establishment time of the connection relation between the USB interface and the new execution machine can be judged conveniently, the test progress is accelerated, and the test time is saved.
Fig. 7C schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 7C, according to the embodiment of the present disclosure, in step S710, when the occupied time exceeds the set threshold time, the current connection relationship of the USB interface is disconnected, including steps S711-S712.
In step S711, when the occupied time exceeds the set threshold time, a command for releasing the USB interface is generated;
in step S712, a release USB interface instruction is executed to open the closed path between the USB interface and the corresponding execution machine, so that the current connection relationship is opened.
When the occupied time exceeds the set threshold time, the disconnection operation of the current connection relation of the USB interface is specifically executed as follows: when the original execution machine finishes using the USB interface, a USB interface release instruction for executing disconnection of the USB interface connection relationship may be actively generated based on the determination result that the occupied time is overtime, and the execution machine external device management module 221 sends the USB interface release instruction, the U shield data switching routing module 222 disconnects the closed logic path established between the data of the physical interface and the access port corresponding to the original execution machine, and updates the current state information of the USB interface in the U shield routing configuration table, so that the connection state of the USB interface is an idle state.
Fig. 7D schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 7D, according to an embodiment of the present disclosure, in updating the occupancy state according to the occupancy time at step S702, steps S721-S722 are included.
In step S721, when the occupied time does not exceed the set threshold time, the current connection relationship of the USB interface is maintained;
in step S722, in response to the maintenance of the current connection relationship, the current state of the USB interface is updated to the deactivated state.
In step S1206 shown in fig. 12, when the duration of the current occupation state of the USB interface in the U-shield routing configuration table does not exceed the preset threshold time, the original execution machine is controlled to maintain the current connection relationship with the USB interface. And meanwhile, generating a corresponding feedback message to update the current state of the USB interface in the U shield routing configuration table to a deactivated state, namely the USB interface is occupied and cannot be used at the moment.
Fig. 8 schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 8, according to the embodiment of the present disclosure, after determining the current state of the USB interface in step S301, steps S801-S802 are further included.
In step S801, when the current state is a reset state, a reset physical U shield connection instruction is generated;
in step S802, in response to the physical U shield connection instruction, a power-off time resetting operation is performed on the USB interface to complete the reset of the physical connection of the U shield.
In some cases, the U-shield device connection module 223 will cause an abnormal problem that some U-shield prompt software cannot be reset due to long-time access to the U-shield, and at this time, the current state corresponding to the USB interface will automatically enter the reset state, in the reset state, a connection instruction for resetting the physical U shield connection may be generated, the reset physical U shield connection instruction is forwarded to the U shield data switching routing module 222 through the execution machine external device management module 221 for execution, so that the U shield device connection module 223 performs the operation of re-powering on all USB interfaces after setting the power-off time (for example, powering off for 10 seconds), so as to reset the U shield physical connection relationship between all U shields and USB interfaces, therefore, the U shield device connection module 223 can solve the above abnormal problem that part of the U shield prompt software cannot be reset, so as to ensure the smooth test process of the whole U shield.
Fig. 9 schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 9, according to the embodiment of the present disclosure, after determining the current state of the USB interface in step S301, steps S901 to S902 are further included.
In step S901, when the current state is a reset state, an initialization U shield routing configuration instruction is generated;
in step S902, in response to the command for initializing the U shield routing configuration, the test information of the U shield is reset.
When the current state of the USB interface is a reset state, the connection process between all the execution machines and the U shield device needs to be reset, and specifically, an initialization U shield routing configuration instruction may be sent by the execution machine external device management module 221, and when the instruction is executed by the U shield data switching routing module 222, the fields of the test information in the U shield routing configuration table, such as the execution machine IP, the execution machine name, the start time, and the connection state, may be reset to null. In the reset state, the connection relation between all the execution machines and the U shield equipment can be reset, so that the test execution of different services of the subsequent U shield is facilitated.
Fig. 10 schematically shows another flowchart of a U shield testing method according to an embodiment of the present disclosure.
As shown in fig. 10, according to the embodiment of the present disclosure, in the step S303, the U shield is tested according to the connection relationship, including steps S1001 to S1002.
In step S1001, according to the connection relation, determining that the execution machine sends simulated click data to the clicker corresponding to the U shield;
in step S1002, the clicker is controlled to perform simulated click on the U shield according to the simulated click data, so as to complete the test of the U shield.
According to the physical connection relation and the logical connection relation determined between the execution machine and the USB interface, the test operation data generated by the execution machine can be further sent to the clicker correspondingly connected with the U shield through the logical data transmission channel established by the connection relation, and the click position of the clicker is over against the button setting of the U shield. And the USB interface which has the current connection relation with the execution machine is inserted and connected with the U shield to be tested.
Further, the simulated click data includes preset rule information that the clicker can execute the click operation, such as click time, click times, click cycle and time for ending the click, so as to determine that the data can execute the click operation with the preset rule on the U shield to be tested when the data is executed by the clicker. Therefore, the click test can be efficiently and accurately completed for the test of the U shield.
Fig. 11 schematically shows another flowchart of a U-shield testing method according to an embodiment of the present disclosure.
As shown in fig. 11, according to the embodiment of the present disclosure, after determining the current state of the USB interface in step S301, steps S1101-S1102 are further included.
In step S1101, a physical U-shield connection update instruction is generated in response to the physical access change information of the U-shield;
in step S1102, test information corresponding to the USB interface is updated according to the physical U-shield connection update instruction.
As shown in step S1209 in fig. 12, when the physical U shield access information in the U shield device connection module 223 changes, the execution machine external device management module 221 may send a physical U shield connection update instruction for updating the physical U shield connection, and update the test information in the mapping table between the USB interface in the U shield device connection module 223 and the physical U shield device, and synchronize the test information into the U shield information management module 224. The test information may include various data related to the U shield test, such as an execution machine name, a USB interface, a clicker name, and rule information of a preset click operation. Therefore, the updating of each U shield test information can be perfected, so that the data in the U shield information management module 224 serving as a data storage module is more immediate and effective, and the subsequent U shield test process is fast, accurate and efficient.
Therefore, the U shield testing method can provide unified management and full-automatic access service for the used media such as the physical U shield and the like in the automatic testing process, solves the problem of automatic execution interruption caused by manual U shield plugging and unplugging when the original U shield is switched, and improves the automatic testing efficiency.
Furthermore, the U shield testing method of the embodiment of the disclosure also solves the problem that the physical keys of the U shield need to be manually clicked one by one in the original automatic testing process, and realizes the automatic clicking of the keys of the U shield through batch successive clicking.
Fig. 13 schematically shows a block diagram of a U shield testing apparatus according to an embodiment of the present disclosure.
As shown in fig. 13, another aspect of the present disclosure provides a U shield testing apparatus 1300, which includes a status determining module 1310, a connection establishing module 1320, and a U shield testing module 1330. The state determining module is used for determining the current state of the USB interface; the connection establishing module is used for establishing the connection relation between the execution machine and the USB interface when the current state is the idle state; and the U shield testing module is used for testing the U shield according to the connection relation.
It should be noted that, the embodiment of the U shield testing apparatus 1300 portion shown in fig. 13 is similar to the embodiment of the U shield testing method portion, and the achieved technical effects are also similar, which are not repeated herein.
< example 2>
As mentioned in the foregoing embodiments, the existing automated testing scenario involving the U shield mainly faces two problems: (1) and clicking physical keys on the U shield equipment. In the conventional solution, the physical peripheral scheme is used, and in the whole transaction process, the operation mode of repeatedly and uninterruptedly clicking the physical button on the U shield is performed by the external device to realize the operation of the physical button of the U shield. (2) And performing switching operation on the current U shield in use. However, in the current practical work, the operation can be realized only by manually plugging and unplugging the switching U-shield, or by developing a U-shield routing connection module.
However, in the current mode, a physical button on the U shield is continuously clicked by using a physical peripheral, and since the clicking has no pertinence, even if there is no or only a few U shields in a certain time period need to be clicked, all U shield devices are in a clicked state, a huge invalid click operation amount is generated, so that resources such as electric energy and the like are wasted, equipment loss is not caused, and especially, more test resources are wasted under the condition that the U shield button is damaged due to multiple times of clicking.
In order to solve at least one technical problem existing in the automatic testing process of the U shield in the prior art, the disclosure provides a U shield testing method, a device, electronic equipment and a computer readable storage medium.
It should be noted that the U shield testing method and apparatus provided by the present disclosure may be applied to the technical field of information security, the technical field of big data, the technical field of finance, and any technical field other than the above technical fields.
Fig. 14 schematically shows another exemplary system architecture to which the U shield test method can be applied according to another embodiment of the present disclosure.
As shown in fig. 14, the system architecture 1400 includes main modules, such as an execution machine pool 1410, an execution machine external device management module 1420, a U shield device routing connection module 1430, a U shield click management module 1440, a physical U shield module 1450, and a clicker pool 1460. The execution machine pool 1410 includes a plurality of execution machines 1-n, wherein when each execution machine executes the step of needing to perform the U-shield click in the automation script, the execution machine external device management module 1420 sends a U-shield click control communication message to the click instruction processing submodule 1441 of the U-shield click management module 1440 and the U-shield information management submodule 1431 of the U-shield device routing connection module 1430, the U-shield information management submodule 1431 receives and parses the message, queries the USB interface number corresponding to the U in the routing configuration table of the U-shield data switching routing submodule according to the U-shield number in the message, and the click instruction processing submodule 1441 receives and parses the message and the USB interface number, finds the clicker number corresponding to the physical U in the clicker configuration information management submodule 1442 of the U-shield click management module 1440 according to the USB interface number in the message, then, the click operation control submodule 1443 of the U shield click management module 1440 controls the corresponding clicker to complete the U shield click operation. Further, the clicking operation logging sub-module 1444 of the U shield clicking management module 1440 completes the logging operation in the whole process.
In addition, the physical U shield module 1450 includes a plurality of physical U shields 1-n to be tested, which may be connected to the plurality of USB interfaces of the U shield device routing connection module 1430 in a one-to-one correspondence. A plurality of execution machines 1-n of the execution machine pool 210, wherein each execution machine has a function of controlling and implementing a test corresponding to each connected U shield to be tested. In addition, the clicker pool 1460 includes a plurality of clickers for being controlled to execute simulated click operations on the plurality of U shields 1-n, the plurality of clickers are arranged in one-to-one correspondence with the plurality of U shields to be tested, and when a click operation instruction is executed by a corresponding clicker, the corresponding U shield to be tested is clicked, so that the U shield completes the test click.
The clicker configuration information management submodule 1442 has a mapping table of clicker numbers and USB interface numbers, as shown in table 4 below.
USB interface numbering Clicker numbering
USB-QY-01 Ukey-Click-01
USB-QY-02 Ukey-Click-02
...... ......
TABLE 4
The executor external device management module 1420 may be configured to send U-shield-use communication packet information to the U-shield device routing connection module 1430 according to different service flows, and is also responsible for sending U-shield click control communication packet information to the U-shield click management module 1440. The communication message information used by the U shield includes contents such as U shield number, operation instruction, sending time, execution machine name, sending IP, and the like, and the following message instruction information can be referred to specifically:
Figure BDA0003087787900000231
as can be seen, the communication message used by the above exemplary U shield includes the name Ukeytest01 of the execution machine, the number 5300016804 of the U shield, and the sending time 2021/3/1215: 12: 12. and sending information such as the IP address 83.25.10.12, the click times 3, the click interval duration 2 and the like. The operation instruction may include creating a USB interface connection, releasing the USB interface connection, initializing a U shield routing configuration, resetting a physical U shield connection, updating the physical U shield connection, and the like.
The U shield device routing connection module 1430 may be configured to establish a physical connection path between the automation execution machines 1-n and the U shield devices 1-n, and perform instruction transmission. The U shield device route connection module 1430 is mainly composed of a U shield information management sub-module 1431, a U shield device connection sub-module 1433, and a U shield data switching route sub-module 1432. The U shield information management submodule 1431 is mainly used for managing information such as a U shield number, comparison information of a USB interface connected to a U shield device, and service usage of the U shield, and providing a maintenance function; the U shield device connection sub-module 1433 is mainly used to manage and maintain the mapping relationship between the USB interface and the physical U shield; the U shield data switching routing sub-module 1432 is mainly configured to receive the U shield usage communication message information sent from the external connection device management module 1420 of the execution machine, establish or interrupt the connection between the execution machine and the USB physical interface, and synchronously update fields such as the connection state, the start time, the end time, the name of the currently occupied execution machine, and the IP of the currently occupied execution machine to the U shield routing configuration table of the U shield device routing connection module 1430.
The U shield click management module 1440 is mainly configured to receive a U shield click operation instruction submitted by the execution machine, and control the corresponding clicker to click the designated U shield according to the click operation instruction. The U shield click management module 1440 mainly comprises a click instruction processing submodule 1441, a clicker configuration information management submodule 1442, a click operation control submodule 1443, and a click operation log recording submodule 1444. The click command processing submodule 1441 is mainly used for receiving a U shield click control communication message sent by the external equipment management module 1420 of the execution machine, and analyzing and processing the message command; the clicker configuration information management submodule 1442 is mainly used for storing the corresponding mapping relationship between the clicker and the physical U shield; the click operation control submodule 1443 is mainly used for operating a designated clicker to perform click operation on the corresponding U shield according to a click instruction; the click operation log recording submodule 1444 is mainly configured to record a click operation log of the clicker, where the click operation log mainly includes information such as an execution machine name, a U shield number, an execution machine IP, a click operation start time, a click operation frequency, and a click interval duration, and specifically refers to the contents shown in table 5 below.
Figure BDA0003087787900000241
TABLE 5
According to the system architecture 1400 of the embodiment of the present disclosure, the U shield testing method of the embodiment of the present disclosure can automatically and flexibly establish the connection between the execution machine and the U shield according to the actual service testing requirements, and implement controllable key clicking on the physical U shield device, thereby avoiding generating a large amount of invalid click operation amount, resulting in waste of resources such as electric energy and meaningless device loss.
The U shield testing method, the U shield testing apparatus, the electronic device and the computer-readable storage medium provided by the present disclosure are further described in detail below with reference to fig. 15 to 18.
Fig. 15 schematically shows a flowchart of a U shield testing method according to another embodiment of the present disclosure.
One aspect of the present disclosure provides a method for testing a U shield, which includes steps S1501 to S1503.
In step S1501, determining a physical connection relationship between the USB interface and the U shield;
in step S1502, a clicker corresponding to the U shield is obtained according to the physical connection relationship; and
in step S1503, the clicker is controlled to perform a click operation on the U shield to complete the test of the U shield.
As shown in fig. 14, the USB device routing connection module 1430 has different logical connection states and physical connection states for each USB interface. The physical connection relation is a physical corresponding relation of a physical connection state of a slot where the USB interface is located and a plug of the U shield in a physical state, namely the USB interface is inserted into the U shield to be tested, so that the physical corresponding relation between the USB interface and the U shield to be tested is realized. In addition, according to the physical correspondence, the physical connection relationship may further include a logical communication relationship between the U shield and the USB interface, so as to implement logical correspondence between the U shield and the USB interface.
In the embodiment of the disclosure, according to the physical connection relationship between the USB interface and the U shield and the logical correspondence relationship between the USB interface and the clicker, the connection relationship between the clicker and the U shield can be established, and then the clicker corresponding to the U shield is queried and obtained in the preset mapping rule of the USB interface and the clicker according to the identity information of the USB interface.
Specifically, as shown in fig. 14, the click instruction processing submodule 1441 receives and analyzes the U-shield usage communication message information and the USB interface number, finds the clicker number corresponding to the physical U-shield in the clicker configuration information management submodule 1442 according to the USB interface number in the message, and then controls the corresponding clicker by the click operation control submodule 1443 to complete the U-shield click operation.
Therefore, the corresponding relation between the clicker and the U shield to be tested is established based on the actual service test scene, repeated uninterrupted and undistinguished physical click operation of the click peripheral module is avoided, the problems of invalid click operation and equipment loss and damage are solved, accurate execution of the click operation is ensured, the purposes of reducing equipment loss and resource waste are achieved, and the automation and intelligence degree is higher.
Fig. 16 schematically shows an application scene diagram applied to the U shield testing method according to another embodiment of the present disclosure.
According to the embodiment of the present disclosure, before determining the physical connection relationship between the USB interface and the U shield in step S1501, the method further includes: parameterizing the automation script in response to the test instruction to form a parameterized script; and executing the parameterization script and determining the U shield number of the U shield.
The automatic script is used for meeting maintainability, reliability and transportability of the automatic test of the U shield, the natural language is used as the test script of the language for compiling the test script, the test script is used as an executable file, the compiling mode accords with the natural language description habit, is equal to a test case, does not need to convert the test case and the test script, and is relatively simple and convenient to maintain the test case, so that the test process described by the case is unified with the actual test operation and the test result judgment.
Before determining the current physical connection state of the USB interface into which the U shield is inserted, it is necessary to determine the corresponding execution machine of the USB interface according to the U shield to be tested. Therefore, in the process of compiling the automation script, the U shield number to be tested needs to be parameterized, so as to generate a parameterized running script.
And then, the execution machine can be controlled to execute the operation on the automation script, so that the file analysis of the automation script is realized, and the U shield number to be used is obtained from the parameters of the automation script.
Therefore, before the USB interface number is acquired, the U shield corresponding to the execution machine can be uniquely determined.
According to the embodiment of the present disclosure, before determining the physical connection relationship between the USB interface and the U shield in step S1501, the method further includes: and responding to the execution of the parameterized script, and generating a click control communication message corresponding to the U shield according to the U shield number.
As shown in fig. 16, in step S1601, after the execution machine performs the operation on the parameterized script, when the execution machine needs to perform a U-shield click step in executing the automation script, the execution machine external device management module 1420 generates a U-shield click control communication message according to the U-shield number, and then sends the U-shield click control communication message to the click instruction processing submodule 1441. After being analyzed by the click instruction processing submodule 1441, the U shield click control communication message may be used to determine a physical connection relationship of the USB interface corresponding to the U shield.
Therefore, the clicker determined by clicking the control communication message can be ensured to be in one-to-one correspondence with the U shield determined by the U shield number.
According to an embodiment of the present disclosure, the determining, in step S1501, a physical connection relationship between the USB interface and the U shield includes: responding to the click control communication message, and determining a USB interface corresponding to the U shield; and judging the physical connection relation according to the current connection state of the USB interface.
As shown in fig. 16, in steps 1602 and S1609, the executor external device management module 1420 sends a U shield click control communication message to the click instruction processing submodule 1441 of the U shield click management module 1440 and the U shield information management submodule 1431 of the U shield device routing connection module 1430, the U shield information management submodule 1431 receives and parses the message, and queries, according to the U shield number in the message, the USB interface number corresponding to the U shield in the routing configuration table of the U shield data switching routing submodule 1432 according to the obtained correspondence between the U shield and the USB interface. The U shield information management submodule 1431 receives and parses the message, and queries a USB interface number corresponding to the U shield in the routing configuration table of the U shield data switching routing submodule 432 according to the U shield number in the message. Further, after the click command processing submodule 1441 receives the above-mentioned message, the current connection state of the USB interface corresponding to the USB interface number is queried in the routing configuration table, so as to confirm that the corresponding relationship of the USB interface is in the idle state or the occupied state, and to check whether the physical U shield is connected to a specific USB interface.
Further, the U shield device routing connection module 1430 physically connects the USB interface in the idle state with the corresponding physical U shield, thereby establishing a physical connection relationship between the two.
In addition, if the current connection state of the USB interface is an occupied state, the corresponding U shield cannot establish the physical connection relationship with the USB interface. Specifically, as shown in step 1603 of fig. 16, when the USB interface is in an occupied state, if the physical U shield is not connected to the USB interface, the message may be directly fed back: "the physical U shield is not connected to the execution machine and cannot be clicked", and the error information is recorded in the click operation log table, at this time, the click operation on the U shield cannot be realized.
Therefore, the corresponding relation between the clicker and the U shield to be tested is established based on the actual service test scene, and the accurate execution of the click operation is ensured.
According to the embodiment of the present disclosure, in the step S1502, acquiring the clicker corresponding to the U shield according to the physical connection relationship includes: determining the serial number of the physical interface of the USB interface according to the physical connection relation; and acquiring the clicker corresponding to the U shield through the physical interface number and a preset clicker setting rule.
Through the physical connection relationship established between the U shield and the USB interface (i.e. the physical U shield is already connected to the USB interface), the physical interface number of the USB interface can be determined based on the number information of the U shield and the USB interface preset in the routing configuration table in the U shield data switching routing sub-module 1432.
Further, the clicker number corresponding to the U shield may be directly determined based on the physical number of the USB interface and a preset clicker setting rule set in the clicker configuration information management submodule 1442, where the preset clicker setting rule includes a corresponding relationship between the USB interface number and the clicker number. The clicker is uniquely identified by the determined clicker number and can then be used to check whether a physical U-shield has been connected to the clicker.
Therefore, the corresponding relation between the clicker and the to-be-tested U shield is established through the physical connection relation of the USB interface, and the accurate correspondence between the clicker and the to-be-tested U shield is ensured.
According to the embodiment of the present disclosure, in acquiring the clicker corresponding to the U shield through the physical interface number and the preset clicker setting rule, the method further includes: determining the current operating state of the clicker according to the physical interface number and a preset clicker setting rule; and determining the clicker corresponding to the U shield based on the current operation state.
The clicker has different operating states under different conditions, for example, the clicker suspends the click test on the current U shield in a stop state; the clicker is in a reset state in a standby state, no click test is carried out on any U shield, and the clicker can be applied to click operation on the U shield in a newly established relationship at any time; and in the clicking state, the clicker is currently executing the clicking operation on the current U shield, and the new U shield clicking cannot be executed.
As shown in fig. 16, after steps S1605-S1607 uniquely determine a number of a clicker corresponding to the U shield through the physical interface number and the preset clicker setting rule, further, the clicker configuration information management sub-module 1442 is still required to determine the current operating state of the clicker corresponding to the number of the clicker, and specifically, the operating state log of the corresponding clicker may be queried.
Therefore, when the operating state of the clicker is in the standby state, it can be uniquely determined that the clicker corresponds to the U shield corresponding to the U shield number in the message, where the U shield already establishes the physical connection relationship with the corresponding USB interface. At this time, the control interaction between the U shield and the clicker can be further realized, which is equivalent to establishing a corresponding relationship between the U shield and the clicker. That is, if the physical U shield is connected to the clicker, the click operation control submodule 1443 controls the corresponding clicker to complete the U shield click operation. In addition, if the physical U shield is not connected to the clicker, the feedback message "the physical U shield does not have a corresponding clicker, and cannot execute the click" is sent.
Therefore, the phenomenon of wrong click judgment caused by poor current operation state of the clicker is effectively avoided, the test progress is accelerated, and the test efficiency of the U shield is improved.
According to an embodiment of the present disclosure, in the step S1503, controlling the clicker to perform a click operation on the U shield, the method includes: and executing a fixed number of click operations on the U shield based on a fixed period.
According to the determined physical connection relationship between the U shield and the USB interface, the test operation data generated by the execution machine can be further sent to the clicker correspondingly connected with the U shield through the logical data transmission channel established by the connection relationship, and the click position of the clicker is over against the button setting of the U shield. And the USB interface which has the current connection relation with the execution machine is inserted and connected with the U shield to be tested.
Further, the simulated click data includes preset rule information that the clicker can execute the click operation, such as click time, click times, click cycle, and time for ending the click, so as to determine that the data can execute the click operation with the preset rule on the U shield to be tested when executed by the clicker, such as executing the click operation with the fixed times on the U shield based on the fixed cycle. Therefore, the click test can be efficiently and accurately completed for the test of the U shield.
According to an embodiment of the disclosure, the method further comprises: recording the click operation of the corresponding U shield to form a click operation log; and storing a click operation log.
As shown in step S1608 of fig. 16, in the process of the click operation on the U shield, the generated various feedback information may form a click operation log, and for example, a feedback message of a click operation failure or an error, actual click information of the click operation (for example, a click time, a clicker number, a USB interface number, a U shield number, and the like), a click test service name of the U shield, and the like, are directly related to the click operation or directly generate feedback data in the click process, and all perform corresponding process recording operations to form the click operation log. The click operation log is directly recorded into the click operation log table of the click operation log recording submodule 1444 to complete the storage of the click operation log. Wherein, the log recording operation in the whole process is completed by the click operation log recording submodule 1444.
Therefore, real-time uploading management and updating of the instant states of all components of the whole test framework can be achieved, and the influence on the whole click operation process is prevented when invalid data or functions of some parts are abnormal, so that the running state of the test framework is further improved, and the test efficiency is accelerated.
Therefore, the U shield testing method can solve the problem that a large amount of invalid clicking operation amount is generated due to the fact that the U shield clicks the peripheral module uncontrollably to repeatedly and uninterruptedly click the physical button on the U shield. Meanwhile, the consumption of equipment loss and damage is reduced, and the resource waste is reduced.
Fig. 17 schematically shows a block diagram of a U shield testing apparatus according to another embodiment of the present disclosure.
Another aspect of the disclosure provides a U-shield testing apparatus 1700, which includes a connection determining module 1710, a clicker obtaining module 1720, and a click control module 1730. The connection determining module 1710 is configured to determine a physical connection relationship between the USB interface and the U shield; the clicker obtaining module 1720 is used for obtaining a clicker corresponding to the U shield according to the physical connection relation; and the click control module 1730 is configured to control the clicker to perform a click operation on the U shield, so as to complete a test of the U shield.
It should be noted that the embodiment of the U shield testing apparatus 1700 shown in fig. 17 is similar to the embodiment of the U shield testing method, and the achieved technical effects are also similar, which are not repeated herein.
FIG. 18 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure. Among them, the electronic device shown in fig. 18 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present disclosure.
Another aspect of the present disclosure provides an electronic device comprising one or more processors and memory; the memory is used 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 implement the method of the embodiments of the present disclosure.
As shown in fig. 18, a computer system 1800 according to an embodiment of the present disclosure includes a processor 1801, which may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1802 or a program loaded from a storage portion 1808 into a Random Access Memory (RAM) 1803. The processor 1801 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 1801 may also include onboard memory for caching purposes. The processor 1801 may include a single processing unit or multiple processing units for performing the different actions of the method flows in accordance with embodiments of the present disclosure.
In the RAM 1803, various programs and data necessary for the operation of the system 1800 are stored. The processor 1801, ROM 1802, and RAM 1803 are connected to one another by a bus 1804. The processor 1801 performs various operations of the method flows according to embodiments of the present disclosure by executing programs in the ROM 1802 and/or the RAM 1803. Note that the programs may also be stored in one or more memories other than ROM 1802 and RAM 1803. The processor 1801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
System 1800 may also include input/output (I/O) interface 1805, input/output (I/O) interface 1805 also connected to bus 1804, according to an embodiment of the present disclosure. System 1800 can also include one or more of the following components connected to I/O interface 1805: an input portion 1806 including a keyboard, a mouse, and the like; an output portion 1807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1808 including a hard disk and the like; and a communication section 1809 including a network interface card such as a LAN card, a modem, or the like. The communication section 1809 performs communication processing via a network such as the internet. A driver 1810 is also connected to the I/O interface 1808 as needed. A removable medium 1811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1810 as necessary, so that a computer program read out therefrom is mounted in the storage portion 1808 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1809, and/or installed from the removable media 1811. The computer program, when executed by the processor 1801, 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.
According to an embodiment of the present disclosure, at least one of the state determination module 1310, the connection establishment module 1320, and the U shield testing module 1330 may be implemented as a computer program module described with reference to fig. 18, which, when executed by a processor, may implement the respective operations of the U shield testing method described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, implement the method of embodiments of the present disclosure.
Specifically, the computer-readable storage medium 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 U shield testing method according to an embodiment of the present disclosure.
Alternatively, the computer-readable storage medium may be included 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 U shield testing method according to an embodiment of the present disclosure.
Another aspect of the present disclosure provides a computer program including computer executable instructions, which when executed, are used to implement the U shield testing method according to the embodiments of the present disclosure.
So far, the embodiments of the present disclosure have been described in detail with reference to the accompanying drawings.
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.
It will be understood by those skilled in the art that while the present disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
The above-mentioned embodiments are intended to illustrate the objects, aspects and advantages of the present disclosure in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present disclosure and are not intended to limit the present disclosure, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (16)

1. A U shield testing method comprises the following steps:
determining the current state of the USB interface;
when the current state is the idle state, establishing a connection relation between the execution machine and the USB interface; and
and testing the U shield according to the connection relation.
2. The method of claim 1, wherein prior to said determining the current state of the USB interface, further comprising:
parameterizing the automation script to form a parameterized script;
and determining the corresponding USB interface logic number according to the U shield number of the U shield in the parameterized script.
3. The method of claim 2, wherein in the determining the current state of the USB interface comprises:
generating a U shield use application instruction in response to the determination of the USB interface logic number;
and inquiring the current state of the corresponding USB interface based on the application instruction.
4. The method according to claim 2, wherein, in the establishing of the connection relationship between the execution machine and the USB interface when the current state is the idle state, the method comprises:
determining a USB interface physical number according to the USB interface logical number;
and forming a data path between the execution machine and the USB interface through the USB interface physical serial number so as to establish the connection relation.
5. The method according to claim 4, wherein, in establishing the connection relationship between the execution machine and the USB interface when the current state is the idle state, further comprises:
and updating the test information corresponding to the USB interface.
6. The method of claim 1, wherein after the determining the current state of the USB interface, further comprising:
when the current state is an occupied state, determining the occupied time of the occupied state;
and updating the occupation state according to the occupation time.
7. The method of claim 6, wherein in said updating the occupancy state according to the occupancy time comprises:
when the occupied time exceeds the set threshold time, disconnecting the current connection relation of the USB interface;
and updating the current state of the USB interface to be in an idle state in response to the disconnection of the current connection relation.
8. The method of claim 7, wherein the disconnecting the current connection relationship of the USB interface when the occupation time exceeds a set threshold time comprises:
when the occupied time exceeds the set threshold time, generating a USB interface releasing instruction;
and executing the USB interface releasing instruction to disconnect a closed path between the USB interface and the corresponding execution machine, so that the current connection relation is disconnected.
9. The method of claim 6, wherein in said updating the occupancy state according to the occupancy time comprises:
when the occupied time does not exceed the set threshold time, maintaining the current connection relation of the USB interface;
and updating the current state of the USB interface to a deactivation state in response to the maintenance of the current connection relation.
10. The method of claim 1, wherein after the determining the current state of the USB interface, further comprising:
when the current state is a reset state, generating a reset physical U shield connection instruction;
and responding to the physical U shield connection instruction, and performing power-off time setting and re-powering-on operation on the USB interface to complete the reset of the physical connection of the U shield.
11. The method of claim 1, wherein after the determining the current state of the USB interface, further comprising:
when the current state is a reset state, generating an initialized U shield routing configuration instruction;
and responding to the initialized U shield routing configuration instruction, and resetting the test information of the U shield.
12. The method according to claim 1, wherein the testing the U shield according to the connection relationship includes:
according to the connection relation, determining that the execution machine sends simulated click data to a clicker corresponding to the U shield;
and controlling the clicker to perform simulated click on the U shield according to the simulated click data to finish the test of the U shield.
13. The method of claim 1, wherein after the determining the current state of the USB interface, further comprising:
responding to the physical access change information of the U shield, and generating a physical U shield connection updating instruction;
and updating the test information corresponding to the USB interface according to the physical U shield connection updating instruction.
14. A U shield testing arrangement, wherein includes:
the state determining module is used for determining the current state of the USB interface;
the connection establishing module is used for establishing a connection relation between the execution machine and the USB interface when the current state is an idle state; and
and the U shield testing module is used for testing the U shield according to the connection relation.
15. 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 implement the method of any of claims 1-13.
16. A computer-readable storage medium storing computer-executable instructions, wherein the instructions, when executed, are for implementing the method of any one of claims 1 to 13.
CN202110588000.8A 2021-05-27 2021-05-27 U shield testing method, device, equipment and medium Pending CN113204459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110588000.8A CN113204459A (en) 2021-05-27 2021-05-27 U shield testing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110588000.8A CN113204459A (en) 2021-05-27 2021-05-27 U shield testing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113204459A true CN113204459A (en) 2021-08-03

Family

ID=77023507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110588000.8A Pending CN113204459A (en) 2021-05-27 2021-05-27 U shield testing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113204459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604182A (en) * 2022-12-13 2023-01-13 江苏云舟通信科技有限公司(Cn) Wireless communication control system and method based on double verification

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206546570U (en) * 2017-03-16 2017-10-10 北京宝兴达信息技术有限公司 A kind of multiplex roles safety product test system
CN109302522A (en) * 2018-09-11 2019-02-01 北京京东金融科技控股有限公司 Test method, device and computer system and medium
CN110347539A (en) * 2019-07-11 2019-10-18 中国工商银行股份有限公司 Applied to the test method of server, device, system, calculate equipment, medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206546570U (en) * 2017-03-16 2017-10-10 北京宝兴达信息技术有限公司 A kind of multiplex roles safety product test system
CN109302522A (en) * 2018-09-11 2019-02-01 北京京东金融科技控股有限公司 Test method, device and computer system and medium
CN110347539A (en) * 2019-07-11 2019-10-18 中国工商银行股份有限公司 Applied to the test method of server, device, system, calculate equipment, medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604182A (en) * 2022-12-13 2023-01-13 江苏云舟通信科技有限公司(Cn) Wireless communication control system and method based on double verification
CN115604182B (en) * 2022-12-13 2023-03-24 江苏云舟通信科技有限公司 Wireless communication control system and method based on double verification

Similar Documents

Publication Publication Date Title
CN109495308B (en) Automatic operation and maintenance system based on management information system
US7020697B1 (en) Architectures for netcentric computing systems
US9817657B2 (en) Integrated software development and deployment architecture and high availability client-server systems generated using the architecture
WO2021203979A1 (en) Operation and maintenance processing method and apparatus, and computer device
CN107534570A (en) Virtualize network function monitoring
US10339039B2 (en) Virtual service interface
TW200809664A (en) Method an apparatus for middleware assisted system integration in a federated environment
CN106339177A (en) Method and device for creating virtual machines
CN109889381A (en) Automatic configuration management method and device based on fort machine
WO2001033349A2 (en) Architectures for netcentric computing systems
US10924590B1 (en) Virtual workspace experience visualization and optimization
CN113626002A (en) Service execution method and device
CN115812298A (en) Block chain management of supply failure
CN110221910B (en) Method and apparatus for performing MPI jobs
US11418573B1 (en) File transfer abstraction on a computer network
CN113204459A (en) U shield testing method, device, equipment and medium
US11330053B1 (en) Making eventual consistency cache updates deterministic
WO2022067160A1 (en) Remote network and cloud infrastructure management
CN112700014A (en) Method, device and system for deploying federal learning application and electronic equipment
CN116016209A (en) Network automation method and device
CN116319341A (en) Cloud sharing industrial control network safety shooting range system
WO2023050110A1 (en) Method for implementing automatic password change having fault tolerance mechanism for cloud host and cloud bastion host
CN113204460A (en) U shield testing method, device, equipment and medium
CN110795413A (en) Database operation interface service system with log recording function
WO2023142070A1 (en) Method for realizing cloud host permission linkage for cloud host and cloud bastion host

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