Unlock instant, AI-driven research and patent intelligence for your innovation.

EFSM Executable Test Sequence Generation Method Based on Monte Carlo Tree Search

A test sequence and tree search technology, applied in transmission systems, electrical components, etc., can solve problems such as state explosion, difficulty in initial population selection and population length setting, and lack of universality.

Active Publication Date: 2022-04-12
ZHEJIANG SCI-TECH UNIV
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the executable problem of test sequence, researchers have carried out a lot of exploration work, among which the search technology based on genetic algorithm has become a main camp, they transform the generation of EFSM test sequence into an optimization problem, use genetic algorithm to search and solve, The most representative one is the method proposed by Kalaji "Kalaji, A.S., R.M.Hierons, and S.Swift, An integrated search-based approach for automatic testing from extended finite state machine (EFSM) models. Information and Software Technology, 2011.53(12) :p.1297-1318.", this method first uses an algorithm to generate candidate test sequences that meet the coverage requirements, but these test sequences are not necessarily executable, and then uses GA to generate test data that can trigger the candidate test sequences to be executable ; However, there are difficulties in initial population selection and population length setting in this type of method, and the feasibility of the generated test sequence still needs additional steps to further verify and confirm
Some researchers also propose to generate test sequences based on constraint solving and symbolic execution techniques, but these methods have certain constraints on the model under test and are not universal
[0005] Compared with the above methods, Transition Executable Analysis (TEA) is more universal. It mainly generates the target test sequence through the extended search of Transition Executable Analysis Tree. However, for the actual protocol, the huge reachable state space of EFSM corresponds to The massive potential expansion search space of the executable parse tree of , eventually leads to the state explosion problem

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
  • EFSM Executable Test Sequence Generation Method Based on Monte Carlo Tree Search
  • EFSM Executable Test Sequence Generation Method Based on Monte Carlo Tree Search
  • EFSM Executable Test Sequence Generation Method Based on Monte Carlo Tree Search

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] The main framework of the MTEA method of the present invention is described as follows:

[0034]

[0035]

[0036] Algorithm 1 Given a system test EFSM model M, the input of MTEA algorithm is: initial state pattern SC 0, the test coverage transition set TS, the maximum search depth Max and the cost parameter μ, the output of the algorithm return result is an executable test sequence FTS that meets the coverage requirements. Algorithm initialization phase (S1~S2), using the initial state pattern SC 0 To initialize the root node N of the TEA tree root ; The main part of the algorithm is a while loop (S3-S10); the termination condition of the algorithm is: successfully find an executable test sequence that meets the test coverage requirements ...

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 an EFSM executable test sequence generation method based on Monte Carlo tree search, which converts the executable test generation problem of the EFSM model into the Markov decision process of the path in the TEA tree. The method relies on the powerful MCTS algorithm Massive state space search capability, heuristically guides the expansion direction of the TEA tree to search for the target sequence, thereby greatly improving the test generation efficiency and finally avoiding state explosion; therefore, the present invention can effectively reduce the expansion nodes of the executable analysis tree and accelerate Generation of test sequences may be performed.

Description

technical field [0001] The invention belongs to the technical field of protocol consistency test sequence generation, in particular to an EFSM executable test sequence generation method based on Monte Carlo tree search. Background technique [0002] The increasing complexity of communication networks makes the development and testing of communication protocols more and more difficult. Minor errors in communication protocol software may also lead to abnormalities in the entire communication network, resulting in immeasurable losses. In order to improve the quality of communication protocol software, it becomes an effective way to carry out exhaustive network protocol conformance testing. Network protocol conformance testing is an important branch of protocol testing, the main purpose of which is to detect the degree of consistency between protocol implementation and protocol specification; Model-Based Testing (MBT) is helpful to improve the consistency of testing. Quality a...

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 Patents(China)
IPC IPC(8): H04L43/50
CPCH04L43/50
Inventor 舒挺黄业超
Owner ZHEJIANG SCI-TECH UNIV