Method and device for calling nuclear power data and electronic equipment

By using question-and-answer interface and semantic recognition technology in the first system of the nuclear power base, the natural language problem is converted into SQL statements sent to the second system that supports SQL queries, solving the problem of low efficiency in obtaining nuclear power data, achieving fast and convenient nuclear power data retrieval, and improving the timely processing ability of equipment problems.

CN120045578APending Publication Date: 2025-05-27LINGAO NUCLEAR POWER +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411998879.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In nuclear power bases, the distance and time isolation between different working places and systems makes it difficult to quickly obtain the system's nuclear power data, affecting the timely handling of equipment problems and the determination of maintenance strategies.

Method used

By displaying the Q&A interface in the first system, the user can input questions in natural language and perform semantic recognition. If the recognition result indicates that it is necessary to retrieve nuclear power data from the second system, a data call request represented by the SQL statement is sent, and the call result is displayed on the Q&A interface.

Benefits of technology

It realizes the rapid and convenient retrieval of nuclear power data from the second system, improves data acquisition efficiency, reduces the time for preparing meeting materials, and improves the timely handling of equipment problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045578A_ABST
    Figure CN120045578A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of nuclear power, and provides a nuclear power data calling method and device and electronic equipment, and the method comprises the steps: displaying a question and answer interface which comprises a question input box; under the condition that an input question input by a user in the question input box is detected and the input question comprises a question represented by a natural language, performing semantic recognition on the input question to obtain a semantic recognition result; under the condition that the semantic recognition result is recognized to indicate that nuclear power data is called from a second system, a data calling request is sent to the second system; receiving a calling result sent by the second system based on the data calling request; and displaying the nuclear power data corresponding to the calling result on the question and answer interface. Through the method, the nuclear power data acquisition efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of nuclear power technology, and particularly relates to a method, device, electronic device, computer-readable storage medium, and computer program product for retrieving nuclear power data. Background Art

[0002] A nuclear power plant, also known as a nuclear power station, is a facility that converts nuclear energy into electrical energy using a nuclear reactor. A nuclear power plant usually does not exist independently. It usually also requires the cooperation of nuclear energy-related facilities and functions to operate normally. The combination of the nuclear power plant and these facilities and functions is collectively referred to as a nuclear power base.

[0003] In a nuclear power base, there are multiple work locations such as a main control room, a nuclear power plant (or plant building), an office, and an equipment monitoring room. There is usually a certain distance between two different work locations, and the working hours of the staff at different work locations are not necessarily the same. Since the work locations of different staff are different, and there may be isolation barriers in working hours (such as shift workers and day shift workers in a nuclear power plant, whose working hours are staggered), for equipment problems that need to be discussed in a timely manner to determine a maintenance strategy, it is very difficult for the attendees (usually management) of the meeting to obtain comprehensive and sufficient equipment defect information about the equipment problem from other staff or from different systems in a very short time and display it. They often report the problem orally first and then hold a special meeting to discuss it after the meeting, so a large amount of time is required to prepare meeting materials. Summary of the Invention

[0004] Embodiments of this application provide a method, device, and electronic device for retrieving nuclear power data, which can solve the problem that it is difficult to quickly obtain nuclear power data of a system by existing methods.

[0005] In a first aspect, an embodiment of this application provides a method for retrieving nuclear power data, which is applied to a first system and includes:

[0006] Display a question-and-answer interface, where the question-and-answer interface includes a question input box;

[0007] When it is detected that the user enters an input question in the question input box and the input question includes a question expressed in natural language, perform semantic recognition on the input question to obtain a semantic recognition result;

[0008] When it is recognized that the semantic recognition result indicates retrieving nuclear power data from a second system, send a data retrieval request to the second system, where the second system is a system different from the first system, and the second system supports SQL statement queries, and the data retrieval request is expressed in an SQL statement;

[0009] Receive the retrieval result sent by the second system based on the data retrieval request;

[0010] Display the nuclear power data corresponding to the retrieval result on the Q&A interface.

[0011] In the embodiment of the present application, when an input question entered by the user is detected in the question input box and the input question includes a question expressed in natural language, semantic recognition is performed on the input question. If the obtained semantic recognition result indicates retrieving nuclear power data from the second system, a data retrieval request expressed in SQL statements is sent to the second system. If the retrieval result sent by the second system based on the data retrieval request is received, the nuclear power data corresponding to the retrieval result is displayed on the Q&A interface. Since the input question expressed in natural language is converted into a data retrieval request expressed in SQL statements and sent to the second system, and the second system supports SQL statement queries and users can more easily understand natural language, through the above method, the nuclear power data of the second system can be retrieved more conveniently and quickly, thus greatly improving the acquisition efficiency of nuclear power data.

[0012] In a second aspect, an embodiment of the present application provides a device for retrieving nuclear power data, including:

[0013] A Q&A interface display module, configured to display a Q&A interface, where the Q&A interface includes a question input box;

[0014] A semantic recognition module, configured to perform semantic recognition on the input question when it is detected that the user enters an input question in the question input box and the input question includes a question expressed in natural language, to obtain a semantic recognition result;

[0015] A data retrieval request sending module, configured to send a data retrieval request to the second system when it is recognized that the semantic recognition result indicates retrieving nuclear power data from the second system, where the second system is a system different from the first system and the second system supports SQL statement queries, and the data retrieval request is expressed in SQL statements;

[0016] A retrieval result receiving module, configured to receive the retrieval result sent by the second system based on the data retrieval request;

[0017] A nuclear power data display module, configured to display the nuclear power data corresponding to the retrieval result on the Q&A interface.

[0018] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the computer program, the method described in the first aspect is implemented.

[0019] Fourthly, an embodiment of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0020] Fifthly, an embodiment of the present application provides a computer program product, and when the computer program product runs on an electronic device, the electronic device is enabled to execute the method described in the first aspect above.

[0021] It can be understood that for the beneficial effects of the second to fifth aspects above, reference can be made to the relevant descriptions in the first aspect above, and details are not repeated here. Description of the Drawings

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art.

[0023] Figure 1 It is a schematic flowchart of a method for retrieving nuclear power data provided by an embodiment of the present application;

[0024] Figure 2 It is a schematic structural diagram of a device for retrieving nuclear power data provided by an embodiment of the present application;

[0025] Figure 3 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0026] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0027] It should be understood that when used in the specification and appended claims of the present application, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0028] It should also be understood that the term " / and" as used in the specification and appended claims of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] In addition, in the description of the specification and the appended claims of the present application, terms such as "first", "second", etc. are only used for distinguishing descriptions and cannot be construed as indicating or implying relative importance.

