[go: up one dir, main page]

CN113495498B - Simulation method, simulator, device and medium for hardware device - Google Patents

Simulation method, simulator, device and medium for hardware device Download PDF

Info

Publication number
CN113495498B
CN113495498B CN202110764272.9A CN202110764272A CN113495498B CN 113495498 B CN113495498 B CN 113495498B CN 202110764272 A CN202110764272 A CN 202110764272A CN 113495498 B CN113495498 B CN 113495498B
Authority
CN
China
Prior art keywords
information
data
hardware
hardware equipment
simulation method
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.)
Active
Application number
CN202110764272.9A
Other languages
Chinese (zh)
Other versions
CN113495498A (en
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 CN202110764272.9A priority Critical patent/CN113495498B/en
Publication of CN113495498A publication Critical patent/CN113495498A/en
Application granted granted Critical
Publication of CN113495498B publication Critical patent/CN113495498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a simulation method for hardware equipment, which can be applied to the technical field of finance or other technical fields. The simulation method comprises the following steps: acquiring information of hardware equipment, and storing the information of the hardware equipment into an equipment information table; collecting interaction data of the hardware equipment and the terminal, and storing the collected interaction data into a data information table, wherein the interaction data and the information of the hardware equipment form a mapping relation; actively modifying the interactive data to obtain virtual data; and sending the virtual data and the information of the hardware equipment to a terminal to realize analog communication. According to the simulation method, the real interaction data of the hardware equipment and the terminal are replaced by the virtual data in a mode of actively modifying the interaction data, so that the simulation communication with the terminal is realized, and the situation of concurrent conflict in the process of simultaneously using a plurality of hardware equipment is avoided. The application also provides a simulator, an electronic device, a storage medium and a computer program product.

Description

Simulation method, simulator, device and medium for hardware device
Technical Field
The present application relates to the field of communication technology, and may be used in the field of finance, and in particular, to a simulation method, simulator, device, medium, and program product for a hardware device.
Background
At present, part of business processes in banks can involve the simultaneous use of various hardware devices, such as a card reader, a cipher device, a high-speed scanner, a printer and the like, and due to the fact that the number of the involved hardware devices is large, concurrent conflicts often occur in the use process.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art.
Therefore, a first object of the present application is to provide a simulation method for hardware devices, which can solve the concurrency problem between hardware devices;
a second object of the present application is to provide a simulator capable of carrying the above simulation method;
a third object of the present application is to provide an electronic device, including the above-mentioned simulation method;
A fourth object of the present application is to provide a computer readable storage medium, in which the above simulation method is stored;
a fifth object of the present application is to provide a computer program product capable of executing the above simulation method.
To achieve the above object, a first aspect of the present application provides an emulation method for a hardware device, comprising the steps of:
Acquiring information of hardware equipment, and storing the information of the hardware equipment into an equipment information table;
Collecting interaction data of hardware equipment and a terminal, and storing the collected interaction data into a data information table, wherein the interaction data and the information of the hardware equipment form a mapping relation;
Actively modifying the interactive data to obtain virtual data;
And sending the virtual data and the information of the hardware equipment to a terminal to realize analog communication.
According to the simulation method, the real interaction data of the hardware equipment and the terminal are replaced by the virtual data in a mode of actively modifying the interaction data, so that the simulation communication with the terminal is realized, and the situation of concurrent conflict in the process of simultaneously using a plurality of hardware equipment is avoided.
Further, obtaining information of the hardware device includes: unique identification information, configuration information, and interface information.
Further, the interaction data and the information of the hardware device form a mapping relation, which comprises the following steps: and taking the unique identification information as a main key, storing the configuration information and the interface information into an equipment information table, and storing the acquired interaction data into a data information table.
Further, the interface information includes: the interface receives the data address and the interface transmits the data address.
A second aspect of the present application provides a simulator comprising: the acquisition module is used for acquiring information of the hardware equipment; the acquisition module is used for acquiring interaction data of the hardware equipment and the terminal; the simulation interaction module is used for actively modifying the interaction data to obtain virtual data, and sending the virtual data to a terminal to realize simulation communication; the storage module is used for storing the information of the hardware equipment into an equipment information table and storing the acquired interaction data into a data information table.
A third aspect of the present application provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the simulation method described above.
A fourth aspect of the present application also provides a computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the above simulation method.
The fifth aspect of the application also provides a computer program product comprising a computer program which, when executed by a processor, implements the simulation method described above.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following description of embodiments of the application with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram when a hardware device and a terminal interact according to an embodiment of the application;
FIG. 2 schematically illustrates a flow chart of a simulation method according to an embodiment of the application;
FIG. 3 schematically shows a block diagram of a simulator in accordance with an embodiment of the application;
fig. 4 schematically shows a block diagram of an electronic device adapted to implement an analog method according to an embodiment of the application.
Detailed Description
Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the application. 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 application. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present application.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The terms "comprises," "comprising," and/or 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 should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having 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.).
At present, part of business processes in banks can involve the simultaneous use of various hardware devices, such as a card reader, a cipher device, a high-speed scanner, a printer and the like, and due to the fact that the number of the involved hardware devices is large, concurrent conflicts often occur in the use process. In the functional test stage, related functional points can be verified through manual operation, a regression test stage is entered, and an automatic test is a main test means, however, the existing automatic framework has poor compatibility to physical peripherals, part of physical peripherals need to be manually operated on objects, and the scene that the automatic test part relates to the peripherals cannot be realized.
The application provides a simulator tool capable of simulating external equipment commonly used in banking business, which is used for analyzing communication data information between hardware equipment and a banking system and realizing the communication between the hardware equipment and the banking system by modifying data simulation.
It should be noted that the simulation method and simulator for hardware devices of the present application can be used in the financial field in the interactive communication between hardware devices and banking systems, and also can be used in any field other than the financial field, and the present application is not limited to specific application fields.
Fig. 1 schematically shows an application scenario diagram of a hardware device according to an embodiment of the application.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a printer device's data interaction with a banking system. The network 104 is the medium used to provide the communication links between the hardware devices 101, 102, 103 and the server 105 in the banking system. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 105 over the network 104 using the hardware devices 101, 102, 103 to receive or send messages, etc. Various communication client applications may be installed on the hardware devices 101, 102, 103, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, and the like (by way of example only).
Hardware devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) that provides support for websites browsed by users using hardware devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the hardware device.
It should be noted that the simulation method provided in the embodiment of the present application may be generally performed by the server 105. Accordingly, the simulator provided in embodiments of the present application may be generally provided in the server 105. The simulation method provided in the embodiments of the present application may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the hardware devices 101, 102, 103 and/or the server 105. Accordingly, the simulators provided in embodiments of the present application may also be provided in servers or server clusters other than server 105 and capable of communicating with hardware devices 101, 102, 103 and/or server 105.
It should be understood that the number of hardware devices, networks, and servers in FIG. 1 are merely illustrative. There may be any number of hardware devices, networks, and servers, as desired for implementation.
The simulation method of the application embodiment will be described in detail below with reference to fig. 2 based on the scenario described in fig. 1.
According to an embodiment of the present application, there is provided an emulation method for a hardware device, including the steps of:
Because the hardware devices are of various kinds and have different functions, it is first necessary to learn the external hardware devices, and then store the important information, which is specifically shown in steps S10-S20.
In step S10, information of the hardware device is acquired, and the information of the hardware device is stored in the device information table.
Firstly, connecting a simulator with hardware equipment, finding out corresponding hardware equipment based on UsbHostManager.getUsbServices (). GetRootUsb Hub () in a usb4java packet, thereby confirming what the hardware equipment is, and then obtaining information of the equipment, generally TCP/IP protocol, UDP, RS232/485 and the like by utilizing usbViewer.
Specifically, the information of the hardware device includes: unique identification information, configuration information, and interface information.
It can be understood that the unique identification information of the hardware device connected to the simulator is obtained by using usbViewer: idVendor (vendor identification) and idProduct (product identification); utilizing UsbConfiguration to obtain configuration information of the hardware equipment; and utilizing UsbInterface and UsbEndpoint to acquire interface information of the hardware device, wherein the interface information comprises interface information used in data interaction with the terminal, and the interface information comprises an interface receiving data address and an interface transmitting data address.
And storing the unique marking information, the configuration information, the interface sending data address, the interface receiving data address and other important hardware equipment information into an equipment information table.
After obtaining and storing the information of the hardware device, step S20 is performed.
In step S20, the interaction data of the hardware device and the terminal are collected, and the collected interaction data are stored in a data information table, wherein the interaction data and the information of the hardware device form a mapping relationship.
The interaction data can be understood as an instruction sent by the hardware device to the terminal and an instruction received by the hardware device from the terminal in the interaction process of the hardware device and the terminal, and all communication data in the interaction process of the hardware device and the terminal are obtained by utilizing UsbPipeListener so as to obtain all communication information of the data interaction of the external device and the bank system.
In a specific embodiment, the terminal can be understood as a banking system, the hardware device is a printer, the banking system sends a printing instruction to the printer, the printer receives the printing instruction sent by the banking system to start printing, and after the printer finishes printing, a printing finishing signal is sent to the banking system, and the above processes form data interaction between the printer and the banking system.
Further, the interaction data and the information of the hardware device form a mapping relation, wherein the mapping relation comprises the steps of taking the unique identification information as a main key, storing configuration information and interface information into a device information table, and storing the acquired interaction data into a data information table.
After all the interactive data of the hardware device and the terminal are obtained and stored, step S30 is performed.
All learning of the connected hardware devices has been completed through steps S10-S20, after which the simulation of the functions of the hardware devices will be completed, embodied in steps S30-S40.
In step S30, the interactive data is actively modified to obtain virtual data.
All interactive data of the hardware equipment and the terminal are recorded in the data information table, the data in the data information table is copied in the process of using the simulator, the stored protection tool is modified in a manual modification mode, a new piece of data is simulated, and the simulated new data is artificially set and is called virtual data.
After the virtual data is obtained, step S40 is performed.
In step S40, the virtual data and the information of the hardware device are sent to the terminal to realize the analog communication.
And sending the virtual data to the terminal through the data address sent by the interface in the hardware equipment information table, and simulating to realize the data interaction between the external hardware equipment and the terminal.
According to the simulation method, the real interaction data of the hardware equipment and the terminal are replaced by the virtual data in a mode of actively modifying the interaction data, so that the simulation communication with the terminal is realized, and the situation of concurrent conflict in the process of simultaneously using a plurality of hardware equipment is avoided.
Based on the simulation method, the application further provides a simulator. The device will be described in detail below in connection with fig. 3.
Fig. 3 schematically shows a block diagram of a simulator according to an embodiment of the application.
As shown in fig. 3, the simulator 200 of this embodiment includes: the device comprises an acquisition module 210, a collection module 220, a simulation interaction module 230 and a storage module 240.
Specifically, the acquiring module 210 is configured to acquire information of the hardware device, and in one embodiment, the acquiring module 210 may be configured to perform the step S10 described above, which is not described herein.
The collection module 220 is configured to collect interaction data between the hardware device and the terminal, and in one embodiment, the collection module 220 may be configured to perform the step S20 described above, which is not described herein.
The interaction module 230 is configured to actively modify the interaction data to obtain virtual data, and send the virtual data to the terminal to implement analog communication, and in one embodiment, the interaction module 230 may be configured to perform the steps S30 and S40 described above, which are not described herein.
The storage module 240 is configured to store information of the hardware device in the device information table and store the collected interaction data in the data information table, and in one embodiment, the storage module 240 may be configured to execute the storage part of steps S10 and S20 described above, which is not described herein.
According to the simulator disclosed by the application, the interactive data collected by monitoring can be duplicated, then the stored data is modified in a manual and active modification mode, so that virtual data is obtained, the virtual data is used for replacing hardware equipment to send information to the terminal, the virtual data is sent to the terminal after being subjected to data conversion in the simulator, and the communication between the hardware equipment and the terminal is simulated.
Any of the acquisition module 210, acquisition module 220, analog interaction module 230, and storage module 240 may be combined in one module or any of the modules may be split into multiple modules according to one embodiment of the application. Or at least some of the functionality of one or more of the modules may be combined with, and implemented in, at least some of the functionality of other modules. At least one of the acquisition module 210, acquisition module 220, analog interaction module 230, and storage module 240 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or as hardware or firmware in any other reasonable manner of integrating or packaging the circuits, or as any one of or a suitable combination of three of software, hardware, and firmware, in accordance with embodiments of the present application. Or at least one of the acquisition module 210, the acquisition module 220, the analog interaction module 230, and the storage module 240 may be at least partially implemented as a computer program module, which, when executed, performs the corresponding functions.
Fig. 4 schematically shows a block diagram of an electronic device adapted to implement an analog method according to an embodiment of the application.
As shown in fig. 4, an electronic device 300 according to an embodiment of the present application includes a processor 301 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303. Processor 301 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 301 may also include on-board memory for caching purposes. Processor 301 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the application.
In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are stored. The processor 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. The processor 301 performs various operations of the method flow according to the embodiment of the present application by executing programs in the ROM 302 and/or the RAM 303. Note that the program may be stored in one or more memories other than the ROM 302 and the RAM 303. The processor 301 may also perform various operations of the method flow according to embodiments of the present application by executing programs stored in the one or more memories.
According to an embodiment of the application, the electronic device 300 may further comprise an input/output (I/O) interface 305, the input/output (I/O) interface 305 also being connected to the bus 304. The electronic device 300 may also include one or more of the following components connected to the I/O interface 305: an input section 306 including a keyboard, a mouse, and the like; an output portion 307 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 308 including a hard disk or the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. The drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
The present application also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present application.
According to embodiments of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to an embodiment of the application, the computer-readable storage medium may include ROM 302 and/or RAM 303 and/or one or more memories other than ROM 302 and RAM 303 described above.
Embodiments of the present application also include a computer program product comprising a computer program containing program code for performing the method shown in the flowcharts. The program code means for causing a computer system to carry out the article recommendation method provided in the embodiments of the present application when the computer program product is run on the computer system.
The above-described functions defined in the system/apparatus of the embodiment of the present application are performed when the computer program is executed by the processor 301. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the application.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed over a network medium in the form of signals, downloaded and installed via the communication part 309, and/or installed from the removable medium 311. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 309, and/or installed from the removable medium 311. The above-described functions defined in the system of the embodiment of the present application are performed when the computer program is executed by the processor 301. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the application.
According to embodiments of the present application, program code for executing computer programs provided in embodiments of the present application can be written in any combination of one or more programming languages, and in particular, such computer programs can be implemented in high level procedural and/or object oriented programming languages, and/or in assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts 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 application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the application and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the application. In particular, the features recited in the various embodiments of the application and/or in the claims can be combined in various combinations and/or combinations without departing from the spirit and teachings of the application. All such combinations and/or combinations fall within the scope of the application.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The embodiments of the present application are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present application. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the application is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the application, and such alternatives and modifications are intended to fall within the scope of the application.

