Closed-loop construction and self-evolution method and system of medical knowledge base

By employing structured parsing, intent recognition, and user feedback mechanisms to the medical knowledge base, the issues of reliability and delayed updates were resolved, enabling the knowledge base to self-evolve and continuously optimize.

CN123140179APending Publication Date: 2026-11-20WUHAN UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611340240.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing medical knowledge bases suffer from problems such as uncontrollable knowledge sources, chaotic structure, lack of quality feedback mechanisms, and inability to self-evolve in the field maintenance of medical devices, resulting in inaccurate search results and delayed updates.

Method used

By acquiring knowledge data related to medical devices, structured parsing is performed to generate knowledge entries. Responses are generated by combining intent recognition and semantic vector retrieval. The quality of knowledge entries is adjusted based on confidence scores and user feedback. If no match is found, a large language model is called to generate a knowledge draft for review and storage.

Benefits of technology

It ensures the reliability of the knowledge base's source and the standardization of its structure, improves the accuracy and usability of the knowledge base, and enables continuous optimization and automated updates of knowledge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140179A_ABST
    Figure CN123140179A_ABST
Patent Text Reader

Abstract

The application relates to a closed-loop construction and self-evolution method and system of a medical knowledge base. The method comprises the following steps: acquiring knowledge data related to medical equipment, structurally analyzing the knowledge data according to a preset template, generating knowledge entries and storing the knowledge entries in a knowledge base; receiving a fault query question, performing intention recognition, performing structured retrieval and semantic vector retrieval on the knowledge base, generating an answer based on the retrieval result and outputting a confidence score; when the confidence score is higher than a preset threshold, the answer is displayed and user feedback is received, and the quality score of the knowledge entry is adjusted accordingly; when the confidence score is lower than the preset threshold, the query question is identified as a knowledge gap, a large language model is called to generate a knowledge draft and the knowledge draft is pushed to an audit end; after the audit is passed, the knowledge draft is structurally analyzed according to the preset template and stored in the knowledge base. By using the method, a medical knowledge base with reliable knowledge source, standard structure, sustainable optimization and self-evolution capability can be constructed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical knowledge base technology, and in particular to a closed-loop construction and self-evolution method and system for a medical knowledge base. Background Technology

[0002] For large-scale question-answering systems, mainstream knowledge base construction methods mainly include real-time retrieval schemes based on public internet search engines and static vectorization schemes based on internal document repositories. The former expands its knowledge base by crawling online information in real time, enabling it to handle newly emerging queries; the latter uploads internal documents in batches, performs vectorization processing, and retrieves relevant content through semantic similarity matching.

[0003] However, the aforementioned solutions have significant limitations in the medical field, particularly in the on-site maintenance of Class III high-risk medical devices. Solutions based on public internet searches suffer from uncontrollable knowledge sources, and the quality of online information varies greatly, easily leading to erroneous guidance and directly threatening equipment operational safety. While static document solutions ensure reliable sources, they lack mandatory standards for knowledge input structures. Inconsistent granularity and inconsistent formatting among different personnel result in search results that are difficult to directly use to guide on-site repairs. Furthermore, these solutions generally lack effective quality feedback mechanisms, preventing continuous verification and iterative optimization of existing knowledge. When faced with new faults, the system cannot proactively utilize Q&A data from frontline engineers to expand new knowledge, resulting in a knowledge base update that lags significantly behind on-site needs.

[0004] Therefore, how to construct a medical knowledge base with reliable knowledge sources, standardized knowledge structure, continuous optimization capabilities, and self-evolutionary ability has become an urgent technical problem to be solved. Summary of the Invention

[0005] Therefore, in order to solve the technical problems of uncontrollable knowledge sources, chaotic knowledge structure, lack of quality feedback mechanism, and inability to self-evolve and expand in existing medical knowledge bases, it is necessary to provide a closed-loop construction and self-evolution method and system for medical knowledge bases.

[0006] To achieve the above objectives, this application provides a closed-loop construction and self-evolution method for a medical knowledge base, comprising: acquiring knowledge data related to medical devices; performing structured parsing of the knowledge data according to a preset template to generate knowledge entries and storing them in the knowledge base; receiving medical device fault query questions; performing intent recognition on the query questions; performing structured retrieval and semantic vector retrieval on the knowledge base based on the recognition results to obtain retrieval results; generating answers based on the retrieval results and outputting the confidence score of the answers; when the confidence score is higher than a preset threshold, displaying the answers and receiving user feedback signals on the answers; adjusting the quality score of the knowledge entries on which the answers are based based on the feedback signals; when the confidence score is lower than a preset threshold, identifying the query questions as knowledge gaps, calling a large language model to generate a knowledge draft, and pushing the knowledge draft to the review end; responding to the review approval instruction, performing structured parsing of the knowledge draft according to a preset template to generate new knowledge entries and storing them in the knowledge base.

[0007] This application also provides a closed-loop construction and self-evolution system for a medical knowledge base, comprising: a construction module for acquiring knowledge data related to medical devices, performing structured parsing of the knowledge data according to a preset template, generating structured knowledge entries, and storing them in the knowledge base; a retrieval module for receiving fault query questions related to medical devices, performing intent recognition on the query questions, performing structured retrieval and semantic vector retrieval on the knowledge base based on the recognition results, and obtaining retrieval results; a generation module for generating answers based on the retrieval results and outputting the confidence score of the answers; a display and feedback module for displaying the answers when the confidence score is higher than a preset threshold, receiving user feedback signals on the answers, and adjusting the quality score of the knowledge entries on which the generated answers are based based on the feedback signals; and an expansion module for identifying the query questions as knowledge gaps when the confidence score is lower than a preset threshold, calling a large language model to generate a knowledge draft, and pushing the knowledge draft to the review end; and responding to the review approval instruction, performing structured parsing of the knowledge draft according to a preset template, generating new knowledge entries, and storing them in the knowledge base.

[0008] Compared with existing technologies, this application has the following beneficial effects: Through an access mechanism, only certified internal technical materials are allowed to be added to the database. Combined with mandatory standardized knowledge templates, this ensures the reliability of the source and the standardization of the structure of the knowledge in the database, fundamentally improving the accuracy and usability of the knowledge base. By introducing a multi-round quality assessment mechanism with AI assistance and human feedback, frontline engineers are allowed to evaluate and correct the question-and-answer results in real time, and dynamically adjust the quality scores of knowledge items accordingly, effectively achieving continuous optimization and quality control of the knowledge already in the database. By constructing a two-way knowledge closed loop driven by on-site problems, on-site inquiries that are not effectively covered are automatically captured, initially refined by large models, and reviewed and added to the database by experts. This achieves an automated flow from problem discovery to knowledge accumulation, significantly improving the update efficiency and coverage depth of the knowledge base. Attached Figure Description

[0009] Figure 1 This is a diagram illustrating the application environment of a closed-loop construction and self-evolution method for a medical knowledge base in one embodiment. Figure 2 This is a flowchart illustrating the closed-loop construction and self-evolution method of a medical knowledge base in one embodiment; Figure 3 This is a flowchart illustrating a medical knowledge base retrieval method in one embodiment; Figure 4 This is a structural block diagram of a closed-loop construction and self-evolution system for a medical knowledge base in one embodiment. Detailed Implementation

[0010] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0011] The closed-loop construction and self-evolution method for the medical knowledge base provided in this application can be applied to, for example... Figure 1 In the application environment shown, computer device 101 can be a terminal or a server; the terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, such as smartwatches, smart bracelets, and head-mounted devices. The server can be implemented using a standalone server or a server cluster composed of multiple servers.

[0012] In one embodiment, such as Figure 2 As shown, a closed-loop construction and self-evolution method for a medical knowledge base is provided, which is then applied to... Figure 1 Taking a computer device as an example, the explanation includes the following steps: Step S201: Obtain knowledge data related to medical equipment, perform structured parsing of the knowledge data according to a preset template, generate knowledge entries, and store them in the knowledge base.

[0013] Medical device-related knowledge data refers to various technical information and records related to the fault diagnosis, repair, and maintenance of medical devices, including but not limited to at least one of the following: fault information, manual information, risk regulations, regulatory registrations, problem knowledge bases, and medical device repair work orders. This knowledge data is characterized by its diverse sources and formats, including structured, semi-structured, and unstructured data.

[0014] A preset template is a predefined, formatted template with a fixed field structure, used to specify the storage format of knowledge data in a knowledge base. A preset template defines which fields a knowledge entry should contain and the order of those fields. For example, a preset template can be defined as:

[0015] Structured parsing refers to the process by which a system identifies individual information fragments within knowledge data and maps them to corresponding field positions in a preset template, thereby transforming raw unstructured or semi-structured data into structured data conforming to the template format. For example, for a work order record "SR-2000 reported ERR-1024, the joint encoder was replaced and it's fixed," the system, through structured parsing, maps it as: Product Information field = "SR-2000", Problem Error Code field = "ERR-1024", and Handling Measures field = "Replaced joint encoder".

[0016] A knowledge entry is a single knowledge record that conforms to a preset template format and is generated after structured parsing. Knowledge entries are the basic unit of storage and management in a knowledge base, and each knowledge entry contains complete fault handling information.

[0017] A knowledge base is a database system used to store and manage knowledge entries. A knowledge base supports both structured retrieval based on text content and vector retrieval based on semantic similarity.

[0018] Step S202: Receive a fault query question for medical equipment, perform intent recognition on the query question, and perform structured retrieval and semantic vector retrieval on the knowledge base based on the recognition results to obtain the retrieval results.

[0019] Fault query requests for medical equipment refer to queries submitted to the system by users when encountering specific faults during on-site maintenance of medical equipment. Examples include "SR-2000 error ERR-1024, robotic arm end effector tremors" and "decreased navigation accuracy of neurosurgical robot." Fault query requests typically include information such as the equipment model, error code, and fault symptoms.

[0020] Intent identification refers to analyzing and understanding query questions to identify the user's core needs and query intent. Intent identification includes two levels: first, identifying what the user wants to do, such as querying the cause of a fault, querying a solution, or querying technical parameters; second, identifying key entities involved in the query question, such as equipment model, error code, and fault symptoms. For example, for the query "SR-2000 error ERR-1024, robotic arm end effector shaking," the intent identification result is: User intent = querying fault solutions, key entities = {equipment model: SR-2000, error code: ERR-1024, fault symptoms: robotic arm end effector shaking}.

[0021] Structured retrieval is based on exact matching of target fields in knowledge entries. The system performs exact matching between the query elements obtained from intent recognition (such as device model, error code, etc.) and the corresponding fields of knowledge entries in the knowledge base. For example, the system retrieves knowledge entries in the knowledge base that contain "product model = SR-2000" and "error code = ERR-1024".

