Private communication protocol testing method

A communication protocol and test method technology, applied in the field of computer communication, can solve the problems of no defined method, shorten communication software development, and no unified test method for private communication protocols, so as to shorten development and improve development and test efficiency

Active Publication Date: 2019-09-20
青岛威孚测通信息科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The invention can save and restore the definition and test plan of the private communication protocol through configuration files, can quickly and repeatedly test, greatly improve the development and test efficiency of communication software, shorten the development and test

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
  • Private communication protocol testing method
  • Private communication protocol testing method
  • Private communication protocol testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings. However, those skilled in the art know that the present invention is not limited to the drawings and the following embodiments.

[0023] The invention proposes a test method of a private communication protocol, which is used for testing the private communication protocol of the tested terminal according to the designed private communication protocol. The test method is as figure 1 shown, including the following steps:

[0024] Step S101: generating a test configuration file;

[0025] The test configuration file includes embedded scripts and data messages composed of correct data fields. The correct data fields conform to the definition of data fields in the designed private communication protocol, and the correct data mes...

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 relates to a private communication protocol testing method, which is used for testing a private communication protocol of a tested end according to a designed private communication protocol, and comprises the following steps of: generating a configuration file for testing, which comprises an embedded script and a data message consisting of correct data fields; running the embedded script, and sequentially generating each data field value so as to dynamically generate a test data message; running the script, and dynamically generating a test data flow according to the test data message; and sending the generated test data flow to the tested end, analyzing a data message returned after the test data flow is analyzed according to the private communication protocol of the tested end, and judging whether the private communication protocol of the tested end passes the test or not. The test method provided by the invention solves the problem that the private communication protocol does not have a unified and perfect test method.

Description

technical field [0001] The invention belongs to the field of computer communication, and in particular relates to a test method of a private communication protocol. Background technique [0002] In distributed software development, data exchange between systems is an essential and important part. Data exchange mainly relies on communication to complete, and communication must rely on communication protocols. There are usually two types of communication protocols, one is public communication protocols, which are generally defined by RFC, such as HTTP, FTP, DNS, etc.; the other is private communication protocols, which have confidential formats and specific use environments. There are many types and various formats. [0003] For the public communication protocol, the communication protocol is fixed and open, and there are many users. There are many special test software or test instruments on the market that can complete the test work. But for a larger number of private com...

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): H04L12/26H04L29/06
CPCH04L43/0805H04L43/0817H04L43/0823H04L43/14H04L69/161
Inventor 李鹤其他发明人请求不公开姓名
Owner 青岛威孚测通信息科技有限公司
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