CN108052422A - A kind of fault filling method and system, control device and direct fault location management system - Google Patents

A kind of fault filling method and system, control device and direct fault location management system Download PDF

Info

Publication number
CN108052422A
CN108052422A CN201711095169.XA CN201711095169A CN108052422A CN 108052422 A CN108052422 A CN 108052422A CN 201711095169 A CN201711095169 A CN 201711095169A CN 108052422 A CN108052422 A CN 108052422A
Authority
CN
China
Prior art keywords
variable
fault
control device
injection system
triggering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711095169.XA
Other languages
Chinese (zh)
Inventor
彭时涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Watertek Information Technology Co Ltd
Original Assignee
Beijing Watertek Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Watertek Information Technology Co Ltd filed Critical Beijing Watertek Information Technology Co Ltd
Priority to CN201711095169.XA priority Critical patent/CN108052422A/en
Publication of CN108052422A publication Critical patent/CN108052422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a kind of fault filling method and system, control device and direct fault location management system, wherein, which includes:Control device will be respectively associated for injecting the various faults of test equipment with multiple variables, and set the trigger condition of multiple variables;When a variable in multiple variables meets the trigger condition of the variable, control device sends triggering command to corresponding fault injection system, to trigger fault injection system by the direct fault location test equipment of the variable association.Fault filling method disclosed by the invention and system, control device and direct fault location management system, pass through the injection of the control triggering different faults to variable, it realizes and different frameworks and the unified management of the fault injection system of design principle gets up, control the orderly injection of failure.

Description

