CN112115010B - Simulation test method of self-service equipment, intelligent terminal and storage medium - Google Patents

Simulation test method of self-service equipment, intelligent terminal and storage medium Download PDF

Info

Publication number
CN112115010B
CN112115010B CN202010878704.4A CN202010878704A CN112115010B CN 112115010 B CN112115010 B CN 112115010B CN 202010878704 A CN202010878704 A CN 202010878704A CN 112115010 B CN112115010 B CN 112115010B
Authority
CN
China
Prior art keywords
self
program interface
information
configuration file
middleware
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
CN202010878704.4A
Other languages
Chinese (zh)
Other versions
CN112115010A (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.)
Shenzhen Zijin Fulcrum Technology Co ltd
Original Assignee
Shenzhen Zijin Fulcrum Technology Co ltd
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 Shenzhen Zijin Fulcrum Technology Co ltd filed Critical Shenzhen Zijin Fulcrum Technology Co ltd
Priority to CN202010878704.4A priority Critical patent/CN112115010B/en
Publication of CN112115010A publication Critical patent/CN112115010A/en
Application granted granted Critical
Publication of CN112115010B publication Critical patent/CN112115010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation
    • 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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • 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 invention discloses a simulation test method of self-service equipment and an intelligent terminal storage medium, and particularly relates to the simulation test method of the self-service equipment, wherein the method comprises the following steps: acquiring hardware module information and program interface information of self-service equipment; compiling and generating a simulation configuration file according to the hardware module information and the program interface information; and loading the simulation configuration file to realize the test of the application and the middleware. According to the embodiment of the invention, the test of the application and the middleware is realized by simulating the hardware module information of the self-service equipment, so that the parallel development progress of the application and the middleware is improved.

Description

