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

Method and device for producing test case

A technology of test cases and test messages, which is applied to digital transmission systems, electrical components, transmission systems, etc., can solve problems such as inability to completely and effectively evaluate the safety of protocol products, save time and labor costs, and improve effective sexual effect

Inactive Publication Date: 2010-12-01
SIEMENS CHINA
View PDF0 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Without understanding the relevant knowledge of the protocol specification, the fuzz test can only use arbitrary input as the first message to test the initial state of the protocol product. Therefore, this fuzz test cannot completely and effectively evaluate the security of the protocol product sex

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
  • Method and device for producing test case
  • Method and device for producing test case
  • Method and device for producing test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] 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 with reference to the accompanying drawings and examples.

[0052] Although knowledge of the protocol specification is necessary for an effective fuzzing test, it is a time-consuming and labor-intensive task, especially for complex protocols. Moreover, it also requires a lot of effort to manually record the message sequences used to test the different states of the protocol product.

[0053] Protocol analyzers have been used for a long time in areas such as network fault detection, network analysis, software and communication protocol development, and education. A protocol analyzer (also known as a network sniffer, network analyzer, or packet sniffer, etc.) is a computer software program or computer hardware that captures and records information flowing through an entire digital network or a certain part of a ne...

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 method for producing a test case, which is used for performing fuzz testing on protocols and comprises the following steps: grabbing and recording interactive messages between both sides of a protocol by a protocol analyzer; analyzing the recorded messages by the protocol analyzer to obtain each field of the messages; and filling each field by fuzzy data with corresponding types to obtain test messages according to the type of each field. The invention also discloses a system for producing a test case. By the invention, a complete and effective test case can be produced in no need of understanding the relative knowledge of protocol specifications so as to completely and effectively evaluate the safety of a protocol product.

Description

technical field [0001] The invention relates to the technical field of software safety testing, in particular to a method and device for generating test cases. Background technique [0002] The security testing of software (including: application programs, protocols, etc.) is actually a detection in the software input space. The input space of software consists of all possible inputs of the software, or a combination of all possible inputs. Exhaustive enumeration is the most extreme method to verify the correctness of software behavior. However, exhaustive enumeration is not feasible for most cases, because the input space of software programs is usually very large, and may even be infinite. Compared with the exhaustive method, fuzz testing (Fuzz Testing), as a random sample method, is a more feasible black-box testing method. [0003] Fuzz testing is a software testing technique, which constructs some random or semi-random data (called fuzz, hereinafter referred to as fuz...

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/26H04L29/06
Inventor 唐文
Owner SIEMENS CHINA
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