[0022] Semantic vector retrieval is a fuzzy retrieval based on semantic similarity. The system encodes the query question and knowledge entries into high-dimensional vectors, and recalls semantically related but potentially not perfectly matched knowledge entries by calculating the cosine similarity between the vectors. Semantic vector retrieval can handle situations where the query language and the knowledge entry language are not completely consistent. For example, if a user asks "robotic arm end effector vibration" while the knowledge entry is described as "high-frequency vibration of the robotic arm end effector," semantic vector retrieval can still match relevant knowledge entries.

[0023] The search results are a collection of knowledge entries obtained through both structured retrieval and semantic vector retrieval. The system then merges, deduplicates, and sorts these two search results to arrive at the final search outcome.

[0024] Step S203: Generate an answer based on the search results and output the confidence score of the answer.

[0025] Responding to search results involves inputting relevant knowledge fragments retrieved as context into a large language model, which then generates an answer to the user's query. The large language model is a deep learning model based on the Transformer architecture, pre-trained on large-scale medical text data, possessing text understanding and generation capabilities in the medical field. The generated answers typically include fault cause analysis, troubleshooting steps, solutions, and safety warnings, presented in a clear format and easy-to-understand language, facilitating direct reference and implementation by on-site engineers.

[0026] Confidence score is a quantitative evaluation metric for the accuracy and reliability of the generated answer. It is typically a numerical value, such as a floating-point number between 0 and 1; a higher value indicates greater confidence in the answer. Confidence score can be calculated based on multiple factors, including: the semantic similarity between the search results and the query question, the quality score of the knowledge entries in the search results, and the probability distribution of the answer generated by the large language model.

[0027] Step S204: When the confidence score is higher than the preset threshold, display the answer and receive user feedback on the answer. Adjust the quality score of the knowledge item on which the answer is based based on the feedback signal. When the confidence score is lower than the preset threshold, identify the query question as a knowledge gap, call the large language model to generate a knowledge draft, and push the knowledge draft to the review end.

[0028] The preset threshold is a pre-defined boundary value used to distinguish between hits and misses. The preset threshold can be adjusted according to actual application scenarios and needs, for example, set to 0.7. When the confidence score is higher than 0.7, the system considers the answer sufficiently reliable; when the confidence score is lower than or equal to 0.7, the system considers the answer insufficiently reliable.

[0029] If the confidence score is higher than a preset threshold, the system determines it as a hit, meaning the currently retrieved and generated results reliably answer the user's question. The system then displays the generated answer to the user for reference and action. Simultaneously, the system provides a feedback interface to receive user feedback signals. Feedback signals include, but are not limited to, at least one of positive, negative, and error correction signals. For example, a positive feedback signal is generated if the user is satisfied with the answer and clicks the "like" button; a negative feedback signal is generated if the user is dissatisfied with the answer and clicks the "dislike" button; and an error correction signal is generated if the user points out specific errors in the answer and submits correction text.

[0030] Adjusting the quality score of the knowledge entries used to generate answers refers to the system dynamically adjusting the quality score of specific knowledge entries in the knowledge base based on user feedback signals. The knowledge entries used to generate answers are those recalled during the retrieval process and used to generate the answer. When users provide positive feedback, the system considers these knowledge entries to be accurate and useful, thus increasing their quality score; when users provide negative feedback or corrections, the system considers these knowledge entries to be potentially erroneous or incomplete, thus decreasing their quality score.

[0031] The specific rules for adjusting the quality score can be: increase it by 0.1 points for each positive feedback and decrease it by 0.2 points for each negative feedback. Changes in the quality score directly affect the ranking weight of knowledge items in subsequent searches. Knowledge items with higher quality scores are more likely to be displayed first, thereby achieving continuous optimization of knowledge quality.

[0032] If the confidence score is lower than a preset threshold, the system determines it as a miss, meaning that the current knowledge base lacks the knowledge to reliably answer the user's question. The system identifies this query as a knowledge gap, that is, a knowledge gap not yet covered in the knowledge base.

[0033] A knowledge draft is a preliminary solution proposed by the system to address knowledge gaps. The system invokes a large language model, leveraging its own knowledge reserves and reasoning capabilities to generate a knowledge draft. The content of a knowledge draft typically includes a problem overview, problem description, root cause analysis, and solutions.

[0034] Pushing to the review panel means sending the draft knowledge document to reviewers with relevant professional backgrounds (such as senior maintenance engineers or technical experts) for review. Reviewers view the draft knowledge document through the review panel interface, assess its accuracy and feasibility, and make modifications and improvements as necessary. Once approved, the draft knowledge document will undergo structured parsing according to a preset template, generating new knowledge entries, which will then be stored in the knowledge base, completing the knowledge expansion.

[0035] It should be noted that when the system calls the large language model to generate a knowledge draft, it can also simultaneously output a confidence score for the knowledge draft. This confidence score indicates the reliability and reference value of the draft, providing a priority reference for expert review. A knowledge draft with a high confidence score indicates that the large language model has a high degree of confidence in its generated solution, and experts can prioritize its review; a knowledge draft with a low confidence score requires experts to devote more effort to careful judgment.

[0036] This embodiment constructs a closed-loop construction and self-evolution method for a medical knowledge base through the four steps described above. By using a preset template to perform structured parsing of knowledge data, unstructured knowledge data is transformed into structured knowledge entries in a unified format. This solves the problems of chaotic knowledge formats and inconsistent granularity in existing technologies, ensuring that the knowledge entries in the knowledge base have unified standardization and operability. Through a hybrid retrieval strategy combining structured retrieval and semantic vector retrieval, both precise matching and semantic understanding are achieved, improving the recall and accuracy of knowledge retrieval and enabling more comprehensive coverage of user query needs. A confidence score distinguishes between hit and miss scenarios, and different processing strategies are adopted for each: when a hit occurs, the answer is displayed and feedback is collected to optimize knowledge quality; when a miss occurs, knowledge expansion is initiated to fill knowledge gaps. This hierarchical processing mechanism allows the system to continuously obtain user feedback signals during use and dynamically adjust the quality score of knowledge entries accordingly, achieving continuous optimization of knowledge quality. By automatically triggering the knowledge expansion process when a query is not found, the query question is identified as a knowledge gap. A large language model is then called to generate a knowledge draft, which is then reviewed and added to the database. This achieves automated expansion and self-evolution of the knowledge base, enabling it to continuously improve and enrich itself over time. This solves the problems of lagging knowledge base updates and inability to automatically expand in existing technologies.

[0037] This embodiment further defines the specific implementation method for acquiring knowledge data related to medical devices. Acquiring knowledge data includes: acquiring a first type of knowledge data and a second type of knowledge data; the source type of the first type of knowledge data belongs to a preset source type set, which includes at least one of fault information, manual information, risk regulations, regulatory registration, and problem knowledge base; the source type of the second type of knowledge data belongs to a medical device repair work order, the work order status of the medical device repair work order is closed loop, and the corresponding work order area path is an authentication area path.

[0038] Both Category I and Category II knowledge data belong to medical device-related knowledge data, but their source types and access conditions are different.

[0039] The preset source type set is a predefined set of certified and trusted source types defined by the system. This set serves as the basis for the system's admission verification of Category I knowledge data. The system enumerates and verifies the source types of Category I knowledge data during the knowledge data upload and distribution stages, checking whether the source type of the Category I knowledge data belongs to one of the types in this set. If the source type of Category I knowledge data does not belong to this set, the system refuses to include this type of knowledge data in the database as Category I knowledge data. It should be noted that knowledge data can also be included in the database through Category II knowledge data (i.e., medical equipment repair work orders). The admission criteria for Category II knowledge data are the work order status and work order area path, and do not depend on the preset source type set.

[0040] For example, assuming the preset source type set is {fault information, manual information, risk regulations, regulatory registration, problem knowledge base}, then: a neurosurgical robot repair record document from the "fault information" source passes the source type verification and is allowed to enter the subsequent processing flow. An orthopedic robot operation guide from the "public network download" source, whose source type is not in the preset set, cannot be entered into the database as first-category knowledge data.

[0041] Fault information refers to the collection of information recorded during equipment operation and maintenance, including fault events and their handling results. Fault information typically originates from the company's fault management system. Each fault entry includes detailed information such as equipment model, fault code, fault phenomenon, handling process, and handling result. A key characteristic of fault information is that it originates from actual maintenance practice, ensuring its authenticity and reliability, and that the solutions have been validated through practical experience. For example, a fault message for a laparoscopic surgical robot might be recorded as: "Equipment Model: SR-2000, Fault Code: ERR-1024, Fault Phenomenon: High-frequency vibration occurs at the end effector of the robotic arm during surgery, affecting operational accuracy; Handling Measures: Replace the joint encoder and re-execute the calibration procedure." Manual information refers to official technical documents provided by the equipment manufacturer. Manual information includes, but is not limited to, user manuals, maintenance manuals, installation guides, technical reference manuals, wiring diagrams, and schematic diagrams. Manual information is compiled by the equipment manufacturer's technical documentation team and undergoes a rigorous editing and review process, ensuring its authority and accuracy. For example, the maintenance manual for a neurosurgical robot includes a system architecture diagram, functional descriptions of each module, a fault code table, and standard maintenance procedures.

[0042] Risk regulations refer to laws, standards, and specifications related to the safe use and maintenance of medical devices. Risk regulations include, but are not limited to, the Regulations on the Supervision and Administration of Medical Devices, the Measures for the Monitoring and Re-evaluation of Adverse Events Related to Medical Devices, Equipment Safe Operation Procedures, Radiation Protection Regulations, and High-Voltage Electrical Safety Standards. Risk regulation knowledge data is used to ensure that maintenance operations comply with regulatory requirements, protecting the safety of operators and the rights of patients.

[0043] Regulatory registration refers to information related to the registration and certification of medical devices, including the device's registration certificate number, registration and certification standards, certification validity period, and technical requirements for registered products. Regulatory registration knowledge data is used to ensure that parts and software versions used during maintenance meet the technical requirements at the time of product registration, preventing the device's registration status from becoming invalid due to the use of uncertified parts or unauthorized software versions.

[0044] A problem knowledge base is a database of known problems maintained internally by an enterprise. It is typically maintained jointly by the technical support team, R&D team, or quality management team, recording known problems such as equipment design defects, manufacturing defects, software defects, and typical failure modes, along with their solutions. Each record in the problem knowledge base usually includes information such as problem number, problem title, problem description, affected equipment model, affected software version, root cause analysis, solution, temporary workaround, and permanent solution. For example, the problem knowledge base might record a known problem for orthopedic robots: "Problem Number: KB-2023-008, Problem Description: The orthopedic robot's navigation and positioning system exhibits a positioning deviation exceeding 1mm after 4 hours of continuous operation. Root Cause Analysis: Insufficient heat dissipation of the navigation control chip causes calculation drift. Solution: Replace the heat dissipation module or upgrade the firmware version to v2.3.1 or higher." When users upload Category 1 knowledge data to the system, they need to select or fill in the source type of the data. The system compares this source type with a preset set of source types. Data whose source type belongs to the preset set of source types is identified as Category 1 knowledge data and enters the subsequent processing flow; data whose source type does not belong to the preset set of source types may belong to Category 2 knowledge data (medical equipment repair work orders) or other data types, and the system will execute the corresponding access verification process according to its actual source.

