Method for testing PS/2 interface

A test method and interface test technology, applied in the direction of error detection/correction, instrumentation, electrical digital data processing, etc., can solve the problems of difficulty in guaranteeing test accuracy, difficulty in meeting mass production test requirements, and low efficiency of manual operation tests. Achieve the effect of realizing automation and intelligence, improving test efficiency and accuracy

Inactive Publication Date: 2010-06-09
XUZHOU LIFANG MECHANICAL & ELECTRICAL EQUIP MFG CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the prior art PS / 2 interface test method still has defects, especially the test results are easily affected by the tester's artificial operation, so the test accuracy is difficult to guarantee
[0004] In addition, the testing efficiency of manual operations is not high, and it is difficult to meet the testing requirements in mass production

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
  • Method for testing PS/2 interface
  • Method for testing PS/2 interface
  • Method for testing PS/2 interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

[0022] figure 1 Shown is a block diagram of the test flow of the PS / 2 interface of the embodiment of the present invention. figure 2 Shown is a flow chart of the PS / 2 interface testing method of the embodiment of the present invention.

[0023] Please refer to figure 1 and figure 2 , the testing method of PS / 2 interface of the present invention comprises the following steps:

[0024] Connect PS / 2 interface and USB interface (step 100) of test module 10 and tested host computer 20 respectively:

[0025] Then, start the test module 10 and the host computer 20 under test respectively, and initialize the USB interface device and the PS / 2 interface device (step 200) of the host computer 20 under test;

[0026] The host computer 20 under test sends a control command to the test module 10 through the USB interface, thereby requiring the test module 1...

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 discloses a method for testing a PS / 2 interface, which comprises the following steps: connecting a test module with the PS / 2 interface and a USB interface of a tested host computer; starting the test module and the tested host computer and initializing the USB interface equipment and PS / 2 interface equipment of the tested host computer; allowing the tested host computer to send a command to the test module through the USB interface to require the test module to simulate the action of the PS / 2 interface equipment; making the test module simulate a PS / 2 protocol according to the command sent by the tested host computer and send a corresponding PS / 2 signal to the PS / 2 interface of the tested host computer; and allowing the tested host computer to receive the corresponding PS / 2 signal through the PS / 2 interface to judge if the communication of the PS / 2 interface is normal. The method can replace the traditional manual test method and improve test efficiency and precision.

Description

technical field [0001] The present invention relates to a testing method of a PS / 2 interface, in particular to a testing method for simulating the action of a PS / 2 interface device through a testing module so as to complete the testing of the PS / 2 interface of a host computer under test. Background technique [0002] At present, the existing PS / 2 interface testing method is done manually. For example, the test program prompts the tester through the screen to operate the specified external PS / 2 interface device according to the screen display, such as clicking the mouse or keyboard input, and then testing the program. Read the appropriate test input to determine if the interface to a PS / 2 interface device such as a keyboard or mouse is functioning properly. [0003] However, the PS / 2 interface testing method in the prior art still has defects, especially the test results are easily affected by the artificial operation of the testers, so the test accuracy is difficult to guara...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/267
Inventor 刘利兵陈玄同
Owner XUZHOU LIFANG MECHANICAL & ELECTRICAL EQUIP MFG CO LTD
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