A kind of fault filling method and system, control device and direct fault location management system
Technical field
The present invention relates to computer technology, espespecially a kind of fault filling method and system, control device and direct fault location pipe Reason system.
Background technology
Direct fault location is the important technical for carrying out product test and system verification, is injected by conscious to system Failure carrys out accelerated test process.Direct fault location is applied to the fields such as space flight and aviation, national defence, ships more, since space flight and aviation etc. is set Standby the reason for breaking down in normal course of operation, is often unpredictable, so artificially being injected in home various Failure detects the reliability of test equipment and correctness.
At present, in test equipment development process, since each stage emphasis is different, different failure notes may be had developed Enter the fault injection system of mode.However, when being verified to test equipment total system, due to the event of fault injection system Hinder the difference of injection mode, can not direct fault location easily be carried out to test equipment total system.
The content of the invention
In order to solve the above technical problem, the present invention provides a kind of fault filling method and system, control device and events Hinder injection management system, different frameworks and the unified management of the fault injection system of design principle can be got up, control failure Injection in order.
In order to reach the object of the invention, in a first aspect, the present invention provides a kind of fault filling method, including:
Control device will be respectively associated for injecting the various faults of test equipment with multiple variables, and set the multiple The trigger condition of variable;
When a variable in the multiple variable meets the trigger condition of the variable, the control device sends triggering and refers to It makes to corresponding fault injection system, is set test described in the direct fault location of the variable association with triggering the fault injection system It is standby.
Second aspect, the present invention provides a kind of fault filling method, including:
The triggering command that fault injection system receiving control apparatus is sent;Wherein, the triggering command is that the control is set What the variable of the standby fault correlation for being responsible for injection in the fault injection system was sent when meeting the trigger condition of the variable;
The fault injection system is according to the triggering command by the direct fault location test equipment.
The third aspect, the present invention provides a kind of control device, including:
Relating module for the various faults for being used to inject test equipment to be respectively associated with multiple variables, and sets institute State the trigger condition of multiple variables;
Trigger module when meeting the trigger condition of the variable for the variable in the multiple variable, sends triggering It instructs to corresponding fault injection system, to trigger the fault injection system by test described in the direct fault location of the variable association Equipment.
Fourth aspect, the present invention provides a kind of control device, including:Memory and processor, memory are used to store It executes instruction;Processor executes instruction described in calling, for performing the fault filling method described in first aspect embodiment.
5th aspect, the present invention provides a kind of fault injection system, including:
Main control device, for the triggering command that receiving control apparatus is sent, according to the corresponding event of triggering command triggering Hinder injection device;
Wherein, the triggering command is the fault correlation that the control device is responsible for injection in the fault injection system Variable meets what is sent during the trigger condition of the variable;
The Fault Insertion Equipment, for by test equipment described in the direct fault location.
6th aspect, the present invention provides a kind of direct fault locations to manage system, including the control described in any of the above-described embodiment Fault injection system described in control equipment and any of the above-described embodiment.
Fault filling method provided in an embodiment of the present invention and system, control device and direct fault location management system, pass through Control device will be respectively associated for injecting the various faults of test equipment with multiple variables, and set the triggering item of multiple variables Part, when the variable in multiple variables meets the trigger condition of the variable, control device sends triggering command to corresponding event Hinder injected system, to trigger fault injection system by the direct fault location test equipment of the variable association, pass through the control to variable The injection of different faults is triggered, different frameworks and the fault injection system of design principle is controlled to carry out distributed heterogeneous triggering failure Different frameworks and the unified management of the fault injection system of design principle with realizing are got up, control the orderly injection of failure by injection.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and attached drawing.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application technical solution for explaining the present invention together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the flow chart for the fault filling method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of fault filling method provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram that the variable that the embodiment of the present invention one provides triggers direct fault location;
Fig. 4 is the schematic diagram of condition judgment automatic trigger variable provided in an embodiment of the present invention triggering;
Fig. 5 is the flow diagram that variable provided by Embodiment 2 of the present invention triggers direct fault location;
Fig. 6 is the structure diagram for the control device that the embodiment of the present invention one provides;
Fig. 7 is the structure diagram of control device provided by Embodiment 2 of the present invention;
Fig. 8 is the structure diagram of fault injection system provided in an embodiment of the present invention;
Fig. 9 is the structure diagram that direct fault location provided in an embodiment of the present invention manages system.
Specific embodiment
Understand to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the case where there is no conflict, in the embodiment and embodiment in the application Feature can mutually be combined.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions It performs.Also, although logical order is shown in flow charts, it in some cases, can be to be different from herein suitable Sequence performs shown or described step.
Fig. 1 is the flow chart for the fault filling method that the embodiment of the present invention one provides, as shown in Figure 1, the embodiment of the present invention The fault filling method of offer, including:
S101:Control device will be respectively associated for injecting the various faults of test equipment with multiple variables, and set more The trigger condition of a variable.
Specifically, at present in test equipment development process, since each stage emphasis is different, may have developed different The fault injection system of direct fault location mode, since fault injection system is more in the market, and its architecture design and principle thousand are poor Ten thousand not, for example, having plenty of based on software view, have plenty of based on bus, have plenty of through soft injection mode, have plenty of logical Injection mode really up to the mark.In order to control the orderly injection of the fault injection system of different frameworks and design principle control failure, this hair Bright embodiment provides a kind of fault filling method of distributed heterogeneous triggering, introduces the concept of variable, by different frameworks and sets Count principle fault injection system in institute it is faulty perform by variable triggering form execution, by each fault injection system Unified management is got up, and controls the orderly injection of failure.
Specifically, the embodiment of the present invention is with the addition of on the basis of different frameworks and the fault injection system of design principle One center medium competition equipment, control device pass through control device by for injecting the failure of test equipment and variable association Execution of the fault injection system to direct fault location is triggered to the control of variable.
S 102:When a variable in multiple variables meets the trigger condition of the variable, control device sends triggering command To corresponding fault injection system, to trigger fault injection system by the direct fault location test equipment of the variable association.
Specifically, when with meeting trigger condition for injecting the variable of the fault correlation of test equipment, control device hair Triggering command is sent to corresponding fault injection system, to trigger fault injection system by the direct fault location test equipment.The present invention The correspondence for being stored with variable and relevant fault is pre-set in embodiment, in control device and is responsible for injecting the association The fault injection system of failure.Control system can determine that responsible injection is corresponding with the failure of the variable association according to variable Fault injection system.
S 103:The triggering command that fault injection system receiving control apparatus is sent, surveys direct fault location according to triggering command Try equipment.
Wherein, triggering command is that the variable for the fault correlation that control device is responsible for injection in fault injection system meets the change It is sent during the trigger condition of amount.It should be noted that the fault injection system in the embodiment of the present invention is to receive control to set The fault injection system for the triggering command that preparation is sent.
Specifically, fault injection system is made of main control device and Fault Insertion Equipment, a main control device can control One or more Fault Insertion Equipments are by direct fault location test equipment.In the embodiment of the present invention, control device transmission is received The fault injection system of triggering command, main control device trigger corresponding Fault Insertion Equipment according to triggering command and note the failure Enter test equipment.
Fault filling method provided in an embodiment of the present invention, by control device by for injecting test equipment a variety of therefore Barrier is respectively associated with multiple variables, and sets the trigger condition of multiple variables, and the variable in multiple variables meets the variable Trigger condition when, control device send triggering command to corresponding fault injection system, should to trigger fault injection system The direct fault location test equipment of variable association, by variable control triggering different faults injection, control different frameworks and The fault injection system of design principle carries out distributed heterogeneous triggering direct fault location, to realize different frameworks and design principle Fault injection system unified management is got up, and controls the orderly injection of failure.
Fig. 2 is the flow chart of fault filling method provided by Embodiment 2 of the present invention, as shown in Fig. 2, the embodiment of the present invention The fault filling method of offer, including:
S201:Fault injection system sends failure log-on message to control device.
Wherein, failure log-on message includes the information that fault injection system is responsible for the failure of injection.
Optionally, different faults injected system is responsible for the execution of different faults, and the associated variable of different faults is different.
Specifically, control device is connected with multiple fault injection systems in the embodiment of the present invention, in implementing due to the present invention Different faults injected system has different frameworks and design principle, each fault injection system is responsible for the failure of injection not Together, the failure for itself being responsible for injection is sent to control device by fault injection system, so that control device knows each failure Injected system is responsible for the failure of injection, the fault correlation one for being responsible for injecting by each fault injection system so as to control device A variable.
S202:After control device often receives the failure log-on message that a fault injection system is sent, therefrom obtaining should Fault injection system is responsible for the failure of injection, creates the variable of the fault correlation with obtaining, and the triggering of the variable according to establishment Mode sets the trigger condition of the variable of establishment.
It is each specifically, after control device gets the failure log-on message of each fault injection system transmission The failure that fault injection system is responsible for injection creates corresponding associated variable and the triggering mode for setting the variable and triggering item Different faults injected system is responsible for the different variable of the fault correlation injected, so that control device passes through variable by part to realize Corresponding fault injection system be can trigger by the direct fault location test equipment with variable association.
S203:When a variable in multiple variables meets the trigger condition of the variable, control device sends triggering command To corresponding fault injection system, to trigger fault injection system by the direct fault location test equipment of the variable association.
It should be noted that S203 is identical with the realization method of S102, the description of S102 is referred to, details are not described herein again.
S204:The triggering command that fault injection system receiving control apparatus is sent, surveys direct fault location according to triggering command Try equipment.
Wherein, triggering command is that the variable for the fault correlation that control device is responsible for injection in fault injection system meets the change It is sent during the trigger condition of amount.
It should be noted that S204 is identical with the realization method of S103, the description of S103 is referred to, details are not described herein again.
S 205:Fault injection system sends triggering execution information to control device.
Wherein, trigger in execution information and indicate that warp-wise test equipment injects the failure to fault injection system.
Specifically, fault injection system is sent to control after by direct fault location test equipment, by the failure that itself is injected Equipment, to inform the failure of control device itself warp-wise test equipment injection.
S 206:Control device receives and stores the triggering execution information of fault injection system transmission.
Specifically, control device is getting the triggering execution information of fault injection system transmission, you can knows that failure is noted Enter system and have been carried out corresponding direct fault location, the control device stored record fault injection system and the direct fault location system The failure that system had been injected into.
For example, Fig. 3 is that the variable that the embodiment of the present invention one provides triggers the flow diagram of direct fault location, such as Fig. 3 Shown, the event that variable 1,3 three variables of variable 2 and variable and control fault injection system A are performed is respectively created in control device Barrier is associated with variable 1, and the failure that control fault injection system B is performed is associated with variable 2, and control fault injection system C is performed Failure is associated with variable 3, and when variable 1 meets trigger condition, control device sends triggering command, is touched by triggering management interface Hair control fault injection system A will be with 1 associated direct fault location test equipment of variable;Control device control variable 2 triggers failure Injected system B carries out direct fault location and control device control variable 3 triggers the reality that fault injection system C carries out direct fault location The realization method that existing mode triggers Fault Insertion Equipment A progress direct fault locations with control device control variable 1 is identical, and the present invention is real Example is applied herein without repeating.It should be noted that control device is by triggering management of the management interface offer to variable, bag It includes:Variable is created, variable, modification variable is deleted, obtains variable data, variable triggering mode and triggering control etc. are set.
Fault filling method provided in an embodiment of the present invention, by control device by for injecting test equipment a variety of therefore Barrier is respectively associated with multiple variables, and sets the trigger condition of multiple variables, and the variable in multiple variables meets the variable Trigger condition when, control device send triggering command to corresponding fault injection system, should to trigger fault injection system The direct fault location test equipment of variable association, by variable control triggering different faults injection, control different frameworks and The fault injection system of design principle carries out distributed heterogeneous triggering direct fault location, to realize different frameworks and design principle Fault injection system unified management is got up, and controls the orderly injection of failure.Meanwhile failure is sent by fault injection system and is registered For information to control device, the failure that control device is responsible for injection according to the establishment of failure log-on message with fault injection system is corresponding Variable and the triggering mode and trigger condition that variable is set, to realize the failure that different faults injected system is responsible for injection Different variables is associated, so that control device is that can trigger corresponding fault injection system by the event with variable association by variable Barrier injection test equipment.Meanwhile fault injection system is after by direct fault location test equipment, fault injection system by itself Control device is sent to the triggering execution information of test equipment injection failure, so that control device knows direct fault location system in real time Whether system performs corresponding direct fault location.
Further, in the above-described embodiments, triggering mode is one kind in the following manner:Triggering, counting are automatic manually Triggering, timing automatic trigger and condition judgment automatic trigger.
Specifically, the variable that control device creates includes variable name, types of variables and initial value, types of variables supports shaping With two kinds of floating type.Variable supports triggering and automatic trigger two ways manually, when being arranged to automatic trigger, can select to count Three kinds of number, timing and condition judgment modes.
Optionally, control device sets the trigger condition of the variable created according to the triggering mode of the variable of establishment, including: The variable of establishment with counter is associated, will created when the triggering mode of the variable of establishment is counts automatic trigger by control device The trigger condition for the variable built is arranged to counter as pre-set count values.
Refer to give an initial value specifically, counting, change the initial value by other synchronous services, for example pass through synchronous clothes The initial value of business amplitude acquisition modification counter, when initial value is pre-set count values, for example triggers associated event when count value is 0 Barrier.Cycle and aperiodic pattern are could be provided as, cyclic pattern automatically resets after referring to triggering, then starts countdown, aperiodic Refer to that only triggering is once, be mainly used for needing the operation synchronized with failure.
Optionally, control device sets the trigger condition of the variable created according to the triggering mode of the variable of establishment, including: The variable of establishment with timer is associated, will created when the triggering mode of the variable of establishment is timing automatic trigger by control device The trigger condition for the variable built is arranged to terminate during timer.
Specifically, timing refers to give a count down time, the timer that precision is us is provided, when countdown is 0 Relevant fault is triggered, it is similar with counting, it could be provided as cycle and aperiodic pattern.
Optionally, control device sets the trigger condition of the variable created according to the triggering mode of the variable of establishment, including: Control device is another with having created by the variable of establishment when the triggering mode of the variable of establishment is condition judgment automatic trigger Variable association, the value that the trigger condition of the variable of establishment is arranged to another variable meet or exceed corresponding preset value. I.e. when the value of another variable meets or exceeds corresponding preset value, the variable of establishment meets its trigger condition.
Specifically, condition judgment supports the judgement of an index item, and it can be by the index and a variable association, it then should The variable association of variable and condition judgment, such as amplitude perform amplitude adjusted direct fault location after amplitude reaches a certain range.Fig. 4 For the schematic diagram of condition judgment automatic trigger variable provided in an embodiment of the present invention triggering, as shown in figure 4, variable 1 and amplitude tune Fault correlation is saved, variable 2 is associated with the amplitude acquisition of synchronous service, when the amplitude of 2 associated amplitude of variable acquisition reaches default During value, variable 1 meets trigger condition, triggers fault injection system by amplitude adjusted direct fault location test equipment.
For example, Fig. 5 triggers the flow diagram of direct fault location, such as Fig. 5 for variable provided by Embodiment 2 of the present invention Shown, example of the embodiment of the present invention describes the implementation procedure of a heterogeneous distributed failure sequence, distributed fault injected system Between communicated by Ethernet, fault injection system A is operated on the platform of VxWorks+PPC, here select circuit break Road failure is associated with variables A.The data type of variables A be shaping, default value 0.Become by triggering management interface manual modification The value for measuring A realizes that the triggering to failure controls, and when the value of variables A is 1, the open circuit fault of triggering fault injection system A performs, When for 0 when trigger failure stop, variables A is equal to an on-off action here.
Fault injection system B is operated on the platform of Linux+ARM, selects rate adaptation failure and variable B and change here D associations are measured, are associated simultaneously with variables A with variations per hour B, D, variable B, D selection automatic trigger, triggering pattern is condition judgment, defeated Enter for variables A, when variables A is 0, variable B triggering fault injection systems B performs rate adaptation failure, when variables A is 1, becomes Measure the execution that D triggering fault injection systems B stops rate adaptation failure.
Fault injection system C is operated on the platform of Windows+Intel, and selecting range adjusts failure and variable C here Association.The triggering pattern of variable C is timing, and precision of timer us, default value 10*106 are arranged to cyclic pattern, i.e., every 10s triggers an amplitude adjusted failure, and failure performs the time as 1s.
After control device starts, under default situations, the value of variables A is 0, this variations per hour B can trigger fault injection system B and hold Row rate adaptation failure, fault injection system A are not triggered, and fault injection system C then starts countdown, per 10S a cycles The execution of amplitude adjusted failure is triggered, performs 1s every time.When variables A is revised as 1 by mode manually, direct fault location system Open circuit fault in system A is triggered, and starts to perform, while the rate adaptation failure in variables D triggering fault injection system B stops It performs, i.e. open circuit fault in fault injection system A is mutual exclusion with the rate adaptation failure in fault injection system B.
Fig. 6 is the structure diagram for the control device that the embodiment of the present invention one provides, as shown in fig. 6, the embodiment of the present invention The control device of offer, including:Relating module 61 and trigger module 62.
Relating module 61 for the various faults for being used to inject test equipment to be respectively associated with multiple variables, and is set The trigger condition of the multiple variable.
Trigger module 62 when meeting the trigger condition of the variable for the variable in the multiple variable, sends and touches Corresponding fault injection system is issued a command to, to trigger the fault injection system by survey described in the direct fault location of the variable association Try equipment.
The control device provided in the embodiment of the present invention is used to perform the technical solution of embodiment of the method shown in Fig. 1, in fact Existing principle is similar with effect is realized, details are not described herein again.
Further, in the embodiment shown in fig. 6, the control device is connected with multiple fault injection systems;
Relating module 61 will be respectively associated for injecting the various faults of test equipment with multiple variables, and set described more The trigger condition of a variable, including:The control device often receives the failure log-on message that a fault injection system is sent Afterwards, the failure that the fault injection system is responsible for injection is therefrom obtained, creates the variable with the fault correlation of the acquisition, and according to The triggering mode of the variable of the establishment sets the trigger condition of the variable of the establishment.
Further, in the embodiment shown in fig. 6, the triggering mode is one kind in the following manner:Triggering, meter manually Number automatic trigger, timing automatic trigger and condition judgment automatic trigger.
Further, in the embodiment shown in fig. 6, relating module 61 is set according to the triggering mode of the variable of the establishment The trigger condition of the variable of the establishment, including:
When the triggering mode of the variable of the establishment is condition judgment automatic trigger, by the variable of the establishment with having created Another variable association built, the value that the trigger condition of the variable of the establishment is arranged to another variable are met or exceeded accordingly Preset value.
Fig. 7 is the structure diagram of control device provided by Embodiment 2 of the present invention, as shown in fig. 7, the embodiment of the present invention The control device of offer, including:Memory 71 and processor 72.
Memory 71 executes instruction for storing, and processor 72 can be a central processing unit (Central Processing Unit, CPU) or specific integrated circuit (Application Specific Integrated Circuit, ASIC) or complete implement the embodiment of the present invention one or more integrated circuits.When base station is run, processing It communicates between device 72 and memory 71,72 call executive instruction of processor, for performing following operation:
It will be respectively associated for injecting the various faults of test equipment with multiple variables, and touching for the multiple variable be set Clockwork spring part;
When a variable in the multiple variable meets the trigger condition of the variable, triggering command is sent to corresponding event Hinder injected system, to trigger the fault injection system by test equipment described in the direct fault location of the variable association.
Further, the control device is connected with multiple fault injection systems;Processor 72 will be used for injection test and set Standby various faults are respectively associated with multiple variables, and set the trigger condition of the multiple variable, including:
After often receiving the failure log-on message that a fault injection system is sent, therefrom obtain the fault injection system and bear The failure of injection is blamed, the variable with the fault correlation of the acquisition is created, and is set according to the triggering mode of the variable of the establishment Put the trigger condition of the variable of the establishment.
Further, the triggering mode is one kind in the following manner:It triggers manually, count automatic trigger, timing certainly Dynamic triggering and condition judgment automatic trigger.
Further, processor 72 sets the triggering of the variable of the establishment according to the triggering mode of the variable of the establishment Condition, including:
When the triggering mode of the variable of the establishment is condition judgment automatic trigger, by the variable of the establishment with having created Another variable association built, the value that the trigger condition of the variable of the establishment is arranged to another variable are met or exceeded accordingly Preset value.
Fig. 8 is the structure diagram of fault injection system provided in an embodiment of the present invention, as shown in figure 8, the present invention is implemented The fault injection system that example provides, including:Main control device 81 and Fault Insertion Equipment 82.
Main control device 81 for the triggering command that receiving control apparatus is sent, triggers corresponding according to the triggering command Fault Insertion Equipment;Wherein, the triggering command is the failure that the control device is responsible for injection in the fault injection system Associated variable meets what is sent during the trigger condition of the variable.
Fault Insertion Equipment 82, for by test equipment described in the direct fault location.
The fault injection system provided in the embodiment of the present invention is used to perform the technical solution of embodiment of the method shown in Fig. 1, Its realization principle is similar with effect is realized, details are not described herein again.
Further, in the embodiment shown in fig. 8, main control device 81 is additionally operable to:
Failure log-on message is sent to the control device, the failure log-on message includes the Fault Insertion Equipment It is responsible for the information of the failure of injection.
Further, in the embodiment shown in fig. 8, main control device 81 is additionally operable to:
Triggering execution information is sent to the control device, described trigger in execution information indicates the Fault Insertion Equipment Test equipment described in warp-wise injects the failure.
Fig. 9 is the structure diagram that direct fault location provided in an embodiment of the present invention manages system, as shown in figure 9, of the invention The direct fault location management system that embodiment provides, including:Control device 91 and one or more fault injection systems 92.
Control device will be tested for triggering corresponding fault injection system by variable with the direct fault location of variable association Equipment is communicated by Ethernet between distributed fault injected system.
The control device 91 and fault injection system 92 provided in the present embodiment is real for performing method shown in Fig. 1 and Fig. 2 The technical solution of example is applied, realization principle is similar with effect is realized, details are not described herein again.
Although disclosed herein embodiment as above, the content only for ease of understanding the present invention and use Embodiment is not limited to the present invention.Technical staff in any fields of the present invention is taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (14)