[0030] The reference to "one embodiment" or "some embodiments" etc. described in the specification of the present application means that in one or more embodiments of the present application, specific features, structures or characteristics described in connection with that embodiment are included. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0031] In a nuclear power base, there are usually multiple work locations and multiple systems. For example, a part of the production report data of the nuclear power base is stored in the System Applications and Products (SAP) (such as the Bill of Material (BOM) of equipment, point inspection, equipment defect report, on-site abnormal status report, spare parts, etc.), while the equipment ex-factory design and installation data and engineering transformation materials are stored in the document system, and the equipment monitoring data is stored in a dedicated information system. Since there is no established interactive communication interface between different systems, when it is necessary to obtain data from a certain system, it is necessary to log in to that system and then download the corresponding data from that system, that is, it is not possible to access another system to obtain the data stored in the accessed system. And because the work locations corresponding to different systems are usually different and the working hours may also be isolated, it takes a relatively long time to query and collect equipment maintenance data in different systems before data analysis (such as analyzing the maintenance strategy for equipment problems) and inter-departmental collaboration.

[0032] To improve the efficiency of obtaining the required data, an embodiment of the present application provides a method for retrieving nuclear power data. In this method, a user can retrieve nuclear power data stored in a second system of a nuclear power plant by inputting natural language in a first system, greatly improving the efficiency of obtaining nuclear power data.

[0033] It should be noted that the nuclear power data here refers to the data of each system in the nuclear power base.

[0034] To improve the success rate of the first system retrieving nuclear power data from the second system, usually the first system and the second system are designed first before the second system communicates with the first system.

[0035] Among them, the design of the first system includes:

[0036] (1) Design the front - end page: Design the Q&A interface according to the requirements, including the layout, style, and interaction effects of the Q&A interface. And an area for displaying nuclear power data retrieved from other systems such as the second system needs to be reserved in the Q&A interface.

[0037] (2) Implement the front - end logic: Write JavaScript code to handle user interaction operations. For example, when the user triggers a specific interaction event (such as clicking to query the nuclear power data of a certain nuclear power plant equipment), send a request to the backend (the backend includes the second system) through AJAX or other asynchronous communication technologies. Receive the data returned by the backend and dynamically update the page content according to these data.

[0038] (3) Embed an iframe or dynamic content: If the nuclear power data (such as nuclear power data in JSON format) is returned by the backend, then these nuclear power data can be used to dynamically generate HTML content and insert it into the corresponding area of the Q&A interface. If the backend returns a uniform resource locator (URL) address, the retrieval of nuclear power data from the backend interface can be achieved through the following steps: (i) Create or edit a Web page: Use an HTML editor (such as Notepad++, Sublime Text, etc.) to create a new Web page for displaying the Q&A interface or edit the existing page for displaying the Q&A interface. Add the embedding code: Copy and paste the embedding code provided by the target website to the appropriate position on the Web page. During the process of embedding the code, an iframe tag usually needs to be added, and its src attribute is set to the URL of the target website, which is the website storing the nuclear power data to be retrieved. (ii) Configure the iframe tag attributes: Set the width and height of the nuclear power data embedded in the Q&A interface through the width and height attributes of the iframe tag; Set the border, background color, and other style attributes of the area for displaying the embedded nuclear power data through the style attribute of the iframe tag or a CSS style sheet; If the height of the embedded nuclear power data exceeds the height specified by the iframe tag, the scrolling attribute can be set to control whether to display the scroll bar.

[0039] (4) Block deployment

[0040] Embed the above iframe or dynamic content and present it in the question-and-answer interface of the first system using BLOCK technology. Each BLOCK consists of two parts: content and attributes. The content can be a text paragraph, a picture, a list item, a video, an embedded web page (such as a collaborative work discussion interface), or an instantaneously uploaded document. The attributes include metadata such as BLOCK type, color, style, etc. Each BLOCK has a unique system identifier. Users can manage BLOCKs in the question-and-answer interface, such as arranging the layout of BLOCKs by dragging and dropping the nuclear power data of BLOCKs.

[0041] Among them, the design of the second system includes:

[0042] According to the nuclear power data (or application system interface content) that needs to be retrieved by the first system, design corresponding interfaces. Among them, the designed interfaces are used to receive specific request parameters, such as receiving the ID of the nuclear power data, and obtaining the corresponding nuclear power data from a database or other data sources based on these request parameters. If the nuclear power data requested by the first system is relatively simple, such as only form data, the relevant nuclear power data of the interface can be called by the first system through the Application Programming Interface (API) method and encapsulated into an appropriate format (such as JSON) and returned to the first system. If the first system requests complex data such as charts, the second system sends an embedding code (such as the HTML code of an iframe tag) to the first system.

[0043] The following describes the method for retrieving nuclear power data provided by the embodiments of the present application with reference to the accompanying drawings.

[0044] Figure 1 The flowchart of a method for retrieving nuclear power data provided by the embodiments of the present application is shown. This method can be applied to the first system, which is a system of electronic devices applied in a nuclear power base, and is described in detail as follows:

[0045] S11, display a question-and-answer interface, and the above question-and-answer interface includes a question input box.

[0046] Specifically, when the question-and-answer interface depends on a specific application program, after the user opens the specific application program, the electronic device will display the question-and-answer interface; when the question-and-answer interface depends on a network connection and a browser, after the user enters the URL address corresponding to the question-and-answer interface in the browser, the electronic device will display the question-and-answer interface.

[0047] Among them, the question input box is used to receive data input by the user through an input device, and the data here includes one or more of text, symbols, image data, and audio data. It should be noted that the "input question", "answer", etc. input in the question input box subsequently also belong to the data here, but for the convenience of distinction, these data are named "input question" and "answer".

[0048] S12. When it is detected that the input question entered by the user in the above question input box and the input question includes a question expressed in natural language, semantic recognition is performed on the above input question to obtain a semantic recognition result.

[0049] Among them, the above input question is the question input by the user through an input device.

[0050] Among them, semantic recognition, also known as semantic understanding or semantic analysis, is a branch of natural language processing (Natural Language Processing, NLP), which aims to enable a computer to understand the meaning and context in human language.

[0051] Specifically, it is detected whether there is a question (or data) expressed in natural language in the question input box. If so, the semantics corresponding to the input question are recognized by means of semantic recognition. For example, when the input question is "Please retrieve the on-site inspection abnormal report of XX device" or "Please retrieve the abnormal data of XX device parameters", since these input questions are questions expressed in natural language, the semantics corresponding to these input questions are recognized by means of semantic recognition.

[0052] Optionally, after it is detected that the user confirms to submit the input question in the question input box, the semantics corresponding to the input question can be recognized by means of semantic recognition to improve the probability of semantic recognition of the complete input question.