Simulation test method of self-service equipment, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a simulation test method of self-service equipment, an intelligent terminal and a storage medium.
Background
Self-service equipment service of a financial institution depends on each hardware equipment which really exists, and business function development interacted with underlying hardware needs to be tested on the actual hardware equipment to verify. The available test equipment provided by each financial institution is less, the existing test equipment can not meet the requirements of multiple service development tests at the same time in the actual development process, and after a single hardware module in the test equipment fails, the test corresponding to the module middleware and the application flow can not be performed before a hardware maintainer repairs, so that the service development is dependent on the actual hardware equipment, and the service development progress is slow or stagnated due to the problem of the hardware equipment.
With the autonomous, safe and controllable promotion of the financial industry in China, the application is urgently required to be capable of running on open source system platforms such as LINUX and the like, but currently, a hardware Service Provider (SP) which completely supports the XFS standard of the LINUX system is not available, before the actual hardware SP completely supports the XFS standard encapsulation of the LINUX, the application based on the XFS standard cannot be developed and perfected on the LINUX system in advance, and for self-service equipment based on the LINUX system, parallel development of the application, middleware and SP cannot be realized, so that the project progress is slow.
When the self-service equipment in the production environment has application problems, related operation and state of single hardware are usually required to be reproduced when the problems occur, some subtle differences may exist in the hardware of the same model, the hardware actions of the equipment under some specific conditions cannot be reproduced on the test equipment, and the hardware of the test equipment also has difficulty in simulating the production states, so that the application cannot locate the problem reasons under some conditions in which the problems cannot be reproduced, or the validity of a regression test verification solution cannot be carried out after the problems are attempted to be solved.
Accordingly, there is a need for improvement and development in the art.
Disclosure of Invention
The invention aims to solve the technical problems that the application, middleware and SP in the prior art can not realize parallel development, and the project development is slow.
The technical scheme adopted by the invention for solving the problems is as follows:
In a first aspect, an embodiment of the present invention provides a method for simulating and testing a self-service device, where the method includes:
acquiring hardware module information and program interface information of self-service equipment;
Compiling and generating a simulation configuration file according to the hardware module information and the program interface information;
and loading the simulation configuration file to realize the test of the application and the middleware.
In one implementation, the obtaining the hardware module information of the self-service device includes:
Acquiring functional information of a hardware module;
and acquiring state information of the hardware module.
In one implementation, the acquiring the program interface information includes:
acquiring the program interface information under the LINUX system;
and acquiring the program interface information under the WINDOWS system.
In one implementation, the acquiring the program interface information under the LINUX system includes:
Acquiring program interface information of a plurality of versions conforming to the XFS standard under the LINUX system;
program interface information which does not include the XFS standard under the LINUX system is acquired.
In one implementation, the acquiring the program interface information under the WINDOWS system includes:
Acquiring program interface information of a plurality of versions conforming to the XFS standard under a WINDOWS system;
Program interface information under the WINDOWS system which does not incorporate the XFS standard is acquired.
In one implementation, compiling and generating the simulation configuration file according to the hardware module information and the program interface information includes:
Constructing a system frame;
Filling the hardware module information and the program interface information into the system framework to generate a data file;
Compiling the data file to generate a simulation configuration file.
In one implementation, the loading the simulation configuration file to implement the test of the application and the middleware includes:
Acquiring an interface of the simulation configuration file;
connecting the interface to the application while connecting it to the middleware;
And loading the simulation configuration file, the application and the middleware at the same time to realize the test of the application and the middleware.
In one implementation, the loading the simulation configuration file to implement the test on the application and the middleware further includes:
modifying the information of the simulation configuration file and storing the information as a modified simulation configuration file;
and loading the modified simulation configuration file, the application and the middleware at the same time to realize the test of the application and the middleware.
In a second aspect, an embodiment of the present invention further provides an apparatus for simulating and testing a self-service device, where the apparatus includes:
The information acquisition unit is used for acquiring hardware module information and program interface information of the self-service equipment;
The file generation unit is used for compiling and generating a simulation configuration file according to the hardware module information and the program interface information;
and the loading unit is used for loading the simulation configuration file so as to realize the test of the application and the middleware.
In a third aspect, an embodiment of the present invention further provides an intelligent terminal, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors, where the one or more programs include an analog testing method for executing a self-service device as set forth in any one of the above.
In a fourth aspect, embodiments of the present invention further provide a non-transitory computer readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform a method for simulating a test of a self-service device according to any one of the above.
The invention has the beneficial effects that: firstly, acquiring hardware module information and program interface information of self-service equipment; compiling and generating a simulation configuration file according to the hardware module information and the program interface information; and finally, loading the simulation configuration file to realize the test of the application and the middleware. Therefore, the embodiment of the invention realizes the test of the application and the middleware by simulating the hardware module information of the self-service equipment so as to improve the parallel development progress of the application and the middleware.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
Fig. 1 is a schematic flow chart of a simulation test method of a self-service device.
FIG. 2 is a schematic block diagram of an analog testing device of a self-service device according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
The invention discloses a simulation test method of self-service equipment, an intelligent terminal and a storage medium, and in order to make the purposes, technical schemes and effects of the invention clearer and more definite, the invention is further described in detail below by referring to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
In the prior art, along with the autonomous, safe and controllable promotion of the financial industry in China, the application is urgent to be capable of running on open source system platforms such as LINUX and the like, but currently, a hardware Service Provider (SP) which completely supports the XFS standard of the LINUX system is not available, before the actual hardware SP completely supports the XFS standard encapsulation of the LINUX, the application based on the XFS standard cannot be developed and perfected on the LINUX system in advance, and for self-service equipment based on the LINUX system, the application, middleware and SP cannot realize parallel development, so that the project progress is slow.
When the self-service equipment in the production environment has application problems, related operation and state of single hardware are usually required to be reproduced when the problems occur, some subtle differences may exist in the hardware of the same model, the hardware actions of the equipment under some specific conditions cannot be reproduced on the test equipment, and the hardware of the test equipment also has difficulty in simulating the production states, so that the application cannot locate the problem reasons under some conditions in which the problems cannot be reproduced, or the validity of a regression test verification solution cannot be carried out after the problems are attempted to be solved.
In order to solve the problems in the prior art, the embodiment provides a simulation test method of self-service equipment, and the self-service equipment can be simulated by the method, so that the test of applications and middleware is realized, and the progress of parallel development is improved. In practice, the self-service device refers to self-service devices of financial institutions, existing application service development and problem investigation greatly depend on actual hardware modules and operating systems, for example, a hardware interface under LINUX does not support XFS standard encapsulation, an actual hardware module is not enough to be used, fails or can not simulate and reproduce operations and states which occur under specific conditions, application development can not complete project development tasks required by the financial institutions on time, and problems occurring in production can not be rapidly positioned and corrected, so that the self-service devices can not provide services for the outside for a long time.
Therefore, business development and problem investigation under both WINDOWS and LINUX systems require a companion tool that can flexibly simulate the various functions and possible states of hardware in the self-service device. Therefore, the software interface of the application can be compatible to run on the mainstream operating systems such as LINUX and WINDOWS, and provides a program interface conforming to the XFS standard or a non-standard interface conforming to the known standard for the upper (application layer) layer, and downwards simulates the functions and states of various hardware modules of the self-service equipment. The device can simulate hardware modules conforming to XFS standards such as a card reader, a password keyboard and a printer of self-service equipment, and can simulate non-standard hardware modules such as a password keyboard which can be encrypted and decrypted by using a national encryption algorithm, a camera which can carry out living body inspection, a fingerprint instrument and the like. In addition, the simulation software of the application covers the existing hardware modules which are intended to be newly added in production, and has good expansibility for simulation of various new financial peripherals which may occur in the future. Finally, the simulation software can directly replace an actual hardware module during service development and problem investigation, and greatly improves the efficiency of service development and BUG repair. When the method is implemented, firstly, the hardware module information and the program interface information of the self-service equipment are acquired; compiling and generating a simulation configuration file according to the hardware module information and the program interface information; and finally, loading the simulation configuration file to realize the test of the application and the middleware. Therefore, the embodiment of the application realizes the test of the application and the middleware by simulating the hardware module information of the self-service equipment so as to improve the parallel development progress of the application and the middleware.
For example, the hardware module information and the program interface information of the self-service device are acquired, in practice, because the development of the hardware module affects the development progress of the software, the method for simulating the hardware module of the self-service device is adopted in the application, and before the hardware module is simulated, the hardware module information of the self-service device and the program interface information of the hardware module are required to be acquired, so that a simulation configuration file, namely simulation software, is compiled and generated according to the hardware module information and the program interface information, and the simulation software can completely replace each functional module and interface module of the hardware module. When software developer needs to test application or middleware, the software developer does not need to wait for the self-service equipment to debug, and only needs to butt joint the application or the middleware with simulation software, so that development of the application and development of the middleware and development of hardware such as self-service equipment can be performed in parallel, development efficiency of the software developer is improved, and development period and product development efficiency of the whole financial service provider are improved.
Exemplary method
The simulation test method of the self-service equipment provided by the embodiment can be applied to product research and development projects of financial institution service providers. As shown in fig. 1, the method includes:
Step S100, acquiring hardware module information and program interface information of self-service equipment;
Specifically, the hardware of the self-service equipment of the financial institution comprises a cash-dispensing module, a cash box, a safe, a display, an electronic control cabinet, an encryption module, a communication module, a card reader, a serial printer, a hand saw printer, an operator panel, an alarm system, a camera, an advertising board, a deposit module, a file printer, a passbook printer and the like, so that the information of the hardware module of the self-service equipment needs to be acquired firstly; in addition, because of different specific application scenarios, the program interfaces of each financial institution are different, if one self-service device corresponds to one program interface, the self-service device cannot support the other program interface, so that the self-service device is single in application, and therefore, the application needs to acquire the program interface information to prepare for the subsequent unified program interface.
In order to obtain more detailed hardware module information of the self-service device, the obtaining the hardware module information of the self-service device includes the following steps:
step S101, obtaining the function information of a hardware module;
step S102, acquiring state information of the hardware module.
Specifically, the self-service device needs to complete a cash-spitting function, a cash-depositing function, a display function, an encryption function, a communication function, a data reading function, a printing function, a panel operation function, an alarm function, a camera shooting function, an advertisement playing function, and a cash-depositing function, so that software needs to acquire the above function information of the self-service device when the hardware of the self-service device is simulated. In addition, the states of the self-service equipment in different time are different, for example, in the initial stage of starting the self-service equipment, the system can set the initial state of the self-service equipment, and meanwhile, in the running process of the self-service equipment, the functional states of all modules can change, so that simulation software needs to acquire the state information of the self-service equipment.
In order to obtain more detailed program interface information of the self-service device, the step of obtaining the program interface information comprises the following steps:
step S111, acquiring the program interface information under LINUX system;
and step S112, acquiring the program interface information under the WINDOWS system.
The traditional hardware service provider supports the WINDOWS system, along with the autonomous, safe and controllable promotion of China to the financial industry, the application is urgently required to be capable of running on open source system platforms such as LINUX systems and the like, and in order to enable the self-service equipment simulation software to support the WINDOWS system and the LINUX systems, the information of program interfaces of the self-service equipment under the WINDOWS system and the LINUX systems is required to be acquired first.
In order to obtain more complete program interface information under the LINUX system, the step of obtaining the program interface information under the LINUX system comprises the following steps:
Step S1111, acquiring program interface information of a plurality of versions conforming to the XFS standard under the LINUX system;
step S1112, acquiring program interface information which does not include XFS standard under LINUX system.
For example, in practice, the self-service device system has program interfaces conforming to XFS standards, such as self-service device card readers, code keyboards, printers; therefore, the simulation software needs to acquire the program interface information conforming to the XFS standard under the LINUX system; in addition, considering that with the increase of functions, the program interfaces conforming to the XFS standard are continuously updated to generate XFS standards of different versions, the self-service device system further includes program interface information conforming to a certain specification, but not conforming to the XFS standard, for example, a second-generation id card, a cryptographic keyboard capable of using national encryption and decryption, a camera capable of performing living detection, a fingerprint instrument and other program interfaces not conforming to the XFS standard, and the simulation software needs to acquire the program interface information not conforming to the XFS standard under the LINUX system.
In order to obtain more complete program interface information under the WINDOWS system, the obtaining the program interface information under the WINDOWS system includes:
step S1121, acquiring program interface information of a plurality of versions conforming to the XFS standard under a WINDOWS system;
Step S1122, acquiring program interface information which does not incorporate the XFS standard under the WINDOWS system.
For example, in practice, the self-service device system has program interfaces conforming to XFS standards, such as self-service device card readers, code keyboards, printers; therefore, the simulation software needs to acquire the program interface information conforming to the XFS standard in the WINDOWS system; in addition, considering that with the increase of functions, the program interface conforming to the XFS standard is continuously updated to generate different versions of XFS standards, and the self-service device system further includes program interface information conforming to a certain specification, but not conforming to the XFS standard, for example, a second-generation id card, a cryptographic keyboard capable of using national encryption and decryption, a camera capable of performing living detection, a fingerprint instrument, and other program interfaces not conforming to the XFS standard, and the simulation software needs to acquire program interface information not conforming to the XFS standard under the WINDOWS system.
In order to simulate self-service equipment with matched functions, as shown in fig. 1, the method comprises the following steps:
and step 200, compiling and generating a simulation configuration file according to the hardware module information and the program interface information.
When the method is specifically applied, after the obtained hardware module information and program interface information are used, software development and demand common discussion are carried out by a software developer according to the information, a development target and a feasibility scheme of the software are determined, then each function to be realized by the software is subjected to detailed demand analysis, then the whole software system is designed according to the result of the demand analysis, such as system framework design, database design and the like, the result of the software design is converted into a computer-executable program code, and finally the completed software design is subjected to tight test, and once the problem of the software in the whole software design process is found, the test can be unit test, assembly test, system test, test method can be white box test and black box test, and after the test of the whole software is completed, the simulation configuration file is compiled and generated.
In order to generate the simulation configuration file, compiling and generating the simulation configuration file according to the hardware module information and the program interface information comprises the following steps:
step S201, constructing a system frame;
Step S202, filling the hardware module information and the program interface information into the system framework to generate a data file;
step S203, compiling the data file to generate a simulation configuration file.
Specifically, the embodiment of the invention adopts the same set of codes to implement different compiling configurations to support the WINDOWS system and LINUX system, firstly constructs a QT framework crossing an IDE QT Creator of an operating system, fills hardware module information and program interface information into the system framework, realizes simulation of hardware of each financial device in a graphical interface mode, simulates actions needing to be executed in the operation process of the actual device such as taking, placing, pressing keys and the like by buttons and clicking events, displays the content needing to be displayed on a corresponding area of the graphical interface, generates a data file, stores the data file in a database, compiles a source program formed by the data file by a compiling system, and connects the source program to generate an executable file, namely a simulation configuration file.
After the simulation configuration file is generated, the function of the actual self-service equipment can be replaced, and the method specifically shown in fig. 1 comprises the following steps:
And step S300, loading the simulation configuration file to realize the test of the application and the middleware.
The self-service equipment service provider of the financial institution depends on all existing hardware equipment, software developers can test applications or middleware under the condition that the hardware equipment is complete, namely after the software developers finish preliminary writing of program codes, the software developers need to perfect the performance of the codes, the self-service equipment is connected with the self-service equipment to realize testing and searching BUG, if the self-service equipment is not perfect enough, the software developers can only be in a waiting state until the hardware equipment is complete, the software developers start to debug the self-service equipment, the research and development period is prolonged intangibly, the rule of the market is competition, a plurality of self-service equipment service providers are simultaneously researching and developing products of the same series, products of which are developed in the shortest time are preempted by banks, and under the consideration, the financial institution service providers can improve the hardware, the software and the middleware development progress as much as possible, and push own products to the market at the fastest speed.
In order to simulate the self-service equipment, the loading of the simulation configuration file to realize the test of the application and the middleware comprises the following steps:
Step S301, obtaining an interface of the simulation configuration file;
step S302, connecting the interface to the application while connecting it to the middleware;
and step S303, loading the simulation configuration file, the application and the middleware simultaneously to realize the test of the application and the middleware.
When loading the simulation configuration file, the interface of the simulation configuration file needs to be acquired first, the configuration file interface of the simulation software is connected with the application and connected to the middleware, then the simulation configuration file, the application and the middleware are loaded, for example, the simulation software is compatible according to different versions of XFS standards, the emphasis of the difference of module command parameter structures is the importance, memory parsing and allocation schemes corresponding to the adaptive versions are selected according to version negotiation mechanisms in the XFS standards, the command parameter structures transmitted from the upper layer are parsed according to the structures of the corresponding versions, the parameters required by the commands are transmitted into the simulator from the upper layer, the parameters of the commands determined in the XFS versions are determined according to negotiation, all parameter values required by executing the commands are acquired, the commands are executed, finally the returned results are allocated to the memory according to the structures of the corresponding versions, the output parameters, namely, the output parameters of the commands in the different versions may be different, the actual output parameters are organized according to the description of the output parameters of the commands in the version confirmed by negotiation, and the pointer is assigned to the application of the upper layer corresponding to the adaptive version. Through the debugging, the functions of the application and the middleware can be tested. In one implementation, when only an upper layer application supporting a single XFS standard is provided before the corresponding XFS version hardware is provided, the simulation software in the embodiment of the present invention may be used to perform development and debugging, so as to shorten the project development period.
In order to make the simulation software of the self-service device more intelligent in testing, the loading of the simulation configuration file to realize the testing of the application and the middleware further comprises the following steps:
step S311, modifying the information of the simulation configuration file and storing the information as a modified simulation configuration file;
And step S312, loading the modified simulation configuration file, the application and the middleware simultaneously to realize the test of the application and the middleware.
After the simulation software of the self-service equipment completes the test of one functional state during debugging, another functional state in the simulation software needs to be debugged, and at the moment, the functional state value of the simulation software needs to be modified; in addition, when an application problem occurs in a self-service device, related operations and states of single hardware are usually required to be reproduced when the problem occurs, and some subtle differences may exist in the hardware of the same model, if different devices are used for debugging, the actions of the hardware appearing on one self-service device cannot be reproduced on another self-service device, so that when the test is performed, the application software cannot exhaust all the problems, and therefore, an upper layer application is difficult to test and verify compatible processing methods of the same problem on the self-service devices of different models. The embodiment of the invention can replace hardware equipment to a certain extent by simulating self-service equipment to generate simulation software, and the information of the simulation configuration file is modified and stored as the modified simulation configuration file; and reproducing some problems, and simultaneously loading the modified simulation configuration file, the application and the middleware to realize the test of the application and the middleware. Thus, functional simulation is superior to actual self-service hardware.
Exemplary apparatus
As shown in fig. 2, an embodiment of the present invention provides an analog testing apparatus of a self-service device, including: the device comprises an information acquisition unit 211, a file generation unit 212, a loading unit 213 and an information acquisition unit 211, wherein the information acquisition unit 211 is used for acquiring hardware module information and program interface information of the self-service equipment; a file generating unit 212, configured to compile and generate a simulation configuration file according to the hardware module information and the program interface information; and the loading unit 213 is used for loading the simulation configuration file so as to realize the test of the application and the middleware.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a functional block diagram thereof may be shown in fig. 3. The intelligent terminal comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. The processor of the intelligent terminal is used for providing computing and control capabilities. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the intelligent terminal is used for communicating with an external terminal through network connection. The computer program, when executed by the processor, implements a method for simulating testing of a self-service device. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and a temperature sensor of the intelligent terminal is arranged in the intelligent terminal in advance and used for detecting the running temperature of internal equipment.
It will be appreciated by those skilled in the art that the schematic diagram in fig. 3 is merely a block diagram of a portion of the structure related to the present invention and is not limiting of the smart terminal to which the present invention is applied, and that a specific smart terminal may include more or less components than those shown in the drawings, or may combine some components, or have a different arrangement of components.
In one embodiment, a smart terminal is provided that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for:
acquiring hardware module information and program interface information of self-service equipment;
Compiling and generating a simulation configuration file according to the hardware module information and the program interface information;
and loading the simulation configuration file to realize the test of the application and the middleware.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
In summary, the invention discloses a simulation test method of self-service equipment, an intelligent terminal and a storage medium, wherein the method comprises the following steps: acquiring hardware module information and program interface information of self-service equipment; compiling and generating a simulation configuration file according to the hardware module information and the program interface information; and loading the simulation configuration file to realize the test of the application and the middleware. According to the embodiment of the invention, the test of the application and the middleware is realized by simulating the hardware module information of the self-service equipment, so that the parallel development progress of the application and the middleware is improved.
It should be understood that the present invention discloses a self-service device simulation test method, an intelligent terminal and a storage medium, and it should be understood that the application of the present invention is not limited to the above examples, and that modifications and changes can be made by one skilled in the art according to the above description, and all such modifications and changes should fall within the scope of the appended claims.