1. a kind of fault filling method, including:
Control device will be respectively associated for injecting the various faults of test equipment with multiple variables, and set the multiple variable Trigger condition;
When a variable in the multiple variable meets the trigger condition of the variable, the control device send triggering command to Corresponding fault injection system, to trigger the fault injection system by test equipment described in the direct fault location of the variable association.
2. fault filling method according to claim 1, it is characterised in that:
The control device is connected with multiple fault injection systems;
The control device will be respectively associated for injecting the various faults of test equipment with multiple variables, and set the multiple The trigger condition of variable, including:
After the control device often receives the failure log-on message that a fault injection system is sent, failure note is therefrom obtained Enter the failure that system is responsible for injection, create the variable with the fault correlation of the acquisition, and touching according to the variable of the establishment Originating party formula sets the trigger condition of the variable of the establishment.
3. fault filling method according to claim 2, which is characterized in that the triggering mode is one in the following manner Kind:Triggering, counting automatic trigger, timing automatic trigger and condition judgment automatic trigger manually.
4. fault filling method according to claim 2, it is characterised in that:
The control device sets the trigger condition of the variable of the establishment, bag according to the triggering mode of the variable of the establishment It includes:
The control device is when the triggering mode of the variable of the establishment is condition judgment automatic trigger, by the change of the establishment Amount and another variable association for having created, by the trigger condition of the variable of the establishment be arranged to another variable value reach or More than corresponding preset value.
5. a kind of fault filling method, including:
The triggering command that fault injection system receiving control apparatus is sent;Wherein, the triggering command is that the control device exists The variable that the fault injection system is responsible for the fault correlation of injection meets what is sent during the trigger condition of the variable;
The fault injection system is according to the triggering command by the direct fault location test equipment.
6. fault filling method according to claim 5, it is characterised in that:
Before the triggering command that the fault injection system receiving control apparatus is sent, the method further includes:The failure note Enter system and send failure log-on message to the control device, the failure log-on message includes the fault injection system and bears Blame the information of the failure of injection;
The fault injection system according to the triggering command by after the direct fault location test equipment, also wrap by the method It includes:The fault injection system sends triggering execution information to the control device, described to trigger in execution information described in instruction Test equipment described in warp-wise injects the failure to fault injection system.
7. a kind of control device, which is characterized in that including:
Relating module for the various faults for being used to inject test equipment to be respectively associated with multiple variables, and is set described more The trigger condition of a variable;
Trigger module when meeting the trigger condition of the variable for the variable in the multiple variable, sends triggering command To corresponding fault injection system, test described in the direct fault location of the variable association is set with triggering the fault injection system It is standby.
8. control device according to claim 7, which is characterized in that the control device connects with multiple fault injection systems It connects;
The relating module will be respectively associated for injecting the various faults of test equipment with multiple variables, and set the multiple The trigger condition of variable, including:After the control device often receives the failure log-on message that a fault injection system is sent, The failure that the fault injection system is responsible for injection is therefrom obtained, creates the variable with the fault correlation of the acquisition, and according to institute State the trigger condition of the variable of the triggering mode setting establishment of the variable of establishment.
9. control device according to claim 8, which is characterized in that the triggering mode is one kind in the following manner: Triggering, counting automatic trigger, timing automatic trigger and condition judgment automatic trigger manually.
10. control device according to claim 8, which is characterized in that the relating module is according to the variable of the establishment Triggering mode set the establishment variable trigger condition, including:
When the triggering mode of the variable of the establishment is condition judgment automatic trigger, by the variable of the establishment and create Another variable association, the value that the trigger condition of the variable of the establishment is arranged to another variable are met or exceeded accordingly in advance If value.
11. a kind of control device, which is characterized in that including:Memory and processor, memory execute instruction for storing;Place Reason device executes instruction described in calling, for performing such as claim 1-4 any one of them fault filling methods.
12. a kind of fault injection system, which is characterized in that including:
Main control device for the triggering command that receiving control apparatus is sent, triggers corresponding failure according to the triggering command and notes Enter equipment;
Wherein, the triggering command is the variable for the fault correlation that the control device is responsible for injection in the fault injection system It is sent during the trigger condition for meeting the variable;
The Fault Insertion Equipment, for by test equipment described in the direct fault location.
13. fault injection system according to claim 12, which is characterized in that the main control device is additionally operable to:
Failure log-on message is sent to the control device, the failure log-on message, which includes the Fault Insertion Equipment, to be responsible for The information of the failure of injection;
The main control device is additionally operable to:
Triggering execution information is sent to the control device, described trigger in execution information has indicated the Fault Insertion Equipment The failure is injected to the test equipment.
14. a kind of direct fault location manages system, which is characterized in that including such as claim 7-11 any one of them control device With fault injection system as described in claim 12 or 13.
CN201711095169.XA 2017-11-08 2017-11-08 A kind of fault filling method and system, control device and direct fault location management system Pending CN108052422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711095169.XA CN108052422A (en) 2017-11-08 2017-11-08 A kind of fault filling method and system, control device and direct fault location management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711095169.XA CN108052422A (en) 2017-11-08 2017-11-08 A kind of fault filling method and system, control device and direct fault location management system

