CN112115010A - 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
CN112115010A
CN112115010A CN202010878704.4A CN202010878704A CN112115010A CN 112115010 A CN112115010 A CN 112115010A CN 202010878704 A CN202010878704 A CN 202010878704A CN 112115010 A CN112115010 A CN 112115010A
Authority
CN
China
Prior art keywords
self
simulation
information
program interface
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010878704.4A
Other languages
Chinese (zh)
Inventor
郭亚
柏兆朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN112115010A/en
Publication of CN112115010A publication Critical patent/CN112115010A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The invention discloses a simulation test method of self-service equipment and an intelligent terminal storage medium, which particularly relates to the method, and the method comprises the following steps: acquiring hardware module information and program interface information of the 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. 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.

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
The self-service equipment service of the financial institution depends on each hardware equipment which really exists, and the development of the business function interacting with the bottom hardware can be verified only by testing the actual hardware equipment. The existing test equipment can not simultaneously meet the requirements of multiple business development tests in the actual development process, and after a single hardware module in the test equipment fails, the test of the middleware and the application process of the module can not be carried out before a hardware maintainer repairs the hardware module, so that the business development is dependent on the actual hardware equipment, and the business development progress is slow or stagnated frequently due to the problems of the hardware equipment.
With the advance of independent safety and controllability of the financial industry in China, applications are urgently required to be operated on open source system platforms such as LINUX and the like, but at present, hardware Service Providers (SPs) which completely support the XFS standard of the LINUX system do not exist, the applications based on the XFS standard cannot be developed and perfected on the LINUX system in advance before the actual hardware SPs completely support the XFS standard of the LINUX and cannot be developed in parallel for self-service equipment based on the LINUX system, and therefore the project is slow in development.
When the self-service equipment in the production environment has an application problem, the related operation and state of single hardware when the problem occurs usually need to be reproduced, the hardware of the same model may have some slight differences, the hardware action of the equipment under some specific conditions cannot be reproduced on the test equipment, and the hardware of the test equipment is difficult to simulate the state on production, so that the reason of the problem cannot be located when the self-service equipment is applied to some conditions that the problem cannot be reproduced, or after the problem is tried to be solved, regression test cannot be performed to verify the validity of the solution.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a simulation test method, an intelligent terminal, and a storage medium for self-service equipment, aiming at solving the problem that the project progress is slow because the application, the middleware, and the SP in the prior art cannot be developed in parallel.
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 simulation test method for a self-service device, where the method includes:
acquiring hardware module information and program interface information of the 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 acquiring hardware module information of the self-service device includes:
acquiring functional information of a hardware module;
and acquiring the state information of the hardware module.
In one implementation, the obtaining program interface information includes:
acquiring the program interface information under the LINUX system;
and acquiring the program interface information under the WINDOWS system.
In an implementation manner, the obtaining the program interface information under the LINUX system includes:
acquiring program interface information of a plurality of versions conforming to an XFS standard under an LINUX system;
and acquiring the information of the program interface which is not included in the XFS standard under the LINUX system.
In one implementation manner, the acquiring the program interface information under the WINDOWS system includes:
acquiring program interface information of a plurality of versions conforming to an XFS standard under a WINDOWS system;
and acquiring program interface information which is not included in the XFS standard under the WINDOWS system.
In one implementation, the compiling and generating a simulation configuration file according to the hardware module information and the program interface information includes:
constructing a system framework;
filling hardware module information and the program interface information into the system framework to generate a data file;
and compiling the data file to generate a simulation configuration file.
In one implementation, the loading the simulation configuration file to implement the testing 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 simultaneously loading the simulation configuration file, the application and the middleware to realize the test of the application and the middleware.
In one implementation, the loading the simulation configuration file to implement testing of the application and the middleware further comprises:
modifying the information of the simulation configuration file and storing the information as the modified simulation configuration file;
and simultaneously loading the modified simulation configuration file, the application and the middleware to realize the test of the application and the middleware.
In a second aspect, an embodiment of the present invention further provides a simulation testing apparatus for 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 generating 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 one or more processors includes a simulation testing method for executing a self-service device as described in any one of the above.
In a fourth aspect, embodiments of the present invention further provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a simulation testing method for a self-service device as described in 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; then 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a simulation testing method for self-service equipment according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a simulation testing apparatus 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 purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. 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. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, 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. 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, with the advance of independent safety and controllability of the financial industry in China, applications are urgently required to be operated on open source system platforms such as LINUX and the like, but at present, hardware Service Providers (SP) which completely support the XFS standard of the LINUX system do not exist, the applications based on the XFS standard cannot be developed and perfected on the LINUX system in advance before the actual hardware SP completely supports the XFS standard of the LINUX and is packaged, and for self-service equipment based on the LINUX system, the applications, the middleware and the SP cannot be developed in parallel, so that the project is slow in development.
When the self-service equipment in the production environment has an application problem, the related operation and state of single hardware when the problem occurs usually need to be reproduced, the hardware of the same model may have some slight differences, the hardware action of the equipment under some specific conditions cannot be reproduced on the test equipment, and the hardware of the test equipment is difficult to simulate the state on production, so that the reason of the problem cannot be located when the self-service equipment is applied to some conditions that the problem cannot be reproduced, or after the problem is tried to be solved, regression test cannot be performed to verify the validity of the solution.
In order to solve the problems in the prior art, this embodiment provides a simulation test method for self-service equipment, by which simulation of the self-service equipment can be realized, so that tests on applications and middleware are realized, and the progress of parallel development is improved. In practice, the self-service device refers to a self-service device of a financial institution, the existing application service development and problem investigation greatly depend on an actual hardware module and an operating system, for example, a hardware interface under LINUX does not support XFS standard packaging, the actual hardware module is not enough, a fault occurs or simulation cannot be performed or simulation reproduction cannot be performed under certain specific conditions, application development cannot complete a project development task required by the financial institution on time, and problems occurring in production cannot be quickly positioned and corrected, so that the production self-service device cannot provide services to the outside for a long time.
Therefore, service development and troubleshooting both require a complete set of tools under WINDOWS and LINUX systems to flexibly simulate various functions and possible states of hardware in self-service equipment. Therefore, the software interface of the application can be compatible to run on mainstream operating systems such as LINUX and WINDOWS, provides a program interface which accords with an XFS standard or a non-standard interface which accords with a known standard for an upper application layer (application layer), and downwards simulates the functions and states of various hardware modules of the self-service equipment. The simulation system can simulate hardware modules which meet the XFS standard, such as a self-service equipment card reader, a password keyboard, a printer and the like, and can also simulate non-standard hardware modules, such as a second generation card, a password keyboard which can be encrypted and decrypted by using a national password algorithm, a camera which can be used for in vivo examination, a fingerprint instrument and the like. In addition, the simulation software covers the existing hardware module which is expected to be newly added in production, and has good expansibility on the simulation of various new financial peripherals which may appear in the future. Finally, the simulation software of the application can directly replace an actual hardware module during service development and problem investigation, and the efficiency of service development and BUG repair is greatly improved. When the method is specifically implemented, firstly, hardware module information and program interface information of the self-service equipment are obtained; then 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.
For example, hardware module information and program interface information of the self-service device are obtained, in practice, because development of the hardware module affects development progress of software, the method for simulating the hardware module of the self-service device is adopted, before the hardware module is simulated, the hardware module information of the self-service device and the program interface information of the hardware module need to be obtained, and therefore according to the hardware module information and the program interface information, a simulation configuration file is compiled and generated, namely simulation software, and the simulation software can completely replace all functional modules and interface modules of the hardware module. When a software developer needs to test the application or the middleware, the software developer only needs to butt joint the application or the middleware to the simulation software without waiting for the self-service equipment to be debugged, so that the development of the application and the middleware and the development of hardware such as the self-service equipment can be carried out in parallel, the development efficiency of the software developer is improved, and the development cycle and the product development efficiency of the whole financial service provider are improved.
Exemplary method
The simulation test method for 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 in detail, the method includes:
s100, acquiring hardware module information and program interface information of the self-service equipment;
specifically, the hardware of the self-service device of the financial institution includes 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 flow printer, a manual printer, an operator panel, an alarm system, a camera, an advertisement board, a deposit module, a file printer, a bankbook printer and the like, so that the information of the hardware modules of the self-service device needs to be acquired at first; in addition, because of different specific application scenarios, the financial institution program interfaces are different, and if one self-service device corresponds to one program interface, the self-service device cannot support another program interface, so that the application of the self-service device is single.
In order to obtain more detailed hardware module information of the self-service equipment, the step of obtaining the hardware module information of the self-service equipment comprises the following steps:
s101, acquiring function information of a hardware module;
and step S102, acquiring the state information of the hardware module.
Specifically, the self-service equipment needs to complete a banknote receiving function, a banknote storage 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 depositing and withdrawing function, so that when the self-service equipment is simulated by hardware, software needs to acquire the above function information of the self-service equipment. In addition, the states of the self-service device in different times are different, for example, in an initial stage of starting the self-service device, the system may set an initial state of the self-service device, and simultaneously, in a process of running the self-service device, functional states of the modules may change, so that the simulation software needs to acquire the state information of the self-service device.
In order to obtain more detailed program interface information of the self-service equipment, the obtaining of the program interface information comprises the following steps:
step S111, acquiring the program interface information under the LINUX system;
and step S112, acquiring the program interface information under the WINDOWS system.
The traditional hardware service providers all support WINDOWS systems, along with the independent, 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 in order to enable self-service equipment simulation software of the application to support the WINDOWS systems and the LINUX systems, information of program interfaces of self-service equipment under the WINDOWS systems and the LINUX systems needs to be obtained firstly.
In order to obtain more complete program interface information under the LINUX system, the obtaining of the program interface information under the LINUX system includes the following steps:
s1111, acquiring program interface information of a plurality of versions conforming to the XFS standard under the LINUX system;
step S1112, obtaining the program interface information which is not included in the XFS standard under the LINUX system.
For example, in practice, a self-service device system has, in addition to the presence of a program interface that conforms to the XFS standard, e.g., a self-service device card reader, a password keypad, a printer; therefore, the simulation software needs to acquire and acquire the information of the program interface conforming to the XFS standard under the LINUX system; in addition, in consideration of the fact that the XFS standard compliant program interface is continuously upgraded to generate different versions of the XFS standard with the increase of functions, the self-service device system further includes information of the XFS standard compliant program interface, which is not included in the XFS standard, such as a second generation of analog id card, a password keyboard capable of encrypting and decrypting using a national password, a camera capable of performing liveness detection, a fingerprint device, and other program interfaces which are not included in the XFS standard, and the simulation software needs to acquire information of the XFS standard non-included program interface under the LINUX system.
In order to obtain more complete program interface information under the WINDOWS system, the obtaining of the program interface information under the WINDOWS system includes:
step S1121, obtaining several versions of program interface information conforming to XFS standard under WINDOWS system;
and step S1122, acquiring the information of the program interface which is not included in the XFS standard under the WINDOWS system.
For example, in practice, a self-service device system has, in addition to the presence of a program interface that conforms to the XFS standard, e.g., a self-service device card reader, a password keypad, a printer; therefore, the simulation software needs to acquire the information of the program interface conforming to the XFS standard under the WINDOWS system; in addition, considering that the XFS standard is generated by continuously upgrading the program interface conforming to the XFS standard with the increase of functions, the self-service device system further includes program interface information conforming to a certain specification but not incorporated into the XFS standard, for example, program interfaces not incorporated into the XFS standard, such as a second generation of analog id card, a password keyboard capable of encrypting and decrypting using national password, a camera capable of performing liveness detection, a fingerprint instrument, and the like, and the simulation software needs to acquire the program interface information not incorporated into the XFS standard under the WINDOWS system.
In order to simulate the self-service device with the matching function, as shown in fig. 1, the method includes the following steps:
and S200, compiling and generating a simulation configuration file according to the hardware module information and the program interface information.
In specific application, after acquiring the hardware module information and the program interface information, a software developer performs the common discussion of software development and requirements according to the information to determine the development target and the feasibility scheme of the software, then, each function which needs to be realized by the software is subjected to detailed demand analysis, and according to the result of the demand analysis, designing the whole software system, such as system frame design, database design, etc., then converting the software design result into computer executable program code, finally strictly testing the completed software design, correcting the problem once the software is found in the whole software design process, the test can be a unit test, an assembly test, a system test, a white box test and a black box test, when the whole software is tested, the simulation configuration file is compiled, finished and generated.
In order to generate the simulation configuration file, the 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 framework;
step S202, filling hardware module information and the program interface information into the system framework to generate a data file;
and 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 WINDOWS systems and LINUX systems, firstly, a QT frame crossing an IDE QT Creator of an operating system is constructed, hardware module information and program interface information are filled into the system frame, simulation of hardware of each financial device is realized in a graphical interface mode, actions needing to be executed in the running process of actual devices such as holding, placing and pressing keys and the like are simulated by buttons and click events, contents needing to be displayed are displayed on a corresponding area of the graphical interface to generate data files, the data files are stored in a database, and a source program formed by the data files is compiled and connected by a compiling system to generate executable files, namely simulation configuration files.
After the simulation configuration file is generated, the function of the actual self-service device can be replaced, specifically as shown in fig. 1, the method includes 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 each existing hardware equipment, a software developer can test the application or the middleware under the condition that the hardware equipment is complete, namely after the software developer finishes the initial writing of a program code, the performance of the code needs to be perfected, the software developer needs to be connected with the self-service equipment through the middleware to realize the test and search for BUG, if the function of the self-service equipment is not perfect enough, the software developer can only be in a waiting state, the software developer starts to debug the self-service equipment until the hardware equipment is complete, the research and development period is prolonged invisibly, the market rule is competitive, a plurality of self-service equipment service providers simultaneously research and develop products of the same series, and who is researched in the shortest time, seizes a market leader and is adopted by a bank, the financial institution service provider can improve the development progress of hardware, software and middleware as much as possible and push own products to the market at the fastest speed, so that the hardware function of the simulation software simulation self-service equipment is generated by compiling, the application and the middleware are tested, the product development period of the financial self-service equipment can be prolonged, and the market is won more quickly.
In order to realize the simulation of 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:
s301, acquiring an interface of the simulation configuration file;
step S302, connecting the interface to the application and simultaneously connecting the interface 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, it needs to obtain the interface of the simulation configuration file first, connect the configuration file interface of the simulation software with the application, and connect it to the middleware, then load the simulation configuration file, application and middleware, for example, the important point that the simulation software needs to be compatible according to different versions of XFS standards lies in the difference of module command parameter structure, select the memory analysis and distribution scheme corresponding to the adapted version according to the version negotiation mechanism in the XFS standard, analyze the command parameter structure transmitted from the upper layer according to the structure of the corresponding version, transmit the upper layer to the simulator to support the parameters required by the command, analyze according to the parameter structure description of the command determined in the negotiation-determined XFS version, obtain all the parameter values required for executing the command, execute the command, and finally distribute the memory according to the structure of the corresponding version of the returned result, and assigning output parameters, namely the output parameters of the same command in different versions are possibly different, organizing and assigning the actual output parameters according to the description of the command output parameters in the version confirmed by negotiation, returning to the upper layer through a pointer, and perfectly adapting to the application platform of the corresponding version. By the debugging, the functions of the application and the middleware can be tested. In one embodiment, before an upper layer application supporting only a single XFS standard does not have a corresponding XFS version hardware provided yet, simulation software in the embodiment of the present invention may be used for development and debugging, so as to shorten a project development cycle.
In order to make the simulation software of the self-service device more intelligent during 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 saving the information as the modified simulation configuration file;
and step S312, loading the modified simulation configuration file, the application and the middleware at the same time so as to realize the test of the application and the middleware.
When the simulation software of the self-service equipment completes the test of one functional state during debugging, the other 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 the self-service device has an application problem, the related operation and state of a single piece of hardware when the problem occurs usually need to be reproduced, and the hardware of the same model may have some slight differences, if different devices are used for debugging, the hardware action occurring on one self-service device cannot be reproduced on another self-service device, so that during testing, application software cannot exhaust all the problems, and the compatible processing method for testing and verifying the same problem on the self-service devices of different models by upper-layer application is difficult. The embodiment of the invention generates simulation software through the simulation self-service equipment, can replace hardware equipment to a certain extent, and stores the simulation configuration file as the modified simulation configuration file by modifying the information of the 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. Therefore, the functional simulation aspect is superior to the actual self-service device hardware.
Exemplary device
As shown in fig. 2, an embodiment of the present invention provides a simulation testing apparatus for a self-service device, including: the system 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 a loading unit 213, configured to load the simulation configuration file to implement testing on the application and the middleware.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as 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. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. 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 an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a simulated testing method 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 the temperature sensor of the intelligent terminal is arranged inside the intelligent terminal in advance and used for detecting the operating temperature of internal equipment.
It will be understood by those skilled in the art that the schematic diagram in fig. 3 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, an intelligent 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 the one or more processors, the one or more programs including instructions for:
acquiring hardware module information and program interface information of the 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.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile 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 DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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 the 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. 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.
It should be understood that the present invention discloses a simulation test method for self-service equipment, a smart 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 it will be apparent to those skilled in the art that modifications and variations can be made in the light of the above description, and all such modifications and variations are within the scope of the appended claims.

