Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-serial port test method and system

A multi-channel serial port and test method technology, which is applied in the field of serial port test, can solve the problems of inconvenient test and low test efficiency, and achieve the effects of improving test efficiency, high data sending and receiving efficiency, and reducing workload

Inactive Publication Date: 2018-01-05
杭州金盔甲科技有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are many ways to test the serial port under the operating system. However, most of the multi-channel test methods can only test the serial communication device with a single communication mode. When the serial communication has multiple modes, it is necessary for the tester to be on duty. Switching, which leads to inconvenient testing and low testing efficiency

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
  • Multi-serial port test method and system
  • Multi-serial port test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The above and other technical features and advantages of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them.

[0043] see figure 1 , the multi-channel serial port testing method provided by Embodiment 1 of the present invention comprises the following steps:

[0044] S100. Obtain the serial port type information of each serial port to be tested, analyze and process the serial port type information to obtain baud rate information, and select a communication protocol matching the baud rate information according to the baud rate information;

[0045] S200. Select a preset test command according to the communication protocol;

[0046] S300. Perform a serial port test on the serial port to be tested according to the test command according to a preset strategy;

[0047] S400. Record the test informa...

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 multi-serial port test method and system. The method comprises the steps of obtaining serial port type information of each to-be-tested serial port, performing analysis processing on the serial port type information to obtain Baud rate information, and selecting a communication protocol matched with the Baud rate information according to the Baud rate information; according to the communication protocol, selecting a preset test instruction; performing a serial port test on a to-be-tested serial port according to a preset policy based on the test instruction; and recording test information of a serial port test result. The method and the system are simple and convenient; the matched communication protocol can be selected for performing the serial port test on a communication device with serial ports; data received and sent by the serial ports can be tested at the same time; the data receiving and sending efficiency is high; a use mode is extremely convenient; the test efficiency is improved; and the working burden of test personnel is reduced.

Description

technical field [0001] The invention relates to the technical field of serial port testing, in particular to a multi-channel serial port testing method and system. Background technique [0002] Serial port (Serial Port) is an extended interface using serial communication, which can realize command and data transmission with external devices. Because the serial port communication is simple and reliable, it is widely used in the communication between various intelligent systems. In the process of research and development of serial port-based communication equipment, it is often necessary to monitor the data sending and receiving interactions between the two parties in the communication. [0003] At present, there are many ways to test the serial port under the operating system. However, most of the multi-channel test methods can only test the serial communication device with a single communication mode. When the serial communication has multiple modes, it is necessary for the...

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/22
Inventor 陶勇
Owner 杭州金盔甲科技有限公司