Nothing Special   »   [go: up one dir, main page]

CN101963927B - Fault diagnosis method and system based on interface control document - Google Patents

Fault diagnosis method and system based on interface control document Download PDF

Info

Publication number
CN101963927B
CN101963927B CN2010102676576A CN201010267657A CN101963927B CN 101963927 B CN101963927 B CN 101963927B CN 2010102676576 A CN2010102676576 A CN 2010102676576A CN 201010267657 A CN201010267657 A CN 201010267657A CN 101963927 B CN101963927 B CN 101963927B
Authority
CN
China
Prior art keywords
data
diagnostic
script
name
function
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.)
Active
Application number
CN2010102676576A
Other languages
Chinese (zh)
Other versions
CN101963927A (en
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 Guoke Huanyu Science and Technology Co., Ltd.
Original Assignee
BEIJING GUOKEHUANYU SPACE 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 GUOKEHUANYU SPACE TECHNOLOGY Co Ltd filed Critical BEIJING GUOKEHUANYU SPACE TECHNOLOGY Co Ltd
Priority to CN2010102676576A priority Critical patent/CN101963927B/en
Publication of CN101963927A publication Critical patent/CN101963927A/en
Application granted granted Critical
Publication of CN101963927B publication Critical patent/CN101963927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a fault diagnosis method and system based on the interface control document (ICD). In the system of the invention, an ICD database is used to store benchmark data; a diagnosis script library is used to store a plurality of diagnosis scripts and a plurality of functions called by the diagnosis scripts; and an ICD analysis module analyzes the data packet of a diagnosis object to obtain the data to be diagnosed and the data name. The fault diagnosis method is as follows: according to the data name and data route of the diagnosis object, the data definition of the benchmark data with the same data name and data route is read from the ICD database; the data definition is utilized to convert the data to be diagnosed to the parameter detection result of the data to be diagnosed; and a reasoning module uses the diagnosis scripts and the functions to perform fault diagnosis to the parameter detection result of the data to be diagnosed and outputs a fault diagnosis result. By adopting the method and system of the invention, when fault diagnosis is performed, the ICD is utilized for storage and analysis, thus reducing the computation workload, increasing the universality and the flexibility and having the capability of expressing all kinds of knowledge conveniently and effectively.

Description

A kind of method for diagnosing faults and system based on ICD
Technical field
The present invention relates to control technology, particularly a kind of based on interface control document (Inteface Control Document, method for diagnosing faults ICD) and system.
Background technology
Fault diagnosis is meant through measuring equipment being in operation or the relatively processing and the analysis of the status information under the quiescent conditions; And the historical situation of bonding apparatus; Come the real-time technique state of quantitative identification equipment and parts thereof; Prevision is relevant unusual, fault and predict its WeiLai Technology state, thereby confirms the technology of necessary countermeasure; Its purpose can in time correctly be made diagnosis, prevention or elimination to the various abnormal operating conditions or the malfunction of system just, thereby necessary guidance is carried out in the operation of equipment, improves reliability of system operation, security and validity.
Along with the structure of equipment becomes increasingly complex, function is more and more perfect and automaticity is increasingly high; One place's fault possibly cause a series of chain reactions; The system that causes entire equipment or have distinct device to constitute can not normally move, even can cause great loss; Therefore, also increasingly high to the requirement of fault diagnosis, become the major technique that is currently applied to fault diagnosis based on the fault diagnosis expert system of knowledge.Concerning fault diagnosis technology, knowledge just is meant Fault Diagnosis Strategy, promptly how to utilize by the failure symptom of diagnostic system or fault data and carries out fault diagnosis.
Fig. 1 is the structural representation of existing fault diagnosis expert system based on knowledge.Combine Fig. 1 at present, the structure of existing fault diagnosis expert system based on knowledge is described, specific as follows:
Existing fault diagnosis expert system based on knowledge comprises: knowledge base 10, inference machine 11, man-machine interface 12 and database 13.Man-machine interface 12 is used for user and mutual based on information between the fault diagnosis expert system of knowledge.Knowledge base 10 is used to store the knowledge of diagnosed object, such as the systematic knowledge of the structure knowledge of the working mechanism of the working environment of system, reflection system and system, equipment failure eigenwert, fault diagnosis algorithm, reasoning script etc.; The knowledge of storage is for obtaining through man-machine interface 12 in the knowledge base 10.Database 13 comprises dynamic data base and static database; Static database is used to store metastable parameter, such as Equipment Design parameter, natural frequency etc.; Dynamic data base is through detecting the state parameter that obtains, such as working speed, rate-of flow, voltage or electric current etc. in the equipment operation; The data of storage are to obtain through man-machine interface 12 in the database 13.Inference machine 11 obtains the knowledge corresponding with this diagnosed object according to the diagnosed object of input from knowledge base 10; From database 13, obtain the parameter of diagnosed object; According to knowledge of obtaining and parameter diagnosed object is carried out fault diagnosis, the output fault diagnosis result.
Though existing knowledge-based expert system has utilized expert's experience, in the fault diagnosis of system, played certain function; But; The experience that the expert deals with problems is various; And the knowledge of expert system sign requires set form, and the experience that the expert deals with problems is translated into the process more complicated of the knowledge that satisfies the set form requirement, and satisfies the representation of knowledge shortage dirigibility and the versatility of set form.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of fault diagnosis system based on ICD, this system can improve versatility and dirigibility, reduces operand, expresses various knowledge easily and effectively.
The object of the present invention is to provide a kind ofly based on the ICD method for diagnosing faults, this method can improve versatility and dirigibility, reduces operand, expresses various knowledge easily and effectively.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of fault diagnosis system based on ICD, this system comprises:
The ICD database is used to store a plurality of reference datas; Said reference data comprises data name, data definition and data route; The definition that said data definition carries out for the conversion method of parameter that each data sub-block of forming reference data is represented and each parameter;
The diagnostic script storehouse is used for storing the function that a plurality of diagnostic scripts and a plurality of diagnostic script call;
The ICD parsing module receives packet and the data route of the diagnosed object of outside input, and the packet of diagnosed object is resolved acquisition diagnostic data and data name thereof; According to waiting to diagnose the data name of object and the data route reads the reference data of identical data title and data route from the ICD database data definition; Utilize data definition to convert diagnostic data the parameter detecting result of diagnostic data into, data name, data route and the parameter detecting result of output diagnostic data are to reasoning module;
Reasoning module; Corresponding relation according to data name and script name; From the diagnostic script storehouse, read the diagnostic script corresponding with the data name of diagnostic data; According to diagnostic script function reading from the diagnostic script storehouse, utilize diagnostic script and function that the parameter detecting result of diagnostic data is carried out fault diagnosis, the output fault diagnosis result.
Preferably, this system also comprises:
The ICD administration module, the stored in form that converts data name, data layout, data route and the data definition of the reference data of user input into ICD is in the ICD database.
Preferably, this system also comprises:
Script generates administration module; Whether stored reference data in the name lookup ICD database according to function that calls in the diagnostic script of user input, the diagnostic script and reference data; If whether the grammer of the function that then further calls in the diagnostic script of judges input and the diagnostic script is correct,, stores the function that calls in diagnostic script of then user being imported and the diagnostic script if exporting in the diagnostic script storehouse;
Said diagnostic script comprises script name, content for script and script numbering; Said function comprises function name and function content.
In the said system, said reasoning module comprises:
The data parsing unit; Data name, data route and parameter detecting result to the diagnostic data of ICD parsing module output discern; Export data name to scheduling unit; The data route and the parameter detecting result of diagnostic data are packaged into the supplemental characteristic bag, supplemental characteristic bag and data name are sent to data buffer unit store;
Scheduling unit; According to the data name of data name that receives and storage and the corresponding relation of script name; Obtain the script name of the diagnostic script corresponding with the data name that receives; Script name according to diagnostic script reads diagnostic script from the diagnostic script storehouse, and according to function name function reading from the diagnostic script storehouse of the function that calls in the diagnostic script, the data name that receives, diagnostic script and the function packing corresponding with data name is sent to the temporary storage location storage;
Temporary storage location is used to store a plurality of diagnostic data bags that comprise data name, diagnostic script and function;
Data buffer unit is stored the supplemental characteristic bag according to the data name of data parsing unit output;
N script explanation unit, each script explanation unit reads the diagnostic data bag from temporary storage location, resolve the diagnostic data bag and obtain data name, diagnostic script and function; From data buffer unit, read and data name corresponding parameters packet according to the data name that obtains according to each script explanation unit, the analytic parameter packet obtains the parameter detecting result; According to parameter detecting operational diagnostics script and function as a result, obtain diagnostic result, the output diagnostic result is to scheduling unit.
A kind of method for diagnosing faults based on ICD, this method comprises:
The packet and the data route of A, acquisition diagnosed object, the packet of resolving diagnosed object obtains the data name of diagnostic data;
B, judge whether to store the reference data corresponding, if then obtain the data definition of the reference data corresponding, otherwise finish with diagnostic data with diagnostic data according to data name and data route; Said reference data comprises data name, data definition and data route; The definition that said data definition carries out for the conversion method of parameter that each data sub-block of forming reference data is represented and each parameter;
C, the data definition that comprises according to reference data are resolved diagnostic data, obtain the parameter detecting result of diagnostic data;
D, obtain diagnostic script and function, utilize diagnostic script and function that the parameter detecting result is carried out fault diagnosis, and export fault diagnosis result according to the data name of diagnostic data.
In the said method, said step D comprises:
D1, from the diagnostic script of storage, read the function that calls in script identical and the script, data name, the diagnostic script corresponding with it and function are packaged into the diagnostic data bag store with data name according to data name;
D2, the diagnostic data bag resolved obtain data name, diagnostic script and function;
D3, carry out diagnostic script and function according to the parameter detecting result and obtain diagnostic result, and the output diagnostic result.
Visible by above-mentioned technical scheme, the invention provides a kind of method for diagnosing faults and system based on ICD, the ICD database is used to store a plurality of reference datas; The diagnostic script storehouse is used for storing the function that a plurality of diagnostic scripts and a plurality of diagnostic script call; The ICD parsing module is resolved the packet of diagnosed object and is obtained diagnostic data and data name thereof; According to waiting to diagnose the data name of object and the data route reads the reference data of identical data title and data route from the ICD database data definition; Utilize data definition diagnostic data to be converted into the parameter detecting result of diagnostic data; Reasoning module utilizes diagnostic script and function that the parameter detecting result of diagnostic data is carried out fault diagnosis, the output fault diagnosis result.Adopt method and system of the present invention, to diagnosing malfunction the time, utilize ICD to store and resolve; Make that the one-piece construction and the diagnosis object of fault diagnosis system are irrelevant; Promptly only need to adopt an ICD carry out effective expression, just can utilize stored script information that diagnostic data is carried out fault diagnosis, no longer by means of the representation of knowledge of set form in the existing expert system data route and data structure; Omit the experience that the expert is dealt with problems and translated into the process of the knowledge that satisfies the set form requirement; Reduce operand, improved versatility and dirigibility, can express various knowledge easily and effectively.
Description of drawings
Fig. 1 is the structural representation of existing fault diagnosis expert system based on knowledge.
Fig. 2 is the structural representation that the present invention is based on the fault diagnosis system of ICD.
Fig. 3 is the structural representation of reasoning module that the present invention is based on the fault diagnosis system of ICD.
Fig. 4 is the process flow diagram that the present invention is based on the method for diagnosing faults of ICD.
Embodiment
For make the object of the invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, to further explain of the present invention.
Fig. 2 is the structural representation that the present invention is based on the fault diagnosis system of ICD.Combine Fig. 2 at present, the structure of the fault diagnosis system that the present invention is based on ICD is described, specific as follows:
The fault diagnosis system that the present invention is based on ICD comprises: ICD database 21, ICD parsing module 22, diagnostic script storehouse 24 and reasoning module 25.
ICD database 21 is used to store a plurality of reference datas; Each reference data is controlled document with interface, and (Interface Control Document, form ICD) is stored, and comprises data name, data definition and data route.Wherein, data name is predefined; The definition that data definition carries out for the conversion method of parameter that each data sub-block of forming reference data is represented and each parameter; Such as, be " first data sub-block is represented bus 1 voltage, and second data sub-block is represented bus 2 voltages; the voltage transitions formula is x*28/255 " for the data definition of a certain reference data; Here the parameter that has at first defined first data sub-block of forming said reference data and second data sub-block sign is respectively the voltage of bus 1 and bus 2, secondly, is conversion formula x*28/255 to the conversion method of these two parameters of voltage of bus 1 and bus 2; Like this; If diagnostic data is 0x01 0xf4, the testing result of utilizing the data definition of said reference data diagnostic data to be resolved the parameter of acquisition is " bus 1 voltage is 0.11V, and bus 2 voltages are 26.8V "; The data route is the source device and the target device of reference data, such as: the data route that name is called the reference data of " remote measurement A " is that source device is the input interface C of diagnosed object, and target device is the fault diagnosis system that the present invention is based on ICD.Reference data also can further comprise in order to distinguish the Data Identification of data, and Data Identification also is predefined.Reference data in the ICD database 21 of the present invention is to store one by one according to the data name of reference data.The file layout of ICD of the present invention has defined the data route; Preferably, for the ease of user management, the file layout of ICD also definable is formed interface relationship and the physical hardware type of attachment of interface between the each several part of system.
Diagnostic script storehouse 24 is used to store a plurality of diagnostic scripts and a plurality of function.Store two forms in the diagnostic script storehouse 24, a form is used to store diagnostic script, and another form is used for storing the function that diagnostic script calls.Each diagnostic script of form that is used for storing diagnostic script is stored according to the script sign one by one, and each bar diagnostic script comprises script sign, script name, content for script and script numbering; Wherein, script sign is to be ID number of script distribution in advance according to the storage order of diagnostic script; Script name and content for script are user-defined, and the script numbering is the coding of ID script.For the ease of management, each the bar diagnostic script that is used for storing the form of diagnostic script in the diagnostic script storehouse 24 can also comprise grouping information under the script.Be used in the form of the function that stores scripts calls each function and store one by one according to function identification, each function comprises function identification, function name and function content; Wherein, function identification is to be ID number that function distributes in advance according to the storage order of function, and function name and function content are user-defined.
ICD parsing module 22 receives the packet and the data route of the diagnosed object of outside input; The packet of diagnosed object is resolved acquisition diagnostic data and data name thereof; The data definition that from ICD database 21, reads the reference data of identical data title and data route according to the data name and the data route of diagnostic data; Utilize data definition to convert diagnostic data the parameter detecting result of diagnostic data into, data name, data route and the parameter detecting result of output diagnostic data are to reasoning module 25.The data name that includes diagnostic data and diagnostic data in the packet of diagnosed object; Wherein, diagnostic data is made up of the digital signal of a plurality of bytes, such as 0x01 0xf4; The data route of the data name of diagnostic data and the packet of diagnosed object is identical with the implication of data name and data route of reference data of storage in the ICD database 21 respectively, repeats no more at this.Also can further comprise predefined in the packet of diagnosed object in order to distinguish the Data Identification of data.The method that the packet of 22 pairs of diagnosed objects of ICD parsing module is resolved can adopt habitual analytic methods such as existing deciphering, obtains the content in the packet, no longer the concrete grammar of resolving is given unnecessary details at this.The data route of diagnostic data is that the packet with diagnosed object sends to ICD parsing module 22; In other words; The packet of diagnosed object has just carried this packet and has come from which source device and send to which target device when being sent to ICD parsing module 22, or which source device this packet comes from.
Reasoning module 25 is according to the corresponding relation of data name and script name; From diagnostic script storehouse 24, read the diagnostic script corresponding with the data name of diagnostic data; According to the function name that comprises in diagnostic script function reading from diagnostic script storehouse 24; Utilize diagnostic script and function that the parameter detecting result of diagnostic data is carried out fault diagnosis, the output diagnostic result.
For the reference data in the ICD database 21 is upgraded, the fault diagnosis system based on ICD of the present invention also comprises ICD administration module 20.The stored in form that ICD administration module 20 converts data name, data layout, data route and the data definition of the reference data of user input into ICD and is stored according to the order of data name in ICD database 21.ICD administration module 20 also can further be stored in the predefined Data Identification of user in the ICD database.ICD administration module 20 is the content that the form of ICD belongs to prior art with the information translation of input, repeats no more at this.
In order the script in the diagnostic script storehouse 24 to be upgraded and to verify, the fault diagnosis system based on ICD of the present invention also comprises script and generates administration module 23.Whether stored reference data in the function that calls in the diagnostic script that script generation administration module 23 is imported according to the user, the diagnostic script and the name lookup ICD database 21 of reference data; If whether the grammer of the function that then further calls in the diagnostic script of judges input and the diagnostic script is correct, store if then the function that calls in the diagnostic script of user's input and the diagnostic script is exported in the diagnostic script storehouse 24.Script generates function name, the function content called in script name, content for script, script numbering and the script of administration module 23 with diagnostic script and exports diagnostic script storehouse 24 to and store; It is that diagnostic script generates script sign according to the order of the diagnostic script of user's input that script generates administration module 23, and together exports the form that is used to store diagnostic script in the diagnostic script storehouse 24 to the diagnostic script relevant information and store; The order that script generates the function that calls in the diagnostic script of administration module 23 according to user's input is that function generates a function identification, and the and function relevant information together exports the form that is used for storage function in the diagnostic script storehouse 24 to and stores.
Fig. 3 is the structural representation of reasoning module that the present invention is based on the fault diagnosis system of ICD.Combine Fig. 3 at present, the structure of the reasoning module of the fault diagnosis system that the present invention is based on ICD is described, specific as follows:
The reasoning module 25 that the present invention is based on the fault diagnosis system of ICD comprises data parsing unit 251, scheduling unit 252, temporary storage location 253, data buffer unit 254 and N script explanation unit.Wherein, N script explanation unit be respectively the first script explanation unit 255, the second script Interpretation unit 256 ..., N script explanation unit 257.
Data name, data route and the parameter detecting result of the diagnostic data of the 251 pairs of ICD parsing modules in data parsing unit, 22 outputs discern; Export data name to scheduling unit 252; The data route and the parameter detecting result of diagnostic data are packaged into the supplemental characteristic bag, supplemental characteristic bag and data name are sent to data buffer unit 254 store.The identification of the 251 pairs of diagnostic data in data parsing unit is exactly data name, data route and the parameter detecting result who from the relevant information of diagnostic data, obtains diagnostic data, and the content that concrete recognition methods belongs to prior art repeats no more at this.If ICD parsing module 22 is also exported the Data Identification of a diagnostic data, when then the 251 pairs of information that receive in data parsing unit are discerned, the Data Identification and the parameter detecting result that discern the diagnostic data that obtains are packaged into the supplemental characteristic bag together.
Scheduling unit 252 is according to the data name and the data name of storage and the corresponding relation of script name that receive; Obtain the script name of the diagnostic script corresponding with the data name that receives; Script name according to diagnostic script reads diagnostic script from diagnostic script storehouse 24; And, the data name that receives, diagnostic script and the function packing corresponding with data name are sent to temporary storage location 253 storages according to function name function reading from diagnostic script storehouse 24 of the function that calls in the diagnostic script.Store the corresponding relation of script name of data name and the diagnostic script of diagnostic data in the scheduling unit 252.Scheduling unit 252 is checked the diagnostic result output of N script explanation unit output for the user.
Store a plurality of diagnostic data bags that comprise data name, diagnostic script and function in the temporary storage location 253.Temporary storage location 253 is stored according to the principle of FIFO, and when just external device (ED) read the diagnostic data bag from temporary storage location 253, what read at first was the diagnostic data bag of storing at first.Temporary storage location 253 can adopt existing element with memory function, no longer its structure is given unnecessary details at this.
Data buffer unit 254 is stored the supplemental characteristic bag according to the data name of data parsing unit 251 outputs.The stored parameters packet is to preserve one by one according to data name in the data buffer unit 254.Data buffer unit 254 can adopt existing element with memory function, no longer its concrete structure is given unnecessary details at this.
Each script explanation unit of N script explanation unit reads the diagnostic data bag from temporary storage location 253, resolve the diagnostic data bag and obtain data name, diagnostic script and function; From data buffer unit 254, read and data name corresponding parameters packet according to the data name that obtains according to each script explanation unit, the analytic parameter packet obtains the parameter detecting result; According to parameter detecting operational diagnostics script and function as a result, obtain diagnostic result, output diagnostic result to scheduling unit 252.
Fig. 4 is the process flow diagram that the present invention is based on the method for diagnosing faults of ICD.Combine Fig. 4 at present, the flow process of the method for diagnosing faults that the present invention is based on ICD is described, specific as follows:
Step 401: obtain the packet and the data route of diagnosed object, the packet of resolving diagnosed object obtains the data name of diagnostic data;
The data route is the source device and the target device of diagnostic data; The data route that the packet of diagnosed object has just carried diagnostic data in the method for the present invention when generating; Which source device the diagnostic data that just comprises in the packet of diagnosed object comes from and sends to which target device; Perhaps which source device the diagnostic data that comprises of the packet of diagnosed object comes from, and the data route of diagnostic data that is called " remote measurement A " such as: name is for the present invention is based on the fault diagnosis system of ICD from the input interface C input of diagnosed object.Packet to the diagnosed object that obtains is resolved, and obtains diagnostic data and data name thereof; Diagnostic data is made up of the digital signal of a plurality of bytes, such as 0x010xf4; The data name of diagnostic data is predefined.
Also can comprise a predefined Data Identification that is used to distinguish data in the packet of diagnosed object; Diagnose under the data route and the identical situation of data name of object waiting, can distinguish diagnostic data according to Data Identification.
Step 402: judge whether to store the reference data corresponding according to data name and data route with diagnostic data, if, then obtain the data definition that the reference data corresponding with diagnostic data comprises, otherwise execution in step 406;
Store a plurality of reference datas in advance; Each reference data is stored with the form of ICD, comprise Data Identification, data name, data definition and data route, and each reference data is stored one by one according to the data name of reference data.The implication of the data name of reference data and data route is identical with the related data information of diagnostic data in the step 401, repeats no more at this.The definition that data definition carries out for the conversion method of parameter that each data sub-block of forming reference data is represented and each parameter; Such as, be " first data sub-block is represented bus 1 voltage, and second data sub-block is represented bus 2 voltages; the voltage transitions formula is x*28/255 " for the data definition of a certain reference data; Here the parameter that has at first defined first data sub-block of forming said reference data and second data sub-block sign is respectively the voltage of bus 1 and bus 2, secondly, is conversion formula x*28/255 to the conversion method of these two parameters of voltage of bus 1 and bus 2; Like this; If diagnostic data is 0x01 0xf4, the testing result of utilizing the data definition of said reference data diagnostic data to be resolved the parameter of acquisition is " bus 1 voltage is 0.11V, and bus 2 voltages are 26.8V ".For fear of there being a plurality of data names reference data how identical, also can further store a predefined Data Identification that is used to distinguish data with the data route.
In this step; Data name and data route according to diagnostic data; Judge whether to have stored data name and all identical reference data of data route with diagnostic data; If, then obtain the data definition of the reference data of having stored according to the data name of diagnostic data, otherwise execution in step 406.
If also comprise the Data Identification of diagnostic data in the packet of diagnosed object; And there are data name and all identical reference data of data route a plurality of and diagnostic data, also can further obtain the reference data corresponding with diagnostic data according to Data Identification.
Step 403: the data definition according to reference data comprises is resolved diagnostic data, obtains the parameter detecting result of diagnostic data;
The method that the data definition that comprises according to reference data is resolved diagnostic data is exactly the method that the digital signal of diagnostic data is converted into the parameter detecting result, and concrete conversion method comprises in data definition, repeats no more at this.Such as: the data definition for a certain reference data is " first data sub-block is represented bus 1 voltage; second data sub-block is represented bus 2 voltages; the voltage transitions formula is x*28/255 "; If diagnostic data is 0x01 0xf4, the physical parameter of utilizing the data definition of said reference data diagnostic data to be resolved acquisition is " bus 1 voltage is 0.11V, and bus 2 voltages are 26.8V ".
Parameter detecting result, Data Identification and the data route of diagnostic data are packaged into the supplemental characteristic bag, supplemental characteristic bag and corresponding with it data name are stored.
Step 404: judge whether to store the diagnostic script corresponding according to data name with diagnostic data, if, then obtain diagnostic script corresponding and function with diagnostic data, otherwise execution in step 406;
This step is obtained the diagnostic script corresponding with diagnostic data and function comprises: step 4041, read the function that calls in script identical with data name and the script according to data name from the diagnostic script of storage; Step 4042 is packaged into the diagnostic data bag with data name, the diagnostic script corresponding with it and function and stores.
Step 405: utilize diagnostic script and function that the parameter detecting result is carried out fault diagnosis, obtain diagnostic result and output;
This step comprises: step 4051, the diagnostic data bag is resolved acquisition data name, diagnostic script and function; Step 4052 obtains the supplemental characteristic bag identical with data name according to data name; Step 4053 is resolved acquisition parameter detecting result to the supplemental characteristic bag; Step 4054 is carried out diagnostic script and function acquisition diagnostic result according to the parameter detecting result; Step 4055, the output diagnostic result.
Step 406: finish.
In the above-mentioned preferred embodiment of the present invention, to diagnosing malfunction the time, utilize ICD to store and resolve; Make that the one-piece construction and the diagnosis object of fault diagnosis system are irrelevant; Promptly only need to adopt an ICD carry out effective expression, just can utilize stored script information that diagnostic data is carried out fault diagnosis, no longer by means of the representation of knowledge of set form in the existing expert system data route and data structure; Omit the experience that the expert is dealt with problems and translated into the process of the knowledge that satisfies the set form requirement; Reduce operand, improved versatility and dirigibility, can express various knowledge easily and effectively.In addition, the present invention is based on the script explanation unit that reasoning module in the fault diagnosis system of ICD utilizes N concurrent working, can carry out fault diagnosis to a plurality of diagnostic data simultaneously, further improved the work efficiency of system.
In sum, be preferred embodiment of the present invention more than, be not to be used for limiting protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the fault diagnosis system based on ICD is characterized in that, this system comprises:
The ICD database is used to store a plurality of reference datas; Said reference data comprises data name, data definition and data route; The definition that said data definition carries out for the conversion method of parameter that each data sub-block of forming reference data is represented and each parameter;
The diagnostic script storehouse is used for storing the function that a plurality of diagnostic scripts and a plurality of diagnostic script call;
The ICD parsing module receives packet and the data route of the diagnosed object of outside input, and the packet of diagnosed object is resolved acquisition diagnostic data and data name thereof; According to waiting to diagnose the data name of object and the data route reads the reference data of identical data title and data route from the ICD database data definition; Utilize data definition to convert diagnostic data the parameter detecting result of diagnostic data into, data name, data route and the parameter detecting result of output diagnostic data are to reasoning module;
Reasoning module; Corresponding relation according to data name and script name; From the diagnostic script storehouse, read the diagnostic script corresponding with the data name of diagnostic data; According to diagnostic script function reading from the diagnostic script storehouse, utilize diagnostic script and function that the parameter detecting result of diagnostic data is carried out fault diagnosis, the output fault diagnosis result.
2. system according to claim 1 is characterized in that, this system also comprises:
The ICD administration module, the stored in form that converts data name, data layout, data route and the data definition of the reference data of user input into ICD is in the ICD database.
3. system according to claim 1 and 2 is characterized in that, this system also comprises:
Script generates administration module; Whether stored reference data in the name lookup ICD database according to function that calls in the diagnostic script of user input, the diagnostic script and reference data; If whether the grammer of the function that then further calls in the diagnostic script of judges input and the diagnostic script is correct,, stores the function that calls in diagnostic script of then user being imported and the diagnostic script if exporting in the diagnostic script storehouse;
Said diagnostic script comprises script name, content for script and script numbering; Said function comprises function name and function content.
4. system according to claim 3 is characterized in that, said reasoning module comprises:
The data parsing unit; Data name, data route and parameter detecting result to the diagnostic data of ICD parsing module output discern; Export data name to scheduling unit; The data route and the parameter detecting result of diagnostic data are packaged into the supplemental characteristic bag, supplemental characteristic bag and data name are sent to data buffer unit store;
Scheduling unit; According to the data name of data name that receives and storage and the corresponding relation of script name; Obtain the script name of the diagnostic script corresponding with the data name that receives; Script name according to diagnostic script reads diagnostic script from the diagnostic script storehouse, and according to function name function reading from the diagnostic script storehouse of the function that calls in the diagnostic script, the data name that receives, diagnostic script and the function packing corresponding with data name is sent to the temporary storage location storage;
Temporary storage location is used to store a plurality of diagnostic data bags that comprise data name, diagnostic script and function;
Data buffer unit is stored the supplemental characteristic bag according to the data name of data parsing unit output;
N script explanation unit, each script explanation unit reads the diagnostic data bag from temporary storage location, resolve the diagnostic data bag and obtain data name, diagnostic script and function; From data buffer unit, read and data name corresponding parameters packet according to the data name that obtains according to each script explanation unit, the analytic parameter packet obtains the parameter detecting result; According to parameter detecting operational diagnostics script and function as a result, obtain diagnostic result, the output diagnostic result is to scheduling unit.
5. the method for diagnosing faults based on ICD is characterized in that, this method comprises:
The packet and the data route of A, acquisition diagnosed object, the packet of resolving diagnosed object obtains the data name of diagnostic data;
B, judge whether to store the reference data corresponding, if then obtain the data definition that the reference data corresponding with diagnostic data comprises, otherwise finish with diagnostic data according to data name and data route; Said reference data comprises data name, data definition and data route; The definition that said data definition carries out for the conversion method of parameter that each data sub-block of forming reference data is represented and each parameter;
C, the data definition that comprises according to reference data are resolved diagnostic data, obtain the parameter detecting result of diagnostic data;
D, obtain diagnostic script and function, utilize diagnostic script and function that the parameter detecting result is carried out fault diagnosis, and export fault diagnosis result according to the data name of diagnostic data.
6. method according to claim 5 is characterized in that, said step D comprises:
D1, from the diagnostic script of storage, read the function that calls in script identical and the script, data name, the diagnostic script corresponding with it and function are packaged into the diagnostic data bag store with data name according to data name;
D2, the diagnostic data bag resolved obtain data name, diagnostic script and function;
D3, carry out diagnostic script and function according to the parameter detecting result and obtain diagnostic result, and the output diagnostic result.
CN2010102676576A 2010-08-30 2010-08-30 Fault diagnosis method and system based on interface control document Active CN101963927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102676576A CN101963927B (en) 2010-08-30 2010-08-30 Fault diagnosis method and system based on interface control document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102676576A CN101963927B (en) 2010-08-30 2010-08-30 Fault diagnosis method and system based on interface control document

Publications (2)

Publication Number Publication Date
CN101963927A CN101963927A (en) 2011-02-02
CN101963927B true CN101963927B (en) 2012-07-25

Family

ID=43516804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102676576A Active CN101963927B (en) 2010-08-30 2010-08-30 Fault diagnosis method and system based on interface control document

Country Status (1)

Country Link
CN (1) CN101963927B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107527202B (en) * 2017-08-29 2020-12-01 中国银联股份有限公司 Transaction data diagnosis method and device and computing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870538A (en) * 2006-05-08 2006-11-29 国家数字交换系统工程技术研究中心 Method and system for fault management
CN101263499A (en) * 2005-07-11 2008-09-10 布鲁克斯自动化公司 Intelligent condition monitoring and fault diagnostic system
WO2009037084A1 (en) * 2007-09-18 2009-03-26 Siemens Aktiengesellschaft A method and system for failure analysis and diagnosis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263499A (en) * 2005-07-11 2008-09-10 布鲁克斯自动化公司 Intelligent condition monitoring and fault diagnostic system
CN1870538A (en) * 2006-05-08 2006-11-29 国家数字交换系统工程技术研究中心 Method and system for fault management
WO2009037084A1 (en) * 2007-09-18 2009-03-26 Siemens Aktiengesellschaft A method and system for failure analysis and diagnosis

Also Published As

Publication number Publication date
CN101963927A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
CN101739339B (en) Program dynamic dependency relation-based software fault positioning method
CN101937388B (en) High-extensibility and high-maintainability source code defect detection method and device
US8789020B2 (en) Interactive debugging environments and methods of providing the same
CN109669866B (en) Method for acquiring fault propagation path during software operation
US9829866B2 (en) Method and apparatus for automatically creating an executable safety function for a device
Iqbal et al. Environment modeling with UML/MARTE to support black-box system testing for real-time embedded systems: Methodology and industrial case studies
IL135263A (en) Automated validation and verification of computer software
CN103425572A (en) Code analyzing method and system
US9733639B2 (en) Dynamic facility management system
CN111324526B (en) Interface test system, method and server
CN102541725B (en) Simulation test method of numerical control system functional module
CN101794224A (en) Software run-time property monitoring method based on property specification mode
CN103631255A (en) Fault injection equipment and method for avionics system health diagnosis
CN103389939A (en) Detection method and detection system for controlled heap allocation bug
CN101739258A (en) Automatic code generation method of architecture analysis and design language (AADL) model
Tahvili et al. Functional dependency detection for integration test cases
Hametner et al. Automation component architecture for the efficient development of industrial automation systems
CN103218297A (en) Screening method and device of test data
US20110154120A1 (en) Apparatus and system for integratedly managing static analysis tools
US9442826B2 (en) Kernel functionality checker
CN101963927B (en) Fault diagnosis method and system based on interface control document
Addouche et al. UML models for dependability analysis of real-time systems
Graics et al. Integration test generation and formal verification for distributed controllers
CN114238130A (en) Performance test method, device, equipment and storage medium
KR100924519B1 (en) File format analysis system and method for unknown file format to use software security testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 16th Floor of No.63 Satellite Building, Zhichun Road, Haidian District, Beijing, 100190

Patentee after: Beijing Guoke Huanyu Science and Technology Co., Ltd.

Address before: 16th Floor of No.63 Satellite Building, Zhichun Road, Haidian District, Beijing, 100190

Patentee before: Beijing Guokehuanyu Space Technology Co., Ltd.

CP01 Change in the name or title of a patent holder