Cross-platform simulation system for testing input and output functions of software

A functional test, input and output technology, applied in the field of cross-platform simulation system, can solve problems such as time-consuming and laborious, reduce development efficiency and quality, and hardware platform interferes with the direction and thinking of software system developers to solve problems, so as to improve efficiency and quality , testing and debugging the effect of convenience

Pending Publication Date: 2019-10-08
ZHENGZHOU WONDER ELECTRICAL POWER
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Currently, as attached Figure 4 As shown, during project development and later troubleshooting, the user must connect the developed project to a real hardware environment for circuit acquisition and control to test the implementation effect of the software system function and troubleshooting, leading to the test of the pr

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-platform simulation system for testing input and output functions of software
  • Cross-platform simulation system for testing input and output functions of software
  • Cross-platform simulation system for testing input and output functions of software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] as attached figure 1 Shown, a kind of cross-platform simulation system for software input and output function test, is used for the input and output function test of application program to be tested, and it comprises input function test unit and output function test unit; Described input function test unit, uses To generate a switch input test instruction and transmit it to the application program to be tested; the output function test unit is used to receive the switch output test instruction sent by the application program to be tested, and perform corresponding effects according to the switch output test instruction Display: the application program to be tested generates a switch output test instruction, receives the switch input test instruction, and performs a corresponding logic test according to the received switch input test instruction.

[0024] In this embodiment, when the cross-platform simulation system for software input and output function testing communi...

Embodiment 2

[0031] This embodiment provides a specific implementation of the input function test unit, as attached figure 2 As shown, the input function test unit is provided with a switch input control interface, and a first button is set on the switch input control interface; the first button is used to simulate the switch in the actual hardware circuit, and the user controls the switch according to the test requirements. The first button performs state switching.

[0032] In this embodiment, the switching value input control interface is designed on the Unity3D platform, and the number of the first buttons is set according to test requirements. If the first button is in the selected state, it means that a certain switch is in the triggered state, that is, the corresponding digital input port is triggered; if the first button is in the unselected state, it means that a certain switch is in the off state, that is The corresponding digital input port is disconnected. After the cross-pl...

Embodiment 3

[0035] This embodiment provides a specific implementation of the output function test unit, as attached image 3 As shown, the output function test unit is provided with a switching value output display interface, and a second button is set on the switching value output display interface; the second button is used to simulate the switch in the actual hardware circuit, according to the switching value Outputting a test instruction to control the switching state of the second button.

[0036] In this embodiment, the switching value output control panel is designed on the Unity3D platform, and the number of the second buttons is set according to test requirements. If the second button is in the selected state, it means that the corresponding switch output port is in the triggered state; if the second button is in the unselected state, it means that the corresponding switch output port is in the disconnected state. After the cross-platform simulation system for software input and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a cross-platform simulation system for testing input and output functions of software, for testing the input and output functions of an application to be tested. The cross-platform simulation system comprises an input function testing unit and an output function testing unit, wherein the input function testing unit is used for generating a switching value input test instruction and transmitting the switching value input test instruction to a to-be-tested application program; the output function testing unit is used for receiving a switching value output test instructionsent by an application program to be tested and carrying out corresponding effect display according to the switching value output test instruction; and the application to be tested generates a switching value output test instruction, receives the switching value input test instruction, and performs a corresponding logic test according to the received switching value input test instruction. The cross-platform simulation system has the advantages of being simple, convenient, time-saving, labor-saving and high in working efficiency.

Description

technical field [0001] The invention relates to the technical field of software project testing, in particular to a cross-platform simulation system for software input and output function testing. Background technique [0002] The digital input and output module is a device that collects input / control output of digital signals, usually also called digital I / O module; the digital input and output module collects digital signals to the computer through the RS-485 bus or RS232 communication interface , or the computer sends relevant instructions to control the relevant state of the switch through the digital input and output module; it can also perform paired communication through the RS-485 bus to remotely control the relevant state of the switch; the communication protocol of the digital input and output module is the standard Modbus protocol or Customize related agreements. [0003] In the actual Internet of Things and automatic control front-end acquisition and control pro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 薛明现李振伟李建新李振源
Owner ZHENGZHOU WONDER ELECTRICAL POWER
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products