[0053] S13. When it is recognized that the above semantic recognition result indicates retrieving nuclear power data from the second system, a data retrieval request is sent to the above second system, where the above second system is a system different from the above first system, and the above second system supports querying using Structured Query Language (SQL) statements, and the above data retrieval request is expressed in SQL statements.

[0054] Among them, the second system here is the system of the nuclear power base, which may include at least one of the following systems: work order system, production plan scheduling system, equipment defect management system, maintenance processing system, spare parts system, equipment inspection and parameter monitoring system, equipment safety classification system, equipment maintenance outline system, equipment document system, equipment problem experience feedback knowledge graph system.

[0055] Among them, the nuclear power data here specifically refers to the data related to each system of the nuclear power base stored in the second system. This nuclear power data can be form data, chart data, etc., and is not limited here.

[0056] Specifically, since the second system supports querying using SQL statements, therefore, using an SQL statement to represent the data retrieval request and then sending this data retrieval request to the second system is beneficial to increasing the probability that the second system can recognize this data retrieval request. Among them, the data retrieval request includes relevant information about the nuclear power data to be retrieved, such as including the name of the nuclear power data to be retrieved (or the unique code (Identity document, ID) of the nuclear power data), and can also include time information corresponding to this nuclear power data, etc.

[0057] S14. Receive the retrieval result sent by the above-mentioned second system based on the above-mentioned data retrieval request.

[0058] Specifically, after receiving the data retrieval request, the second system determines the nuclear power data that the first system needs to retrieve according to the relevant information of the nuclear power data included in this data retrieval request, and sends the retrieval result including this nuclear power data or the URL address of the nuclear power data to the first system.

[0059] S15. Display the nuclear power data corresponding to the above-mentioned retrieval result in the above-mentioned Q&A interface.

[0060] Specifically, the first system displays the nuclear power data corresponding to the retrieval result in the area for embedding iframes or dynamic content in the Q&A interface. This area usually does not coincide with the area where the question input box is located to avoid the input question in the question input box being blocked by the displayed nuclear power data.

[0061] In the embodiment of the present application, when an input question entered by the user is detected in the question input box and this input question includes a question expressed in natural language, semantic recognition is performed on this input question. If the obtained semantic recognition result indicates retrieving nuclear power data from the second system, then a data retrieval request expressed using an SQL statement is sent to this second system. If the retrieval result sent by the second system based on the data retrieval request is received, then the nuclear power data corresponding to the retrieval result is displayed in the Q&A interface. Since the input question expressed in natural language is converted into a data retrieval request expressed using an SQL statement and sent to the second system, and this second system supports SQL statement queries, and users are more likely to understand natural language, therefore, through the above method, the nuclear power data of the second system can be retrieved more conveniently and quickly, thereby greatly improving the acquisition efficiency of nuclear power data.

[0062] According to the above description, the retrieval result sent by the second system to the first system may be the nuclear power data itself or the URL address corresponding to the nuclear power data. That is, in some embodiments:

[0063] If the above retrieval result is the retrieved nuclear power data, then in S15 above, the nuclear power data corresponding to the retrieval result is displayed on the above Q&A interface, including: displaying the nuclear power data corresponding to the retrieval result on the above Q&A interface.

[0064] If the above retrieval result is the URL address corresponding to the retrieved nuclear power data, then in S15, the nuclear power data corresponding to the retrieval result is displayed on the above Q&A interface, including:

[0065] Set the attributes of the iframe tag added to the above Q&A interface according to the above URL address, so as to retrieve the corresponding nuclear power data from the above URL address according to the attributes of the iframe tag of the above Q&A interface, and display the nuclear power data retrieved from the above URL address on this Q&A interface.

[0066] Specifically, after receiving the URL address sent by the second system based on the data retrieval request, the second system determines whether the nuclear power data required to be retrieved by the first system belongs to the simple data or complex data it has predetermined according to the data retrieval request. If it is simple data, it sends the specific nuclear power data to the first system. At this time, the retrieval result received by the first system is the retrieved nuclear power data, and the received nuclear power data is directly displayed on the Q&A interface; if it is complex data, it sends the URL address corresponding to the retrieved nuclear power data to the first system. At this time, the retrieval result received by the first system is the URL address corresponding to the retrieved nuclear power data. Set the attributes of the iframe tag added to the above Q&A interface according to the above URL address, so as to retrieve the corresponding nuclear power data from the above URL address according to the attributes of the iframe tag of the above Q&A interface, and display the nuclear power data retrieved from the above URL address on this Q&A interface. Optionally, the simple data and complex data can be divided according to the type of nuclear power data. For example, the nuclear power data of the form type is divided into simple data, and the nuclear power data of the chart type is divided into complex data. Of course, it can also be divided according to other methods, such as according to the amount of information contained in the nuclear power data, which is not limited here.

[0067] In the embodiment of the present application, when the first system receives the URL address sent by the second system, the first system adds the URL address to the src attribute of the iframe tag and retrieves the corresponding nuclear power data for display according to the URL address. Since the corresponding method is selected according to the different information contained in the retrieval result to determine and display the retrieved nuclear power data, the accuracy of the displayed nuclear power data is improved.

[0068] In some embodiments, the above Q&A interface further includes a target area, which is used to display the nuclear power data corresponding to the retrieved result by means of blockchain technology. After S15, that is, after the nuclear power data corresponding to the retrieved result is displayed on the Q&A interface, the following steps are further included:

[0069] A1. When a drag instruction for the nuclear power data in the target area is detected, drag the nuclear power data according to the moving direction pointed to by the drag instruction.

[0070] A2. When it is detected that the nuclear power data is dragged to the question input box, parse the nuclear power data to obtain a parsing result.

[0071] A3. When the parsing result indicates to retrieve the nuclear power data, retrieve the nuclear power data in the knowledge base of the first system to obtain a retrieval result.

[0072] A4. Display the retrieval result on the Q&A interface.

[0073] Among them, the target area is the area indicated by the width and height attributes of the embedded iframe tag. After the nuclear power data retrieved is displayed in the target area by means of blockchain technology, the user can perform a drag operation on the nuclear power data.

[0074] Among them, the drag instruction includes the moving direction and moving distance of the drag. After the first system moves the nuclear power data along the moving direction by the corresponding moving distance according to the detected drag instruction, it determines whether the position where the nuclear power data stops moving is the position of the question input box. If so, it is determined that the nuclear power data in the question input box needs to be parsed. It should be noted that if the nuclear power data is text, the parsing of the nuclear power data includes semantic recognition. If the nuclear power data is a character, the parsing of the nuclear power data may include a pattern matching method. That is, in the embodiments of the present application, the parsing of the nuclear power data includes identifying the characters and / or text included in the nuclear power data, and identifying the intention of the user to drag the nuclear power data to the question input box.