[0045] A medical equipment maintenance work order is a record of repair work created by frontline service engineers in the work order management system when handling on-site medical equipment malfunctions. Medical equipment maintenance work orders transform the real-world repair experience of frontline engineers into persistent knowledge in a knowledge base. A medical equipment maintenance work order typically includes the following information: basic equipment information (equipment name, model, serial number), fault description (user-reported fault symptoms, error code information), on-site handling record (troubleshooting steps, test results, replacement parts record), handling result (whether the fault is resolved, solution description), repair time, and spare parts used.

[0046] A work order management system can be a work order module within an enterprise resource planning system, or a dedicated work order management tool such as Azure DevOps. It provides functions for creating, updating, querying, and analyzing work orders, and offers open application programming interfaces (APIs) for integration with external systems.

[0047] The work order status is a field in a work order management system used to identify the current processing stage of a work order. The work order processing flow typically includes multiple stages: Create (engineer creates the work order), Processing (engineer is handling the fault on-site), Pending Verification (engineer submits the processing result, awaiting confirmation from the customer or superior), Closed (fault handling completed and result confirmed), and Closed (work order archived). While the status names may vary slightly between different work order management systems, the core processing stage divisions are similar.

[0048] "Closed Loop" is a work order status that indicates the fault corresponding to the work order has been handled, and the handling result has been confirmed by the customer or superior, meaning the fault has been successfully resolved. A work order status of "Closed Loop" means that the handling process and result recorded in the work order are a complete and reliable solution that has been verified in practice.

[0049] For example, an engineer receives a repair task: "Neurosurgical robot navigation and positioning system reports error ERR-2048." During the process, the engineer creates a work order, recording the fault symptoms, troubleshooting process, and final solution (replacing the navigation and positioning module and performing accuracy calibration). Once the fault is resolved and confirmed by the hospital, the engineer updates the work order status to "closed loop." At this point, the solution in the work order is validated and can be added to the knowledge base.

[0050] It should be noted that work orders that are in the status of "New", "Processing" or "Unfinished" are not included in the knowledge acquisition scope because the fault has not been resolved or the solution has not been verified. Their data may contain errors or incomplete information.

[0051] The work order region path is a field in the work order management system used to identify the organizational level or geographical region to which a work order belongs. The work order region path reflects the originating organization and business scope of the work order, such as "China / East China Region / Shanghai Service Station" or "North America / West Coast Region / Los Angeles Service Station". The format of the work order region path is usually related to the organizational structure settings of the work order management system.

[0052] The authentication zone path is a pre-defined set of zone paths that allow data sources. Only work order data whose zone path belongs to the authentication zone path is allowed to enter the knowledge base processing flow. By restricting the zone path, the system ensures the controllability and homogeneity of knowledge data sources, and prevents work order data from non-authentication zones, test environments, and demonstration environments from polluting the knowledge base.

[0053] The principles for setting certification region paths include: only allowing work order data from regions where official service stations and official service teams are located; excluding work order data from testing environments, training environments, and simulation environments; and dynamically adjusting the certification region path list according to business development needs.

[0054] For example, if the system sets the authentication region path to "China / East China / Shanghai Service Station", "China / East China / Hangzhou Service Station", or "China / South China / Guangzhou Service Station", then only work order data that matches the above region path will be retrieved.

[0055] When the system acquires the second type of knowledge data, it executes the following process: Step 1, Connect to the work order management system: The system connects to the work order management system through an application programming interface (API) to obtain work order data. Step 2, Configure query conditions: The system configures query conditions, for example, configuring the Item Query Language (WIQL) query conditions in Azure DevOps, forcibly setting the query condition to "status = closed loop and region path ∈ certified region path list". Step 3, Data retrieval: The system retrieves work order data that meets the configured query conditions from the work order management system and stores it in the system's temporary storage. Step 4, Status marking: The retrieved work order data in the temporary storage is marked as pending cleaning, awaiting subsequent cleaning and parsing processing.

[0056] This embodiment categorizes knowledge data into two types, each with different access criteria. The first type of knowledge data undergoes source verification using a preset set of source types, allowing only knowledge data from certified sources such as fault information, manual information, risk regulations, regulatory registrations, and problem knowledge bases to be included in the knowledge base. This ensures the reliability and authority of the core knowledge sources from the entry point. The access criterion of a closed-loop work order status ensures that the second type of knowledge data included in the knowledge base is based on practically verified technical experience that has resolved faults, preventing the introduction of incomplete or unconfirmed work order data and guaranteeing the authenticity and validity of the knowledge. The access criterion of a certified service area path for work orders limits the source of knowledge data to the formal service area, preventing data from testing environments, training environments, and informal channels from contaminating the knowledge base and ensuring the controllability and homogeneity of data sources. This classification and acquisition mechanism for the two types of knowledge data incorporates authoritative technical materials as the foundation of the knowledge base while also supplementing it with on-site practical experience, making the content of the knowledge base both authoritative and stable, as well as authentic and timely.

[0057] This embodiment further defines the preprocessing method for the second type of knowledge data. Before performing structured parsing of the knowledge data according to the preset template, it also includes: cleaning the second type of knowledge data and extracting at least one of the following: problem overview, problem description, root cause analysis, solution, verification results, risk assessment, and supplementary information.

[0058] The second type of knowledge data (medical equipment repair work orders) originates from the on-site repair records of front-line engineers. It is characterized by colloquial language, inconsistent formats, scattered information distribution, and varying quality. Therefore, before performing structured parsing of this second type of knowledge data according to a pre-set template, it needs to be cleaned to extract structured key information.

[0059] Therefore, directly applying a preset template to the raw work order data for structured parsing often yields unsatisfactory results. It is necessary to first perform a cleaning process to transform the raw work orders into a structured intermediate format, and then perform template-based parsing based on the cleaning results.

[0060] The system cleans the second type of knowledge data (medical equipment repair work orders) and extracts at least one of the following: problem overview, problem description, root cause analysis, solution, verification results, risk assessment, and supplementary information: A problem summary is a concise overview of the fault recorded in a work order, describing the core information of the fault in simple language. A problem summary typically includes elements such as the equipment model, fault code, and key fault symptoms, facilitating a quick understanding of the overall problem. For example, the original work order might contain a lengthy description: "Today I went to XX hospital to repair the laparoscopic surgery robot. The doctor reported that the robotic arm kept shaking during surgery, and the control panel reported an ERR-1024 error. The image clearly showed significant end-effector shaking." The extracted problem summary after cleaning would be: "SR-2000 laparoscopic surgery robot reports ERR-1024 error; robotic arm end-effector shaking." The problem description is a detailed explanation of the malfunction, including the scenario in which the malfunction occurs, its frequency, specific manifestations, and detailed user feedback. The problem description should be as detailed and accurate as possible to provide sufficient contextual information for subsequent root cause analysis and solutions. For example, the problem description extracted from the original work order might be: "During laparoscopic surgery simulation training, the end effector of robotic arm #3 exhibits high-frequency vibration, with a frequency of approximately 5Hz and an amplitude of approximately 2-3mm. This vibration is particularly noticeable when the robotic arm moves rapidly; it lessens but does not completely disappear at low speeds. The equipment has been running continuously for approximately 6 hours without any previous similar issues." Root cause analysis is the analysis and judgment of the fundamental cause of a failure, explaining the root cause of the malfunction. Root cause analysis should be based on the engineer's on-site troubleshooting results, including information such as inspection data, test results, and component status. For example, the root cause analysis extracted from the original work order might be: "Upon investigation, the joint encoder feedback signal of robotic arm #3 was found to be abnormal. Oscilloscope testing revealed glitches in the encoder's A and B phase signals, indicating a decrease in signal quality. Further inspection revealed slight wear on the encoder connection cable at the robotic arm joint, causing unstable signal transmission." A solution is the specific operational steps and measures taken by engineers to resolve a fault. The solution should be detailed and actionable, including the replacement parts, adjusted parameter values, and calibration procedures. For example, a solution extracted from the original work order might be: "Replace the No. 3 robotic arm joint encoder (spare part number: ENC-2000-03), re-plug and secure the connecting cable, and replace the cable protective sleeve. Then perform zero-point calibration and full-stroke accuracy testing of the robotic arm to confirm that the vibration has disappeared and the positioning accuracy is within 0.1mm." Verification results indicate the status of the solution implementation, demonstrating whether the fault has been resolved and the equipment has returned to normal operation. Verification results may include test data, operational results, and customer confirmation. Verification results may not be present in the work order and can be omitted. For example, a verification result extracted from the original work order might be: "After replacing the encoder and completing calibration, the surgical simulation program was run continuously for 1 hour. No vibration was observed at the end of robotic arm #3, and the positioning accuracy test passed. On-site acceptance and confirmation by hospital engineers." A risk assessment evaluates the potential risks or side effects of a solution, including operational safety risks, impacts on other components, and effects on equipment performance. Risk assessments may not be present in the work order and can be omitted. For example, a risk assessment extracted from the original work order might read: "Replacing the joint encoder requires disassembling the robotic arm housing, involving adjustments to precision mechanical components. Improper operation may affect the force feedback accuracy of the robotic arm. It is recommended that this be performed by a trained and authorized engineer, and a complete calibration process must be completed after replacement." Supplementary information refers to other information related to troubleshooting but not covered by the aforementioned categories, such as repair time, special tools used, and precautions. Supplementary information may or may not be present in the work order; if present, it is retained; otherwise, it is omitted. For example, supplementary information extracted from the original work order might read: "This repair took 3 hours, including approximately 1.5 hours for encoder disassembly and assembly, and approximately 1.5 hours for calibration and testing. A T10 screwdriver, oscilloscope, and dedicated encoder calibration tools are required." The cleaning process can be implemented using artificial intelligence technology. Specifically, a large language model can be called to process the work order text, automatically identifying and extracting the above-mentioned information. The system inputs the original work order text into the large language model and provides clear extraction instructions, such as: "Please extract the following information from the work order: Problem Overview (a one-sentence summary of the problem), Problem Description (a detailed description of the fault phenomenon), Root Cause Analysis (the cause of the fault), Solution (the measures taken), Verification Results (verification results after resolution; leave blank if none), Risk Assessment (existing risks; leave blank if none), Supplementary Information (other relevant information; leave blank if none)." The large language model analyzes the work order text according to the instructions and outputs structured extraction results. If some information is missing in the work order, the model outputs "none" or a similar mark for the corresponding item, and the system determines whether the information needs to be omitted.

