Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Private communication protocol test method

A technology of communication protocol and testing method, which is applied in the field of computer communication, can solve the problems of shortening communication software development, undefined methods, changeable, etc., and achieve the effect of improving development and testing efficiency and shortening development

Inactive Publication Date: 2020-02-14
青岛威孚测通信息科技有限公司
View PDF0 Cites 2 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 cycle of communication software, and solve the problem of private The communication protocol is complex and changeable, and there is no unified definition method, which solves the problem that the private communication protocol does not have a unified and perfect test method

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail 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 present invention provides a method for testing a private communication protocol, which is used to test the private communication protocol of the tested terminal according to the designed private communication protocol. The test method is as figure 1 As shown, including the following steps:

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

[0025] The configuration file for testing includes embedded scripts and data messages composed of correct data fields. The correct data fields conform to the data field definition of the designed private communication protocol, and the correc...

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 test method, which is used for testing the 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, the configuration file for testing comprising an embedded script and a data message consisting of correct data fields; running the embedded script, sequentially generating each data field value, and dynamically generating a test data message; running the script, and dynamically generating a test data stream according to the test data message; and sending the generated test data stream to the tested end, and judging whether the private communication protocol of the tested end passes the test or not accordingto a data message returned after the private communication protocol of the tested end analyzes the test data stream. The test method provided by the invention solves the problem that a unified and perfect test method does not exist in the private communication protocol.

Description

Technical field [0001] The invention belongs to the field of computer communication, and specifically relates to a method for testing a private communication protocol. Background technique [0002] In distributed software development, data exchange between systems is an essential and important part. Data exchange mainly depends on communication to complete, and communication must rely on communication protocols. There are usually two types of communication protocols. One is a public communication protocol, which is generally defined by RFCs, such as HTTP, FTP, DNS, etc.; the other is a private communication protocol, which has format confidentiality and a specific use environment. There are many types, and the format is changeable. [0003] For public communication protocols, the communication protocol is fixed and open, and there are many users. There are many dedicated test software or test instruments on the market that can complete the test work. But for a larger number of 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
IPC IPC(8): H04L12/26H04L29/06
CPCH04L43/08H04L43/14H04L43/50H04L69/26
Inventor 李鹤其他发明人请求不公开姓名
Owner 青岛威孚测通信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products