CN113495498A - 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
CN113495498A
CN113495498A CN202110764272.9A CN202110764272A CN113495498A CN 113495498 A CN113495498 A CN 113495498A CN 202110764272 A CN202110764272 A CN 202110764272A CN 113495498 A CN113495498 A CN 113495498A
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.)
Granted
Application number
CN202110764272.9A
Other languages
Chinese (zh)
Other versions
CN113495498B (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

Images

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; acquiring interactive data of hardware equipment and a terminal, and storing the acquired interactive data into a data information table, wherein the interactive 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 virtual data is used for replacing real interactive data of the hardware equipment and the terminal in a mode of actively modifying the interactive data, so that the simulation communication with the terminal is realized, and the condition of concurrency conflict in the process of simultaneously using a plurality of hardware equipment is avoided. The present 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 communications technologies, and may be used in the field of finance, and in particular, to a simulation method, simulator, device, medium, and program product for hardware devices.
Background
At present, part of business processes in a bank can involve simultaneous use of multiple hardware devices, such as a card reader, a scrambler, a high-speed shooting instrument, a printer and the like, and due to the fact that the number of the involved hardware devices is large, concurrency conflicts often occur in the use process.
Disclosure of Invention
The present application is directed to solving at least one of the problems in the prior art.
Therefore, a first objective of the present application is to provide an emulation method for hardware devices, which can solve the concurrency problem between hardware devices;
a second objective of the present application is to provide a simulator, which can carry the simulation method;
a third objective of the present application is to provide an electronic device, which includes the above simulation method;
a fourth objective of the present application is to provide a computer-readable storage medium, in which the simulation method is stored;
a fifth object of the present application is to provide a computer program product, which can execute the simulation method.
In order 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;
acquiring interactive data of hardware equipment and a terminal, and storing the acquired interactive data into a data information table, wherein the interactive 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 virtual data is used for replacing real interactive data of the hardware equipment and the terminal in a mode of actively modifying the interactive data, so that the simulation communication with the terminal is realized, and the condition of concurrency conflict in the process of simultaneously using a plurality of hardware equipment is avoided.
Further, acquiring the information of the hardware device includes: unique identification information, configuration information, and interface information.
Further, the mapping relationship between the interaction data and the information of the hardware device includes: and storing the configuration information and the interface information into an equipment information table and storing the acquired interaction data into a data information table by taking the unique identification information as a main key.
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 the information of the hardware equipment; the acquisition module is used for acquiring interactive data of the hardware equipment and the terminal; the interaction module is used for actively modifying the interaction data to obtain virtual data and sending the virtual data to a terminal to realize simulated communication; the storage module is used for storing the information of the hardware equipment to an equipment information table and storing the acquired interaction data to a data information table.
A third aspect of the present application provides an electronic device comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the simulation method described above.
The fourth aspect of the present application also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described simulation method.
The fifth aspect of the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the above simulation method.
Additional aspects and advantages of the present 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 present 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 present application;
FIG. 2 schematically shows a flow chart of a simulation method according to an embodiment of the application;
FIG. 3 schematically illustrates a block diagram of a simulator according to an embodiment of the present application;
fig. 4 schematically shows a block diagram of an electronic device adapted to implement an emulation 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 is to be understood that such description is merely illustrative and not intended to limit the scope of the present 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. 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 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 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.).
At present, part of business processes in a bank can involve simultaneous use of multiple hardware devices, such as a card reader, a scrambler, a high-speed shooting instrument, a printer and the like, and due to the fact that the number of the involved hardware devices is large, concurrency conflicts often occur in the use process. In the functional test stage, related functional points can be verified through manual operation, the regression test stage is entered, automatic testing is a main test means, however, the compatibility of the existing automatic framework to physical peripherals is poor, part of the physical peripherals need to be manually operated on real objects, and the scene of the automatic test part related to the peripherals cannot be realized.
The application provides a simulator tool capable of simulating external equipment commonly used in banking business, communication data information between hardware equipment and a banking system is analyzed, and communication between the hardware equipment and the banking system is achieved through data modification simulation.
It should be noted that the simulation method and simulator for hardware equipment in the present application can be used in the financial field for interactive communication between hardware equipment and a banking system, and can also be used in any field other than the financial field.
Fig. 1 schematically shows a hardware device and an application scenario diagram according to an embodiment of the present application.
As shown in fig. 1, an application scenario 100 according to this embodiment may include data interaction of a printer device with a banking system. Network 104 is the medium used to provide communication links between hardware devices 101, 102, 103 and server 105 in the banking system. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the hardware devices 101, 102, 103 to interact with the server 105 over the network 104 to receive or send messages or the like. The hardware devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, and the like (by way of example only).
The hardware devices 101, 102, 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background management server (for example only) that provides support for websites browsed by users using the hardware devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, 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 executed by the server 105. Accordingly, the simulator provided in the embodiment of the present application may be generally provided in the server 105. The simulation methods provided in embodiments of the present application may also be performed by a server or cluster of servers different from server 105 and capable of communicating with hardware devices 101, 102, 103 and/or server 105. Accordingly, the simulator provided in the embodiments of the present application may also be provided in a server or a server cluster different from the server 105 and capable of communicating with the hardware devices 101, 102, 103 and/or the server 105.
It should be understood that the number of hardware devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of hardware devices, networks, and servers, as desired for an implementation.
The simulation method of the application embodiment will be described in detail by 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:
since the hardware devices are of various types and have different functions, it is necessary to learn the external hardware devices first and then store the important information, which is embodied in steps S10-S20.
In step S10, the information of the hardware device is acquired and stored into the device information table.
Firstly, a simulator is connected with hardware equipment, and corresponding hardware equipment is found based on UsbHostManager.getUsbServices (). getRootUsb Hub () in a usb4java packet, so that the specific equipment of the hardware equipment is confirmed, and then the usbViewer is used for acquiring the information of the equipment, which is generally TCP/IP protocol, UDP, RS232/485 and the like.
Specifically, the information of the hardware device includes: unique identification information, configuration information, and interface information.
It can be understood that the usbViewer is used to obtain the unique identification information of the hardware device connected with the simulator: idVendor (vendor identification) and idProduct (product identification); acquiring configuration information of hardware equipment by using UsbConfiguration; and acquiring interface information of the hardware equipment by using the UsbInterface and the UsbEndpoint, wherein the interface information comprises interface information used when data interaction is carried out with a terminal, and the interface information comprises an interface receiving data address and an interface sending data address.
And storing the information of the important hardware equipment such as the unique identification information, the configuration information, the interface sending data address, the interface receiving data address and the like into an equipment information table.
After the information of the hardware device is obtained and stored, step S20 is executed.
In step S20, interaction data between the hardware device and the terminal is collected, and the collected interaction data is stored in a data information table, where the interaction data and the information of the hardware device form a mapping relationship.
The interactive data can be understood as an instruction sent by the hardware device to the terminal and an instruction of the terminal received by the hardware device in the interactive process of the hardware device and the terminal, and all communication data in the interactive process of the hardware device and the terminal are obtained by using the UsbPipellistener so as to obtain all communication information of data interaction between the external device and the bank system.
In a specific embodiment, the terminal can be understood as a bank system, the hardware device is a printer, the bank system sends a printing instruction to the printer, the printer receives the printing instruction sent by the bank system and starts printing, and sends a signal of printing completion to the bank system after the printer completes printing, so that data interaction between the printer and the bank system is formed.
Further, the interactive data and the information of the hardware equipment form a mapping relation, wherein the mapping relation comprises that the unique identification information is used as a main key, the configuration information and the interface information are stored in an equipment information table, and the acquired interactive data are stored in a data information table.
After all the interaction data of the hardware device and the terminal are obtained and stored, step S30 is executed.
The full learning of the connected hardware devices has been completed through steps S10-S20, after which the simulation of the hardware device functions 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 interaction are recorded in the data information table, in the process of using the simulator, the data in the data information table are copied, the stored protective tool is modified in a manual modification mode, a new piece of data is simulated, and the simulated new data is called as virtual data due to artificial setting.
After the virtual data is obtained, step S40 is executed.
In step S40, the virtual data and the information of the hardware device are transmitted to the terminal to implement the analog communication.
And sending the virtual data to the terminal by sending a data address through an interface in the hardware equipment information table, and simulating to realize data interaction between external hardware equipment and the terminal.
According to the simulation method, the virtual data is used for replacing real interactive data of the hardware equipment and the terminal in a mode of actively modifying the interactive data, so that the simulation communication with the terminal is realized, and the condition of concurrency conflict in the process of simultaneously using a plurality of hardware equipment is avoided.
Based on the simulation method, the application also provides a simulator. The apparatus will be described in detail below with reference to fig. 3.
Fig. 3 schematically shows a block diagram of a simulator according to an embodiment of the present application.
As shown in fig. 3, the simulator 200 of this embodiment includes: an acquisition module 210, an acquisition module 220, a simulation interaction module 230, and a storage module 240.
Specifically, the obtaining module 210 is configured to obtain information of a hardware device, and in an embodiment, the obtaining module 210 may be configured to execute the step S10 described above, which is not described herein again.
The collecting module 220 is configured to collect interaction data of the hardware device and the terminal, and in an embodiment, the collecting module 220 may be configured to perform step S20 described above, which is not described herein again.
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 the simulated communication, in an embodiment, the interaction module 230 may be configured to perform the steps S30 and S40 described above, which are not described herein again.
The storage module 240 is configured to store information of the hardware device in the device information table and store the acquired interaction data in the data information table, and in an embodiment, the storage module 240 may be configured to perform the storage parts of steps S10 and S20 described above, which are not described herein again.
According to the simulator, interaction data collected by monitoring can be copied, then stored data are modified in a manual active modification mode, virtual data are obtained, the virtual data are used for replacing hardware equipment to send information to a terminal, the virtual data are sent to the terminal after data conversion is carried out in the simulator, and communication between the hardware equipment and the terminal is achieved in a simulated mode.
According to an embodiment of the present application, any plurality of the acquisition module 210, the acquisition module 220, the simulation interaction module 230, and the storage module 240 may be combined into one module to be implemented, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present application, at least one of the obtaining module 210, the acquiring module 220, the analog interaction module 230, and the storage module 240 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or any suitable combination of any of them. Alternatively, at least one of the acquisition module 210, the acquisition module 220, the simulated interaction module 230 and the storage module 240 may be at least partially implemented as a computer program module, which when executed may perform the respective functions.
Fig. 4 schematically shows a block diagram of an electronic device adapted to implement an emulation 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 associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 301 may also include on-board memory for caching purposes. The processor 301 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present application.
In the RAM 303, various programs and data necessary 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 flows according to the embodiments of the present application by executing programs in the ROM 302 and/or the RAM 303. Note that the program may also 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 flows according to embodiments of the present application by executing programs stored in the one or more memories.
According to an embodiment of the present application, electronic device 300 may also include an input/output (I/O) interface 305, input/output (I/O) interface 305 also being connected to bus 304. Electronic device 300 may also include one or more of the following components connected to I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 308 including a hard disk and 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. A 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 mounted on the drive 310 as necessary, so that a computer program read out therefrom is mounted into the storage section 308 as necessary.
The present application also provides a computer-readable storage medium, which may be embodied in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the 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 present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present application, a 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 illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided in the embodiment of the present application.
The computer program performs the above-described functions defined in the system/apparatus of the embodiment of the present application when executed by the processor 301. According to embodiments of the present application, the above-described systems, apparatuses, modules, units, etc. may be implemented by computer program modules.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, downloaded and installed through the communication section 309, and/or installed from the removable medium 311. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 309, and/or installed from the removable medium 311. The computer program, when executed by the processor 301, performs the above-described functions defined in the system of the embodiment of the present application. According to embodiments of the present application, the above-described systems, devices, apparatuses, modules, units, etc. may be implemented by computer program modules.
According to embodiments of the present application, program code for executing computer programs provided in embodiments of the present application may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present 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.
It will be appreciated by a person skilled in the art that various combinations and/or combinations of features described in the various embodiments and/or claims of the present application are possible, even if such combinations or combinations are not explicitly described in the present application. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present application may be made without departing from the spirit and teachings of the present application. All such combinations and/or associations are intended to fall within the scope of this application.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," 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 application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. 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. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present application. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the application is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present application, and such alternatives and modifications are intended to be within the scope of the present application.