[0061] After cleaning, the system obtains structured data containing at least one piece of information, such as a problem overview, problem description, root cause analysis, and solutions. This data will serve as input for subsequent structured parsing according to a preset template.

[0062] It's important to note that the seven pieces of information extracted in the cleaning step (problem overview, problem description, root cause analysis, solution, verification results, risk assessment, and supplementary information) have different structures from the fields in the preset template (product information field, problem title field, problem error code field, problem description field, and handling measure field). The purpose of the cleaning step is to extract key information from the original work order, while the purpose of the preset template is to organize and store this information according to the standard format of the knowledge base. The information extracted in the cleaning step will serve as the data source for parsing the preset template. For example, the "problem overview" obtained from the cleaning step can be mapped to the "problem title field" in the preset template, and the "solution" obtained from the cleaning step can be mapped to the "handling measure field" in the preset template.

[0063] This embodiment cleanses the second type of knowledge data, extracting at least one of the following: problem overview, problem description, root cause analysis, solution, verification results, risk assessment, and supplementary information. This transforms unstructured, colloquial, and inconsistently formatted raw work order data into structured, clearly defined intermediate data, providing high-quality input data for subsequent structured parsing according to a preset template. By automatically extracting key information, reliance on manual processing and annotation is reduced, improving the efficiency and automation of work order data processing. The cleaning process removes irrelevant information and noisy data from the work orders, retaining only valuable key information for the knowledge base, thus improving the data quality and information density of the knowledge base. The seven pieces of information extracted after cleaning cover the complete chain of fault handling, making the knowledge content more complete and practical.

[0064] This embodiment further defines the quality assessment process after the cleaning operation is completed. After cleaning the second type of knowledge data, the process also includes: assessing whether the cleaning result meets the preset admission criteria. The preset admission criteria include at least one of the following: whether the problem description is specific, whether the root cause has substantial content, whether the corrective measures are specific, and whether it is a non-repeating or non-terminating problem. If the criteria are met, the step of performing structured parsing of the second type of knowledge data according to the preset template is executed.

[0065] The quality of the cleaning results may not always meet the inclusion criteria. Some work orders may be unsuitable for inclusion in the knowledge base due to incomplete information, vague content, or repetitive issues. Therefore, after cleaning and before structured parsing, the cleaning results need to be quality-assessed. Only cleaning results that meet the preset admission criteria are allowed to enter the subsequent structured parsing process.

[0066] The preset admission criteria are a series of evaluation standards pre-set by the system to determine whether the cleaned work order data is worth including in the knowledge base. Only cleaned results that meet these criteria will be marked as passed and enter the subsequent structured parsing and data entry process; cleaned results that do not meet the criteria will be marked as rejected and will not be included in the knowledge base.

[0067] The pre-defined admission criteria include at least one of the following: whether the problem description is specific, whether the root cause has substantial content, whether the corrective measures are specific, and whether it is a non-repeating or non-terminating problem.

[0068] The specificity of the problem description assesses whether the description of the fault phenomenon in the work order is sufficiently detailed and clear. A specific problem description should include at least one of the following elements: the model of the equipment where the fault occurred, the fault code, the specific fault phenomenon, the scenario or conditions under which the fault occurred, and the frequency of the fault occurrence.

[0069] For example, a specific description could be: "After four hours of continuous operation, the navigation accuracy of the neurosurgical robot navigation and positioning system deviated by approximately 0.5 mm, exceeding the system's allowable error range of 0.2 mm. This deviation temporarily disappeared after a system restart, but reappeared after another two hours of operation." This description includes information such as the device type (neurosurgery robot), operating time (4 hours), deviation value (0.5 mm), allowable error range (0.2 mm), and the behavior after restarting (temporarily disappeared but reappeared), making it a specific problem description and meeting the access criteria.

[0070] A vague description could be: "The robot has a precision problem." This description doesn't specify which type of robot it is, what type of precision problem it is, how large the deviation is, or under what conditions it occurs. The information is too general and cannot be used to build a knowledge entry with practical value, thus failing to meet the admission criteria.

[0071] The purpose of setting this standard is that only work orders with sufficiently specific problem descriptions can extract valuable fault characteristics to help other engineers accurately identify faults when facing similar problems.

[0072] Whether the root cause analysis is substantive is a key factor in assessing whether the analysis of the root cause of a failure in the work order contains substantial information. A substantive root cause analysis should specify the faulty component, the cause of the failure, or the failure mechanism, rather than a vague or empty statement.

[0073] For example, a root cause analysis with substantial content could be: "Upon investigation, the cooling fan of the optical tracking camera in the orthopedic robot's navigation and positioning module malfunctioned and stopped operating, causing the camera temperature to rise to 55°C, exceeding the normal operating temperature range (0-40°C). This temperature increase caused the optical sensor signal to drift, resulting in navigation and positioning deviations." This root cause analysis identifies the specific faulty component (the cooling fan of the optical tracking camera), the specific test result (temperature 55°C), the normal range (0-40°C), and the fault mechanism (the temperature increase causing signal drift), thus constituting a root cause analysis with substantial content.

[0074] A root cause analysis lacking substantive content could be: "Equipment aging caused the failure." This root cause analysis fails to identify the specific faulty component or mechanism. "Equipment aging" is too general a term and cannot help other engineers pinpoint the problem, thus failing to meet the entry standards.

[0075] The purpose of setting this standard is that only work orders that include substantial root cause analysis can help other engineers understand the underlying causes of failures.

[0076] Whether the corrective action is specific is an assessment of whether the solution described in the work order is operable and repeatable. Specific corrective actions should include detailed operating procedures, tools used, replacement parts, adjusted parameters, and tests performed.

[0077] For example, a specific corrective action could be: "Replace the cooling fan of the optical tracking camera (part number: FAN-OPT-001). Operating steps: Step 1, turn off the navigation and positioning system power and wait 5 minutes; Step 2, open the camera housing and locate the cooling fan; Step 3, disconnect the fan power cord; Step 4, remove the faulty fan; Step 5, install the new fan and connect the power cord; Step 6, reassemble the camera housing; Step 7, power on the camera; Step 8, use a temperature sensor to confirm the fan is operating normally and the camera temperature has dropped to 35°C; Step 9, execute the navigation and positioning accuracy calibration procedure." This corrective action includes the spare part number, detailed operating steps, operating sequence, and verification test methods. Other engineers can independently complete the same repair operation based on this description, thus constituting a specific corrective action.

[0078] A vague corrective action could be: "Replacing the fan solved the problem." This corrective action does not specify which fan was replaced, its model, how it was replaced, or what tests were required after replacement. The information is too brief, and other engineers cannot reproduce the repair operation based on this, which does not meet the access standards.

[0079] The purpose of setting this standard is that only work orders with sufficiently specific corrective actions can form actionable maintenance guidelines to help other engineers quickly resolve problems.

[0080] The question of whether something is non-repeating or non-terminating includes two sub-criteria: non-repeating and non-terminating.

[0081] Non-duplicate means that the problem recorded in the work order is not a duplicate of a known problem that already exists in the knowledge base. If a problem already has an identical record in the knowledge base, the new work order is considered a duplicate problem and does not need to be entered into the database again. However, it should be noted that even for the same fault code, if different root cause analyses, different solutions, or more detailed repair experience are provided, it is not considered a duplicate and can be entered into the database as a supplement or update to existing knowledge.

[0082] Non-termination means that the work order's outcome is a successful resolution of the problem, rather than termination due to various reasons. For example, work orders with statuses such as "unrepairable," "abandon repair," or "suggest scrapping" are considered terminated issues, and their solutions have limited value to the knowledge base, thus failing to meet the admission criteria.

[0083] For example, a non-repeating and non-terminating problem could be: the knowledge base already has a knowledge entry for "ERR-1024: Replace joint encoder", but a new work order provides a solution for "ERR-1024: Joint encoder cable wear causes signal abnormality". Although the error codes are the same, the root causes and solutions are different. The new work order is a supplement to the existing knowledge rather than a repetition, and the work order status is closed (the problem has been solved). Therefore, it is a non-terminating problem and meets the admission criteria.

[0084] Duplicate issues can be defined as follows: the knowledge base already contains the knowledge entry "SR-2000 error ERR-1024: Replace joint encoder", and the new work order is also "SR-2000 error ERR-1024: Replace joint encoder", and the processing procedure and result are basically the same as the existing knowledge entry. This constitutes a duplicate issue and does not meet the admission criteria.

[0085] Termination issues can be defined as follows: Although the work order status is closed, the processing result is "unable to be repaired, it is recommended to contact the manufacturer for return to the factory for repair." The problem of this work order has not been substantially resolved by the on-site engineer, and it is a termination issue that does not meet the admission criteria.

[0086] The system's admission evaluation process for cleaning results is as follows: Step 1: The system acquires the structured information extracted after cleaning, including a problem overview, problem description, root cause analysis, and solutions. Step 2: The system evaluates each cleaning result to ensure it meets at least one of the preset admission criteria. This evaluation process can be implemented using artificial intelligence technology, such as calling a large language model to analyze and judge the cleaning results, or using rule-based judgment logic. Step 3: If the cleaning result meets at least one of the preset admission criteria, it is marked as passed, allowing it to proceed to the subsequent step of structured parsing according to a preset template. Step 4: If the cleaning result does not meet any of the preset admission criteria, it is marked as rejected and not proceeds to the next processing step. Rejected work order data can be recorded in the log for subsequent manual review, or the system can notify relevant personnel to supplement and improve it.

[0087] It should be noted that the above-described cleaning and assessment process is executed automatically using a timed scheduling mechanism. Specifically, at 1:00 AM each day, the system automatically checks the previous day's list of missed data, stores the missed data in a temporary storage, and marks it as pending cleaning. Subsequently, at 2:00 AM each day, the system automatically performs AI cleaning assessments on the data pending cleaning in the temporary storage. Through this timed scheduling mechanism, the system can automatically complete the batch processing of missed data without human intervention, achieving automated operation of the knowledge expansion process.

[0088] After the cleaning results are evaluated, the system performs a step of structured parsing of the second type of knowledge data according to a preset template. This step is the same as the structured parsing process described in the above embodiments: the system maps and fills the information extracted after cleaning according to the field structure of the preset template to generate structured knowledge entries that conform to the standard format of the knowledge base.

[0089] It should be noted that there is no one-to-one correspondence between the seven pieces of information extracted in the cleaning steps and the fields in the preset template. The preset template includes fields for product information, problem title, problem error code, problem description, and handling measures. The "Problem Overview" in the cleaning results can be mapped to the "Problem Title" field, the "Problem Description" to the "Problem Description Field," and the "Solution" to the "Handling Measures Field." Meanwhile, "Root Cause Analysis," "Validation Results," "Risk Assessment," and "Supplementary Information" can be combined or selectively placed into the "Problem Description Field" or the "Handling Measures Field," or stored as dedicated fields within the preset template.

