CN113988026A - Expert knowledge editing method and device based on fault diagnosis - Google Patents
Expert knowledge editing method and device based on fault diagnosis Download PDFInfo
- Publication number
- CN113988026A CN113988026A CN202111625863.4A CN202111625863A CN113988026A CN 113988026 A CN113988026 A CN 113988026A CN 202111625863 A CN202111625863 A CN 202111625863A CN 113988026 A CN113988026 A CN 113988026A
- Authority
- CN
- China
- Prior art keywords
- expert knowledge
- expression
- element information
- user
- knowledge expression
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides an expert knowledge editing method and device based on fault diagnosis, wherein the method comprises the following steps: saving records according to the historical expressions, and judging whether the user edits for the first time or not by combining the expert knowledge expressions selected and edited by the user; when the first edition is judged, loading and displaying element information required for generating the expression; and filling the positions of the elements of the expression according to the displayed element information, and generating a corresponding expression. Compared with the prior art, the invention can judge whether the user edits for the first time through the history expression storage record, loads and displays the element information, fills the element information to each element position of each expert knowledge expression, reduces the learning threshold of the user, can input the expert knowledge expression even for the user without programming experience, effectively improves the input efficiency of the expert knowledge expression, makes the input method streamlined, and provides universality and applicability for different scenes.
Description
Technical Field
The invention relates to the field of satellite fault diagnosis, in particular to an expert knowledge editing method and device based on fault diagnosis.
Background
In the aerospace field, one of the bases for fault diagnosis of satellites is based on the content of expert knowledge, so how to quickly edit the expert knowledge becomes an important part for maintaining satellite fault diagnosis data. The existing expert knowledge recording is mainly based on manual recording of expressions in a code form, and fault diagnosis is performed after the recorded expressions are converted by a diagnosis system. However, the manual editing mode needs to have certain programming experience, the learning cost is high for users using common aerospace business, and large-batch knowledge entry is easy to make mistakes.
Disclosure of Invention
The invention provides an expert knowledge editing method and device based on fault diagnosis, which aims to solve the problem of rapid entry of an expert knowledge expression and reduce the learning threshold, so that the entry method is streamlined and has universality.
In order to solve the above technical problem, an embodiment of the present invention provides an expert knowledge editing method based on fault diagnosis, including:
storing records according to historical expressions, and judging whether a user edits the expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user;
when the user is judged to be edited for the first time, loading and displaying all element information required for generating the expert knowledge expression;
and filling the positions of all elements of the expert knowledge expression according to all the displayed element information, and generating a corresponding expert knowledge expression.
As a preferred scheme, the filling, according to all the displayed element information, each element position of the expert knowledge expression, and generating a corresponding expert knowledge expression specifically includes:
manually selecting first element information in all the element information according to all the displayed element information;
and filling the first element information into each element position of the expert knowledge expression, and generating the first expert knowledge expression in a predefined conversion mode.
Preferably, before the first element information is filled in each element position of the expert knowledge expression, the method further includes: and manually editing the first element information.
As a preferred scheme, the loading and displaying all element information required for generating the expert knowledge expression specifically includes: and loading and displaying the user-defined variable, the if structural statement, the fault information, the alarm content, the alarm detail, the handling suggestion, the evaluation event, the handling operation and the developer plan.
As a preferred scheme, the step of saving records according to historical expressions and judging whether the user edits the expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user specifically comprises the following steps:
inquiring first ids of expert knowledge expressions of all historical versions in the historical expression storage record, comparing the first ids with second ids of the expert knowledge expressions selected and edited by a user, and judging whether the expert knowledge expressions are edited by the user for the first time;
if the first id is consistent with the second id, confirming that the user is not edited for the first time;
and if the first id is not consistent with the second id, confirming that the user is edited for the first time.
As a preferable scheme, after the judging whether the user edits the expert knowledge expression for the first time, the method further includes:
and when the user does not edit for the first time, loading the historical version of the expert knowledge expression as the currently effective expert knowledge expression version.
Preferably, after the generating the corresponding expert knowledge expression, the method further includes: and saving the generated expert knowledge expression to the historical expression saving record.
The invention also provides an expert knowledge editing device based on fault diagnosis, which comprises a judgment module, a display module and a generation module;
the judging module is used for saving records according to historical expressions and judging whether the expert knowledge expressions are edited by the user for the first time or not by combining the expert knowledge expressions selected and edited by the user;
the display module is used for loading and displaying all element information required for generating the expert knowledge expression when the user is judged to be edited for the first time;
and the generating module is used for filling the element positions of the expert knowledge expression according to all the displayed element information and generating the corresponding expert knowledge expression.
As a preferred scheme, the generating module fills the element positions of the expert knowledge expression according to all displayed element information, and generates a corresponding expert knowledge expression, which specifically includes:
the generation module selects first element information in all the element information manually according to all the displayed element information;
and filling the first element information into each element position of the expert knowledge expression, and generating the first expert knowledge expression in a predefined conversion mode.
Preferably, the generating module includes an editing unit, and the editing unit is configured to manually edit the first element information before the first element information is filled in each element position of the expert knowledge expression.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides an expert knowledge editing method and device based on fault diagnosis, wherein the method comprises the following steps: storing records according to historical expressions, and judging whether a user edits the expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user; when the user is judged to be edited for the first time, loading and displaying all element information required for generating the expert knowledge expression; and filling the positions of all elements of the expert knowledge expression according to all the displayed element information, and generating a corresponding expert knowledge expression. Compared with the prior art, the invention can judge whether the user edits for the first time through the history expression storage record, loads and displays the element information, fills the element information to each element position of each expert knowledge expression, reduces the learning threshold of the user, can input the expert knowledge expression even for the user without programming experience, effectively improves the input efficiency of the expert knowledge expression, makes the input method streamlined, and provides universality and applicability for different scenes.
Drawings
FIG. 1: is a flow chart of one embodiment of the expert knowledge editing method based on fault diagnosis of the present invention.
FIG. 2: is a schematic structural diagram of an embodiment of the expert knowledge editing device based on fault diagnosis.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 shows a method for expert knowledge editing based on fault diagnosis according to an embodiment of the present invention, which includes steps S1 to S3, wherein,
and step S1, saving records according to the historical expressions, and judging whether the user edits the expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user.
In this embodiment, the expert knowledge expression that is stored last time is automatically displayed first, and compared with the expert knowledge expression to be edited currently, and meanwhile, all historical expression storage records can be queried to determine whether the user edits the expert knowledge for the first time. Specifically, the method comprises the following steps:
inquiring first ids of expert knowledge expressions of all historical versions in the historical expression storage record, comparing the first ids with second ids of the expert knowledge expressions selected and edited by a user, and judging whether the expert knowledge expressions are edited by the user for the first time;
if the first id is consistent with the second id, confirming that the user is not edited for the first time;
and if the first id is not consistent with the second id, confirming that the user is edited for the first time.
And step S2, when the user is judged to be edited for the first time, loading and displaying all element information required for generating the expert knowledge expression.
In the present embodiment, the element information includes, but is not limited to, custom variables, if structural statements, failure information, alarm content, alarm details, treatment suggestions, evaluation events, treatment jobs, and developer plans, in particular.
The custom variable can be used as a judgment condition of the if statement, and the mandatory field is a name of a Chinese of the variable, an English name of the variable, and a formula, which includes but is not limited to operators (+, -, +,/, & (and), | (or), | (not)), telemetry parameters (i.e., an acquired satellite telemetry parameter information list) and functions (commonly used functions include abs (), acos (), asin (), cos (), sin (), tan (), and a user can actually define the function by himself).
If structure is an important fault judgment basis in the expert knowledge expression, If structure elements are selected, If structure templates predefined from the beginning are converted into the If structures of the expression, and the structures contain basic information element contents in fault information.
The fault information in the expression is specific parameter information in the if structure, and includes level (fault level), message (alarm content), explain (alarm detail), solution (disposal suggestion), event (evaluation event), launch (disposal operation), and failureplan (development plan).
In this embodiment, the expert knowledge editing method based on fault diagnosis further includes, when it is determined that the user is not editing for the first time, loading the historical version of the expert knowledge expression as the currently effective version of the expert knowledge expression.
And step S3, filling the element positions of the expert knowledge expression according to all the displayed element information, and generating a corresponding expert knowledge expression.
In this embodiment, generating the expert knowledge expression includes three embodiments, one of which is:
manually selecting first element information in all the element information according to all the displayed element information; and filling the first element information into each element position of the expert knowledge expression according to the description in a flow and graphic mode, and generating the first expert knowledge expression in a predefined conversion mode. The element information is selected manually, and then is filled in each element position of the expert knowledge expression (the method mainly aims at personnel without programming experience), and then the first expert knowledge expression which can be directly identified by the diagnosis system is generated through a well-defined conversion method.
The second implementation manner of generating the expert knowledge expression specifically includes:
and manually editing the first element information, namely editing the first element information in a mode of manually knocking codes, filling the first element information to each element position of the expert knowledge expression, and converting to generate the first expert knowledge expression. The mode is that the code is input by pure hand, which is usually the main selection of personnel with programming experience, the content of code input can be selected according to local conditions, corresponding element information can be selected according to needs, when relevant personnel review the expert knowledge expression, the code reading can be smoother, and the input efficiency and the checking efficiency are more efficient.
The third implementation manner of generating the expert knowledge expression specifically includes:
in the third implementation mode, the first element information is manually input, and the second element information is manually selected; and filling the first element information and the second element information into each element position of the expert knowledge expression, and generating the first expert knowledge expression through a predefined conversion mode. The method is the most common and efficient input mode, people with not very rich programming experience can select well-defined element information, edit the element information by manually knocking codes, and modify the element information manually on the basis of the selected element information after the element information is well selected, so that a needed expert knowledge expression is obtained.
For the three embodiments, the generated first expert knowledge expression can be directly identified by the diagnosis system, and meanwhile, the historical expression can be stored in the storage record for the next use.
Referring to fig. 2, the present invention further provides an expert knowledge editing apparatus based on fault diagnosis, including a judging module 101, a displaying module 102 and a generating module 103;
the judging module 101 is configured to store records according to historical expressions, and judge whether a user edits an expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user;
the display module 102 is configured to load and display all element information required for generating the expert knowledge expression when it is determined that the user is editing for the first time;
the generating module 103 is configured to fill the element positions of the expert knowledge expression according to all displayed element information, and generate a corresponding expert knowledge expression.
As a preferred scheme, the generating module 103 fills the element positions of the expert knowledge expression according to all displayed element information, and generates a corresponding expert knowledge expression, which specifically includes:
the generating module 103 selects the first element information of all the element information manually according to all the displayed element information;
and filling the first element information into each element position of the expert knowledge expression, and generating the first expert knowledge expression in a predefined conversion mode.
Preferably, the generating module 103 includes an editing unit, and the editing unit is configured to manually edit the first element information before the first element information is filled in each element position of the expert knowledge expression.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides an expert knowledge editing method and device based on fault diagnosis, wherein the method comprises the following steps: storing records according to historical expressions, and judging whether a user edits the expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user; when the user is judged to be edited for the first time, loading and displaying all element information required for generating the expert knowledge expression; and filling the positions of all elements of the expert knowledge expression according to all the displayed element information, and generating a corresponding expert knowledge expression. Compared with the prior art, the invention can judge whether the user edits for the first time through the history expression storage record, loads and displays the element information, fills the element information to each element position of each expert knowledge expression, reduces the learning threshold of the user, can input the expert knowledge expression even for the user without programming experience, effectively improves the input efficiency of the expert knowledge expression, makes the input method streamlined, and provides universality and applicability for different scenes.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. It should be understood that any modifications, equivalents, improvements and the like, which come within the spirit and principle of the invention, may occur to those skilled in the art and are intended to be included within the scope of the invention.
Claims (10)
1. An expert knowledge editing method based on fault diagnosis is characterized by comprising the following steps:
storing records according to historical expressions, and judging whether a user edits the expert knowledge expression for the first time by combining the expert knowledge expression selected and edited by the user;
when the user is judged to be edited for the first time, loading and displaying all element information required for generating the expert knowledge expression;
and filling the positions of all elements of the expert knowledge expression according to all the displayed element information, and generating a corresponding expert knowledge expression.
2. The expert knowledge editing method based on fault diagnosis as claimed in claim 1, wherein the method fills element positions of the expert knowledge expression according to all displayed element information and generates a corresponding expert knowledge expression, specifically:
manually selecting first element information in all the element information according to all the displayed element information;
and filling the first element information into each element position of the expert knowledge expression, and generating the first expert knowledge expression in a predefined conversion mode.
3. The expert knowledge editing method based on fault diagnosis as claimed in claim 2, wherein before the first element information is filled into the element positions of the expert knowledge expression, the method further comprises: and manually editing the first element information.
4. The expert knowledge editing method based on fault diagnosis as claimed in claim 1, wherein the loading and displaying of all element information required for generating the expert knowledge expression includes: and loading and displaying the user-defined variable, the if structural statement, the fault information, the alarm content, the alarm detail, the handling suggestion, the evaluation event, the handling operation and the developer plan.
5. The expert knowledge editing method based on fault diagnosis as claimed in claim 1, wherein the record is saved according to a historical expression, and whether the expert knowledge expression is edited by the user for the first time is judged by combining the expert knowledge expression selected and edited by the user, specifically:
inquiring first ids of expert knowledge expressions of all historical versions in the historical expression storage record, comparing the first ids with second ids of the expert knowledge expressions selected and edited by a user, and judging whether the expert knowledge expressions are edited by the user for the first time;
if the first id is consistent with the second id, confirming that the user is not edited for the first time;
and if the first id is not consistent with the second id, confirming that the user is edited for the first time.
6. The expert knowledge editing method based on fault diagnosis as claimed in claim 1, wherein after the determining whether the user edits the expert knowledge expression for the first time, further comprising:
and when the user does not edit for the first time, loading the historical version of the expert knowledge expression as the currently effective expert knowledge expression version.
7. The expert knowledge editing method based on fault diagnosis as claimed in any one of claims 1 to 6, further comprising, after the generating of the corresponding expert knowledge expression: and saving the generated expert knowledge expression to the historical expression saving record.
8. An expert knowledge editing device based on fault diagnosis is characterized by comprising a judging module, a display module and a generating module;
the judging module is used for saving records according to historical expressions and judging whether the expert knowledge expressions are edited by the user for the first time or not by combining the expert knowledge expressions selected and edited by the user;
the display module is used for loading and displaying all element information required for generating the expert knowledge expression when the user is judged to be edited for the first time;
and the generating module is used for filling the element positions of the expert knowledge expression according to all the displayed element information and generating the corresponding expert knowledge expression.
9. The expert knowledge editing device based on fault diagnosis as claimed in claim 8, wherein the generating module fills the positions of the elements of the expert knowledge expression according to the displayed information of all the elements, and generates the corresponding expert knowledge expression, specifically:
the generation module selects first element information in all the element information manually according to all the displayed element information;
and filling the first element information into each element position of the expert knowledge expression, and generating the first expert knowledge expression in a predefined conversion mode.
10. The expert knowledge editing apparatus based on fault diagnosis as claimed in claim 9, wherein the generating module includes an editing unit for manually editing the first element information before filling the first element information into each element position of the expert knowledge expression.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111625863.4A CN113988026A (en) | 2021-12-29 | 2021-12-29 | Expert knowledge editing method and device based on fault diagnosis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111625863.4A CN113988026A (en) | 2021-12-29 | 2021-12-29 | Expert knowledge editing method and device based on fault diagnosis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113988026A true CN113988026A (en) | 2022-01-28 |
Family
ID=79734801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111625863.4A Pending CN113988026A (en) | 2021-12-29 | 2021-12-29 | Expert knowledge editing method and device based on fault diagnosis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113988026A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115048095A (en) * | 2022-08-12 | 2022-09-13 | 广东粤港澳大湾区硬科技创新研究院 | Expert system fault diagnosis program generation method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5485618A (en) * | 1993-12-15 | 1996-01-16 | Borland International, Inc. | Methods and interface for building command expressions in a computer system |
CN107979526A (en) * | 2017-11-07 | 2018-05-01 | 天脉聚源(北京)科技有限公司 | A kind of method and device of recommended user |
CN110045953A (en) * | 2019-04-22 | 2019-07-23 | 第四范式(北京)技术有限公司 | Generate the method and computing device of business rule expression formula |
CN111966338A (en) * | 2020-08-05 | 2020-11-20 | 合肥森亿智能科技有限公司 | Editable rule configuration module, rule generation system and rule management platform |
-
2021
- 2021-12-29 CN CN202111625863.4A patent/CN113988026A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5485618A (en) * | 1993-12-15 | 1996-01-16 | Borland International, Inc. | Methods and interface for building command expressions in a computer system |
CN107979526A (en) * | 2017-11-07 | 2018-05-01 | 天脉聚源(北京)科技有限公司 | A kind of method and device of recommended user |
CN110045953A (en) * | 2019-04-22 | 2019-07-23 | 第四范式(北京)技术有限公司 | Generate the method and computing device of business rule expression formula |
CN111966338A (en) * | 2020-08-05 | 2020-11-20 | 合肥森亿智能科技有限公司 | Editable rule configuration module, rule generation system and rule management platform |
Non-Patent Citations (2)
Title |
---|
史纪元 等: "《计算机应用基础教程》", 31 August 2007, 对外经济贸易大学出版社 * |
张靖: "《管理信息系统》", 31 July 2001, 高等教育出版社、上海社会科学院出版社 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115048095A (en) * | 2022-08-12 | 2022-09-13 | 广东粤港澳大湾区硬科技创新研究院 | Expert system fault diagnosis program generation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6345250B1 (en) | Developing voice response applications from pre-recorded voice and stored text-to-speech prompts | |
KR101999409B1 (en) | Formatting data by example | |
CN110764753A (en) | Business logic code generation method, device, equipment and storage medium | |
CN112083919B (en) | Target service code generation method and device based on YAML template | |
CN109445842A (en) | Rule generating method, device, computer equipment and storage medium | |
CN101276279B (en) | Unified development system and method | |
GB2334647A (en) | Voice response applications | |
CN113988026A (en) | Expert knowledge editing method and device based on fault diagnosis | |
CN110990411B (en) | Data structure generation method and device, and calling method and device | |
CN108388753B (en) | Method, device and system for designing SIS cabinet wiring and storage medium | |
CN114489625A (en) | Method and device for converting JSON format text into visual configuration tool | |
JPH10275093A (en) | Program test support device | |
CN111611026A (en) | NC file fast loading implementation method based on side hole machine | |
CN107015955B (en) | Document editing method and device | |
CN112380142A (en) | Interface document management method and device and test equipment | |
CN109271309A (en) | Method and device, server, equipment and the storage medium of automatic test software | |
CN114595666A (en) | Processing method and device for converting contract document into form and storage medium | |
JP2009265686A (en) | Disaster action support system and scenario preparation program | |
CN107992581B (en) | Service processing method, device and system | |
CN117094284B (en) | Method for generating capability description file of intelligent equipment of transformer substation | |
JPH11338686A (en) | Program development support device, its method and medium for recording program development support program | |
CN112445391B (en) | Service data generation method, device and computer readable storage medium | |
CN117252174A (en) | Data export method, device, data terminal, system and storage medium | |
CN109271597B (en) | Method and device for paging display of multi-table scene of non-relational database | |
CN118466915A (en) | Code generation method, code generation display method, electronic device, and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220128 |