Claims (8)

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;
acquiring interactive data of hardware equipment and a terminal, and storing the acquired interactive data into a data information table, wherein the interactive 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.
2. The simulation method of claim 1, wherein obtaining information about hardware devices comprises: unique identification information, configuration information, and interface information.
3. The simulation method of claim 2, wherein the interaction data is mapped with information of the hardware device, and comprises: and storing the configuration information and the interface information into an equipment information table and storing the acquired interaction data into a data information table by taking the unique identification information as a main key.
4. The simulation method of claim 3, wherein the interface information comprises: the interface receives the data address and the interface transmits the data address.
5. A simulator, comprising:
the acquisition module is used for acquiring the information of the hardware equipment;
the acquisition module is used for acquiring interactive data of the hardware equipment and the terminal;
the interaction module is used for actively modifying the interaction data to obtain virtual data and sending the virtual data to a terminal to realize simulated communication;
the storage module is used for storing the information of the hardware equipment to an equipment information table and storing the acquired interaction data to a data information table.
6. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the simulation method of any of claims 1-4.
7. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform a simulation method according to any one of claims 1-4.
8. A computer program product comprising a computer program which, when executed by a processor, implements a simulation method according to any one of claims 1-4.
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 true CN113495498A (en) 2021-10-12
CN113495498B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785635A (en) * 2022-06-21 2022-07-22 深圳研控自动化科技股份有限公司 Programmable logic controller connecting method and device, terminal equipment and storage medium
CN116502433A (en) * 2023-04-24 2023-07-28 惠州市乐亿通科技有限公司 Virtual inverter and energy monitoring system development method

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 英业达股份有限公司 Multiple-thread automatic test method
CN110632857A (en) * 2019-09-25 2019-12-31 中国工程物理研究院计算机应用研究所 Control performance verification method for large-scale hierarchical control system
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 英业达股份有限公司 Multiple-thread automatic test method
CN110632857A (en) * 2019-09-25 2019-12-31 中国工程物理研究院计算机应用研究所 Control performance verification method for large-scale hierarchical control system
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785635A (en) * 2022-06-21 2022-07-22 深圳研控自动化科技股份有限公司 Programmable logic controller connecting method and device, terminal equipment and storage medium
CN114785635B (en) * 2022-06-21 2022-10-18 深圳研控自动化科技股份有限公司 Programmable logic controller connection method and device, terminal equipment and storage medium
CN116502433A (en) * 2023-04-24 2023-07-28 惠州市乐亿通科技有限公司 Virtual inverter and energy monitoring system development method