[0090] This embodiment assesses the inclusion of cleaning results by setting a filtering threshold for work order data into the knowledge base. The assessment of the specificity of the problem description ensures that the work order data included in the knowledge base contains sufficient detailed fault information, enabling other engineers to accurately identify and match faults when facing similar problems. The assessment of the substantiality of the root cause ensures that the work order data included in the knowledge base contains in-depth analysis of the root cause of the fault, enhancing the depth and value of knowledge entries in the knowledge base. The assessment of the specificity of corrective measures ensures that the solutions in the work order data included in the knowledge base are operable and repeatable, allowing other engineers to independently complete the same maintenance operations based on the knowledge entries. The assessment of whether the problem is non-repeating or non-terminating avoids a large number of redundant duplicate records in the knowledge base, while ensuring that the work order data included in the knowledge base are proven successful cases, rather than unsolvable terminated cases.

[0091] This embodiment further defines the specific implementation method of generating knowledge entries by performing structured parsing of knowledge data according to a preset template. The preset template includes a product information field, a problem title field, a problem error code field, a problem description field, and a handling measure field. Performing structured parsing of knowledge data according to the preset template to generate structured knowledge entries includes mapping the information in the knowledge data to the product information field, problem title field, problem error code field, problem description field, and handling measure field, respectively.

[0092] The default template is a structured template containing five fields, used to standardize the storage format of knowledge entries in the knowledge base.

[0093] The product information field records basic equipment information, including product name, product model, and knowledge level. The purpose of this field is to identify the range of equipment to which the knowledge entry applies, facilitating precise matching during retrieval. For example, for a laparoscopic surgery robot, the product information field could be recorded as: "Product Name: Laparoscopic Surgery Robot; Product Model: SR-2000; Knowledge Level: K2". The knowledge levels K1 / K2 / K3 are used to differentiate the level of detail and applicable scenarios of the knowledge; for example, K1 represents quick troubleshooting guidance, K2 represents standard maintenance procedures, and K3 represents in-depth technical analysis.

[0094] The issue title field records a brief title for the fault, providing a high-level summary of the problem. The issue title should be concise and clear, allowing engineers to quickly understand the core issue. For example: "SR-2000 laparoscopic surgery robot reports error ERR-1024, robotic arm end effector tremor," or "Orthopedic robot navigation and positioning accuracy deviation."

[0095] The Error Code field records the error codes reported by the device. Error codes are important clues for diagnosing device faults, allowing for quick identification of the problem area. Examples include "ERR-1024" and "ERR-2048". If the knowledge data does not involve error codes (e.g., certain non-error-reporting faults), this field can be empty or filled with "None".

[0096] The problem description field is used to describe the fault phenomenon in detail, including the specific scenario in which the fault occurred, its manifestations, and the scope of its impact. The problem description should be as detailed as possible to provide a complete information basis for subsequent fault diagnosis and root cause analysis. For example: "During the operation, high-frequency vibrations occurred at the end of robotic arm #3, with a frequency of about 5Hz and an amplitude of about 2-3mm. The vibrations were particularly noticeable when the robotic arm moved rapidly." The "Troubleshooting Measures" field records the specific operational steps and measures for resolving the fault. The measures should be detailed and actionable, including the sequence of operations, tools used, replaced parts, adjusted parameters, and performed tests. For example: "Step 1, turn off the system power and wait 5 minutes; Step 2, disassemble the housing of robotic arm #3; Step 3, replace the joint encoder (spare part number: ENC-2000-03); Step 4, reinstall the housing; Step 5, perform zero-point calibration of the robotic arm; Step 6, perform a full-stroke accuracy test." Mapping information from knowledge data to product information, issue title, issue error code, issue description, and handling measures fields involves the system identifying individual information fragments within the knowledge data and filling them into the corresponding fields of a pre-defined template. This includes the following sub-steps: Step 1, Information Recognition: The system analyzes the knowledge data and identifies information fragments corresponding to each field. For example, for a work order record: "Today I went to XX Hospital to handle the ERR-1024 error on the SR-2000 laparoscopic surgery robot. The robotic arm end effector was shaking severely. After investigation, it was found that the encoder signal was abnormal. After replacing and calibrating the encoder, it returned to normal." The system recognizes: Product information related fragments: "SR-2000 laparoscopic surgical robot"; Problem title related fragments: "Error ERR-1024, robotic arm end effector shaking"; Error code related fragments: "ERR-1024"; Problem description related fragments: "The robotic arm end effector is shaking quite severely"; Handling measures related fragments: "After replacing the encoder and calibrating it, it returned to normal".

[0097] Step 2, Field Mapping: The system fills the identified information fragments into the corresponding fields of the preset template: Product Information field ← "Product Name: Laparoscopic Surgery Robot; Product Model: SR-2000"; Problem Title field ← "SR-2000 Error ERR-1024, Robotic Arm End-Factory Shaking"; Problem Error Code field ← "ERR-1024"; Problem Description field ← "Severe shaking at the robotic arm end-factory"; Handling Measures field ← "Replace the joint encoder and perform the calibration procedure".

[0098] Step 3, Formatted Output: The system will output the five filled fields as a complete knowledge entry according to the preset template. Knowledge entries can be serialized and stored in Markdown format, for example: Product Information: 1. Product Name: Laparoscopic Surgical Robot; 2. Product Model: SR-2000; 3. Knowledge Level: K2.

[0099] Problem title: SR-2000 error ERR-1024, robotic arm end effector shaking.

[0100] Error code: ERR-1024.

[0101] Problem description: The end effector of the robotic arm is shaking quite badly.

[0102] Corrective action: Replace the joint encoder and perform a calibration procedure.

[0103] In practice, the sources and formats of knowledge data can vary significantly, requiring flexible handling of field mapping based on specific circumstances. For example, if information corresponding to a certain field is missing from the knowledge data, the system can decide to leave the field blank or mark it as "unknown" based on the missing information. For instance, some work orders may not contain error code information, so the error code field can be left blank. For example, if a segment of information in the knowledge data involves multiple fields, the system can split it and map them separately. Conversely, if multiple information fragments belong to the same field, the system can merge them before mapping. For example, during the mapping process, the system can standardize the information, such as unifying terminology, supplementing context, and correcting obvious errors, to improve the quality of knowledge entries. For example, for cleaned work order data, the "Problem Overview" in the cleaned results is mapped to the "Problem Title Field," the "Problem Description" to the "Problem Description Field," and the "Solution" to the "Handling Measures Field." If needed, the "Root Cause Analysis" can be merged into the "Problem Description Field" or the "Handling Measures Field," or a dedicated field can be added to a preset template for storage.

[0104] This embodiment concretizes a preset template into five fields: product information, problem title, problem error code, problem description, and handling measures. It also specifies a structured parsing method for information identification and field mapping. The template structure of these five fields covers the complete information chain for fault handling: product information defines the equipment scope, the problem title and error code provide quick identification markers, the problem description provides detailed context, and the handling measures provide an actionable solution. This structure makes knowledge entries easy to retrieve and match, and also easy for field engineers to use directly. Through the structured parsing method of information identification and field mapping, unstructured raw knowledge data is transformed into structured knowledge entries, achieving a unified and standardized knowledge format. The flexible design of the field mapping allows the system to handle knowledge data from different sources, in different formats, and with varying degrees of completeness, improving the adaptability and coverage of knowledge storage.

[0105] This embodiment further defines the exception handling mechanism during the structured parsing process. If any of the following fields in the knowledge data is missing: product information, problem title, problem error code, problem description, or handling measure, the knowledge data will be refused to be stored in the knowledge base.

[0106] The quality of a knowledge base largely depends on the completeness and standardization of the knowledge it contains. If a knowledge entry lacks key fields, it will lead to problems such as difficulty in retrieval, difficulty in identification, low reference value, and poor operability. Therefore, the system uses completeness checks to ensure that each knowledge entry contains all the necessary fields, thereby guaranteeing the overall quality of the knowledge base.

[0107] Integrity verification is performed during structured parsing, with the following specific steps: Step 1: The system performs information identification and field mapping on the knowledge data. Step 2: After mapping, the system checks if any of the five fields is missing corresponding information. Missing information includes: the knowledge data explicitly lacks the information content for that field; the information content for that field in the knowledge data is empty or only contains placeholders; the information content for that field in the knowledge data cannot be effectively identified by the system. Step 3: If all five fields have corresponding information, the knowledge data is allowed to be stored in the knowledge base. Step 4: If any of the five fields lacks corresponding information, the knowledge data is rejected from being stored in the knowledge base.

[0108] For example, a successful example: A knowledge database contains the following complete information: "Product Name: Neurosurgical Robot, Model: NS-3000; Problem: Navigation accuracy deviation; Error Code: ERR-2048; Description: 0.5mm deviation occurred after 4 hours of continuous operation; Solution: Replace the cooling fan." After mapping, all five fields have content, allowing for database entry.

[0109] Example of rejection: A knowledge data entry only contains "A robot reported an error, but it was fixed after the fan was replaced". It is missing the product information field (the specific equipment model and name are not specified), the error code field (the error code is not provided), and the problem description field (the fault phenomenon is not described). Information in multiple of the five fields is missing, so it is rejected for inclusion in the database.

[0110] This embodiment employs an integrity verification mechanism to ensure that every knowledge entry included in the database contains all information from the product information field, issue title field, issue error code field, issue description field, and handling measure field. This enforces the structural integrity of knowledge entries, preventing incomplete or insufficient knowledge data from entering the knowledge base and improving the overall data quality of the knowledge base. By mandating that all five fields contain information, each knowledge entry is searchable, identifiable, and operable, ensuring that the knowledge entries have practical reference value for field engineers. Integrity verification and cleansing assessment form a dual guarantee: cleansing assessment filters from the content quality level, while integrity verification ensures structural integrity. The two complement each other, jointly guaranteeing the quality of knowledge entries into the knowledge base.

[0111] This embodiment further defines the vectorization process after knowledge entries are stored. Structured knowledge entries are vectorized to generate corresponding vectorized records. These vectorized records contain dense vectors, sparse vectors, and scalar fields. The scalar fields include at least one of the following: product name, source type, product model, version / section, and project. The vectorized records are then stored in a vector library.

[0112] In some embodiments, the scalar field further includes a status field to indicate the activation status of a knowledge entry. A status field value of 1 indicates that the knowledge entry is enabled and searchable; a status field value of 0 indicates that the knowledge entry is disabled or pending review and cannot be searched. This status field constitutes a soft access gate mechanism for the knowledge base, filtering out knowledge entries with a status field value other than 1 during retrieval, ensuring that only reviewed and confirmed knowledge entries participate in retrieval and question-and-answer sessions.