Publications (1)

Publication Number Publication Date
CN108052422A true CN108052422A (en) 2018-05-18

Family

ID=62118700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711095169.XA Pending CN108052422A (en) 2017-11-08 2017-11-08 A kind of fault filling method and system, control device and direct fault location management system

Country Status (1)

Country Link
CN (1) CN108052422A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760653A (en) * 2021-08-16 2021-12-07 深圳Tcl新技术有限公司 Intelligent household appliance testing method and device, storage medium and electronic equipment
CN115629683A (en) * 2022-10-26 2023-01-20 北京力控元通科技有限公司 Variable management method, program product, system, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740980A (en) * 2004-08-29 2006-03-01 华为技术有限公司 Fault filling method and apparatus based on programmable logical device
CN103678129A (en) * 2013-12-14 2014-03-26 中国航空工业集团公司第六三一研究所 Electromechanical system software fault injection method based on time triggering
CN104699601A (en) * 2013-12-05 2015-06-10 国际商业机器公司 Injecting Faults at Select Execution Points of Distributed Applications
CN204965090U (en) * 2015-08-31 2016-01-13 中国人民解放军63908部队 Integrated multiple fault type's intelligent fault injection system
US20170024299A1 (en) * 2015-07-21 2017-01-26 International Business Machines Corporation Providing Fault Injection to Cloud-Provisioned Machines

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740980A (en) * 2004-08-29 2006-03-01 华为技术有限公司 Fault filling method and apparatus based on programmable logical device
CN104699601A (en) * 2013-12-05 2015-06-10 国际商业机器公司 Injecting Faults at Select Execution Points of Distributed Applications
CN103678129A (en) * 2013-12-14 2014-03-26 中国航空工业集团公司第六三一研究所 Electromechanical system software fault injection method based on time triggering
US20170024299A1 (en) * 2015-07-21 2017-01-26 International Business Machines Corporation Providing Fault Injection to Cloud-Provisioned Machines
CN204965090U (en) * 2015-08-31 2016-01-13 中国人民解放军63908部队 Integrated multiple fault type's intelligent fault injection system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760653A (en) * 2021-08-16 2021-12-07 深圳Tcl新技术有限公司 Intelligent household appliance testing method and device, storage medium and electronic equipment
CN115629683A (en) * 2022-10-26 2023-01-20 北京力控元通科技有限公司 Variable management method, program product, system, device and storage medium