[0075] Specifically, various device information of the nuclear power base (such as the ID of the device, the name of the device, the type of the device, the types and mechanisms of device failures (such as aging)) and the formats of these device information in different versions are pre-stored in the knowledge base of the first system. In addition, the failure data of these devices is also stored. The failure data of these devices can be collected in the following ways: (a) Collect various multimodal data including device defects generated during the construction and installation, new product design, engineering transformation, daily production, and overhaul of nuclear power plants. The forms of these multimodal data include but are not limited to: pictures, forms, videos, etc.; collect technical exchange materials at home and abroad in the nuclear power industry, such as data extracted from technical reports issued by the International Atomic Energy Agency, experience feedback reports from domestic and foreign peers, and relevant authoritative papers in the (nuclear) industrial circle. (b) Collect text descriptions corresponding to the visual data in (a) above. These text descriptions include defect types, locations, severities, sources, etc. When annotating the location (or defect type, etc.) of the defect in the visual data, it is necessary to ensure the consistency and accuracy of the data annotation process. To improve the accuracy of subsequent retrieval results, the data collected in (a) and (b) above can be subjected to data cleaning. During the data cleaning process, fuzzy, duplicate, or irrelevant data should be removed to ensure the quality and consistency of the data. (c) Collect and organize various failure phenomena, failure consequences, failure cause diagnosis (or root cause analysis), and device failure solution measures related to device failures. These data mainly come from various channels such as the experience feedback of nuclear power plants, device maintenance, and domestic and foreign similar experience reports.

[0076] In the embodiment of the present application, after storing various device information of the nuclear power plant and the failure data of the devices in the knowledge base, the nuclear power data in the input question input box can be compared with the data stored in the knowledge base, and the data that best matches the nuclear power data is used as the retrieval result corresponding to the nuclear power data and displayed on the Q&A interface. Since the retrieved nuclear power data can be directly dragged into the question input box for retrieval without downloading the nuclear power data from the second system and then copying it to the question input box, the efficiency of inputting the nuclear power data in the question input box is greatly improved, thereby improving the efficiency of obtaining the retrieval result corresponding to the nuclear power data.

[0077] In some embodiments, the above steps A2 and A3 can be implemented by a pre-trained retrieval model. The pre-trained retrieval model is used to perform corresponding retrieval actions according to the received information and output corresponding retrieval results. When steps A2 and A3 are implemented by the pre-trained retrieval model, after the first system drags the nuclear power data into the question input box, it calls the pre-trained retrieval model to obtain the retrieval result output by the retrieval model and displays the retrieval result on the Q&A interface.

[0078] Among them, the pre-trained retrieval model can be trained in the following ways:

[0079] ① Model construction

[0080] Select a pre-trained large model suitable for multi-modal data processing as the basis. For example, NFNet-F6 can be selected. NFNet-F6 is a version of the NFNet (Normalizer-Free ResNets) model proposed by DeepMind, which is a deep learning model that does not require normalization. In addition, Vision Transformer (ViT), Contrastive Language-Image Pre-training ViT (CLIP ViT), or Zhiyuan EVA-CLIP Vision Transformer (i.e., Eva-CLIP ViT) can also be selected. Eva-CLIP ViT is a series of models designed to significantly improve the efficiency and effectiveness of training the CLIP (Contrastive Language-Image Pre-training) model.

[0081] Considering that the data of nuclear power bases usually includes visual data and text data, therefore, a visual branch and a text branch can be constructed for the pre-trained large model, and a fusion layer for fusing visual features and text features is set. The pre-trained large model is trained according to various device information of the nuclear power base stored in the knowledge base of the first system. For example, the visual data and text data of the nuclear power base stored in the knowledge base are respectively input into the visual branch and the text branch of the large model, and then the visual features extracted from the visual branch and the text features extracted from the text branch are fused through the fusion layer.

[0082] Optionally, before fusion, the extracted visual features and text features can be aligned to learn the association and mapping relationship between visual features and text features, and improve the accuracy of the subsequent fusion result.

[0083] ② Instruction fine-tuning

[0084] According to the diagnostic requirements of equipment defects in nuclear power bases, a series of instructions are designed to guide the pre-trained large model to perform reasoning and diagnosis based on the input multi-modal data. Specifically, the pre-trained large model is fine-tuned with labeled multi-modal data so that it can better understand and execute instructions. During the instruction fine-tuning process, the parameters and learning rate of the pre-trained large model can be gradually adjusted to obtain better performance.

[0085] In the above description, the first system retrieves the nuclear power data dragged into the question input box. In some embodiments, the first system can also retrieve the nuclear power data and the data input by the user in the question input box. At this time, the above A2, that is, in the case where it is detected that the above nuclear power data is dragged into the above question input box, the above nuclear power data is parsed to obtain a parsing result, including:

[0086] A21. When it is detected that the above nuclear power data is dragged into the above problem input box, detect whether there is an input problem entered by the user in the above problem input box.

[0087] Specifically, when the user enters data in the problem input box, the entered data is the above input problem.

[0088] In the embodiment of the present application, detect the information of the problem input box, and determine whether there is other data in addition to the dragged nuclear power data. If there is, it is determined that there is an input problem entered by the user in the problem input box.

[0089] Optionally, after detecting that the user triggers the submission function of the information in the problem input box, then detect whether there is an input problem entered by the user in the problem input box. Among them, the submission function of the information in the problem input box can be triggered by clicking the submission control corresponding to the problem input box, or by clicking the specified key on the keyboard, such as by clicking the enter key on the keyboard.

[0090] A22. When there is the above input problem entered by the user, parse the above nuclear power data and the above input problem to obtain a parsing result.

[0091] Correspondingly, the above A3. When the parsing result indicates to retrieve the above nuclear power data, retrieve the above nuclear power data in the knowledge base of the above first system to obtain a retrieval result, including: when the parsing result indicates to retrieve the above nuclear power data and the above input data, retrieve the above nuclear power data and the above input data in the knowledge base of the above first system to obtain a retrieval result.

[0092] Specifically, when the type of the nuclear power data is different from the type of the input problem, respectively adopt the parsing method corresponding to the type to parse the nuclear power data or the input problem. For example, assume that the nuclear power data is image data and the input problem is text data, then a deep learning method can be used to parse the image data, and an NLP method can be used to parse the text data to obtain a parsing result including the parsing information of the image data and the parsing information of the text data.

[0093] For example, assume that the nuclear power data is a picture containing equipment defects, and what the user enters is "How to handle this equipment failure?" Then parse the picture to determine the defects existing in the equipment, and combine the determined defects and the intention obtained by parsing "How to handle this equipment failure?" to determine the parsing result.

