System and method for testing defects of network protocol

A defect testing and network protocol technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve the problems of blind search defect test cases automatically generated by protocol model selection, so as to improve defect coverage and eliminate blindness. Effect

Inactive Publication Date: 2011-04-13
BEIJING UNIV OF POSTS & TELECOMM
View PDF1 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to overcome complex problems such as protocol model selection, blind search for defects, automatic test case generation and test case injection in existing defect testing, and propose a complete and systematic network protocol defect testing system and 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
  • System and method for testing defects of network protocol
  • System and method for testing defects of network protocol
  • System and method for testing defects of network protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Described network protocol defect testing method, at first by improving and perfecting classic Petri net communication protocol model, expresses network protocol system with the mode of figure plus table: Graphic part is based on Petri net figure, represents the dynamic behavior of agreement, in addition for injecting The wrong transition is indicated by a dotted line; the table part explains the meaning of resources and defects, and is divided into four tables of place, transition, resource and defect, so that it can adapt to the practical application of defect testing.

[0034] Then, according to the specific description of the network communication protocol standard in IETF text format, analyze and obtain defect information such as protocol state machine, message format and interface syntax rules, apply the above-mentioned extended Petri net model to model the network communication protocol to be tested, and draw Write out the status and transition of the protocol sys...

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 system and method for testing defects of a network protocol, and a network protocol system is expressed in a graph and form mode through improving the traditional Petri network protocol model. According to the network protocol standard described by a text format, the improved protocol model is applied to modeling a network protocol system to be tested; and then, syntactic analysis is carried out on the external interface and internal core of the network protocol, and possible defects of the network protocol to be tested are listed; a regular expression syntax is utilized to construct a test case template containing defects obtained in the syntactic analysis stage, and the test system automatically and randomly generates a corresponding test data file based on the regular expression rule, namely the defect test case; and finally, the system sends and injects the test case comprising syntactic defects to the protocol system according to the protocol rule to be tested, then waits for the response of the protocol system and returns the response to a test initiation platform, and the defect test system generates a final test report according to the total defect test process.

Description

technical field [0001] The invention relates to the field of communication protocols, in particular to a system and method applied to network protocol defect testing. Background technique [0002] In the field of modern communication, network protocol is a very important concept. As a standard, it regulates the development and application of technology in the network. As the communication network becomes more and more complex, the communication function becomes more and more powerful, so more and more network protocols are used in the network. Network protocols are generally more complex, and the correctness of the protocol has a great impact on the entire network, so the test of the network protocol is very important. [0003] Defect testing is an important part of communication protocol reliability testing, and it is one of the essential links in protocol engineering. Existing defect testing lacks relevant scientific theoretical support and methodological basis, especia...

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/26H04L12/24H04L29/06
Inventor 李巍海顾世嘉刘刚吕玉琴黄鑫
Owner BEIJING UNIV OF POSTS & TELECOMM
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