Claims (8)

1. A method for analog testing of self-service equipment, the method comprising:
acquiring hardware module information and program interface information of self-service equipment;
Compiling and generating a simulation configuration file according to the hardware module information and the program interface information;
Loading the simulation configuration file to realize the test of the application and the middleware;
The acquiring the program interface information includes:
acquiring the program interface information under the LINUX system;
Acquiring the program interface information under a WINDOWS system;
Compiling and generating a simulation configuration file according to the hardware module information and the program interface information comprises the following steps:
Constructing a system frame;
Filling the hardware module information and the program interface information into the system framework to generate a data file;
Compiling the data file to generate a simulation configuration file.
2. The method for simulating test of self-service equipment according to claim 1, wherein the obtaining hardware module information of the self-service equipment comprises:
Acquiring functional information of a hardware module;
and acquiring state information of the hardware module.
3. The method for simulating testing of self-service equipment according to claim 1, wherein the obtaining the program interface information under the LINUX system comprises:
Acquiring program interface information of a plurality of versions conforming to the XFS standard under the LINUX system;
program interface information which does not include the XFS standard under the LINUX system is acquired.
4. The method for simulating testing of a self-service device according to claim 1, wherein the obtaining the program interface information under a WINDOWS system comprises:
Acquiring program interface information of a plurality of versions conforming to the XFS standard under a WINDOWS system;
Program interface information under the WINDOWS system which does not incorporate the XFS standard is acquired.
5. The method of claim 1, wherein loading the simulation configuration file to enable testing of applications and middleware comprises:
Acquiring an interface of the simulation configuration file;
connecting the interface to the application while connecting it to the middleware;
And loading the simulation configuration file, the application and the middleware at the same time to realize the test of the application and the middleware.
6. The method of claim 5, wherein loading the simulation configuration file to enable testing of applications and middleware further comprises:
modifying the information of the simulation configuration file and storing the information as a modified simulation configuration file;
and loading the modified simulation configuration file, the application and the middleware at the same time to realize the test of the application and the middleware.
7. An intelligent terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-6.
8. A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method of any of claims 1-6.
CN202010878704.4A 2020-08-27 2020-08-27 Simulation test method of self-service equipment, intelligent terminal and storage medium Active CN112115010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010878704.4A CN112115010B (en) 2020-08-27 2020-08-27 Simulation test method of self-service equipment, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010878704.4A CN112115010B (en) 2020-08-27 2020-08-27 Simulation test method of self-service equipment, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112115010A CN112115010A (en) 2020-12-22
CN112115010B true CN112115010B (en) 2024-05-10

