Pharmaceutical production gmp management process automation robot

By using an automated robot for pharmaceutical GMP management processes, combined with LangChain, BERT encoder, and the visual-text bimodal large language model Llava, the shortcomings of existing GMP compliance management systems in automation and intelligence have been addressed, achieving efficient and accurate compliance management and reducing human risk and operating costs.

CN118710217BActive Publication Date: 2026-11-27TIANJIN UNIV OF TRADITIONAL CHINESE MEDICINE
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410958560.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2026-11-27
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing GMP compliance management systems lack automation and intelligence capabilities, making it difficult to promptly identify compliance risks from massive amounts of production data. They also lack a deep understanding of the specific processes of pharmaceutical companies and are unable to achieve cross-departmental and cross-system data integration and process coordination, resulting in low management efficiency and high inconsistency.

Method used

The automated robot for pharmaceutical production GMP management processes includes a process standardization module, an automated execution monitoring module, a data analysis module, a decision support module, and a human-computer interaction module. It uses LangChain and BERT encoders for standardized coding, combines the visual-text bimodal large language model Lavaa for process streamlining and anomaly detection, uses an elastic network regression model for trend prediction, generates compliance reports, and enables human-computer interaction.

Benefits of technology

It has achieved automation, intelligence and visualization of GMP compliance management, improved management efficiency and accuracy, reduced human risk, provided analytical basis and compliance reports for continuous improvement, and reduced operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710217B_ABST
    Figure CN118710217B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of data processing in pharmaceutical management, and particularly relates to a medicine production GMP management process automation robot; comprising a process standardization module, an automatic execution monitoring module, a data analysis module, a decision support module, an automatic auditing module and a man-machine interaction module; the process standardization module is set, a unified GMP compliance management specification is formulated, and a foundation for automation is laid; the automatic execution monitoring module realizes GMP workflow automation, real-time monitoring and reduces the labor burden; the data analysis module discovers potential compliance risk points and provides analysis basis for continuous improvement; the automatic auditing module realizes intelligent auditing on key control points and generates a comprehensive compliance report; the man-machine interaction module introduces manual intervention, effectively combines robot automation and manual experience judgment; the efficiency and accuracy of GMP management are improved, the quality and safety of medicine production are ensured, and the operating cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology in pharmaceutical management, and more particularly to automated robots for GMP management processes in pharmaceutical production. Background Technology

[0002] Currently, pharmaceutical companies primarily rely on the following methods to manage compliance with Good Manufacturing Practices (GMP): manual review, automated tools, and compliance management software. Manual review is labor-intensive, inefficient, and susceptible to human error, leading to inconsistent and inaccurate audit results. With the development of information technology, automated tools such as Document Management Systems (DMS) and Enterprise Resource Planning (ERP) systems have been introduced to assist GMP compliance management. While these tools can improve management efficiency to some extent, they often lack a deep understanding and adaptability to the complex requirements of GMP. GMP compliance management software offers functions such as process management, risk assessment, and audit trails. However, these software programs often require significant manual input and maintenance and have limitations in intelligent analysis and real-time monitoring.

[0003] Existing GMP compliance management solutions suffer from the following main problems: a lack of automated and intelligent data analysis capabilities, making it difficult to promptly identify compliance risks from massive amounts of production data; a lack of in-depth understanding of specific processes and operations in pharmaceutical companies, resulting in a lack of targeted and effective compliance management; existing systems typically lack self-learning and optimization capabilities, failing to automatically adjust to changes in the company's operating environment and regulatory requirements; and difficulty in achieving cross-departmental and cross-system data integration and process coordination, affecting the overall and systematic nature of GMP compliance management.

[0004] In modern pharmaceutical manufacturing, companies are increasingly demanding higher standards for drug quality and safety management. The aim is to ensure product quality and safety, and reduce compliance risks and costs, by eliminating compliance risks and optimizing management processes. With advancements in information technology and artificial intelligence, robots and intelligent decision-making systems, as emerging technologies, are being explored for application in supporting intelligent GMP compliance management, further improving the efficiency and accuracy of compliance management through automation and intelligent means.

