Method for injecting fault in simulation

The invention relates to a method for injecting faults in simulation. The method comprises the following steps: initiating interaction between a simulation target and a mathematical model; shifting data in an interface data set forward by one position, wherein the interface data set comprises n posi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: PEI WENLIANG, SHI MINHUA, CAI JIJI, WU ZHIPENG, LIU HU, CHEN FENG, SHI WEI, YOU ZHIJIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a method for injecting faults in simulation. The method comprises the following steps: initiating interaction between a simulation target and a mathematical model; shifting data in an interface data set forward by one position, wherein the interface data set comprises n positions, wherein n is a positive integer; reading the interaction data acquired in the interaction tothe nth position; determining whether an interface data fault injection form is empty, wherein the interface data fault injection form is a queue and describes which interface data is fault injected in which manner; when the interface data fault injection form is not empty, reading a first element from the interface data fault injection form; and performing fault injection. By using the method, fault can be injected in a highly safe and reliable manner, and the data which cannot/cannot easily be obtained in real environment can be obtained, thus sources of test data are ensured, and a test analysis surface is expanded