Claims (7)

1. A simulation method for a hardware device, comprising the steps of:
Acquiring information of hardware equipment, and storing the information of the hardware equipment into an equipment information table;
Collecting interaction data of hardware equipment and a terminal, and storing the collected interaction data into a data information table, wherein the interaction data and the information of the hardware equipment form a mapping relation;
Actively modifying the interactive data to obtain virtual data;
Sending the virtual data and the information of the hardware equipment to a terminal to realize analog communication,
Wherein, obtaining the information of the hardware device includes: unique identification information, configuration information, and interface information.
2. The simulation method according to claim 1, wherein the interaction data and the information of the hardware device form a mapping relationship, comprising: and taking the unique identification information as a main key, storing the configuration information and the interface information into an equipment information table, and storing the acquired interaction data into a data information table.
3. The simulation method according to claim 2, wherein the interface information includes: the interface receives the data address and the interface transmits the data address.
4. A simulator, comprising:
The acquisition module is used for acquiring information of the hardware equipment;
The acquisition module is used for acquiring interaction data of the hardware equipment and the terminal;
the simulation interaction module is used for actively modifying the interaction data to obtain virtual data, and sending the virtual data to a terminal to realize simulation communication;
a storage module for storing the information of the hardware device into a device information table and storing the acquired interaction data into a data information table,
The obtaining of the information of the hardware device comprises the following steps: unique identification information, configuration information, and interface information.
5. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the simulation method of any of claims 1-3.
6. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to perform the simulation method according to any of claims 1-3.
7. A computer program product comprising a computer program which, when executed by a processor, implements the simulation method according to any of claims 1-3.
CN202110764272.9A 2021-07-06 2021-07-06 Simulation method, simulator, device and medium for hardware device Active CN113495498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110764272.9A CN113495498B (en) 2021-07-06 2021-07-06 Simulation method, simulator, device and medium for hardware device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110764272.9A CN113495498B (en) 2021-07-06 2021-07-06 Simulation method, simulator, device and medium for hardware device