[0113] After knowledge is stored in the knowledge base, the knowledge entries are stored in the knowledge base in text form, supporting text-based structured retrieval. However, relying solely on structured retrieval cannot meet the needs of fuzzy matching at the semantic level. Therefore, it is necessary to vectorize the knowledge entries and build a vector library to support semantic vector retrieval.

[0114] Vectorization refers to the process of converting the text content of knowledge entries into numerical vectors. The result of vectorization is a set of vectorized records, each corresponding to a knowledge entry, which includes three parts: dense vector, sparse vector, and scalar field.

[0115] Dense vectors encode the textual content of knowledge entries into a dense numerical vector of fixed dimensions. Each dimension of the dense vector contains non-zero values, and the overall distribution of the vector reflects the semantic information of the text. Dense vectors can be generated using deep learning models; for example, the bge-m3 model encodes text into a 1024-dimensional dense vector.

[0116] In semantic vector retrieval, the query question is also encoded as a dense vector. By calculating the cosine similarity between dense vectors, the semantic relevance between the query question and the knowledge item can be measured. Two semantically similar texts have dense vectors that are closer in the vector space; semantically unrelated texts have dense vectors that are farther apart.

[0117] For example, the knowledge entry "SR-2000 laparoscopic surgery robot error ERR-1024, robotic arm end effector tremor" is encoded as a 1024-dimensional dense vector. When a user queries "robotic arm tremor problem", the query text is encoded as another dense vector. The high cosine similarity between the two vectors indicates semantic relevance.

[0118] Sparse vectors encode the textual content of knowledge entries into a sparse numerical vector. Unlike dense vectors, most dimensions of a sparse vector have zero values, with only a few dimensions having non-zero values. Sparse vectors can be generated using the BM25 (BestMatching25) algorithm, which uses term frequency and inverse document frequency statistics to weight and encode keywords in the text.

[0119] Sparse vectors excel at capturing keyword matching information in text. For example, if a knowledge entry contains keywords such as "ERR-1024" or "encoder," the dimensions corresponding to these keywords will have higher weights in the sparse vector. When a user's query also contains words like "ERR-1024" or "encoder," sparse vector retrieval can accurately match these keywords.

[0120] Dense and sparse vectors each have their advantages: dense vectors excel at semantic understanding and can match synonyms such as "jitter" and "vibration"; sparse vectors excel at keyword matching and can accurately match technical codes such as "ERR-1024". Using both together can complement each other's shortcomings and improve the comprehensiveness and accuracy of the search.

[0121] Scalar fields are structured information within knowledge entries used for exact matching; they are key metadata extracted from knowledge entries. Scalar fields are used for structured filtering, meaning that the search scope is narrowed down through exact matching of scalar fields before semantic vector retrieval.

[0122] Scalar fields include at least one of the following: Product Name, Source Type, Product Model, Version / Section, and Project. Product Name refers to the product name of the equipment, such as "Laparoscopic Surgery Robot," "Neurosurgical Robot," or "Orthopedic Robot." Source Type refers to the source type of the knowledge data, such as "Fault Information," "Manual Information," or "Risk / Regulation Information." Product Model refers to the specific model of the equipment, such as "SR-2000," "NS-3000," or "OR-1000." Version / Section refers to the version or section information to which the knowledge entry belongs, used to locate the specific version of the technical document. Project refers to the project or product line information to which the knowledge entry belongs.

[0123] For example, the scalar field of a knowledge entry can be set as follows: Product Name: Laparoscopic Surgical Robot; Source Type: Fault Information; Product Model: SR-2000; Version / Section: v2.0 / Robotic Arm System; Project: SR Series.

[0124] Storing vectorized records into a vector library refers to storing the generated vectorized records (containing dense vectors, sparse vectors, and scalar fields) into a specialized vector database. A vector library is a database system specifically designed for storing and retrieving high-dimensional vectors, supporting efficient approximate nearest neighbor retrieval.

[0125] The construction process of the vector library includes: Step 1, the system generates a vectorized record for each knowledge entry. Step 2, the system writes the vectorized records into the vector library. The vector library creates an index for each vectorized record to support efficient subsequent retrieval. Step 3, each vectorized record in the vector library is associated with the corresponding knowledge entry in the knowledge base through a unique identifier, enabling the retrieved vectorized record to quickly locate the corresponding knowledge entry text.

[0126] The knowledge base and vector library are two complementary storage systems. The knowledge base stores the raw text content of knowledge entries for display and reading. The vector library stores the vectorized representations of knowledge entries for semantic retrieval. The knowledge base supports structured retrieval (exact matching based on fields), while the vector library supports semantic vector retrieval (fuzzy matching based on vector similarity). During retrieval, the system can perform searches in both the knowledge base and the vector library simultaneously, or first perform semantic retrieval in the vector library and then retrieve the corresponding knowledge entry text from the knowledge base using association identifiers.

[0127] This embodiment vectorizes knowledge entries and constructs a vector library. By generating dense vectors, the system can perform retrieval based on semantic similarity, matching synonyms, related concepts, and near-synonyms for the user's query, thus improving retrieval recall and flexibility. By generating sparse vectors, the system can perform precise matching based on keywords, ensuring that queries containing specific technical codes, models, or terms accurately hit relevant knowledge entries. The use of scalar fields allows the system to narrow down the search scope through structured filtering before performing semantic vector retrieval, improving retrieval efficiency and reducing irrelevant results. By storing vectorized records in the vector library, an index structure supporting efficient near-nearest neighbor retrieval is constructed, enabling real-time semantic retrieval of large-scale knowledge bases.

[0128] This embodiment further defines a hybrid retrieval process based on intent recognition. For example... Figure 3 As shown, intent recognition is performed on the query question. Based on the recognition results, structured retrieval and semantic vector retrieval are performed on the knowledge base to obtain the retrieval results, including: Step S301: Perform intent recognition and entity extraction on the query question to obtain query elements. The query elements include at least one of the following: product name, source type, product model, version / section, and project.

[0129] This embodiment provides a specific definition of the retrieval process, describing the complete flow from intent recognition to obtaining the final retrieval results. This flow includes five sub-steps: intent recognition and entity extraction, structured filtering, dense vector retrieval and sparse vector retrieval, fusion deduplication and threshold filtering, and re-ranking.

[0130] Intent recognition and entity extraction for query questions refers to the system analyzing the query questions entered by users, understanding the users' query intent, and extracting key structured information (i.e., "query elements") from the query text.

[0131] Intent recognition refers to the system's determination of the user's query intent, such as whether they are searching for the cause of a fault, a solution, technical parameters, or repair history. Different intents may affect the choice of search strategy and the sorting of search results.

[0132] Entity extraction refers to the process by which a system identifies meaningful information entities from query text. These entities correspond to scalar fields in a vector library. Query elements include at least one of the following: product name, source type, product model, version / section, and project.

[0133] For example, for the query "SR-2000 error ERR-1024, what to do about the end effector shaking of the robotic arm", the entity extraction results might be: Product name: Abdominal surgery robot (inferred from "SR-2000"), Product model: SR-2000, Source type: No clear source information, Version / section: No clear version information, Project: No clear project information.

[0134] For example, for the query "Is there a solution to the problem of navigation accuracy deviation of NS-3000", the entity extraction results may be: Product name: Neurosurgical robot (inferred from "NS-3000"), Product model: NS-3000, Source type: No clear source information, Version chapter: No clear version information, Project: No clear project information.

[0135] Step S302: Perform structured filtering on the vector library based on the query elements to obtain the filtered vector library.

[0136] The structured filtering of the vector library based on the query elements results in a filtered vector library. This means that the query elements obtained by intent recognition and entity extraction are precisely matched against scalar fields, and vectorized records in the vector library that do not meet the matching conditions are filtered out, leaving only the records that meet the matching conditions.

[0137] Structured filtering expressions are based on Boolean logic combinations of scalar fields. For example, for the query feature {product model=SR-2000}, a filter condition of "product model=SR-2000" will only retain vectorized records where the product model is SR-2000. If the query feature contains multiple fields, logical AND or logical OR can be used to combine them.

[0138] The purpose of structured filtering is to narrow down the search scope, reduce the computational load of semantic vector retrieval, and improve the accuracy of search results. For example, if a user explicitly specifies the device model "SR-2000", then filtering out records of other models and only retrieving knowledge entries related to SR-2000 can improve search efficiency and avoid returning results for irrelevant models.

[0139] Step S303: Encode the query question into a dense vector, perform an approximate nearest neighbor search in the filtered vector library to obtain dense search results; and encode the query question into a sparse vector, perform an approximate nearest neighbor search in the filtered vector library to obtain sparse search results.

[0140] Encoding the query question into a dense vector and performing an approximate nearest neighbor search in the filtered vector library to obtain dense search results means that, based on structured filtering, the query question is encoded into a dense vector, and then the top-k vectorized records that are most similar to the query dense vector are retrieved from the filtered vector library.

[0141] The dense vector encoding uses the same encoding model as the knowledge entries (such as bge-m3) to ensure that the query question and the knowledge entries are in the same vector space, enabling meaningful similarity calculations.

[0142] Approximate nearest neighbor retrieval does not require traversing the entire vector database; instead, it quickly finds the vector most similar to the query vector through an index structure. The retrieval metric typically uses cosine similarity, calculating the cosine of the angle between the query vector and the knowledge entry vector; a larger value indicates greater similarity.

[0143] Dense search results are a set of knowledge entries that are semantically most similar to the query question. Even if these knowledge entries do not contain specific keywords from the query question, they can still be recalled through semantic matching.

[0144] Encoding the query into a sparse vector using the BM25 function and then performing an approximate nearest neighbor search in the filtered vector library to obtain sparse search results means directly encoding the query into a sparse vector using the BM25 function and then performing an approximate nearest neighbor search in the filtered vector library.

[0145] The BM25 function is a ranking function based on term frequency and inverse document frequency. It encodes text into sparse vectors, where each dimension corresponds to a term, and the dimension value is the BM25 weight of that term in the text. Unlike dense vectors, sparse vectors do not require encoding through a deep learning model; instead, they are calculated directly using statistical methods.

[0146] The advantage of sparse search lies in the accuracy of keyword matching. When a user's query contains specific technical codes (such as "ERR-1024"), model names (such as "SR-2000"), or technical terms, sparse search can accurately match knowledge entries containing these keywords.

[0147] Step S304: Perform a union fusion of dense and sparse search results, remove duplicates, and discard search results with vector similarity lower than a preset similarity threshold to obtain the fused result.