[0094] In the embodiments of the present application, since the first system can parse the nuclear power data dragged into the question input box and the input question input into the question input box through the input device, which is equivalent to parsing multi-modal data, it is beneficial to obtain a parsing result containing more information. Therefore, when retrieving according to the parsing result subsequently, it is beneficial to quickly obtain a more accurate retrieval result.

[0095] In some embodiments, the above A3, the parsing result also indicates that the above nuclear power data is the data corresponding to asking for the solution to the nuclear power equipment failure. Retrieving the above nuclear power data in the knowledge base of the above first system, the retrieval result includes:

[0096] Retrieving the cause of the nuclear power equipment failure corresponding to the above nuclear power data and the solution corresponding to the cause in the knowledge base of the above first system. If the cause of the nuclear power equipment failure corresponding to the above nuclear power data and the solution corresponding to the cause are retrieved, then the retrieval result is obtained. The above retrieval result includes the cause of the nuclear power equipment failure corresponding to the above nuclear power data and the solution corresponding to the cause.

[0097] Specifically, the nuclear power data can be vectorized, calculate the distance between the vectorized nuclear power data and the vectorized data stored in the knowledge base, and use the cause corresponding to the data with the smallest distance as the cause of the nuclear power equipment failure corresponding to the nuclear power data, and use the solution corresponding to the cause as the solution to the cause of the nuclear power equipment failure corresponding to the nuclear power data. It should be noted that if there are multiple data with the smallest distance from the vectorized nuclear power data, that is, there are multiple causes (or solutions) of the nuclear power equipment failure corresponding to the nuclear power data, then these multiple causes (or solutions) can be output, or further analyzed before output, which is not limited here.

[0098] Since the obtained retrieval result includes the cause and solution of the nuclear power equipment failure, therefore, the user can subsequently judge whether the solution matches the cause according to the displayed retrieval result. Also, since it is highly probable that the solution is not an accurate solution when the cause and solution do not match, and an inaccurate solution may lead to the occurrence of a nuclear safety accident, therefore, obtaining a retrieval result containing the cause and solution of the nuclear power equipment failure is beneficial for the user to judge whether to adopt the solution.

[0099] In the above description, as long as the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause are retrieved, the retrieval result is obtained. In some embodiments, in order to improve the accuracy of the obtained retrieval result, when multiple causes are retrieved, these causes can be further screened. That is, when the above parsing result also indicates that the above nuclear power data is the data corresponding to the solution to the nuclear power equipment failure query, the following steps are taken: A3. Retrieve the nuclear power data in the knowledge base of the first system to obtain a retrieval result, including:

[0100] A31. Retrieve the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause in the knowledge base of the first system. If a suspected cause of the nuclear power equipment failure corresponding to the nuclear power data is retrieved, determine the diagnostic thinking chain corresponding to the suspected cause. The diagnostic thinking chain includes at least one preset diagnostic question.

[0101] Here, the suspected cause includes at least two causes, that is, according to the nuclear power data, it is retrieved that there are multiple causes that may lead to the nuclear power equipment failure. That is, the direct cause of the nuclear power equipment failure corresponding to the nuclear power data cannot be accurately determined. For example, assume that the nuclear power data is "the carbon brush of the generator is on fire, and there may be abnormal sounds or vibrations". The causes that may lead to the nuclear power equipment failure may include: carbon brush wear, poor contact, uneven pressure, or the surface condition of the slip ring. That is, "carbon brush wear, poor contact, uneven pressure, or the surface condition of the slip ring" is the suspected cause of "the carbon brush of the generator is on fire, and there may be abnormal sounds or vibrations".

[0102] In the embodiments of the present application, the corresponding relationship between different suspected causes and diagnostic thinking chains is pre-stored. The diagnostic thinking chain includes at least one diagnostic question, and these diagnostic questions are determined according to the actual operation and maintenance situation of the staff in the nuclear power plant. After the direct cause of the nuclear power equipment failure corresponding to the nuclear power data cannot be retrieved, but the suspected cause of the nuclear power equipment failure is retrieved, according to the pre-stored corresponding relationship between the suspected cause and the diagnostic thinking chain, find the diagnostic thinking chain of the suspected cause corresponding to the nuclear power data.

[0103] A32. Display each of the above diagnostic questions in the diagnostic thinking chain on the above Q&A interface to obtain the answers input by the user for each of the above diagnostic questions.

[0104] Specifically, after the user inputs a corresponding answer to the currently displayed diagnostic question, another diagnostic question in the diagnostic thinking chain can be displayed. By doing so, it is beneficial to accurately pair the diagnostic questions and answers, that is, it is beneficial to the subsequent analysis of the diagnostic questions and answers, thereby improving the accuracy of the subsequent obtained retrieval result.

[0105] For example, assuming that the suspected cause is "carbon brush wear, poor contact, uneven pressure, or slip ring surface condition", the diagnostic questions included in the corresponding diagnostic thinking chain are as follows:

[0106] 1) The specific phenomena of the generator carbon brush sparking, including the sparking position, color, sound, etc., and take photos or videos.

[0107] 2) Whether the carbon brush is severely worn (pictures of severe wear need to be provided, etc.), and whether the length is within the specified range. The flatness of the contact surface between the carbon brush and the slip ring, and whether there are phenomena such as jamming, being too short, broken, or poor contact.

[0108] 3) Evaluate the surface condition of the slip ring, whether it is clean, and whether there are impurities such as oil stains and carbon powder.

[0109] 4) Check whether the carbon brush pressure is uniform, and whether the spring is loose or damaged.

[0110] 5) Check whether the electrical connection of the carbon brush holder is good, and whether there are phenomena such as looseness or corrosion. Check whether the generator grounding system is normal to ensure that there are no electrical faults caused by poor grounding.

[0111] Optionally, when displaying the diagnostic questions one by one, they can be displayed according to the sorting of the diagnostic questions in the diagnostic thinking chain. For example, when there are sequential constraint conditions between two diagnostic questions, there are also corresponding sequential constraint conditions for these two diagnostic questions in the diagnostic thinking chain. At this time, displaying them one by one according to the sorting of the diagnostic questions in the diagnostic thinking chain is beneficial to improving the accuracy of the subsequent answers obtained.

[0112] A33. Retrieve in the knowledge base of the above first system the answers input for each of the above diagnostic questions and the above suspected cause to obtain a retrieval result. The above retrieval result includes the cause of the nuclear power equipment failure corresponding to the above nuclear power data and the solution corresponding to the cause.