Publications (2)

Publication Number Publication Date
CN113495498A CN113495498A (en) 2021-10-12
CN113495498B true CN113495498B (en) 2024-05-28

Family

ID=77995831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110764272.9A Active CN113495498B (en) 2021-07-06 2021-07-06 Simulation method, simulator, device and medium for hardware device

Country Status (1)

Country Link
CN (1) CN113495498B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785635B (en) * 2022-06-21 2022-10-18 深圳研控自动化科技股份有限公司 Programmable logic controller connection method and device, terminal equipment and storage medium
CN115145776A (en) * 2022-07-26 2022-10-04 苏州景昱医疗器械有限公司 Automated testing method, device, equipment, system and storage medium
CN116502433B (en) * 2023-04-24 2024-09-27 惠州市乐亿通科技股份有限公司 A virtual inverter and a method for developing an energy monitoring system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432916A (en) * 2002-11-01 2003-07-30 英业达股份有限公司 Multi-threaded automated testing method
CN110632857A (en) * 2019-09-25 2019-12-31 中国工程物理研究院计算机应用研究所 Control Performance Verification Method for Large-Scale Hierarchical Control Systems
CN111459816A (en) * 2020-03-31 2020-07-28 北京百度网讯科技有限公司 Fault injection test method, device, system and storage medium
CN112584049A (en) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 Remote interaction method and device, electronic equipment and storage medium
CN112799940A (en) * 2021-01-26 2021-05-14 中国工商银行股份有限公司 Regression testing method, device, computer system and computer readable storage medium
CN112988608A (en) * 2021-05-19 2021-06-18 腾讯科技(深圳)有限公司 Data testing method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432916A (en) * 2002-11-01 2003-07-30 英业达股份有限公司 Multi-threaded automated testing method
CN110632857A (en) * 2019-09-25 2019-12-31 中国工程物理研究院计算机应用研究所 Control Performance Verification Method for Large-Scale Hierarchical Control Systems
CN111459816A (en) * 2020-03-31 2020-07-28 北京百度网讯科技有限公司 Fault injection test method, device, system and storage medium
CN112584049A (en) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 Remote interaction method and device, electronic equipment and storage medium
CN112799940A (en) * 2021-01-26 2021-05-14 中国工商银行股份有限公司 Regression testing method, device, computer system and computer readable storage medium
CN112988608A (en) * 2021-05-19 2021-06-18 腾讯科技(深圳)有限公司 Data testing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113495498A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN113495498B (en) Simulation method, simulator, device and medium for hardware device
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
CN110659206A (en) Simulation architecture establishing method, device, medium and electronic equipment based on microservice
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN112363914B (en) Parallel test resource allocation optimizing method, computing device and storage medium
CN113986258B (en) Business publishing method, device, equipment and storage medium
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN107368407B (en) Information processing method and device
US11262990B2 (en) Application topology discovery
CN113535577A (en) Application testing method and device based on knowledge graph, electronic equipment and medium
CN113535574B (en) Automatic generation method, device, equipment and medium for test user data
CN115760013A (en) Operation and maintenance model construction method and device, electronic equipment and storage medium
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN113132400B (en) Business processing method, device, computer system and storage medium
US20130311220A1 (en) Evaluating deployment readiness in delivery centers through collaborative requirements gathering
US11563576B2 (en) Distributed anonymous scoring technique
WO2021044502A1 (en) Test design device, test design method, test design program, and test design system
CN112347382A (en) Product page sharing method and device and electronic equipment
CN111581098A (en) Interface data transfer storage method, device, server and storage medium
US12050566B2 (en) Migration tool
CN117176576A (en) Network resource changing method, device, equipment and storage medium
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
US20230040767A1 (en) Automatic capture of user interface screenshots for software product documentation
CN113360417B (en) Test method, session modifier, electronic device and medium

Legal Events

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