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

State machine-based test case design method applicable to switch protocol

A design method and technology of test cases, applied in the direction of data exchange network, digital transmission system, electrical components, etc.

Inactive Publication Date: 2016-02-17
PHICOMM (SHANGHAI) CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the wide application of switches in industry and life, switches are strictly tested during the R&D stage to achieve close to the internal requirements of the product and realize the functions of the product. However, many test case design methods for switches are based on the division of equivalence classes. , combined design, orthogonal design and scenario design, etc., but there is no good test case design method that fits the switch state transition protocol

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
  • State machine-based test case design method applicable to switch protocol
  • State machine-based test case design method applicable to switch protocol
  • State machine-based test case design method applicable to switch protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] 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 and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0030] see figure 1 , figure 1 It is a work flow diagram of a test case design method based on a state machine applicable to the switch protocol of the present invention;

[0031] In this embodiment, a test case design method based on a state machine applicable to a switch protocol: provide a data sending instrument and a switch, a port of the switch enables a data receiving and sending protocol, and the applicable The state machine-based use-case design method for the switch protocol includes the following steps:

[0032] S1: According to the judgment standard of the state machine model, judge ...

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 state machine-based test case design method applicable to a switch protocol. Through a function point in the switch protocol, whether a to-be-designed switch protocol belongs to a state transition class, if yes, all states near the function point are listed, a state conversion relationship is analyzed, a starting point and an ending point are determined, and a state transition map is obtained; and a main state path and all independent state path branches in the state transition map are listed, the independent state path branches and the main state path form N state conversion paths, and each state conversion path in the state transition map at least performs execution for one time. The state machine-based test case design method applicable to a switch protocol can be applicable to most protocols of the switch, detailed state conversion paths can be analyzed, leakage test can be prevented, case redundancy can be avoided, and the use coverage rate is improved.

Description

technical field [0001] The invention relates to the technical field of communication testing, in particular to a state machine-based test case design method suitable for switch protocols. Background technique [0002] With the wide application of switches in industry and life, switches are strictly tested during the R&D stage to achieve close to the internal requirements of the product and realize the functions of the product. However, many test case design methods for switches are based on the division of equivalence classes. , combined design, orthogonal design and scenario design, etc., but there is no good test case design method that fits the switch state transition protocol. [0003] Therefore, those skilled in the art have been devoting themselves to researching a most of the protocols suitable for switches, which can analyze the detailed state transition paths, prevent missed detection, avoid use case redundancy, and improve use case coverage. State machine test cas...

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/931
CPCH04L43/08H04L49/10
Inventor 曾银华
Owner PHICOMM (SHANGHAI) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More