Protocol layering test generation method based on parallel expansion finite-state machine

A finite state machine and test generation technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as state explosion and inability to ensure test sequences

Active Publication Date: 2013-11-13
TSINGHUA UNIV
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There are some problems in the proposed test generation techniques as follows: First, the heuristic test generation technique based on the extended finite state machine can effectively avoid the state explosion problem, but due to the inherent characteristics of the heuristic m...

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
  • Protocol layering test generation method based on parallel expansion finite-state machine
  • Protocol layering test generation method based on parallel expansion finite-state machine
  • Protocol layering test generation method based on parallel expansion finite-state machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0054] The idea of ​​the method proposed by the present invention is: firstly, a bottom-up reachability graph algorithm is used to generate a component state machine reachability graph to alleviate the state explosion problem, and then a top-down generation algorithm is used to generate a parallel test set to solve external variables The resulting path is not executable.

[0055] figure 1 It is a schematic flow chart of a protocol layered test generation method based on a parallel extended finite state machine according to an embodiment of the present invention, see below figure 1 , each step of the test generation method in the embodiment of the present invention will be described in detail.

[0056] Step S110, describing the protocol specification of the netwo...

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 protocol layering test generation method based on a parallel expansion finite-state machine. The method comprises steps as follows: a protocol specification of to-be-tested network equipment is described into a parallel expansion finite-state machine model; a variable use condition of each component model in the parallel expansion finite-state machine model is described into a state machine dependency graph; according to the state machine dependency graph, a component state machine reachability graph is generated with a bottom up reachability graph generating algorithm; a component state machine local test set is generated according to the component state machine reachability graph; and according to the state machine dependency graph, the component state machine local test set is enabled to generate a component state machine parallel test set with a top-down generating algorithm. According to the method, the dependency graph is introduced, and in the test generating process, the bottom up reachability graph generating algorithm and the top-down test generating algorithm are used according to the dependency graph, so that performability of a generated test sequence is ensured, and simultaneously, the state explosion problem is solved through layering generating.

Description

technical field [0001] The invention relates to the technical field of network protocol testing, in particular to a protocol layered test generation method based on a parallel extended finite state machine. Background technique [0002] Protocol testing technology is an important means to ensure the correct implementation of network communication protocols and the correct interconnection between different network devices. Conformance testing is a basic protocol testing method, and its goal is to detect whether the protocol implementation is consistent with the protocol specification. [0003] Test generation based on formal methods is an important issue in this field, and its goal is to generate test sets (or test sequences) for testing activities starting from the formal model of protocol specifications. In most of the test generation techniques that have been proposed, the basic idea is to model the system under test (SUT) as a finite state machine or a system that extend...

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
Inventor 王之梁姚姜源施新刚尹霞
Owner TSINGHUA UNIV
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