[0113] Specifically, analyze the answer input by the user to determine whether the cause of the failure corresponding to the answer is excluded. For example, assuming that the user's answer to "Evaluate the surface condition of the slip ring, whether it is clean, and whether there are impurities such as oil stains and carbon powder" is that the slip ring surface is clean and there are no oil stains and carbon powder, then "slip ring surface condition" can be excluded from the suspected cause "carbon brush wear, poor contact, uneven pressure, or slip ring surface condition". After excluding the suspected cause, if the remaining causes are "severe carbon brush wear, uneven carbon brush pressure", the corresponding solutions for the remaining causes can be "replace the worn carbon brush, adjust the carbon brush pressure to the specified value".

[0114] In the embodiments of the present application, after retrieving the suspected causes of the nuclear power equipment failures corresponding to the nuclear power data, a diagnostic thinking chain corresponding to the suspected causes is determined, and the user is guided to answer the diagnostic questions included in the diagnostic thinking chain. Since the user's answers help the first system to rule out the suspected causes, more accurate causes can be screened out based on the user's answers. Furthermore, after retrieving based on the more accurate causes screened out, it is beneficial to obtain more accurate retrieval results.

[0115] In some embodiments, to facilitate the user to view the suspected causes of the nuclear power equipment failures corresponding to the nuclear power data, after retrieving the suspected causes of the nuclear power equipment failures corresponding to the nuclear power data as described above, it further includes:

[0116] Displaying the suspected cause on the above-mentioned Q&A interface.

[0117] Specifically, the suspected cause is displayed on the page where the Q&A interface is located, such as in the area of the Q&A interface other than the area where the question input box is located, so as to avoid blocking the question input box.

[0118] In the above description, the Q&A interface includes a question input box and may also include a target area. To further distinguish the nuclear power data retrieved from other systems from the information retrieved by the first system, in some embodiments, the Q&A interface further includes an answer display box. At this time, displaying the suspected cause on the above-mentioned Q&A interface includes:

[0119] Displaying the suspected cause in the above-mentioned answer display box of the above-mentioned Q&A interface.

[0120] Specifically, since the suspected cause is the information searched by the first system in its knowledge base, displaying the suspected cause in the answer display box is beneficial for the user to distinguish the suspected cause from the nuclear power data retrieved from the second system and displayed on the Q&A interface.

[0121] In some embodiments, after the above-mentioned step A4, that is, after displaying the above-mentioned retrieval result on the Q&A interface, it further includes:

[0122] Obtaining the experience feedback on the above-mentioned solution, and selecting whether to update the above-mentioned solution according to the above-mentioned experience feedback.

[0123] Specifically, the first system can provide an experience feedback control in the Q&A interface. The user uploads the experience feedback obtained after implementing the solution by triggering this experience feedback control. Optionally, considering that the user may obtain solutions for different nuclear power equipment failures in the Q&A interface, in order to improve the accuracy of the uploaded experience feedback, the first system displays the unique identifiers corresponding to all the solutions the user has obtained (such as the name of the nuclear power equipment failure or the name of the nuclear power equipment failure and the corresponding time). After the user selects the solution for which they need to upload the experience feedback and uploads the corresponding experience feedback, the first system binds the experience feedback to the solution for subsequent viewing.

[0124] After the first system obtains the experience feedback for the solution, if it determines that the experience feedback is positive feedback, it chooses not to update the corresponding solution, while if it determines that the experience feedback is negative feedback, it chooses to update the corresponding solution. Among them, positive feedback refers to feedback that can solve the failure of nuclear power equipment, and negative feedback refers to feedback that cannot solve the failure of nuclear power equipment.

[0125] It should be noted that if the experience feedback includes both positive feedback and negative feedback, the corresponding part in the solution is updated according to the negative feedback part of the experience feedback. Since negative feedback indicates that the failure of the nuclear power equipment was not eliminated when implementing the solution, while positive feedback indicates that the failure of the nuclear power equipment was eliminated when implementing the solution, therefore, only updating the corresponding part of the solution according to negative feedback is beneficial to improving the accuracy of the update result and is also beneficial to providing a more accurate solution for the same nuclear power equipment failure in the future.

[0126] In some embodiments, after the nuclear power data corresponding to the retrieved result is displayed in the Q&A interface in S15 above, it further includes:

[0127] Save each piece of information displayed on the Q&A interface, and the information includes the input question and the nuclear power data corresponding to the retrieved result.

[0128] Specifically, when only the input question and the retrieved nuclear power data are displayed on the Q&A interface, the saved information is the input question and the retrieved nuclear power data; when the input question, the retrieved nuclear power data, and the retrieval results are displayed on the Q&A interface, the saved information is the input question, the retrieved nuclear power data, and the retrieval results; when the input question, the retrieved nuclear power data, the suspected cause, the diagnostic thinking chain, and the corresponding answers are displayed on the Q&A interface, the saved information is the input question, the retrieved nuclear power data, the suspected cause, the diagnostic thinking chain, and the corresponding answers; when the input question, the retrieved nuclear power data, the suspected cause, the diagnostic thinking chain, the answers corresponding to the diagnostic thinking chain, and the experience feedback are displayed on the Q&A interface, the saved information is the input question, the retrieved nuclear power data, the suspected cause, the diagnostic thinking chain, the answers corresponding to the diagnostic thinking chain, and the experience feedback.

[0129] In the embodiment of the present application, since the Q&A interface can display how to retrieve nuclear power data and how to analyze and solve the faults of the nuclear power equipment corresponding to the nuclear power data, and the process of analysis and solution is more important than the result, therefore, saving each piece of information displayed on the Q&A interface, that is, solidifying knowledge, can provide a reference solution idea for the faults of nuclear power equipment encountered subsequently, thereby contributing to improving the safety of the nuclear power base.

[0130] Optionally, after saving each piece of information displayed on the Q&A interface, the saved information can be edited according to the received editing instruction, and the edited information can be saved to improve the accuracy of the saved information. Of course, the saved information can also be shared with other users to improve the utilization rate of the saved information.

[0131] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution is prior or posterior. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0132] Corresponding to the method for retrieving nuclear power data described in the above embodiments, Figure 2 The structural block diagram of the nuclear power data retrieval device provided by the embodiment of the present application is shown. For the sake of convenience of description, only the parts related to the embodiment of the present application are shown.

[0133] Referring to Figure 2 , the nuclear power data retrieval device 2 is applied to the first system and includes: a Q&A interface display module 21, a semantic recognition module 22, a data retrieval request sending module 23, a retrieval result receiving module 24, and a nuclear power data display module 25. Among them:

[0134] The Q&A interface display module 21 is used to display the Q&A interface, and the above Q&A interface includes a question input box.

[0135] The semantic recognition module 22 is configured to perform semantic recognition on the input question when it detects that the user inputs an input question in the above question input box and the input question includes a question expressed in natural language, so as to obtain a semantic recognition result.

