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

Abnormal data generation method based on RS422 interface

A RS422, abnormal data technology, applied in the field of embedded software testing, can solve problems such as failure to verify the processing of common software failures and exceptions, and achieve the effect of improving test adequacy and quality

Inactive Publication Date: 2016-08-24
北京京航计算通讯研究所
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the test environment focuses on verifying the normal functions of the software, it cannot verify the software's handling of various common faults and exceptions, which has become a key factor restricting the normal development of software dynamic testing.

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
  • Abnormal data generation method based on RS422 interface
  • Abnormal data generation method based on RS422 interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention is described in detail below in conjunction with accompanying drawing and embodiment:

[0019] A kind of abnormal data generating method based on RS422 interface, it comprises the following steps:

[0020] (1) Analyze the abnormal data types and characteristics of the software dynamic test RS422 interface test, extract the factors that affect the adequacy of the test, and then select the appropriate abnormal data type as the generation object by extracting and analyzing the common characteristics of the RS422 interface abnormal data. Common failure modes in communication are abnormal data and abnormal sending cycle. Data abnormal includes frame header, frame tail, frame length, checksum and other errors. Inject faults into the system under test through fault simulation equipment, so as to assess the error prevention ability of the system under test, and write data according to the set serial port channel, baud rate, data bits, parity check mode, de...

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 belongs to a embedded software test method and specifically relates to an abnormal data generation method based on RS422 interface. The method comprises following steps: abnormal data types and features tested by the RS422 interface are tested by analysis software dynamically, factors that affect test adequacy are extracted, and therefore suitable abnormal data types are selected as generation objects through extracting and analyzing common features of RS422 interface abnormal data; for tested software with data response, the response data of the tested software must be read back and is displayed in an abnormal data generating software interface; for generated abnormal data, suitable devices and methods are applied for data output; the generated abnormal data is injected into a tested system by means of a simulation device. The advantages of the abnormal data generation method are that generated abnormal data is injected into the tested software, the test adequacy, integrity and effectiveness are increased, and the quality of military software dynamic testing about RS422 use case execution is increased.

Description

technical field [0001] The invention belongs to a method for testing embedded software, and in particular relates to a method for measuring the adequacy of the test in the test. The method is applied to the embedded / non-embedded software RS422 interface test, thereby ensuring the software interface test sufficiency. Background technique [0002] In recent years, with the rapid improvement of digitalization and intelligence, the proportion and quantity of software in equipment has gradually increased, and its role has been increasing. Software quality has also become a key factor affecting model quality. In the process of equipment development, finalization, delivery and acceptance, dynamic testing is a key link to verify software functions, find software problems, and improve software quality. . However, since the test environment focuses on verifying the normal functions of the software, it cannot verify the software's handling of various common faults and exceptions, whi...

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): G06F11/36
Inventor 蔡德胜张明敏李晓伟张磊刘玉峰
Owner 北京京航计算通讯研究所
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