Test file data robot question and answer method and device based on knowledge graph
Through the robot question and answer method based on the knowledge graph, combined with natural language processing and robotic process automation technology, the problem of low efficiency in experimental archive data management is solved, efficient query and automated management are achieved, and the data utilization value and user experience are improved.
Patent Information
- Application Number
- CN202410691239.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-23
AI Technical Summary
The traditional test archive data management method relies on manual operations, which is inefficient and error-prone. The lack of effective query means greatly reduces the value of data utilization. How to achieve efficient query and automated management of test archive data has become an urgent technical problem to be solved.
The robot question and answer method based on the knowledge graph is adopted, and the knowledge graph of the test archive data is constructed through natural language processing and robot process automation technology, so as to realize the semantic understanding and automatic management of the test archive data, and provide efficient query and intelligent question and answer functions.
It realizes fast and accurate query and automated management of test archive data, improves the utilization value and user experience of data, and significantly improves data processing efficiency and accuracy.
Smart Images

Figure CN118535701A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a method and device for robot question-answering of experimental archive data based on a knowledge graph. Background Art
[0002] With the acceleration of digital transformation of enterprises, the demand for management and query of test archive data is growing. Traditional archive management methods rely on manual operations, which are not only inefficient but also prone to errors. At the same time, for large and complex test archive data, the lack of effective query methods greatly reduces the value of data utilization.
[0003] Therefore, how to achieve efficient query and automated management of test archive data has become a technical problem that needs to be solved urgently in the industry. Summary of the invention
[0004] The present application provides a knowledge graph-based test archive data robot question-answering method and device to solve the technical problem of how to achieve automated management and efficient query of test archive data in the prior art.
[0005] In a first aspect, the present application provides a knowledge graph-based test archive data robot question answering method, comprising:
[0006] Obtain the corresponding issues of test archive data;
[0007] Sending the question to the question-answering model to obtain an answer result of the question output by the question-answering model;
[0008] The question-answering model is based on a natural language processing method to perform semantic understanding on the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data;
[0009] The knowledge graph is constructed based on the test archive data obtained by the robotic process automation method.
[0010] In some embodiments, the knowledge graph is constructed based on the test archive data obtained by a robotic process automation method, including:
[0011] The test archive data obtained based on the robotic process automation method;
[0012] Determine entities and relationships between entities in the test archive data based on the natural language processing method;
[0013] A knowledge graph of the test archive data is constructed based on the entities and the relationships between the entities.
[0014] In some embodiments, determining entities and relationships between entities in the test archive data based on the natural language processing method includes:
[0015] Performing data processing and format conversion on the test archive data based on the corpus rules of the test archive data;
[0016] constructing a corpus of the test archive data based on the processed test archive data;
[0017] Entities and relationships between entities in the test archive data are determined based on the natural language processing method and the corpus.
[0018] In some embodiments, the method further comprises:
[0019] Acquiring the latest test archive data in real time based on the robotic process automation method;
[0020] The knowledge graph and the corpus are updated based on the latest test archive data.
[0021] In some embodiments, the question-answering model is trained based on sample test archive data, a sample knowledge graph corresponding to the sample test archive data, sample questions, and sample answer results corresponding to the sample questions;
[0022] After obtaining the answer result of the question output by the question-answering model, the method further includes:
[0023] Obtaining user feedback data corresponding to the answer result;
[0024] Parameters of the question-answering model are tuned based on the user feedback data.
[0025] In some embodiments, the method further comprises:
[0026] In the event that abnormal data appears in the test archive data, generating alarm information based on the abnormal data;
[0027] The alarm information is sent to the administrator terminal.
[0028] In a second aspect, the present application provides a knowledge graph-based test archive data robot question-answering device, comprising:
[0029] The acquisition module is used to obtain the questions corresponding to the test archive data;
[0030] A question-answering module, used to send the question to the question-answering model and obtain the answer result of the question output by the question-answering model;
[0031] The question-answering model is based on a natural language processing method to perform semantic understanding on the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data;
[0032] The knowledge graph is constructed based on the test archive data obtained by the robotic process automation method.
[0033] In a third aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which implements the above method when executed by a processor.
[0034] In a fourth aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to implement the above method when executing the program through the computer program.
[0035] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0036] The knowledge graph-based test archive data robot question-and-answer method and device provided in the present application perform semantic understanding of questions corresponding to the test archive data through a natural language processing algorithm, and can quickly and accurately obtain answers to questions by constructing a knowledge graph and combining it with a robot process automation method, thereby achieving efficient query, intelligent question-and-answer, and automated management of test archive data, improving the utilization value of test archive data, and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 One of the flow charts of the test archive data robot question-answering method based on the knowledge graph provided in the embodiment of the present application;
[0040] Figure 2 The second flowchart of the test archive data robot question-answering method based on the knowledge graph provided in the embodiment of the present application;
[0041] Figure 3 A schematic diagram of the structure of a robot question-answering device for test archive data based on a knowledge graph provided in an embodiment of the present application;
[0042] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0044] It should be noted that the terms "first", "second" etc. in the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or modules need not be limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or equipment.
[0045] The knowledge graph-based test archive data robot question-and-answer method provided in the embodiment of the present application is applicable to a terminal, which may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to servers, smart phones, tablet computers, laptop computers, and desktop computers.
[0046] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0047] Figure 1 One of the flow charts of the test archive data robot question answering method based on the knowledge graph provided in the embodiment of the present application is as follows: Figure 1 As shown, the method includes step 110 and step 120. The steps of the method flow are only a possible implementation of the present application.
[0048] Step 110: Obtain questions corresponding to the test file data.
[0049] Specifically, the execution subject of the test archive data robot question-answering method based on knowledge graph provided in the embodiment of the present application is a test archive data robot question-answering device based on knowledge graph, which can be a hardware device independently set in the terminal, or a software program running in the terminal. For example, when the terminal is a mobile phone, the test archive data robot question-answering device based on knowledge graph can be embodied as an application such as question-answering software in the mobile phone.
[0050] Experimental archival data refers to text or files that record the experimental process and results, including information such as experimental design, operating steps, observation data and analysis results. Experimental archival data can come from fields such as scientific research, laboratory experiments and clinical trials.
[0051] The question corresponding to the test archive data refers to a question related to the test archive data. For example, the question may be a question related to querying the test archive data input by a user on a terminal interface.
[0052] Step 120: Send the question to the question-answering model to obtain the answer result of the question output by the question-answering model;
[0053] Among them, the question-answering model is based on the natural language processing method to understand the semantics of the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data;
[0054] The knowledge graph is constructed based on the trial archive data obtained by the robotic process automation method.
[0055] Specifically, the question-answering model refers to a model used to answer questions. When the question-answering model receives a question, it will use natural language processing methods to understand the semantics of the question, and determine the answer corresponding to the question based on the result of the semantic understanding and the knowledge graph of the current test archive data, and output the determined answer result to the display interface of the terminal.
[0056] Natural Language Processing (NLP) methods are computer programs or algorithms used to understand, process, generate and simulate human language capabilities.
[0057] Knowledge graph is a structured knowledge representation used to describe the relationship between entities. It usually includes entities (such as people, places, and events), attributes (characteristics or properties of entities), and relationships between entities. Knowledge graph can help machines understand the semantic information of data and support tasks such as semantic search, reasoning, and intelligent question answering.
[0058] The embodiment of the present application utilizes the knowledge graph construction method to extract information such as entities, relationships, and attributes from the test archive data to construct a knowledge graph. The knowledge graph can express the complex relationships between entities and provide powerful semantic reasoning capabilities, allowing users to query and understand test archive data more conveniently. At the same time, by continuously optimizing the construction algorithm and reasoning mechanism of the knowledge graph, the accuracy and efficiency of the query can be improved.
[0059] The Robotic Process Automation (RPA) method can simulate repetitive operations such as keyboard and mouse operations performed by humans on the software interface to realize the automated execution of business processes.
[0060] The present application embodiment introduces the RPA method, which can realize the automated processing of test archive data, including data collection, sorting, classification and archiving, so as to realize the automated management of test archive data. The RPA method can simulate repetitive operations such as keyboard and mouse operations performed by humans on the software interface, thereby replacing manual completion of tedious data processing tasks, improving processing efficiency and reducing manual error rates.
[0061] The embodiment of the present application parses the problem through a natural language processing method, performs semantic understanding of the problem, and converts the problem into a form that can be understood by the question-answering model. Then, by matching the entities and relationships in the query knowledge graph, relevant information is found to determine the answer result. In this way, users can interact with the system in the form of natural language without having to have professional query skills, which improves the convenience of query and user experience.
[0062] The knowledge graph-based robot question-and-answer method for test archive data provided in the embodiment of the present application performs semantic understanding of questions corresponding to the test archive data through a natural language processing algorithm, and can quickly and accurately obtain answers to questions by constructing a knowledge graph and combining it with a robot process automation method, thereby achieving efficient query, intelligent question-and-answer, and automated management of test archive data, improving the utilization value of test archive data, and enhancing user experience.
[0063] It should be noted that each implementation method of the present application can be freely combined, the order can be changed, or it can be executed separately, and does not need to rely on or depend on a fixed execution order.
[0064] In some embodiments, the knowledge graph is constructed based on the experimental archive data obtained by the robotic process automation method, including:
[0065] Experimental archival data acquired based on robotic process automation methods;
[0066] Determine entities and relationships between entities in test archive data based on natural language processing methods;
[0067] Construct a knowledge graph of test archive data based on entities and the relationships between them.
[0068] Determine entities and relationships between entities in the test archive data based on natural language processing methods, including:
[0069] Perform data processing and format conversion on the test archive data based on the corpus rules of the test archive data;
[0070] Constructing a corpus of experimental archive data based on the processed experimental archive data;
[0071] Determine entities and relationships between entities in experimental archival data based on natural language processing methods and corpora.
[0072] The test archive data robot question-answering method based on the knowledge graph provided in the embodiment of the present application also includes:
[0073] Real-time access to the latest test archive data based on robotic process automation methods;
[0074] Update the knowledge graph and corpus based on the latest trial archive data.
[0075] Specifically, the corpus is a database that stores information related to experimental archive data.
[0076] Corpus rules are rules used to process and convert the experimental archive data format, which may include data format conversion rules, data cleaning rules, and data labeling rules.
[0077] The test archive data is obtained through the PRA method, and the test archive data is processed and format converted according to the corpus rules, such as cleaning, annotating and formatting the test archive data, and extracting key information such as entities, relationships and attributes.
[0078] Natural language processing methods are used to perform word segmentation, part-of-speech tagging, named entity recognition and other operations on the experimental archive data to provide a high-quality data source for the construction of the knowledge graph.
[0079] Entity refers to an object or thing in the test archive data that has independent existence and specific characteristics. In the test archive data, entities can be people, things, events, attributes, etc.
[0080] A corpus is constructed based on the processed test archive data, and a knowledge graph of the test archive data is constructed using the knowledge graph construction method. The nodes in the knowledge graph represent entities, the edges represent the relationships between entities, and the attributes are used to describe the characteristics of the entities. Through reasonable graph structure design, it is ensured that the complex relationships and semantic information in the test archive data can be expressed.
[0081] For experimental archive data, it contains a large number of professional terms and complex relationships, which makes preprocessing and annotation more difficult, which also limits the application of knowledge graphs in the field of experimental archive management. This application processes experimental archive data through corpus rules and constructs a corpus, and determines the relationship between entities in the experimental archive data through RPA methods and corpora to construct a knowledge graph, thereby realizing the application of knowledge graphs in the field of experimental archive management.
[0082] With the continuous updating and changes of experimental archive data, the knowledge graph and corpus need to be updated and maintained regularly.
[0083] The existing knowledge graph field often lacks the ability to dynamically update and maintain data. Therefore, this application uses the RPA method to automatically collect the latest test archive data and integrate it into the knowledge graph to ensure the timeliness and accuracy of the graph, and at the same time update the corpus based on the latest test archive data.
[0084] RPA robots can regularly capture the latest experimental archive data from the data source and integrate it into the knowledge graph to maintain the real-time and integrity of the data.
[0085] The knowledge graph-based test archive data robot question-answering method provided in the embodiment of the present application can update the test archive data in real time, thereby improving the management efficiency of the test archive data.
[0086] In some embodiments, the question-answering model is trained based on sample test archive data, sample knowledge graphs corresponding to the sample test archive data, sample questions, and sample answer results corresponding to the sample questions;
[0087] After step 120, the method further includes:
[0088] Obtain user feedback data corresponding to the answer result;
[0089] Tune parameters of the question-answering model based on user feedback data.
[0090] Specifically, an intelligent question-answering model can be built through natural language processing methods such as GPT. The model can receive natural language questions from users and achieve semantic understanding and reasoning of questions by training and optimizing the model. The question-answering model uses the knowledge graph as background support and generates accurate answer results by querying entities and relationships in the graph.
[0091] A large amount of sample test archive data and sample questions can be used to train the question-answering model to improve its reasoning and answering accuracy. By continuously iterating and optimizing model parameters, the question-answering model can better understand the user's intentions and give accurate answers.
[0092] The question-answering model can be optimized and personalized based on user feedback data and usage habits. The performance of the question-answering model and user experience can be improved by adjusting model parameters and adding new training data.
[0093] The knowledge graph-based test archive data robot question-answering method provided in the embodiment of the present application optimizes the parameters of the question-answering model through user feedback data, thereby improving the user experience.
[0094] In some embodiments, the knowledge graph-based test archive data robot question-answering method provided in the embodiments of the present application further includes:
[0095] In the event of abnormal data in the test archive data, an alarm message is generated based on the abnormal data;
[0096] Send the alarm information to the administrator terminal.
[0097] Specifically, the knowledge graph-based test archive data robot question-answering method provided in the embodiments of the present application can also flexibly expand multiple functions.
[0098] For example, monitoring and early warning (intelligent prediction) can be carried out.
[0099] For example, a knowledge graph of weapons and equipment can be constructed, and through relevant big data mining algorithms, including classification, clustering methods, etc., as well as graph computing methods including graph traversal, shortest path, path exploration, authoritative node analysis, group analysis and similar node discovery, functions such as weapons and equipment entity association analysis and weapons and equipment event clustering analysis can be realized, and association analysis and mining of people, environments, events, etc. discretely distributed in time and space can be realized, thereby serving related decision-making.
[0100] The structure of a knowledge graph is generally relatively stable. If the structure of a knowledge graph or the structure of a subgraph suddenly changes dramatically over a period of time, the knowledge graph may have some kind of anomaly. The anomaly can be judged by monitoring the test archive data to see if there is any abnormal data.
[0101] Test archive data can be monitored for abnormal data in the following ways:
[0102] Performance indicator trend: If the knowledge graph produces special conditions of the graph data chain such as abrupt increase, abrupt decrease, mutation, jitter, and breakage, such as the mobility of the test equipment increases month by month or remains stable, abnormal data is determined to have occurred.
[0103] Test measurement monitoring: If data collection is inconsistent, logically wrong, completely identical or too similar, such as the same test data under different environmental parameters in multiple test records, it may be suspected of fraud and this situation will be determined as abnormal data.
[0104] Monitoring of test units and personnel: For the same equipment, indicators in the test records of different units and personnel are compared. For example, through indicator ranking, the test capabilities and operation level differences of each unit can be statically or dynamically compared to determine whether abnormal data occurs.
[0105] Environmental parameter monitoring: Compare the indicators of the same equipment under different test conditions and environmental parameters, such as automatically identifying the adaptability of different weapons and equipment to different landforms, so as to determine whether abnormal data occurs.
[0106] Spatiotemporal trajectory monitoring: Comparison of indicators of the same equipment in different time and space trajectories, such as multiple continuous training tasks, comparing the test results of personnel and equipment in different time and space, to determine whether abnormal data occurs.
[0107] Based on the real-time service data of the weapon equipment knowledge graph, the use of various media channel terminals, the addition and update status of data, and workload statistics are monitored online, and the alarm function is set to facilitate intuitive management by the administrator. The real-time monitoring module supports computers (on-site monitoring & statistics), mobile phones (remote monitoring & statistics), and external devices (large-screen monitoring & statistics). When abnormal data is detected in the test archive data, an alarm message is generated based on the abnormal data; and the alarm message is sent to the management personnel terminal
[0108] The knowledge graph-based test archive data robot question-and-answer method provided in the embodiment of the present application realizes efficient query, intelligent question-and-answer and automated management of test archive data, thereby improving the data utilization value and user experience.
[0109] Figure 2 The second flow chart of the test archive data robot question-answering method based on the knowledge graph provided in the embodiment of the present application is as follows: Figure 2 As shown, the robot question-answering method for test archive data based on knowledge graph provided in the embodiment of the present application is to first construct the knowledge graph of the test archive data, and then use the RPA method to build an intelligent question-answering model, similar to the GPT question-answering method for application development, to meet the needs of data collection and update, and to achieve question-answering training and reasoning. The following are the specific steps:
[0110] Step 210: Construct a knowledge graph of test archive data.
[0111] Perform data processing on the test archive data. Use natural language processing methods to perform operations such as word segmentation, part-of-speech tagging, and named entity recognition on the test archive data.
[0112] Based on the preprocessed data and knowledge graph construction method, a knowledge graph of the test archive data is constructed. The knowledge graph is updated in real time using the RPA method.
[0113] Step 220: Use the RPA method to build an intelligent question-answering model.
[0114] Design RPA processes to automatically process user questions and query requests. RPA robots can simulate manual operations, parse and process user input, interact with knowledge graphs, and obtain relevant information and answers.
[0115] Step 230: System application and expansion.
[0116] The question-answering model can be integrated and expanded with other related systems, such as docking with the test archive management system, data analysis system, etc., to achieve data sharing and collaborative work. For example, it can include the following application scenarios:
[0117] (1) Rapid query and retrieval (intelligent knowledge base).
[0118] Combining the corpus and knowledge base, the search results based on the weapon and equipment knowledge graph are a formal expression of weapon and equipment knowledge, mostly in the form of weapon and equipment knowledge cards. They can integrate and associate resources such as weapon and equipment environment, weapon and equipment entities, and humanistic elements, and realize semantic search and query of weapon and equipment knowledge in the form of weapon and equipment entities, and manage and control them in a unified view.
[0119] The queryable scopes can include the following:
[0120] Detailed records: detailed test records, assessment file records, problem list records, application suggestion records and restricted application reminder records, etc.
[0121] Key indicators: performance indicators, test objectives, operational background, key inspection capabilities, test requirements and equipment status, etc.
[0122] Target subjects: assessment objects, weapons and equipment, source units, contacts, host units and implementing units, etc.
[0123] Query conditions: time, location, unit and personnel, etc.
[0124] Environmental parameters: topography, weather, meteorology, electromagnetic, altitude, wind speed and humidity, etc.
[0125] (2) Answering questions and resolving confusion (intelligent dialogue).
[0126] Natural language is closer to human communication habits in terms of interactive form. Combined with NLP methods, the intelligent question-answering model based on the weapons and equipment knowledge base can be highly intelligent and can adapt to the needs of fast, accurate and heuristic acquisition of weapons and equipment information.
[0127] Due to the structured and associative characteristics of weapon and equipment knowledge graph, compared with pure text materials, structured databases, etc., weapon and equipment knowledge graph has the advantages of richer semantic expression, more accurate data content and more efficient retrieval methods. Intelligent question and answer based on weapon and equipment knowledge base is an important application direction of weapon and equipment knowledge graph.
[0128] The scope of questions and answers may include:
[0129] Corpus: Question-Answer Dialogue.
[0130] Knowledge base: articles and large texts, etc.
[0131] Material library: documents, pictures, videos, etc.
[0132] Knowledge graph: graph database, etc.
[0133] GIS geographic or MAP map system support, etc.
[0134] Custom interface: can be called and queried in real time.
[0135] RPA: local file query or cross-system simulated manual query.
[0136] (3) Consultation and explanation (intelligent recommendation).
[0137] The user interest representation is modeled based on the trained historical data, and the interest matching degree between the historical data and the predicted recommendation candidates in the future is learned to achieve personalized recommendations for users.
[0138] Recommended typical scenarios:
[0139] Related and similar data recommendations: test records, assessment file records, and problem list records, etc.
[0140] Data under the same conditions are recommended: such as environmental parameters, terrain and weather, etc.
[0141] Different training data of the same subject: assessment object, source unit, contact person, host unit and implementing unit, etc.
[0142] Training data for the same weapon equipment.
[0143] (4) Tracking (intelligent tracing upward or downward)
[0144] Perform relationship indexing upward (source point or initial node) to find key elements or risk point traceability, such as infectious disease traceability and route trajectory traceability. For example, rule-based reasoning and model-based reasoning. Rule reasoning mainly includes rule engines and first-order logical rules. Model reasoning uses machine learning to represent learning relationship reasoning. So here you can choose according to your needs, application scenarios, and application conditions.
[0145] Through multi-level relationships, superimposed multi-condition screening, reasoning retrieval and result aggregation, target results and answers are formed, such as timeline, training records, space and location tracks, etc.
[0146] Tracing sources such as location data may include:
[0147] Similarity: same location, region, terrain and topography, etc.
[0148] Proximity: places that are adjacent in distance or related in events.
[0149] Similarity: similar terrain, topography, landforms, mineral conditions, etc.
[0150] Connectivity: routes or passes for communication, transportation, travel, etc., such as hills and ravines.
[0151] Relevance: Factors related to location and terrain, such as temperature and humidity
[0152] The traceability reference source clues for trajectory tracking, such as event data, can include:
[0153] Timeline: training plan, training implementation, training time period, training records, analysis and improvement time, etc.
[0154] Time trend: statistics of training parameters and result indicators such as year-on-year and month-on-month changes.
[0155] Space-time trajectory: time trajectory + space trajectory, for analysis of training parameters and result indicators.
[0156] The test archive data robot question-answering method based on knowledge graph provided in the embodiment of the present application has the following beneficial effects:
[0157] 1. Significantly improve data processing efficiency and accuracy.
[0158] The knowledge graph construction method is used to extract key information such as entities, relationships and attributes from the test archive data to build an efficient and accurate knowledge graph. At the same time, by introducing the RPA method, the automated processing of test archive data is realized, including data collection, sorting, classification and archiving. This greatly reduces the tediousness of manual operations, improves data processing efficiency, reduces the possibility of human errors, and improves the accuracy and completeness of information.
[0159] 2. Realize intelligent question and answer and efficient query.
[0160] Based on the constructed knowledge graph, an intelligent question-and-answer model is constructed. The question-and-answer model can parse the user's natural language questions, use the knowledge graph for semantic reasoning, and generate accurate answers. This method allows users to interact with the system in the form of natural language without having to have professional query skills, thereby improving the convenience of query and user experience. At the same time, by continuously optimizing the algorithms and models of the knowledge graph and question-and-answer model, the query efficiency and accuracy of this application have been further improved.
[0161] 3. Enhance the utilization value and mining depth of data.
[0162] By achieving automated management and efficient query of experimental archive data, this application helps to improve the value of data utilization. Users can obtain the required information more quickly and reduce the time spent on data search and understanding, so as to better utilize experimental archive data for scientific research, teaching or decision support. In addition, the construction of the knowledge graph also enables the correlation and deep information between data to be displayed, providing strong support for deep data mining.
[0163] 4. The system has strong scalability and adaptability.
[0164] The question-answering model of this application has good scalability and adaptability. On the one hand, by continuously optimizing and updating the knowledge graph, the model can adapt to the ever-changing test archive data; on the other hand, the model can be integrated and expanded with other related systems to achieve data sharing and collaborative work. This flexibility and scalability enable this application to adapt to different scenarios and needs, and has broad application prospects.
[0165] In summary, this application realizes efficient query, intelligent question and answer, and automated management of test archive data by combining the knowledge graph construction method and the RPA method, significantly improving data processing efficiency and accuracy, enhancing the utilization value and mining depth of data, and having good scalability and adaptability. The above effects comprehensively reflect the innovativeness of the test archive data robot question and answer model and method based on the knowledge graph, which can bring significant improvements in equipment assessment archive data processing, intelligent question and answer, system expansion and adaptability, and provide more efficient, reliable and intelligent solutions for equipment assessment archive data processing and analysis in the military field.
[0166] The following is a description of the test archive data robot question and answer device based on the knowledge graph provided in an embodiment of the present application. The test archive data robot question and answer device based on the knowledge graph described below and the test archive data robot question and answer method based on the knowledge graph described above can be referenced to each other.
[0167] Figure 3 A schematic diagram of the structure of a robot question-answering device for test archive data based on a knowledge graph provided in an embodiment of the present application, such as Figure 3 As shown, the device includes an acquisition module 310 and a question-answer module 320 .
[0168] The acquisition module is used to obtain the questions corresponding to the test archive data;
[0169] The question-answering module is used to send questions to the question-answering model and obtain the answer results of the questions output by the question-answering model;
[0170] Among them, the question-answering model is based on the natural language processing method to understand the semantics of the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data;
[0171] The knowledge graph is constructed based on the trial archive data obtained by the robotic process automation method.
[0172] Specifically, according to an embodiment of the present application, any multiple modules in the acquisition module and the question-and-answer module can be combined into one module for implementation, or any one of the modules can be split into multiple modules.
[0173] Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module.
[0174] According to an embodiment of the present application, at least one of the acquisition module and the question-and-answer module can be at least partially implemented as a hardware circuit, such as a field programmable gate array, a programmable logic array, a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit, or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware, or in an appropriate combination of any of them.
[0175] Alternatively, at least one of the acquisition module and the question-and-answer module may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be performed.
[0176] The knowledge graph-based test archive data robot question-and-answer device provided in the embodiment of the present application performs semantic understanding of questions corresponding to the test archive data through a natural language processing algorithm, and can quickly and accurately obtain answers to questions by constructing a knowledge graph and combining it with a robot process automation method, thereby achieving efficient query, intelligent question-and-answer, and automated management of test archive data, improving the utilization value of test archive data, and enhancing the user experience.
[0177] In some embodiments, the knowledge graph is constructed based on the experimental archive data obtained by the robotic process automation method, including:
[0178] Experimental archival data acquired based on robotic process automation methods;
[0179] Determine entities and relationships between entities in test archive data based on natural language processing methods;
[0180] Construct a knowledge graph of test archive data based on entities and the relationships between them.
[0181] In some embodiments, determining entities and relationships between entities in the test archive data based on a natural language processing method includes:
[0182] Perform data processing and format conversion on the test archive data based on the corpus rules of the test archive data;
[0183] Constructing a corpus of experimental archive data based on the processed experimental archive data;
[0184] Determine entities and relationships between entities in experimental archival data based on natural language processing methods and corpora.
[0185] In some embodiments, the knowledge graph-based test archive data robot question-answering device further includes an update module, which is specifically used to:
[0186] Real-time access to the latest test archive data based on robotic process automation methods;
[0187] Update the knowledge graph and corpus based on the latest trial archive data.
[0188] In some embodiments, the question-answering model is trained based on sample test archive data, sample knowledge graphs corresponding to the sample test archive data, sample questions, and sample answer results corresponding to the sample questions; the test archive data robot question-answering device based on the knowledge graph also includes a tuning module, which is specifically used to:
[0189] After getting the answer to the question output by the question-answering model, it also includes:
[0190] Obtain user feedback data corresponding to the answer result;
[0191] Tune parameters of the question-answering model based on user feedback data.
[0192] In some embodiments, the knowledge graph-based test archive data robot question-answering device further includes an alarm module, which is specifically used to:
[0193] In the event of abnormal data in the test archive data, an alarm message is generated based on the abnormal data;
[0194] Send the alarm information to the administrator terminal.
[0195] It should be noted here that the knowledge graph-based test archive data robot question and answer device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned knowledge graph-based test archive data robot question and answer method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be specifically described here.
[0196] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 4 As shown, the electronic device may include: a processor (Processor) 410, a communication interface (Communications Interface) 420, a memory (Memory) 430 and a communication bus (Communications Bus) 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic command in the memory 430 to execute the above method, which includes:
[0197] Obtain the corresponding issues of test archive data;
[0198] Send the question to the question-answering model and get the answer to the question output by the question-answering model;
[0199] Among them, the question-answering model is based on the natural language processing method to understand the semantics of the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data;
[0200] The knowledge graph is constructed based on the trial archive data obtained by the robotic process automation method.
[0201] In addition, the logic commands in the above-mentioned memory can be implemented in the form of software function modules and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several commands to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0202] The processor in the electronic device provided in the embodiment of the present application can call the logic instructions in the memory to implement the above method. Its specific implementation method is consistent with the implementation method of the aforementioned method and can achieve the same beneficial effects, which will not be repeated here.
[0203] An embodiment of the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the methods provided in the above embodiments are implemented.
[0204] Its specific implementation is consistent with the aforementioned method implementation and can achieve the same beneficial effects, so it will not be repeated here.
[0205] An embodiment of the present application provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0206] The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0207] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0208] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A robot question-answering method for experimental archive data based on knowledge graph, characterized in that: include: Obtain the corresponding issues of test archive data; Sending the question to the question-answering model to obtain an answer result of the question output by the question-answering model; The question-answering model is based on a natural language processing method to perform semantic understanding on the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data; The knowledge graph is constructed based on the test archive data obtained by the robotic process automation method.
2. The test archive data robot question-answering method based on knowledge graph according to claim 1 is characterized in that: The knowledge graph is constructed based on the test archive data obtained by the robotic process automation method, including: The test archive data obtained based on the robotic process automation method; Determine entities and relationships between entities in the test archive data based on the natural language processing method; A knowledge graph of the test archive data is constructed based on the entities and the relationships between the entities.
3. The test archive data robot question-answering method based on knowledge graph according to claim 2 is characterized in that: The determining the entities and the relationships between the entities in the test archive data based on the natural language processing method includes: Performing data processing and format conversion on the test archive data based on the corpus rules of the test archive data; constructing a corpus of the test archive data based on the processed test archive data; Entities and relationships between entities in the test archive data are determined based on the natural language processing method and the corpus.
4. The test archive data robot question-answering method based on knowledge graph according to claim 3 is characterized in that: The method further comprises: Acquiring the latest test archive data in real time based on the robotic process automation method; The knowledge graph and the corpus are updated based on the latest test archive data.
5. The test archive data robot question-answering method based on knowledge graph according to claim 1 is characterized in that: The question-answering model is trained based on sample test archive data, a sample knowledge graph corresponding to the sample test archive data, sample questions, and sample answer results corresponding to the sample questions; After obtaining the answer result of the question output by the question-answering model, the method further includes: Obtaining user feedback data corresponding to the answer result; Parameters of the question-answering model are tuned based on the user feedback data.
6. The test archive data robot question-answering method based on knowledge graph according to claim 4 is characterized in that: The method further comprises: In the event that abnormal data appears in the test archive data, generating alarm information based on the abnormal data; The alarm information is sent to the administrator terminal.
7. A robot question-answering device for test archive data based on knowledge graph, characterized in that: include: The acquisition module is used to obtain the questions corresponding to the test archive data; A question-answering module, used to send the question to the question-answering model and obtain the answer result of the question output by the question-answering model; The question-answering model is based on a natural language processing method to perform semantic understanding on the question, and determines the answer result based on the semantic understanding result and the knowledge graph of the test archive data; The knowledge graph is constructed based on the test archive data obtained by the robotic process automation method.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the knowledge graph-based test archive data robot question-answering method as described in any one of claims 1 to 6 is implemented.
9. An electronic device, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the knowledge graph-based test archive data robot question-answering method according to any one of claims 1 to 6 through the computer program.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the knowledge graph-based test archive data robot question-answering method as described in any one of claims 1 to 6 is implemented.