[0136] The data retrieval request sending module 23 is configured to send a data retrieval request to the second system when it recognizes that the semantic recognition result indicates retrieving nuclear power data from the second system, where the second system is a system different from the first system, and the second system supports SQL statement queries, and the data retrieval request is expressed in an SQL statement.

[0137] The retrieval result receiving module 24 is configured to receive the retrieval result sent by the second system based on the data retrieval request.

[0138] The nuclear power data display module 25 is configured to display the nuclear power data corresponding to the retrieval result on the above Q&A interface.

[0139] In the embodiments of the present application, when an input question input by the user is detected in the question input box and the input question includes a question expressed in natural language, semantic recognition is performed on the input question. If the obtained semantic recognition result indicates retrieving nuclear power data from the second system, a data retrieval request expressed in an SQL statement is sent to the second system. If the retrieval result sent by the second system based on the data retrieval request is received, the nuclear power data corresponding to the retrieval result is displayed on the Q&A interface. Since the input question expressed in natural language is converted into a data retrieval request expressed in an SQL statement and sent to the second system, and the second system supports SQL statement queries, and users are more likely to understand natural language, therefore, through the above method, the nuclear power data of the second system can be retrieved more conveniently and quickly, thus greatly improving the acquisition efficiency of nuclear power data.

[0140] In some embodiments, the above retrieval result is the retrieved nuclear power data, and the nuclear power data display module 25 is specifically configured to: display the nuclear power data corresponding to the retrieval result on the above Q&A interface.

[0141] The above retrieval result is the URL address corresponding to the retrieved nuclear power data, and the nuclear power data display module 25 is specifically configured to: set the attributes of the iframe tag added to the above Q&A interface according to the above URL address, so as to retrieve the corresponding nuclear power data from the above URL address according to the attributes of the iframe tag added to the above Q&A interface, and display the nuclear power data retrieved from the above URL address on the above Q&A interface.

[0142] In some embodiments, the above-mentioned Q&A interface further includes a target area, and the target area is used to display the nuclear power data corresponding to the retrieved result by means of blockchain technology. The nuclear power data retrieval device 2 provided in the embodiments of the present application further includes:

[0143] A nuclear power data dragging module, configured to, after the nuclear power data corresponding to the retrieved result is displayed on the Q&A interface, when a dragging instruction for the nuclear power data in the target area is detected, drag the nuclear power data according to the moving direction indicated by the dragging instruction.

[0144] A nuclear power data parsing module, configured to, when it is detected that the nuclear power data is dragged to the question input box, parse the nuclear power data to obtain a parsing result.

[0145] A nuclear power data retrieval module, configured to, when the parsing result indicates to retrieve the nuclear power data, retrieve the nuclear power data in the knowledge base of the first system to obtain a retrieval result.

[0146] A retrieval result display module, configured to display the retrieval result on the Q&A interface.

[0147] In some embodiments, the above-mentioned nuclear power data parsing module includes:

[0148] An input question detection unit, configured to, when it is detected that the nuclear power data is dragged to the question input box, detect whether there is an input question input by the user in the question input box.

[0149] A parsing result determination unit, configured to, when there is the above-mentioned input question input by the user, parse the nuclear power data and the input question to obtain a parsing result.

[0150] In some embodiments, the above-mentioned parsing result further indicates that the nuclear power data is the data corresponding to asking for a solution to a nuclear power equipment failure. When the nuclear power data retrieval module retrieves the nuclear power data in the knowledge base of the first system to obtain a retrieval result, it is further used for:

[0151] Retrieve in the knowledge base of the first system the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause. If the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause are retrieved, then a retrieval result is obtained, and the retrieval result includes the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause.

[0152] In some embodiments, the above parsing result further indicates that the above nuclear power data is the data corresponding to querying the solution to the nuclear power equipment failure. When the above nuclear power data retrieval module retrieves the above nuclear power data in the knowledge base of the above first system and obtains a retrieval result, it is further used for:

[0153] Retrieve in the knowledge base of the above first system the cause of the nuclear power equipment failure corresponding to the above nuclear power data and the solution corresponding to the cause. If a suspected cause of the nuclear power equipment failure corresponding to the above nuclear power data is retrieved, determine the diagnostic thinking chain corresponding to the above suspected cause, and the above diagnostic thinking chain includes at least one preset diagnostic question;

[0154] Display each of the above diagnostic questions in the above diagnostic thinking chain one by one on the above question-and-answer interface to obtain the answers input by the user for each of the above diagnostic questions;

[0155] Retrieve in the knowledge base of the above first system the answers input for each of the above diagnostic questions and the above suspected cause, and obtain a retrieval result, where the above retrieval result includes the cause of the nuclear power equipment failure corresponding to the above nuclear power data and the solution corresponding to the cause.

[0156] In some embodiments, after retrieving the suspected cause of the nuclear power equipment failure corresponding to the above nuclear power data, it further includes:

[0157] Display the above suspected cause on the above question-and-answer interface.

[0158] In some embodiments, the above question-and-answer interface further includes an answer display box. Displaying the above suspected cause on the above question-and-answer interface includes:

[0159] Display the above suspected cause in the above answer display box on the above question-and-answer interface.

[0160] In some embodiments, the nuclear power data retrieval device 2 provided by the embodiments of the present application further includes:

[0161] An experience feedback acquisition module, configured to, after displaying the above retrieval result on the above question-and-answer interface, acquire experience feedback for the above solution, and select whether to update the above solution according to the above experience feedback.

[0162] In some embodiments, the nuclear power data retrieval device 2 provided by the embodiments of the present application further includes:

[0163] An information saving module of the question-and-answer interface, configured to, after displaying the nuclear power data corresponding to the above retrieval result on the above question-and-answer interface, save each piece of information displayed on the above question-and-answer interface, and the above information includes the above input question and the nuclear power data corresponding to the above retrieval result.

[0164] It should be noted that for the information interaction, execution process, etc. between the above-mentioned devices / units, since they are based on the same concept as the method embodiments of the present application, for their specific functions and the technical effects brought about, reference may be specifically made to the method embodiment part, and details will not be elaborated here.

[0165] Figure 3 The following is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 3 shown, the electronic device 3 in this embodiment includes: at least one processor 30 ( Figure 3 only one processor is shown in the figure), a memory 31, and a computer program 32 stored in the memory 31 and executable on the at least one processor 30. When the processor 30 executes the computer program 32, the steps in any of the above method embodiments are implemented.