[0005] Therefore, there is an urgent need to provide automated robots for pharmaceutical GMP management processes, which, compared with existing technologies, can improve the efficiency and accuracy of GMP management, ensure the quality and safety of pharmaceutical production, and reduce operating costs. Summary of the Invention

[0006] This invention addresses the technical problems existing in the prior art and provides an automated robot for pharmaceutical production GMP management processes.

[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows: The automated robot for pharmaceutical manufacturing GMP management processes includes a process standardization module, an automated execution monitoring module, a data analysis module, a decision support module, an automated auditing module, and a human-computer interaction module. The process standardization module includes a process streamlining unit, an encoding unit, and a workflow generation unit. The process streamlining unit is used to streamline the enterprise's GMP workflow. The encoding unit is used to encode the specifications in the enterprise's GMP into an additional vector database. The workflow generation unit is used to standardize the workflow processed by the process streamlining unit, and obtain matching specifications and workflows based on the vector database and the standardized workflow. The automated execution monitoring module includes a process execution unit, an anomaly monitoring unit, and a data acquisition unit. The process execution unit is used to execute the standardized workflow generated by the workflow generation unit and to acquire screenshots of each step in the workflow. The anomaly monitoring unit is used to compare the screenshots acquired by the process execution unit with preset workflow standards to identify deviations and unexpected behaviors in the workflow. The data acquisition unit is used to generate a time-series dataset. The data analysis module includes a risk identification unit and a trend prediction unit; the risk identification unit is used to detect anomalies in the time series dataset to obtain abnormal quality data and abnormal deviation records; the trend prediction unit is used to predict trends based on the time series dataset to identify potential change directions in future time windows. The decision support module includes an identification unit and a solution generation unit; the identification unit is used to acquire the workflow corresponding to abnormal quality data and abnormal deviation records; the solution generation unit generates multiple decision solutions based on the workflow corresponding to abnormal quality data and abnormal deviation records and the potential change direction under the future time window. The automated audit module includes a rules engine unit and a report generation unit. The rules engine unit is used to score multiple decision-making schemes, and the report generation unit is used to generate compliance reports. The human-computer interaction module is used to display a visual report of the optimal decision-making scheme and abnormal situations. The optimal decision-making scheme is the decision-making scheme with the highest score from the rule engine unit.

[0008] Furthermore, in the encoding unit, the GMP canonical corpus is set as follows: Using LangChain and based on the BERT encoder Embedded representation, specifically: ; In the above formula, Represents text from a canonical corpus. express of Dimensional embedding quantity, , express A 3D real vector space, This represents the predefined output dimension in the BERT encoder; The additional vector database is calculated using the following formula: ; In the above formula, This represents an additional vector database. The first in the canonical corpus a text Dimensional embedding quantity, Representation of text in a canonical corpus The total number, Pick .

[0009] Furthermore, in the workflow generation unit, the workflow in GMP is set as follows: ,Will After BERT encoding, the result is The corresponding vector is represented as Then proceed using the following formula and The vector similarity between the vectors is calculated to obtain the matching specifications and workflow: ; In the above formula, express and Vector similarity between Indicates the first A vector of workflows, Represents the phase cosine similarity function; When the vector similarity reaches its maximum value, the corresponding specification and workflow are set to the matching specification and workflow.

[0010] Furthermore, the data acquisition unit acquires relevant data, including quality data, deviation records, and process parameters, and stores the quality data, deviation records, and process parameters as a time-series dataset.

[0011] Furthermore, the expression for the time series dataset is: ; In the above formula, Represents a time series dataset, In terms of time dimension, The number of process parameters. Represents quality data, Indicates deviation record, Indicates process parameters.

[0012] Furthermore, the risk identification unit utilizes bimodal technology to detect anomalies in the time-series dataset. The specific abnormal quality data is obtained using the following formula: ; In the above formula, The anomaly fraction function represents the bimodal technology. Indicates abnormal quality data. Indicates the first One quality data point, This represents the threshold corresponding to the quality data.

[0013] Furthermore, the risk identification unit utilizes bimodal technology to detect anomalies in the time-series dataset, and the anomaly deviation record is specifically obtained through the following formula: ; In the above formula, The anomaly fraction function represents the bimodal technology. This indicates an abnormal deviation record. Indicates the first One deviation record, This indicates the threshold corresponding to the deviation record.

[0014] Furthermore, the trend prediction unit includes an elastic network regression model, which is used to predict trends in the time series dataset. The expression for the elastic network regression model is: ; In the above formula, For time series data in the time series dataset, This represents the trend of the time series data at the next moment within the current time window. for The corresponding regression coefficient matrix, express The weighting coefficient of the norm term, express The weighting coefficient of the norm term.

[0015] Furthermore, the rule engine unit includes a scoring rule engine, which contains at least three rules: compliance rules, cost-effectiveness rules, and efficiency improvement rules. The compliance rules calculate the score using the following formula: score1 = (Number of decision-making schemes that meet GMP standards) / (Total number of GMP standards); The cost-benefit rule calculates the score using the following formula: score2 = (expected benefit of the decision) / (total cost of the decision); The efficiency improvement rules are scored using the following formula: score3 = (Expected processing time of the decision-making plan) / (Processing time of the existing plan); The final score for each decision is: score = (score1 + score2 + score3) / 3.

[0016] Furthermore, the report generation unit includes a first threshold and a second threshold. When the score obtained by the decision scheme is greater than or equal to the first threshold, it is recorded as a compliant scheme; otherwise, it is recorded as a non-compliant scheme. The compliant scheme is then compared with an additional vector database using the following formula for similarity calculation: ; In the above formula, Represents the cosine similarity function. Indicates a compliance plan; If the similarity between a compliance scheme and an additional vector database is less than a second threshold, the compliance scheme is marked as a potential compliance risk. The compliance plan and the markers of potential compliance risks are presented in the compliance report.

[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) This invention sets up a process standardization module to formulate unified GMP compliance management standards, laying the foundation for automation; the automated execution monitoring module realizes the automation of GMP workflow, and combines computer vision technology for real-time monitoring to reduce the burden of manpower; the data analysis module integrates big data and machine learning agents to discover potential compliance risk points and provide analytical basis for continuous improvement; the automated audit module realizes intelligent audit of key control points based on rule engine and big model logic analysis, and generates a comprehensive compliance report; the human-computer interaction module introduces human intervention, effectively combining robot automation and human experience judgment.

[0018] (2) This invention integrates cutting-edge technologies such as visual big model, multi-agent, and RPA to create a new “automation + intelligence” model for drug GMP compliance management; realizes the automation, intelligence and visualization of GMP compliance management, significantly improves the level of GMP compliance management of enterprises, reduces human risk, and has broad application prospects. Attached Figure Description

[0019] Figure 1 This is a flowchart of the present invention. Detailed Implementation

[0020] The technical solution of the present invention will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are not all embodiments of the present invention. All other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.

[0021] like Figure 1 As shown, the present invention provides an automated robot for pharmaceutical production GMP management processes, including a process standardization module, an automated execution monitoring module, a data analysis module, a decision support module, an automated auditing module, and a human-computer interaction module.

[0022] The process standardization module includes a process analysis unit, a coding unit, and a workflow generation unit. It automatically connects to different systems via Robotic Process Automation (RPA), such as Manufacturing Execution System (MES) and Quality Management System (QMS), to simulate user login, data extraction, and other operations.

[0023] The process streamlining unit comprehensively streamlines the company's existing GMP workflows using the visual-text bimodal large language model Lalava; the coding unit uses the LangChain framework to build a retrieval-enhanced generative agent to encode GMP specifications into an additional vector database; the workflow generation unit uses the large language model to transform the workflows processed by the process streamlining unit into standardized workflows that can be executed automatically; the functions of the process standardization module include process standardization management, equipment standardization operation, quality control standard setting, safety operation procedure formulation, employee training plan implementation, performance indicators and monitoring, and supply chain standardization management.

[0024] Specifically, the process streamlining unit calls the Lava interface to read the enterprise's existing GMP workflows, achieving a comprehensive streamlining of the workflows; in the coding unit, the GMP specification corpus is set as follows: LangChain is based on the BERT encoder. Embedded representation, specifically: ; In the above formula, Represents text from a canonical corpus. Representation of canonical corpus text of Dimensional embedding quantity, , express A 3D real vector space, This represents the predefined output dimension in the BERT encoder.

[0025] Additional vector database denoted as The result is obtained through the following formula: ; In the above formula, The first in the canonical corpus a text Dimensional embedding quantity, Representation of text in a canonical corpus The total number, Pick .

[0026] The workflow generation unit utilizes a large language model to perform semantic understanding on the GMP workflow read by the workflow analysis unit. Then, it performs semantic similarity matching between the GMP workflow and specifications in an additional vector database to obtain the matched specifications and workflows. Specifically: Let the GMP workflow be as follows: ,Will After BERT encoding, the result is Corresponding vector representation Then proceed using the following formula and Vector similarity calculation between them is used to match the best specification for the workflow: ; In the above formula, express and Vector similarity between Indicates the first A vector of workflows, This represents the cosine similarity function.

[0027] Set the specification and workflow with the highest vector similarity value as the matching specification and workflow.

[0028] The automated execution monitoring module integrates various sensors and detection devices, enabling real-time monitoring of various indicators during the production process, such as temperature, humidity, and pressure. Through data analysis and processing, the robot can promptly detect anomalies and issue alerts, ensuring the stability and controllability of the production process. The automated execution monitoring module includes a process execution unit, an anomaly monitoring unit, and a data acquisition unit. The process execution unit automatically executes optimized standardized workflows; the anomaly monitoring unit utilizes the visual-text bimodal large language model Lalava to monitor the execution of workflows in real time and issue warnings for abnormal states; the data acquisition unit collects relevant data. Automated data recording and tracking improves data accuracy and reliability, reducing the risk of human error.

[0029] Specifically, the process execution unit uses RPA to execute workflow scripts. It inputs screenshots of each operation step into Lalava to obtain the corresponding click coordinates, which are then returned as the next operation instruction. After the workflow script execution is complete, a detailed operation log is generated, recording key information such as the executed operations, timestamps, and results. Executable workflow scripts include: automatically filling out forms and submitting data, and automatically generating required GMP compliance reports. These compliance reports include production records and quality inspection reports, ensuring that each step is executed according to GMP standards during the automatic form filling and data submission process.

[0030] The anomaly control unit receives screenshots of operations output from the process execution unit. It then inputs these screenshots into Lalava for visual recognition of the current status, analyzing the user interface and related documents in real time to monitor whether the execution conforms to preset workflow standards. The anomaly control unit utilizes a neural network model to identify deviations and unexpected behaviors in the workflow, including operation timeouts, data anomalies, and inputs that do not meet specifications. When the anomaly control unit detects any deviation or unexpected behavior in the workflow, it automatically triggers an alarm, alerting relevant personnel or system administrators via email, SMS, or the company's internal notification system.

[0031] The data acquisition unit collects relevant data from the MES or QMS system, including quality data. Deviation Record Process parameters The quality data, deviation records, and process parameters are stored as a time-series dataset using the following formula. : ; In the above formula, In terms of time dimension, This represents the number of process parameters.

[0032] The data analysis module comprises a risk identification unit and a trend prediction unit. During task execution, it records various data in real time, including material information, production parameters, and operation records. This data can be used for traceability and analysis, supporting drug quality management and decision-making. The risk identification unit uses bimodal technology (Transformer) to conduct in-depth analysis of quality data and deviation records, identifying risk points and optimizing workflows. The trend prediction unit uses data mining agents (such as elastic network regression) to perform pattern recognition and trend prediction on the collected data. The data analysis module can clean and organize the collected data. Since different systems may have different data structures, formats, and naming rules, directly integrating this data may lead to confusion and inaccuracies. The data analysis module can automatically detect and correct errors or inconsistencies in the data, delete duplicate data, and standardize data formats through preset rules and algorithms, thereby ensuring data accuracy and consistency. For centralized storage, the data analysis module can import the cleaned and organized data into a designated database or data warehouse. These databases or data warehouses can be customized according to business needs for better data storage, management, and analysis. Centralized storage allows businesses to more easily query, analyze, and mine data, thereby identifying problems and opportunities in their operations and providing strong support for decision-making.

[0033] Specifically, the risk identification unit utilizes bimodal technology to analyze time-series datasets. Anomaly detection was performed to obtain abnormal quality data. and abnormal deviation records , is represented as: ; ; In the above formula, The anomaly fraction function represents the bimodal technology. Indicates the first One quality data point, This represents the threshold corresponding to the quality data. Indicates the first One deviation record, This indicates the threshold corresponding to the deviation record.

[0034] right and Through semantic parsing techniques in large language models, we obtain and The corresponding workflows are recorded as potential compliance risk points. These potential compliance risk points are then input into the process analysis unit, which uses the visual-text bimodal large language model Llava to comprehensively analyze the company's existing GMP workflows and potential compliance risk points.

[0035] In the trend prediction unit, an elastic network regression model is constructed as a data mining agent to predict the trend of the time series dataset T. The expression of its elastic network regression model is: ; In the above formula, It is time series data. This represents the trend of the time series data at the next time point within the current time window. for The corresponding regression coefficient matrix, express The weighting coefficient of the norm term, express The weighting coefficient of the norm term.

[0036] By using an elastic network regression model to predict the trend of T, potential changes in the future time window are identified. These potential changes are then output to the process streamlining unit, which uses the visual-text bimodal large language model Llava to comprehensively analyze the company's existing GMP workflows and potential changes.

[0037] The decision support module includes an identification unit and a solution generation unit. The identification unit acquires abnormal quality data. and abnormal deviation records The corresponding workflow. The solution generation unit generates multiple feasible decision-making solutions by identifying the abnormal quality data and abnormal deviation records obtained by the identification unit, and the change direction under the future time window obtained by the trend prediction unit. Each feasible decision-making solution consists of indicators and parameters of each link in drug production, quality control, and sales.

[0038] The automated auditing module comprises a rules engine unit and a report generation unit. The rules engine unit scores various feasible decision-making options by writing rules. The automated auditing module ensures data integrity and accuracy, avoiding human error and omissions. Combined with an additional vector database, the rules engine unit efficiently analyzes and processes decision-making options. This additional vector database is a database capable of processing vector data; it represents data in vector form and supports similarity comparisons and calculations between vectors.

[0039] Specifically, the scoring rule engine is built in the rule engine unit. Scoring rule engine Includes a series of rules , is represented as: ; The scoring rule engine scores the decision-making schemes generated in the scheme generation unit.

[0040] Compliance rules: Scoring is based on the degree to which the decision-making solution adheres to GMP standards. The more the solution conforms to GMP specifications, the higher the score. Specifically: score1 = (Number of GMP standards met) / (Total number of GMP standards); Cost-benefit rule: Evaluate the ratio between the cost and expected benefits of implementing a decision-making option. Options with lower costs and higher potential benefits score higher, specifically: score2 = (expected revenue) / (total cost); Efficiency improvement rules: Evaluate the potential of a decision-making approach to improve productivity. Scoring is done by comparing the expected reduction in processing time, specifically: score3 = (expected processing time) / (processing time of existing solutions); The final score for each decision is: score = (score1 + score2 + score3) / 3.

[0041] The report generation unit sets a first threshold and a second threshold. If the score of a decision-making scheme is greater than or equal to the first threshold, it is considered a compliant scheme; otherwise, it is not. A compliant scheme is denoted as... Compliance plan Similarity calculation with additional vector databases: ; If the similarity between the compliance scheme and the additional vector database is less than a second threshold, it is marked as a potential compliance risk.

[0042] Generate compliance reports that present compliance plans and whether they are marked as potential compliance risks in a clear and intuitive manner to relevant personnel. This significantly reduces the workload of staff and improves review efficiency and accuracy.

[0043] The human-computer interaction module includes an automatic prompting unit and an alarm unit.

[0044] The auto-suggestion unit visualizes the optimal decision-making solution, which is the decision-making solution with the highest score in the scoring rule engine and not marked as a potential compliance risk. The auto-suggestion unit also outputs the optimal solution to the process analysis unit, enabling the process analysis unit to comprehensively analyze the company's existing GMP workflows and optimal solutions through the visual-text bimodal large language model Llava.

[0045] The alarm unit is used to visually report abnormal situations, including data acquisition failures, data errors, or system malfunctions. The human-machine interaction module can automatically detect and trigger the alarm mechanism, promptly sending alarm information or abnormal handling suggestions to relevant personnel. For different types of abnormal situations, the human-machine interaction module can employ different strategies to guide human intervention. For some temporary and recoverable abnormalities, the automatic prompting unit can attempt automatic repair or retry operations. Specifically, based on the decision content of the large language model, the output improvement plan, or control parameters, the robot process automation that integrates the feedback from relevant personnel on the decision content into the large language model to execute the improvement plan is implemented. For some complex or unprocessable abnormal situations, the alarm unit should be able to promptly send alerts or notifications to relevant personnel. During the process of guiding human intervention, the automatic prompting unit can also provide relevant information and suggestions to help personnel better understand and handle abnormal situations. For example, the human-machine interaction module can record detailed logs and contextual information when an abnormality occurs and provide them to relevant personnel.

[0046] This invention establishes a process standardization module to formulate unified GMP compliance management standards, laying the foundation for automation; an automated execution monitoring module automates GMP workflows, combining computer vision technology for real-time monitoring and reducing manpower burden; a data analysis module integrates big data and machine learning intelligence to identify potential compliance risks and provide analytical basis for continuous improvement; an automated auditing module, based on rule engines and large-scale model logic analysis, enables intelligent auditing of key control points and generates comprehensive compliance reports; and a human-computer interaction module introduces human intervention, effectively combining robotic automation with human experience judgment.

[0047] This invention integrates cutting-edge technologies such as visual large models, multi-agent systems, and RPA to create a new "automation + intelligence" model for pharmaceutical GMP compliance management; it achieves automation, intelligence, and visualization of GMP compliance management, significantly improves the GMP compliance management level of enterprises, reduces human risk, and has broad application prospects.

[0048] Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, and is not intended to limit the scope of protection of the present invention. Simple modifications or equivalent substitutions made by those skilled in the art to the technical solution of the present invention do not depart from the essence and scope of the technical solution of the present invention.

Claims

1. An automated robot for pharmaceutical GMP management processes, characterized in that, It includes a process standardization module, an automated execution monitoring module, a data analysis module, a decision support module, an automated auditing module, and a human-computer interaction module; The process standardization module includes a process streamlining unit, an encoding unit, and a workflow generation unit. The process streamlining unit uses the visual-text bimodal large language model Llava to streamline the enterprise's GMP workflow. The encoding unit is used to encode the specifications in the enterprise's GMP into an additional vector database. The workflow generation unit is used to standardize the workflow processed by the process streamlining unit, and obtain matching specifications and workflows based on the vector database and the standardized workflow. The automated execution monitoring module includes a process execution unit, an anomaly monitoring unit, and a data acquisition unit; the process execution unit is used to execute the standardized workflow of the workflow generation unit, and is also used to acquire screenshots of each step of the workflow. The anomaly monitoring unit is used to compare the operation screenshots obtained by the process execution unit with the preset workflow standards to identify deviations and unexpected behaviors in the workflow. The data acquisition unit is used to generate time-series datasets; The data analysis module includes a risk identification unit and a trend prediction unit; The risk identification unit is used to detect anomalies in the time series dataset to obtain abnormal quality data and abnormal deviation records; the trend prediction unit is used to predict trends based on the time series dataset to identify potential change directions under future time windows; the trend prediction unit is equipped with an elastic net regression model to predict trends in the time series dataset. The obtained abnormal quality data and abnormal deviation records are processed by semantic parsing technology in the large language model. The processed data and potential change directions are input into the process streamlining unit, so that the process streamlining unit can re-stream the enterprise's GMP workflow through the visual-text dual-modal large language model Llava. The decision support module includes an identification unit and a solution generation unit; the identification unit is used to acquire the workflow corresponding to abnormal quality data and abnormal deviation records; the solution generation unit generates multiple decision solutions based on the workflow corresponding to abnormal quality data and abnormal deviation records and the potential change direction under the future time window. The automated audit module includes a rules engine unit and a report generation unit. The rules engine unit is used to score multiple decision-making schemes, and the report generation unit is used to generate compliance reports. The human-computer interaction module is used to display a visual report of the optimal decision-making scheme and abnormal situations. The optimal decision-making scheme is the decision-making scheme with the highest score from the rule engine unit.

2. The automated robot for pharmaceutical production GMP management process according to claim 1, characterized in that, In the encoding unit, the GMP canonical corpus is set as follows: Using LangChain and based on the BERT encoder Embedded representation, specifically: In the above formula, Represents text from a canonical corpus. express of Dimensional embedding quantity, , express A 3D real vector space, This represents the predefined output dimension in the BERT encoder; The additional vector database is calculated using the following formula: In the above formula, This represents an additional vector database. The first in the canonical corpus a text Dimensional embedding quantity, Representation of text in a canonical corpus The total number, Pick .

3. The automated robot for pharmaceutical production GMP management process according to claim 2, characterized in that, In the workflow generation unit, the workflow in GMP is set as follows: ,Will After BERT encoding, the result is The corresponding vector is represented as Then proceed using the following formula and The vector similarity between the vectors is calculated to obtain the matching specifications and workflow: In the above formula, express and Vector similarity between Indicates the first A vector of workflows, Represents the phase cosine similarity function; When the vector similarity reaches its maximum value, the corresponding specification and workflow are set to the matching specification and workflow.

4. The automated robot for pharmaceutical production GMP management process according to claim 1, characterized in that, The data acquisition unit collects relevant data, including quality data, deviation records, and process parameters, and stores the quality data, deviation records, and process parameters as a time-series dataset.

5. The automated robot for pharmaceutical production GMP management process according to claim 4, characterized in that, The expression for the time series dataset is: In the above formula, Represents a time series dataset, In terms of time dimension, The number of process parameters. Represents quality data, Indicates deviation record, Indicates process parameters.

6. The automated robot for pharmaceutical production GMP management process according to claim 5, characterized in that, The risk identification unit uses bimodal technology to detect anomalies in the time-series dataset. The specific abnormal quality data is obtained through the following formula: In the above formula, The anomaly fraction function represents the bimodal technology. Indicates abnormal quality data. Indicates the first One quality data point, This represents the threshold corresponding to the quality data.

7. The automated robot for pharmaceutical production GMP management process according to claim 6, characterized in that, The risk identification unit uses bimodal technology to detect anomalies in the time-series dataset. The anomaly deviation record is obtained using the following formula: In the above formula, The anomaly fraction function represents the bimodal technology. This indicates an abnormal deviation record. Indicates the first One deviation record, This indicates the threshold corresponding to the deviation record.

8. The automated robot for pharmaceutical production GMP management process according to claim 7, characterized in that, The expression for the elastic network regression model is: In the above formula, For time series data in the time series dataset, This represents the trend of the time series data at the next moment within the current time window. for The corresponding regression coefficient matrix, express The weighting coefficients of the norm term, express The weighting coefficient of the norm term.

9. The automated robot for pharmaceutical production GMP management process according to claim 2, characterized in that, The rule engine unit includes a scoring rule engine, which contains at least three rules: compliance rules, cost-effectiveness rules, and efficiency improvement rules. The compliance rules calculate the score using the following formula: score1 = (Number of decision-making schemes that meet GMP standards) / (Total number of GMP standards); The cost-benefit rule calculates the score using the following formula: score2 = (expected benefit of the decision) / (total cost of the decision); The efficiency improvement rules are scored using the following formula: score3 = (Expected processing time of the decision-making plan) / (Processing time of the existing plan); The final score for each decision is: score = (score1 + score2 + score3) / 3.

10. The automated robot for pharmaceutical production GMP management process according to claim 9, characterized in that, The report generation unit has a first threshold and a second threshold. When the score obtained by the decision scheme is greater than or equal to the first threshold, it is recorded as a compliant scheme; otherwise, it is recorded as a non-compliant scheme. The compliant scheme and an additional vector database are compared using the following formula to calculate their similarity: In the above formula, Represents the cosine similarity function. Indicates a compliance plan; If the similarity between a compliance scheme and an additional vector database is less than a second threshold, the compliance scheme is marked as a potential compliance risk. The compliance plan and the markers of potential compliance risks are presented in the compliance report.

Citation Information

Patent Citations

  • Financial system business process abnormity early warning method and device

    CN111931172A

  • Intelligent control system and method for cut tobacco preparation link

    CN112021626A

  • Product production quality monitoring method and device

    CN116797091A

  • Power operation safety risk auxiliary correction method based on visual questions and answers

    CN117829583A

  • Water affair industry knowledge question-answering system implementation method and system based on large language model

    CN118193711A