Automatic testing system and method for serial port protocol of WiFi module

A technology for automated testing and serial port protocol, applied in transmission systems, digital transmission systems, advanced technologies, etc., can solve the problems of no unified standard for serial port protocols, no mature serial port testing framework support, and inability to achieve rapid automation, saving testing time. Effect

Active Publication Date: 2021-01-08
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF20 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The reason for this phenomenon is that there is no unified standard for the serial port protocol, no mature serial port test framework support, and rapid automation cannot be realized

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
  • Automatic testing system and method for serial port protocol of WiFi module
  • Automatic testing system and method for serial port protocol of WiFi module
  • Automatic testing system and method for serial port protocol of WiFi module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0044] It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances for...

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 WiFi module serial port protocol automatic test system, and the system comprises an interface service module used for realizing a wsgi interface by a flash framework; a multi-thread module; a test execution module which is used for obtaining test cases and execution conditions according to the interface addresses of the users and the parameters required by part of the interfaces, creating an environment for executing the test cases and executing the cases; an interface command packaging module which is used for generating a command line according to an interface address and parameters of a user and a protocol specification; a serial port command write-in module which is used for realizing write-in by using a pysystem library; a serial port data receiving module which is used for blocking when the serial port information is not received by using a pysystem library; and a serial port data processing module which is used for carrying out event driving through anindependent thread by using a pysystem library. According to the invention, the problem of error proneness of manual packaging is solved, the test time is saved, and all tests can be realized by one key.

Description

technical field [0001] The present application relates to the field of automatic testing of WiFi module serial port protocol, in particular, relates to an automatic testing system of WiFi module serial port protocol. Background technique [0002] In the prior art, manual package assembly is used in testing, and manual detection results are used. Manual groups are error-prone and require a lot of time to become familiar with the protocol. Manual detection of results consumes human resources, and the memory information of the device cannot be realized during the stress test, making it difficult to judge the stress test results. [0003] The serial port test is in the relatively primitive stage of manual testing. The reason for this phenomenon is that there is no unified standard for the serial port protocol, no mature serial port test framework support, and rapid automation cannot be realized. Contents of the invention [0004] The main purpose of this application is to p...

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): H04L12/26
CPCH04L43/50Y02D30/70
Inventor 黄致凯李军
Owner HANGZHOU TUYA INFORMATION TECH 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