Family

ID=73804225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010878704.4A Active CN112115010B (en) 2020-08-27 2020-08-27 Simulation test method of self-service equipment, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112115010B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005285092A (en) * 2004-12-28 2005-10-13 Advantest Corp Test emulation apparatus
WO2009021620A1 (en) * 2007-08-14 2009-02-19 Harman Becker Automotive Systems Gmbh Testing hardware configurations
CN105302685A (en) * 2015-11-30 2016-02-03 北京润科通用技术有限公司 Collaborative simulation testing method and device for software and hardware
CN106202685A (en) * 2016-07-01 2016-12-07 合肥海本蓝科技有限公司 A kind of software and hardware cooperating simulation accelerator operation environmental structure method and apparatus
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090119084A1 (en) * 2007-11-05 2009-05-07 Advantest Corporation System, method, and program product for simulating test equipment
US8214195B2 (en) * 2008-03-21 2012-07-03 Mentor Graphics Corporation Testing in a hardware emulation environment
CN107077413B (en) * 2014-09-08 2021-01-15 起元科技有限公司 Data driven test framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005285092A (en) * 2004-12-28 2005-10-13 Advantest Corp Test emulation apparatus
WO2009021620A1 (en) * 2007-08-14 2009-02-19 Harman Becker Automotive Systems Gmbh Testing hardware configurations
CN105302685A (en) * 2015-11-30 2016-02-03 北京润科通用技术有限公司 Collaborative simulation testing method and device for software and hardware
CN106202685A (en) * 2016-07-01 2016-12-07 合肥海本蓝科技有限公司 A kind of software and hardware cooperating simulation accelerator operation environmental structure method and apparatus
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA

Also Published As

Publication number Publication date
CN112115010A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
US10409700B2 (en) Flexible configuration and control of a testing system
CN104407980B (en) Mobile solution automatic test device and method
US7895575B2 (en) Apparatus and method for generating test driver
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
US20060101403A1 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
US10176078B1 (en) Debugging process
CN111782505B (en) Train system simulation test method, device, computer equipment and storage medium
CN102917242A (en) Testing system and testing method of multi-format video decoder
US20100162217A1 (en) Debugging System Using Static Analysis
CN109933521A (en) Automated testing method, device, computer equipment and storage medium based on BDD
CN113032246B (en) SSD firmware operation method and device, readable storage medium and electronic equipment
EP2883134A1 (en) Executable software specification generation
CN110737985A (en) Running data verification method and device, computer equipment and readable storage medium
CN102144221B (en) Compact framework for automated testing
CN112115010B (en) Simulation test method of self-service equipment, intelligent terminal and storage medium
CN115629815A (en) FPGA prototype verification platform capable of verifying EMMC user interface
CN115470152A (en) Test code generation method, test code generation device, and storage medium
Vuli et al. Maximizing test asset re-use across MIL, SIL, and HIL development platforms
CN115599361A (en) Software development method, device, equipment and medium
Wang et al. A declarative enhancement of JavaScript programs by leveraging the Java metadata infrastructure
US10296449B2 (en) Recording an application test
US20200349304A1 (en) Method, apparatus, device, and medium for implementing simulator
CN114756217B (en) Plug-in based script generation system
CN112580282B (en) Method, apparatus, device and storage medium for integrated circuit design verification
CN115658532A (en) Automated case testing method, automated case testing apparatus, 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