Similar Documents

Publication Publication Date Title
CN105429027B (en) Secondary safety measure supports system and construction method in the maintenance of intelligent substation O&M
CN103345885B (en) The collocation method of casing trace configurations method and device and spliced display screen
CN104166816B (en) A kind of screen locking unlocking method and system based on application icon
CN109359031A (en) More appliance applications test methods, device, server and storage medium
CN106170763B (en) A kind of software check method and apparatus
CN108052422A (en) A kind of fault filling method and system, control device and direct fault location management system
CN107451193A (en) A kind of acquisition methods and device of customer terminal webpage load time, electronic equipment
CN104063324A (en) Method and system for Monkey test
CN108683556A (en) Detect the method, apparatus and computer storage media of network interface card functional status
CN104834601A (en) Android system-based automatic testing method for memory leakage of intelligent terminal
CN106970346A (en) A kind of method and system for electric energy measuring equipment remote calibration
CN111088998B (en) Coal mine central station monitoring system testing method and device and substation simulation system
CN103344854A (en) Automatic test system and method for logical function device
CN106941434A (en) The detecting system and method for a kind of communication message
CN106526319A (en) Synchronous phase measurement method and system
CN109921897A (en) Triggering method, device, calculating equipment and the storage medium that proof of work calculates
CN110309066A (en) A kind of test method and system based on monkey tool
CN104462116B (en) Data selection method and device
CN105890810B (en) The setting method and grain inspection system of temperature testing equipment
CN104469420B (en) Business emergency method, the apparatus and system of network TV terminal
CN102223268A (en) Network equipment as well as method and device for starting hardware testing of same
CN106482742B (en) The acquisition methods and device of step counting data
CN104035813B (en) The detection method and device of cross-platform interchange
CN105159162B (en) The processing method of non-metering data in metering system
CN104298596B (en) Random distribution method and device for test scheme and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180518

RJ01 Rejection of invention patent application after publication