[0166] The electronic device 3 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The electronic device may include, but is not limited to, a processor 30 and a memory 31. Those skilled in the art can understand that Figure 3 the above is only an example of the electronic device 3 and does not constitute a limitation on the electronic device 3. It may include more or fewer components than shown in the figure, or combine some components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0167] The so-called processor 30 may be a central processing unit (CPU). The processor 30 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0168] In some embodiments, the memory 31 may be an internal storage unit of the electronic device 3, such as a hard disk or memory of the electronic device 3. In other embodiments, the memory 31 may also be an external storage device of the electronic device 3, such as a plug-in hard disk equipped on the electronic device 3, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 31 may also include both the internal storage unit and the external storage device of the electronic device 3. The memory 31 is used to store an operating system, application programs, a BootLoader, data, and other programs, such as program codes of the computer program. The memory 31 may also be used to temporarily store data that has been output or will be output.

[0169] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0170] The embodiment of the present application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, the steps in any of the foregoing method embodiments are implemented.

[0171] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in any of the foregoing method embodiments can be implemented.

[0172] The embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in any of the foregoing method embodiments when executed.

[0173] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above method embodiments of this application, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.

[0174] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0175] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0176] In the embodiments provided in this application, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in an electrical, mechanical or other form.

[0177] The unit described as a separating component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0178] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included within the protection scope of the present application.

Claims

1. A method for retrieving nuclear power data, characterized in that: Applied to the first system, including: Displaying a question-and-answer interface, the question-and-answer interface comprising a question input box; When detecting an input question input by a user in the question input box and the input question includes a question expressed in natural language, performing semantic recognition on the input question to obtain a semantic recognition result; In the case where it is identified that the semantic recognition result indicates that nuclear power data is to be retrieved from a second system, a data retrieval request is sent to the second system, wherein the second system is a system different from the first system, and the second system supports SQL statement query, and the data retrieval request is expressed in an SQL statement; receiving a retrieval result sent by the second system based on the data retrieval request; The nuclear power data corresponding to the retrieved result is displayed on the question and answer interface.

2. The method for retrieving nuclear power data according to claim 1, characterized in that: The retrieved result is retrieved nuclear power data, and displaying the nuclear power data corresponding to the retrieved result on the question and answer interface includes: displaying the nuclear power data corresponding to the retrieved result on the question and answer interface; The retrieved result is a URL address corresponding to the retrieved nuclear power data, and the displaying of the nuclear power data corresponding to the retrieved result on the question-and-answer interface includes: The attributes of the iframe tag added to the question-and-answer interface are set according to the URL address, so as to retrieve corresponding nuclear power data from the URL address according to the attributes of the iframe tag of the question-and-answer interface, and the nuclear power data retrieved from the URL address is displayed on the question-and-answer interface.

3. The method for retrieving nuclear power data according to claim 1, characterized in that: The question-and-answer interface further includes a target area, which is used to display the nuclear power data corresponding to the retrieved result using block technology. After the nuclear power data corresponding to the retrieved result is displayed on the question-and-answer interface, it further includes: In the case of detecting a drag instruction for the nuclear power data in the target area, dragging the nuclear power data according to a moving direction indicated by the drag instruction; When it is detected that the nuclear power data is dragged to the question input box, the nuclear power data is parsed to obtain a parsing result; In the case where the analysis result indicates to search for the nuclear power data, searching for the nuclear power data in the knowledge base of the first system to obtain a search result; The search results are displayed on the question-and-answer interface.

4. The method for retrieving nuclear power data according to claim 3, characterized in that: When it is detected that the nuclear power data is dragged to the question input box, the nuclear power data is parsed to obtain a parsing result, including: In the case of detecting that the nuclear power data is dragged to the question input box, detecting whether the question input box has an input question input by the user; In the case where the input question is input by the user, the nuclear power data and the input question are parsed to obtain a parsing result.

5. The method for retrieving nuclear power data according to claim 3, characterized in that: The analysis result further indicates that the nuclear power data is data corresponding to a solution to a nuclear power equipment failure, and the nuclear power data is searched in the knowledge base of the first system to obtain a search result, including: The cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause are searched in the knowledge base of the first system. If the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause are retrieved, a search result is obtained, and the search result includes the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause.

6. The method for retrieving nuclear power data according to claim 3, characterized in that: The analysis result further indicates that the nuclear power data is data corresponding to a solution to a nuclear power equipment failure, and the nuclear power data is searched in the knowledge base of the first system to obtain a search result, including: Retrieving the cause of the nuclear power equipment failure corresponding to the nuclear power data and the solution corresponding to the cause in the knowledge base of the first system, and if a suspected cause of the nuclear power equipment failure corresponding to the nuclear power data is retrieved, determining a diagnostic thinking chain corresponding to the suspected cause, wherein the diagnostic thinking chain includes at least one preset diagnostic question; Displaying each of the diagnostic questions in the diagnostic thinking chain one by one on the question-answering interface to obtain answers input by the user for each of the diagnostic questions; The answers input for each of the diagnostic questions and the suspected causes are searched in the knowledge base of the first system to obtain search results, which include the causes of the nuclear power equipment failures corresponding to the nuclear power data and the solutions corresponding to the causes.

7. The method for retrieving nuclear power data according to claim 6, characterized in that: After the suspected cause of the nuclear power equipment failure corresponding to the nuclear power data is retrieved, the method further includes: The suspected cause is displayed on the question and answer interface.

8. The method for retrieving nuclear power data according to claim 7, characterized in that: The question-and-answer interface further includes an answer display box, and the suspected cause is displayed on the question-and-answer interface, including: The suspected reason is displayed in the answer display box of the question and answer interface.

9. The method for retrieving nuclear power data according to claim 6, characterized in that: After the search result is displayed on the question-and-answer interface, the method further includes: Acquire experience feedback for the solution, and choose whether to update the solution according to the experience feedback.

10. The method for retrieving nuclear power data according to any one of claims 1 to 9, characterized in that: After the nuclear power data corresponding to the retrieved result is displayed on the question-and-answer interface, the method further includes: The various information displayed on the question-and-answer interface is saved, wherein the information includes the input question and the nuclear power data corresponding to the retrieved result.

11. A device for retrieving nuclear power data, characterized in that: Applied to the first system, including: A question-and-answer interface display module, used to display a question-and-answer interface, wherein the question-and-answer interface includes a question input box; A semantic recognition module, configured to, when detecting an input question input by a user in the question input box and the input question includes a question expressed in natural language, perform semantic recognition on the input question to obtain a semantic recognition result; a data retrieval request sending module, configured to send a data retrieval request to a second system when it is identified that the semantic recognition result indicates that nuclear power data is to be retrieved from the second system, wherein the second system is a system different from the first system, and the second system supports SQL statement query, and the data retrieval request is expressed in an SQL statement; A retrieval result receiving module, used for receiving the retrieval result sent by the second system based on the data retrieval request; The nuclear power data display module is used to display the nuclear power data corresponding to the retrieved result on the question and answer interface.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 10 is implemented.

13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.

14. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables the method according to any one of claims 1 to 10 to be performed.