Claims (10)

1. A simulation test method of self-service equipment is characterized by comprising the following steps:
acquiring hardware module information and program interface information of the 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.
2. The simulation test method of self-service equipment according to claim 1, wherein the acquiring hardware module information of self-service equipment comprises:
acquiring functional information of a hardware module;
and acquiring the state information of the hardware module.
3. The method for simulation testing of self-service equipment according to claim 1, wherein the obtaining of the program interface information comprises:
acquiring the program interface information under the LINUX system;
and acquiring the program interface information under the WINDOWS system.
4. The simulation testing method of self-service equipment according to claim 3, wherein the acquiring the program interface information under the LINUX system comprises:
acquiring program interface information of a plurality of versions conforming to an XFS standard under an LINUX system;
and acquiring the information of the program interface which is not included in the XFS standard under the LINUX system.
5. The simulation test method of self-service equipment according to claim 3, wherein the acquiring the program interface information under the WINDOWS system comprises:
acquiring program interface information of a plurality of versions conforming to an XFS standard under a WINDOWS system;
and acquiring program interface information which is not included in the XFS standard under the WINDOWS system.
6. The simulation test method of self-service equipment according to claim 1, wherein compiling and generating a simulation configuration file according to the hardware module information and the program interface information comprises:
constructing a system framework;
filling hardware module information and the program interface information into the system framework to generate a data file;
and compiling the data file to generate a simulation configuration file.
7. The method for simulation testing of self-service devices of claim 6, wherein said 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 simultaneously loading the simulation configuration file, the application and the middleware to realize the test of the application and the middleware.
8. The method for simulation testing of self-service devices of claim 7, wherein said 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 the modified simulation configuration file;
and simultaneously loading the modified simulation configuration file, the application and the middleware to realize the test of the application and the middleware.
9. An intelligent terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs being configured to be executed by the one or more processors comprises instructions for performing the method of any of claims 1-8.
10. A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of claims 1-8.
CN202010878704.4A 2020-08-27 2020-08-27 Simulation test method of self-service equipment, intelligent terminal and storage medium Pending CN112115010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010878704.4A CN112115010A (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 CN112115010A (en) 2020-08-27 2020-08-27 Simulation test method of self-service equipment, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112115010A true CN112115010A (en) 2020-12-22

Family

ID=73804225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010878704.4A Pending CN112115010A (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) CN112115010A (en)

Citations (8)

* 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
US20090119084A1 (en) * 2007-11-05 2009-05-07 Advantest Corporation System, method, and program product for simulating test equipment
US20090240457A1 (en) * 2008-03-21 2009-09-24 Eric Durand Testing in a hardware emulation environment
CN105302685A (en) * 2015-11-30 2016-02-03 北京润科通用技术有限公司 Collaborative simulation testing method and device for software and hardware
US20160070641A1 (en) * 2014-09-08 2016-03-10 Ab lnitio Technology LLC Data-driven testing framework
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

Patent Citations (8)

* 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
US20090119084A1 (en) * 2007-11-05 2009-05-07 Advantest Corporation System, method, and program product for simulating test equipment
US20090240457A1 (en) * 2008-03-21 2009-09-24 Eric Durand Testing in a hardware emulation environment
US20160070641A1 (en) * 2014-09-08 2016-03-10 Ab lnitio Technology LLC Data-driven testing framework
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

Similar Documents

Publication Publication Date Title
US11281570B2 (en) Software testing method, system, apparatus, device medium, and computer program product
CN103365770B (en) Mobile terminal software test macro and method for testing software
US10409700B2 (en) Flexible configuration and control of a testing system
CN104407980B (en) Mobile solution automatic test device and method
JP5295269B2 (en) Method for generating component model-based virtual software platform, method for verifying software platform architecture using the same, and apparatus therefor
US11194550B2 (en) System and method for migrating legacy software to a system common architecture
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
US20130263092A1 (en) Method of converting source code and source code conversion program
CN107239271A (en) Develop document structure tree method and device
CN109889587A (en) Internet of things system automated construction method, device, equipment and storage medium
Thibault et al. A domain-specific language for video device drivers: from design to implementation
JP7394213B2 (en) Smart contract processing methods, systems, computer equipment, and readable storage media
CN103186463B (en) Determine the method and system of the test specification of software
Da Silva et al. LEON3 ViP: a virtual platform with fault injection capabilities
CN113568839A (en) Method, device, equipment and medium for software testing and statistical test coverage rate
CN112419057A (en) Method, device, equipment and storage medium for generating and storing logs of intelligent contracts
KR100935685B1 (en) Apparatus and Method for Developing Software
CN108287720B (en) Software compiling method, device, equipment and storage medium
CN102144221B (en) Compact framework for automated testing
CN113742215A (en) Method and system for automatically configuring and calling test tool to perform test analysis
CN112115010A (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
CN107885487A (en) The method that a kind of test of information physical emerging system and need satisfaction are examined
Marinke et al. Towards an extensible architecture for refactoring test code
Iber et al. Ubtl UML testing profile based testing language

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