Also Published As

Publication number Publication date
CN113495498B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
US11416373B2 (en) Providing debug information on production containers using debug containers
US10831463B2 (en) Intelligent software deployment on an IaaS platform
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
US11303729B2 (en) Virtual workspace experience visualization and optimization
CN113495498B (en) Simulation method, simulator, device and medium for hardware device
JP2023511114A (en) Techniques for Utilizing Directed Acyclic Graphs for Deployment Instructions
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN107644075A (en) The method and apparatus for collecting page info
CN113132400B (en) Business processing method, device, computer system and storage medium
CN113535577A (en) Application testing method and device based on knowledge graph, electronic equipment and medium
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN111930629A (en) Page testing method and device, electronic equipment and storage medium
CN112860344A (en) Component processing method and device, electronic equipment and storage medium
US9542171B2 (en) Managing an application modification process
CN113535574B (en) Automatic generation method, device, equipment and medium for test user data
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN114691527A (en) Unit test case generation method, apparatus, device, medium, and program product
US11563576B2 (en) Distributed anonymous scoring technique
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN115080434A (en) Case execution method, device, equipment and medium
CN114035864A (en) Interface processing method, interface processing device, electronic device, and storage medium
Kakkar et al. Risk analysis in mobile application development
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN113535590A (en) Program testing method and device
CN113392623A (en) Service data object generation method, generation device, electronic device and storage medium

Legal Events

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