[0148] The fusion of dense and sparse search results involves combining the results of dense and sparse searches, removing duplicates, and discarding search results with vector similarity below a preset threshold. Union fusion means taking the union of the dense and sparse search results, retaining all knowledge items retrieved through both paths. Removing duplicates means that if the same knowledge item is retrieved by both dense and sparse searches, only one instance is retained to avoid duplication. Deduplication can be based on the unique identifier of each knowledge item.

[0149] Discarding search results with vector similarity below a preset similarity threshold means that for the fused results, the vector similarity of each knowledge item is checked (this can be dense similarity, sparse similarity, or a weighted fusion of both). If it is below the preset similarity threshold (e.g., 0.4), the result is considered insufficiently relevant to the query question and is discarded. The purpose of threshold filtering is to remove low-quality, low-relevance search results and improve the quality of the final results.

[0150] Step S305: Reorder the fusion results to obtain the search results.

[0151] Reordering the merged results to obtain the final search results means re-sorting the merged search results to obtain the final search results.

[0152] The purpose of re-ranking is to rearrange the fused results according to a better ranking strategy, placing the most relevant and useful results first. Re-ranking can employ various strategies: for example, ranking based on a fusion score, which weights and fuses dense and sparse similarities to obtain a comprehensive score, then arranges the results in descending order of the comprehensive score; ranking based on knowledge item quality scores, using the quality score of each knowledge item as one of the ranking weights, with knowledge items having higher quality scores appearing first; and re-ranking based on a large model, which uses a large language model to re-evaluate and rank the search results. The large model can understand the deep semantic relationship between the query question and the knowledge items, providing a more accurate ranking.

[0153] This embodiment constructs a complete dual-path hybrid retrieval process through five sub-steps: intent recognition and entity extraction, structured filtering, dense vector retrieval and sparse vector retrieval, fusion deduplication and threshold filtering, and re-ranking. Through intent recognition and entity extraction, structured query elements are extracted from the user's natural language query, providing precise filtering conditions for subsequent structured filtering. Structured filtering uses scalar fields for precise matching before semantic retrieval, narrowing the search scope and improving retrieval efficiency and accuracy. The parallel dual-path retrieval of dense and sparse vector retrieval simultaneously covers both semantic understanding and keyword matching needs, improving retrieval recall and comprehensiveness. Union fusion, deduplication, and threshold filtering merge the results from both paths into a unified result set and remove low-relevance results, improving result quality. Re-ranking places the most relevant and useful results first, enhancing the user's search experience.

[0154] This embodiment further defines the process of adjusting the quality score of knowledge entries based on feedback signals. Receiving user feedback signals on answers and adjusting the quality score of knowledge entries in the knowledge base according to the feedback signals includes: increasing the quality score of a knowledge entry in response to receiving a positive feedback signal; decreasing the quality score of a knowledge entry in response to receiving a negative feedback signal; wherein, when the quality score is higher than a preset high-score threshold, the higher the quality score, the higher the weight the knowledge entry is assigned when it is retrieved; when the quality score is lower than a preset review threshold, the knowledge entry is marked as pending review and pushed to the review end.

[0155] This embodiment specifies the adjustment process as positive feedback increasing the score and negative feedback decreasing the score, and defines the impact of the score on the retrieval weight and review process.

[0156] The quality score is an inherent quality evaluation metric for each knowledge entry in the knowledge base, used to measure the reliability, accuracy, and usefulness of that knowledge entry. The quality score is a numerical value, such as a floating-point number between 0 and 1, with an initial value set to 0.5 (medium level) when the knowledge entry is added to the database. As user feedback accumulates, the quality score is dynamically adjusted to reflect the actual usage effectiveness of the knowledge entry.

[0157] In response to receiving a positive feedback signal, the quality score of the knowledge item is improved.

[0158] Positive feedback signals are when users express satisfaction with an answer. The most common form of positive feedback is when a user clicks a "like" or "helpful" button. When the system receives a positive feedback signal, it indicates that the user finds the current answer helpful, and consequently, that the knowledge entry on which the answer was based is accurate and useful. Therefore, the system improves the quality score of that knowledge entry.

[0159] The magnitude of the quality score improvement can be set according to the actual situation. For example, each positive feedback can increase the score by 0.05 points, or a decay mechanism can be used (higher weight for early feedback and lower weight for later feedback) to prevent a knowledge item from receiving an excessively high score too early due to a small amount of positive feedback in the early stages.

[0160] In response to receiving a negative feedback signal, the quality score of the knowledge item is reduced.

[0161] Negative feedback signals are responses from users indicating dissatisfaction with an answer. Forms of negative feedback include, but are not limited to: users clicking the "dislike" or "useless" button, users submitting correction information (pointing out specific errors in the answer), and users closing the answer window. When the system receives a negative feedback signal, it indicates that the user believes the current answer has a problem, suggesting that the knowledge entry on which the answer was based may contain incorrect or incomplete information. Therefore, the system lowers the quality score of that knowledge entry.

[0162] The decrease in quality scores can be greater than the increase, reflecting the higher weight given to negative feedback. For example, each instance of negative feedback can result in a 0.1-point decrease. If a user submits correction information, the system can further increase the decrease based on the severity of the correction.

[0163] For example: Suppose the initial quality score of knowledge item A is 0.5. After the first positive feedback: the score increases to 0.55; after the second positive feedback: the score increases to 0.60; after the first negative feedback: the score decreases to 0.50; after the second negative feedback: the score decreases to 0.40. Through the accumulation of multiple positive and negative feedbacks, the quality score of the knowledge item will gradually approach its true quality level.

[0164] When the quality score is higher than the preset high score threshold, the higher the quality score, the higher the weight the knowledge item is given when it is retrieved. This means that during the retrieval process, knowledge items with high quality scores will be given a higher ranking priority, making it easier for them to appear at the top of the search results.

[0165] The preset high score threshold is a pre-defined score limit used to determine whether a knowledge item is of high quality, for example, set to 0.8. When the quality score of a knowledge item is higher than 0.8, the knowledge item is considered a high-quality item and will be given higher weight during retrieval.

[0166] The specific implementation of weights can adopt one of the following schemes: For example, weighted retrieval: when calculating the similarity between the query vector and the knowledge item vector, the similarity is multiplied by the quality score of the knowledge item (or the normalized value of the quality score) to obtain a weighted similarity score, and then sorted according to the weighted score. For example, weighted re-ranking: in the re-ranking stage after fusion and deduplication, the quality score of the knowledge item is used as one of the ranking weights, and together with semantic similarity, it determines the final ranking.

[0167] This mechanism prioritizes high-quality knowledge entries (verified by extensive positive feedback) for users, while low-quality entries are relegated to the back, thus improving the user's search experience.

[0168] When the quality score is lower than the preset review threshold, the knowledge item is marked as pending review and pushed to the reviewer. This means that when the quality score of a knowledge item drops to a certain level, the system automatically marks the knowledge item as pending review and sends it to the reviewer for processing.

[0169] The preset review threshold is a pre-defined score limit used to trigger a review, for example, 0.2. When the quality score of a knowledge item is below 0.2, it indicates that the knowledge item has received a lot of negative feedback, which may contain errors or incomplete information, requiring manual review for confirmation.

[0170] Marking a knowledge entry as pending review means that the system writes a pending review mark in the status field of the knowledge entry. This mark indicates that the knowledge entry is currently not available for retrieval and question answering and needs to be processed by reviewers.

[0171] Pushing to the review end means that the system sends the knowledge items marked as pending review and their related information (including the original text of the knowledge items, negative feedback records, error correction information, etc.) to the reviewers, who can then view and process them through the review end interface.

[0172] The reviewers' handling methods can include: Confirmed deletion, where the reviewer confirms the knowledge entry does indeed contain an error and deletes it from the knowledge base; Modified retention, where the reviewer modifies the knowledge entry based on the error correction information and resets the quality score; Maintaining the status quo, where the reviewer deems the negative feedback unreasonable, keeps the knowledge entry unchanged, and resets the quality score.

[0173] This embodiment quantifies the collective wisdom of users into quality scores for knowledge items through differentiated processing of positive and negative feedback, achieving automated evaluation and dynamic adjustment of knowledge quality. By linking quality scores to search weights, high-quality knowledge items are prioritized for display, promoting the dissemination and reuse of excellent knowledge and improving the efficiency of the knowledge base. An automatic review process is triggered when the quality score falls below a review threshold, promptly submitting knowledge items with accumulated negative feedback for manual review. This prevents erroneous knowledge from persisting and spreading in the knowledge base, ensuring its accuracy and reliability. The cumulative effect of positive and negative feedback gradually brings the quality scores of knowledge items closer to their true quality level, forming a virtuous cycle of survival of the fittest: high-quality knowledge becomes increasingly visible, while low-quality knowledge is gradually eliminated or corrected.

[0174] It should be understood that although the steps in the above flowcharts are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the above flowcharts may include multiple steps or stages, which are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps.

[0175] In one embodiment, such as Figure 4 As shown, a closed-loop construction and self-evolution system for a medical knowledge base is provided. The system includes: a construction module 401, used to acquire knowledge data related to medical devices, perform structured parsing of the knowledge data according to a preset template, generate structured knowledge entries, and store them in the knowledge base; a retrieval module 402, used to receive medical device fault query questions, perform intent recognition on the query questions, and perform structured retrieval and semantic vector retrieval on the knowledge base based on the recognition results to obtain retrieval results; a generation module 403, used to generate answers based on the retrieval results and output the confidence score of the answers; a display and feedback module 404, used to display the answers when the confidence score is higher than a preset threshold, receive user feedback signals on the answers, and adjust the quality score of the knowledge entries on which the generated answers are based based on the feedback signals; and an expansion module 405, used to identify the query question as a knowledge gap when the confidence score is lower than a preset threshold, call a large language model to generate a knowledge draft, and push the knowledge draft to the review end; in response to the review approval instruction, the knowledge draft is structured parsed according to a preset template to generate new knowledge entries and store them in the knowledge base.

[0176] The system comprises five modules: a construction module, a retrieval module, a generation module, a display and feedback module, and an expansion module. These five modules work together to achieve a complete closed loop for the medical knowledge base, from construction to use, and from feedback to optimization, enabling the knowledge base to continuously learn and self-evolve.

[0177] The construction module is used to acquire knowledge data related to medical devices, perform structured parsing of the knowledge data according to a preset template, generate structured knowledge entries, and store them in the knowledge base.

[0178] The specific functions of the construction module include: (1) acquiring knowledge data from multiple sources, including first-class knowledge data (from certification sources such as fault information and manual information) and second-class knowledge data (from medical equipment repair work orders). (2) For second-class knowledge data, performing cleaning operations to extract structured information such as problem overview, problem description, and root cause analysis, and conducting admission assessment. (3) performing structured parsing of knowledge data according to a preset template (including product information field, problem title field, problem error code field, problem description field, and handling measure field), mapping the information to the corresponding fields, and generating structured knowledge entries. (4) performing integrity verification on knowledge entries to ensure that all five fields have information; otherwise, the entries are rejected from being stored. (5) storing knowledge entries in the knowledge base, and simultaneously performing vectorization processing on the knowledge entries to generate dense vectors, sparse vectors, and scalar fields, and storing them in the vector library.

[0179] The retrieval module receives malfunction queries related to medical equipment, performs intent recognition on the queries, and performs structured and semantic vector searches on the knowledge base based on the recognition results to obtain the retrieval results.

[0180] The specific functions of the retrieval module include: (1) receiving the query questions input by the user. (2) performing intent recognition and entity extraction on the query questions to extract query elements (including product name, source type, product model, version chapter, project, etc.). (3) performing structured filtering on the vector library based on the query elements to filter out mismatched vectorized records. (4) encoding the query questions into dense vectors and performing approximate nearest neighbor retrieval in the filtered vector library to obtain dense retrieval results. (5) encoding the query questions into sparse vectors and performing approximate nearest neighbor retrieval in the filtered vector library to obtain sparse retrieval results. (6) performing union fusion, deduplication, and threshold filtering on the dense and sparse retrieval results to obtain fused results. (7) performing reordering on the fused results to obtain the final retrieval results.

[0181] The generation module is used to generate answers based on the search results and output the confidence score of the answers.

[0182] The specific functions of the generation module include: (1) inputting relevant knowledge items from the search results as context into the large language model. (2) The large language model generates answers to user queries based on context information, including fault cause analysis, troubleshooting steps, solutions, and safety warnings. (3) At the same time as generating the answer, outputting the confidence score of the answer for subsequent hit determination.

[0183] The display and feedback module is used to display the answer when the confidence score is higher than a preset threshold, and to receive user feedback signals on the answer, and adjust the quality score of the knowledge item on which the answer is based based on the feedback signals.

[0184] The specific functions of the display and feedback module include: (1) When the confidence score is higher than the preset threshold, it is determined to be a hit and the generated answer is displayed to the user. (2) A feedback interface is provided in the answer display area to receive positive feedback signals (such as likes) or negative feedback signals (such as dislikes or corrections) from users. (3) Based on the received feedback signals, the quality score of the knowledge item on which the answer is based is adjusted: positive feedback increases the score, and negative feedback decreases the score. (4) When the quality score is higher than the preset high score threshold, the knowledge item is given a higher weight in subsequent searches. (5) When the quality score is lower than the preset review threshold, the knowledge item is marked as pending review and pushed to the review end.

[0185] The extended module is used to identify the query question as a knowledge gap when the confidence score is lower than a preset threshold, call the large language model to generate a knowledge draft, and push the knowledge draft to the review end; in response to the review approval instruction, the knowledge draft is structured and parsed according to the preset template to generate new knowledge entries and store them in the knowledge base.

[0186] The specific functions of the extended module include: (1) when the confidence score is lower than the preset threshold, it is determined as a miss and the query question is identified as a knowledge gap. (2) The large language model is called to generate a knowledge draft for the knowledge gap. The knowledge draft includes a problem overview, problem description, root cause analysis, and solutions. (3) The knowledge draft is pushed to the review end for review by reviewers with professional backgrounds. (4) After the review is approved, the review approval instruction is received, and the knowledge draft is structured and parsed according to the preset template to generate new knowledge entries. (5) The new knowledge entries are stored in the knowledge base to complete the knowledge expansion.

[0187] The collaborative workflow between the modules is as follows: (1) Knowledge entry stage: The construction module acquires knowledge data, and after cleaning, evaluation, parsing and verification, it is stored in the knowledge base. At the same time, vectorized records are generated and stored in the vector library.

[0188] (2) Knowledge retrieval stage: The retrieval module receives user queries, performs intent recognition and entity extraction, executes dual-path hybrid retrieval, and obtains retrieval results. The generation module generates answers based on the retrieval results and outputs confidence scores.

[0189] (3) Hit processing stage: The display and feedback module determines whether a hit has occurred based on the confidence score. When a hit has occurred, the answer is displayed and feedback is collected to continuously optimize the quality of knowledge; when a hit has occurred, the extension module is triggered.

[0190] (4) Knowledge expansion stage: The expansion module identifies the unhidden issues as knowledge gaps, generates knowledge drafts, and puts them into the database after review, thus completing the knowledge expansion.

[0191] (5) Iterative cycle: The knowledge base continues to evolve in the continuous cycle of retrieval-feedback-optimization-expansion, and the quality of knowledge becomes higher and higher, and the coverage becomes wider and wider.

[0192] This embodiment constructs a closed-loop system for building and self-evolving a medical knowledge base through the collaborative work of five modules: a construction module, a retrieval module, a generation module, a display and feedback module, and an expansion module. The system achieves the following technical effects: The construction module enables structured data storage and vectorized indexing, providing a high-quality knowledge foundation for subsequent retrieval and learning. The retrieval and generation modules implement intelligent question answering based on hybrid retrieval and a large language model, providing users with accurate and actionable maintenance guidance. The display and feedback module collects user feedback and dynamically adjusts the quality of knowledge entries, allowing the knowledge base to continuously optimize during use. The expansion module automatically identifies knowledge gaps and automatically expands knowledge, enabling the knowledge base to continuously absorb new knowledge and possess self-evolving capabilities.

[0193] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0194] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A closed-loop construction and self-evolution method for a medical knowledge base, characterized in that, include: Acquire knowledge data related to medical devices, perform structured parsing of the knowledge data according to a preset template, generate knowledge entries, and store them in a knowledge base; The system receives a query about a medical device malfunction, performs intent recognition on the query, and performs structured retrieval and semantic vector retrieval on the knowledge base based on the recognition results to obtain retrieval results. An answer is generated based on the search results, and a confidence score for the answer is output. When the confidence score is higher than a preset threshold, the answer is displayed, and user feedback signals are received. The quality score of the knowledge item on which the answer is based is adjusted according to the feedback signals. When the confidence score is lower than a preset threshold, the query question is identified as a knowledge gap, a large language model is called to generate a knowledge draft, and the knowledge draft is pushed to the review end. In response to the approval instruction, the knowledge draft is structured and parsed according to the preset template to generate new knowledge entries, which are then stored in the knowledge base.

2. The method according to claim 1, characterized in that, The acquisition of knowledge data related to medical devices includes: Acquire a first type of knowledge data and a second type of knowledge data; the source type of the first type of knowledge data belongs to a preset source type set, which includes at least one of fault information, manual information, risk regulations, regulatory registration, and problem knowledge base; the source type of the second type of knowledge data belongs to medical equipment repair work orders, and the work order status corresponding to the medical equipment repair work order is closed loop and the corresponding work order area path is the authentication area path.

3. The method according to claim 2, characterized in that, Before performing structured parsing of the knowledge data according to the preset template, the method further includes: The second type of knowledge data is cleaned, and at least one of the following is extracted: problem overview, problem description, root cause analysis, solution, verification results, risk assessment, and supplementary information.

4. The method according to claim 3, characterized in that, After cleaning the second type of knowledge data, the following is also included: The assessment determines whether the cleaning results meet the preset admission criteria, which include at least one of the following: whether the problem description is specific, whether the root cause has substantial content, whether the corrective measures are specific, and whether it is a non-repeating or non-terminating problem. If the conditions are met, then the step of performing structured parsing of the second type of knowledge data according to the preset template will be executed.

5. The method according to claim 1, characterized in that, The preset template includes fields for product information, problem title, problem error code, problem description, and handling measures. The knowledge data is parsed in a structured manner according to a preset template to generate structured knowledge entries, including: The information in the knowledge data is mapped to the product information field, the problem title field, the problem error code field, the problem description field, and the handling measures field, respectively.

6. The method according to claim 5, characterized in that, Also includes: If the knowledge data is missing information corresponding to any of the following fields: product information field, problem title field, problem error code field, problem description field, and handling measure field, then the knowledge data will be refused to be stored in the knowledge base.

7. The method according to claim 1, characterized in that, Also includes: The structured knowledge items are vectorized to generate corresponding vectorized records. The vectorized records contain dense vectors, sparse vectors, and scalar fields. The scalar fields include at least one of the following: product name, source type, product model, version chapter, and project. The vectorized records are stored in the vector library.

8. The method according to claim 7, characterized in that, The query question is subjected to intent recognition. Based on the recognition results, structured retrieval and semantic vector retrieval are performed on the knowledge base to obtain retrieval results, including: The query question is subjected to intent recognition and entity extraction to obtain query elements, which include at least one of the following: product name, source type, product model, version / section, and project. The vector library is subjected to structured filtering based on the query elements to obtain the filtered vector library; The query question is encoded into a dense vector, and an approximate nearest neighbor search is performed in the filtered vector library to obtain dense search results. The query question is encoded into a sparse vector, and an approximate nearest neighbor search is performed in the filtered vector library to obtain sparse search results. The dense search results and the sparse search results are combined and merged, duplicates are removed, and search results with vector similarity lower than a preset similarity threshold are discarded to obtain the fused result. The fusion results are reordered to obtain the search results.

9. The method according to claim 1, characterized in that, Receiving user feedback signals on the answers, and adjusting the quality scores of knowledge entries in the knowledge base based on the feedback signals, including: In response to receiving a positive feedback signal, the quality score of the knowledge item is improved; In response to receiving a negative feedback signal, the quality score of the knowledge item is reduced; Specifically, when the quality score is higher than the preset high score threshold, the higher the quality score, the higher the weight the knowledge item is given when it is retrieved; when the quality score is lower than the preset review threshold, the knowledge item is marked as pending review and pushed to the review end.

10. A closed-loop construction and self-evolution system for a medical knowledge base, characterized in that, include: The module is used to acquire knowledge data related to medical devices, perform structured parsing of the knowledge data according to a preset template, generate structured knowledge entries, and store them in a knowledge base. The retrieval module is used to receive fault query questions for medical devices, perform intent recognition on the query questions, and perform structured retrieval and semantic vector retrieval on the knowledge base based on the recognition results to obtain retrieval results; The generation module is used to generate an answer based on the search results and output the confidence score of the answer; The display and feedback module is used to display the answer when the confidence score is higher than a preset threshold, receive user feedback signals on the answer, and adjust the quality score of the knowledge item on which the answer is based based on the feedback signals. The extension module is used to identify the query question as a knowledge gap when the confidence score is lower than a preset threshold, call the large language model to generate a knowledge draft, and push the knowledge draft to the review end; In response to the approval instruction, the knowledge draft is structured and parsed according to the preset template to generate new knowledge entries, which are then stored in the knowledge base.

Citation Information

Patent Citations

  • Improvements in and relating to automobile tires

    GB200003A