+

CN119851903B - Monitoring and managing method and system for medicament inventory - Google Patents

Monitoring and managing method and system for medicament inventory Download PDF

Info

Publication number
CN119851903B
CN119851903B CN202510330489.7A CN202510330489A CN119851903B CN 119851903 B CN119851903 B CN 119851903B CN 202510330489 A CN202510330489 A CN 202510330489A CN 119851903 B CN119851903 B CN 119851903B
Authority
CN
China
Prior art keywords
inventory
warehouse
medicament
monitoring
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202510330489.7A
Other languages
Chinese (zh)
Other versions
CN119851903A (en
Inventor
俞丽霞
洪少雄
王文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lanxi Hospital Of Traditional Chinese Medicine
Original Assignee
Lanxi Hospital Of Traditional Chinese Medicine
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lanxi Hospital Of Traditional Chinese Medicine filed Critical Lanxi Hospital Of Traditional Chinese Medicine
Priority to CN202510330489.7A priority Critical patent/CN119851903B/en
Publication of CN119851903A publication Critical patent/CN119851903A/en
Application granted granted Critical
Publication of CN119851903B publication Critical patent/CN119851903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/042Knowledge-based neural networks; Logical representations of neural networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • G06N3/0442Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/092Reinforcement learning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Biophysics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Finance (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)

Abstract

本发明公开了一种药剂库存的监测管理方法及系统,涉及人工智能技术领域,包括,部署多源传感器,实时监测药剂库存的状态并进行分析,提取关键特征;对提取的关键特征进行实时融合分析,生成动态库存状态映射图;基于动态库存状态映射图,构建强化学习驱动的自适应库存分配模型,得到最优库存分配与调度策略并更新库存状态;根据更新后的库存状态和失效期状态,构建基于联邦学习的失效期分布式预测模型,生成失效期预测结果并进行跨仓库的协同优化;基于失效期预测结果,构建数字孪生的危险系数动态评估体系,得到危险系数评估结果;基于联邦学习的失效期分布式预测模型提高了失效期预测的准确性和适应性。

The present invention discloses a monitoring and management method and system for medicine inventory, which relates to the field of artificial intelligence technology, including deploying multi-source sensors, monitoring the status of medicine inventory in real time and analyzing it, and extracting key features; performing real-time fusion analysis on the extracted key features to generate a dynamic inventory status map; based on the dynamic inventory status map, constructing a reinforcement learning-driven adaptive inventory allocation model to obtain an optimal inventory allocation and scheduling strategy and update the inventory status; constructing a distributed expiration period prediction model based on federated learning according to the updated inventory status and expiration period status, generating expiration period prediction results and performing cross-warehouse collaborative optimization; based on the expiration period prediction results, constructing a dynamic risk factor assessment system of a digital twin to obtain a risk factor assessment result; the distributed expiration period prediction model based on federated learning improves the accuracy and adaptability of expiration period prediction.

Description

一种药剂库存的监测管理方法及系统A monitoring and management method and system for pharmaceutical inventory

技术领域Technical Field

本发明涉及人工智能技术领域,特别是一种药剂库存的监测管理方法及系统。The present invention relates to the field of artificial intelligence technology, and in particular to a monitoring and management method and system for medicine inventory.

背景技术Background Art

随着医药行业的快速发展,药剂库存管理的复杂性日益增加。传统的库存管理系统主要依赖于人工记录和定期盘点,这种方式不仅效率低下,而且容易出现错误,导致药品过期或存储条件不达标的问题频发。近年来,随着物联网技术和人工智能的发展,越来越多的企业开始尝试使用传感器网络和数据分析技术来改善库存管理。然而,现有的解决方案大多局限于单一功能,如仅监测温湿度或者仅关注库存数量的变化,缺乏对多源数据的综合分析能力以及智能化决策支持。With the rapid development of the pharmaceutical industry, the complexity of pharmaceutical inventory management is increasing. Traditional inventory management systems mainly rely on manual records and regular inventory checks, which is not only inefficient but also prone to errors, resulting in frequent problems of expired drugs or substandard storage conditions. In recent years, with the development of Internet of Things technology and artificial intelligence, more and more companies have begun to try to use sensor networks and data analysis technologies to improve inventory management. However, most existing solutions are limited to a single function, such as only monitoring temperature and humidity or only focusing on changes in inventory quantity, lacking the ability to comprehensively analyze multi-source data and intelligent decision support.

现有技术在处理药剂库存管理和失效期预测方面存在显著不足。一方面,传统的库存管理系统无法实时监控药剂的具体状态及其存储环境参数,难以及时发现潜在风险。另一方面,现有的失效期预测方法通常基于历史数据进行简单回归分析,未能充分利用联邦学习等先进算法的优势,导致预测精度不高且难以适应不同仓库之间的差异性需求。本发明通过部署多源传感器并结合图神经网络、强化学习及联邦学习等先进技术,实现了对药剂库存状态的全面监测与智能管理,显著提升了库存管理效率和安全性。The existing technology has significant deficiencies in dealing with drug inventory management and expiration date prediction. On the one hand, traditional inventory management systems cannot monitor the specific status of drugs and their storage environment parameters in real time, making it difficult to detect potential risks in a timely manner. On the other hand, existing expiration date prediction methods are usually based on simple regression analysis of historical data, and fail to fully utilize the advantages of advanced algorithms such as federated learning, resulting in low prediction accuracy and difficulty in adapting to the different needs of different warehouses. The present invention deploys multi-source sensors and combines advanced technologies such as graph neural networks, reinforcement learning, and federated learning to achieve comprehensive monitoring and intelligent management of drug inventory status, significantly improving inventory management efficiency and safety.

发明内容Summary of the invention

鉴于上述现有存在的问题,提出了本发明。In view of the above existing problems, the present invention is proposed.

因此,本发明提供了一种药剂库存的监测管理方法解决传统药剂库存管理系统中数据监测不全面、失效期预测精度低的问题。Therefore, the present invention provides a monitoring and management method for medicine inventory to solve the problems of incomplete data monitoring and low expiration date prediction accuracy in traditional medicine inventory management systems.

为解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:

第一方面,本发明提供了一种药剂库存的监测管理方法,其包括,In a first aspect, the present invention provides a method for monitoring and managing drug inventory, which comprises:

部署多源传感器,实时监测药剂库存的状态并进行分析,提取关键特征;Deploy multi-source sensors to monitor the status of drug inventory in real time and analyze and extract key features;

对提取的关键特征进行实时融合分析,生成动态库存状态映射图;Perform real-time fusion analysis on the extracted key features to generate a dynamic inventory status map;

基于动态库存状态映射图,构建强化学习驱动的自适应库存分配模型,得到最优库存分配与调度策略并更新库存状态;Based on the dynamic inventory status map, a reinforcement learning-driven adaptive inventory allocation model is constructed to obtain the optimal inventory allocation and scheduling strategy and update the inventory status;

根据更新后的库存状态,构建基于联邦学习的失效期分布式预测模型,生成失效期预测结果并进行跨仓库的协同优化;According to the updated inventory status, a distributed expiration date prediction model based on federated learning is constructed to generate expiration date prediction results and perform collaborative optimization across warehouses.

基于失效期预测结果,构建数字孪生的危险系数动态评估体系,得到危险系数评估结果。Based on the failure period prediction results, a dynamic assessment system for the hazard factor of the digital twin is constructed to obtain the hazard factor assessment results.

作为本发明所述药剂库存的监测管理方法的一种优选方案,其中:部署多源传感器,实时监测药剂库存的状态并进行分析,提取关键特征包括以下步骤,As a preferred solution of the monitoring and management method of the medicine inventory of the present invention, wherein: deploying multi-source sensors, monitoring the status of the medicine inventory in real time and analyzing it, extracting key features includes the following steps:

根据仓库布局和药剂存储区域,确定传感器节点的位置;Determine the location of sensor nodes based on warehouse layout and drug storage areas;

通过部署后的传感器采集药剂库存量、存储环境参数、物理特性和失效期;The deployed sensors collect drug inventory, storage environment parameters, physical characteristics and expiration dates;

对药剂库存量、存储环境参数、物理特性和失效期进行去噪处理、归一化处理和时间戳标记;De-noising, normalizing and time-stamping of drug inventory, storage environment parameters, physical properties and expiration dates;

从处理后的药剂库存量中直接获取每种药剂的数量和位置信息;Directly obtain the quantity and location information of each medicine from the processed medicine inventory;

检测药剂物理特性的颜色变化、气味浓度和形态变化;Detection of color changes, odor concentration, and morphological changes in the physical properties of pharmaceuticals;

使用RFID标签技术自动读取每批药剂的生产日期和批次编号。Use RFID tag technology to automatically read the production date and batch number of each batch of medicine.

作为本发明所述药剂库存的监测管理方法的一种优选方案,其中:对提取的关键特征进行实时融合分析,生成动态库存状态映射图包括以下步骤,As a preferred solution of the pharmaceutical inventory monitoring and management method of the present invention, the following steps are included: performing real-time fusion analysis on the extracted key features to generate a dynamic inventory status map:

使用图神经网络构建关联模型,识别药剂的数量、存储环境参数及药剂物理特性的关联关系;Use graph neural networks to build association models to identify the relationship between the quantity of medicines, storage environment parameters, and physical properties of medicines;

定义节点为每种药剂及其相关属性,边表示不同属性之间的潜在关系;Define nodes as each drug and its related attributes, and edges represent potential relationships between different attributes;

基于定义好的节点和边,构建图结构;Build a graph structure based on defined nodes and edges;

选择处理异构图数据的GNN变体,将构建好的图结构作为输入,更新节点嵌入向量;Select the GNN variant that processes heterogeneous graph data, take the constructed graph structure as input, and update the node embedding vector;

根据仓库的实际布局,确定每个存储单元的位置坐标;Determine the location coordinates of each storage unit based on the actual layout of the warehouse;

将更新后的每个节点嵌入向量与其对应的位置坐标关联起来,生成每种药剂的动态库存状态映射图。The updated embedding vector of each node is associated with its corresponding position coordinate to generate a dynamic inventory status map of each medicine.

作为本发明所述药剂库存的监测管理方法的一种优选方案,其中:基于动态库存状态映射图,构建强化学习驱动的自适应库存分配模型,得到最优库存分配与调度策略并更新库存状态包括以下步骤,As a preferred solution of the monitoring and management method of the pharmaceutical inventory of the present invention, the following steps are included: based on the dynamic inventory status map, a reinforcement learning-driven adaptive inventory allocation model is constructed to obtain the optimal inventory allocation and scheduling strategy and update the inventory status:

选择深度Q模型作为强化学习算法;Select the Deep Q Model as the reinforcement learning algorithm;

基于动态库存状态映射图中的每种药剂的数量、药剂的剩余有效期、药剂的物理特性以及存储环境参数,定义状态向量;A state vector is defined based on the quantity of each medicine in the dynamic inventory state map, the remaining validity period of the medicine, the physical characteristics of the medicine, and the storage environment parameters;

根据每种药剂的库存调整决策,定义动作向量;Based on the inventory adjustment decision for each agent, an action vector is defined;

设置奖励函数,最小化库存浪费、最大化需求满足率并降低风险;Set up reward functions to minimize inventory waste, maximize demand fulfillment, and reduce risk;

收集历史销售数据、市场需求波动情况以及供应链上下游信息;Collect historical sales data, market demand fluctuations, and upstream and downstream supply chain information;

根据收集的历史销售数据、市场需求波动情况以及供应链上下游信息,定义模拟场景;Define simulation scenarios based on collected historical sales data, market demand fluctuations, and upstream and downstream supply chain information;

在每个场景中运行深度Q模型,探索环境并执行动作;Run a deep Q-model in each scene to explore the environment and perform actions;

对于每次动作执行结果,记录状态向量、动作向量、奖励函数和新状态向量,形成经验元组;For each action execution result, record the state vector, action vector, reward function and new state vector to form an experience tuple;

使用经验回放池存储经验元组,并定期从中抽取样本进行训练;Use the experience replay pool to store experience tuples and regularly extract samples from them for training;

基于训练好的深度Q模型,对失效期、存储环境参数和药剂的物理特性进行优先级评分;Based on the trained deep Q model, priority scores are given to the expiration date, storage environment parameters, and physical properties of the agent;

对于高优先级药剂,生成调拨指令,将调拨指令发送至自动化设备,执行调拨操作;For high-priority drugs, a transfer instruction is generated and sent to the automation equipment to execute the transfer operation;

对于中优先级药剂,进行库存优化操作,调整存储位置和优化存储环境;For medium-priority drugs, perform inventory optimization operations, adjust storage locations, and optimize storage environments;

对于低优先级药剂,进行常规库存管理,定期巡检和记录库存状态;For low-priority drugs, perform routine inventory management, conduct regular inspections and record inventory status;

调度执行完成后,更新库存状态。After the dispatch execution is completed, the inventory status is updated.

作为本发明所述药剂库存的监测管理方法的一种优选方案,其中:根据更新后的库存状态和失效期状态,构建基于联邦学习的失效期分布式预测模型,生成失效期预测结果并进行跨仓库的协同优化包括以下步骤,As a preferred solution of the pharmaceutical inventory monitoring and management method of the present invention, the following steps are included: according to the updated inventory status and expiration date status, a distributed expiration date prediction model based on federated learning is constructed, expiration date prediction results are generated, and cross-warehouse collaborative optimization is performed.

在每个仓库本地部署长短期记忆网络作为预测模型;Deploy a long short-term memory network as a prediction model locally in each warehouse;

利用更新后的库存状态作为输入特征,输入至预测模型进行训练;Use the updated inventory status as input features and input them into the prediction model for training;

采用聚合算法作为联邦学习框架,对训练后的LSTM模型参数进行加权平均,形成全局预测模型;The aggregation algorithm is used as the federated learning framework to perform weighted averaging on the trained LSTM model parameters to form a global prediction model.

将全局预测模型参数下发至每个仓库,替换本地LSTM模型参数,使用更新后的全局预测模型对每种药剂的失效期进行预测;The global prediction model parameters are sent to each warehouse to replace the local LSTM model parameters, and the updated global prediction model is used to predict the expiration date of each drug.

当全局预测模型预测某仓库药剂失效期临近且库存不足时,触发跨仓库协同优化指令;When the global prediction model predicts that the expiration date of a medicine in a certain warehouse is approaching and the inventory is insufficient, a cross-warehouse collaborative optimization instruction is triggered;

根据全局库存状态筛选候选仓库;Filter candidate warehouses based on global inventory status;

对候选仓库基于动态优先级评分体系进行排序,总分最高者作为目标仓库;The candidate warehouses are ranked based on a dynamic priority scoring system, and the warehouse with the highest total score is selected as the target warehouse;

当多个候选仓库并列最高分,按距离优先原则选择目标仓库进行调拨;When multiple candidate warehouses are tied for the highest score, the target warehouse will be selected for transfer based on the distance priority principle;

设定库存量安全阈值,当仅有一个候选仓库且调拨后其库存量低于安全阈值,自动计算最大可调拨量并生成部分调拨指令;Set the inventory safety threshold. When there is only one candidate warehouse and its inventory after transfer is lower than the safety threshold, the maximum transferable quantity is automatically calculated and a partial transfer instruction is generated.

调拨指令下发至自动化设备执行,并同步更新源仓库、目标仓库库存状态及全局预测模型;Transfer instructions are sent to automated equipment for execution, and the source warehouse, target warehouse inventory status and global forecasting model are updated simultaneously;

若调拨失败,触发供应链协同响应流程,生成采购申请和生产调度指令。If the transfer fails, the supply chain collaborative response process will be triggered to generate purchase requisitions and production scheduling instructions.

作为本发明所述药剂库存的监测管理方法的一种优选方案,其中:基于失效期预测结果,构建数字孪生的危险系数动态评估体系,计算每个存储单元的危险系数包括以下步骤,As a preferred solution of the monitoring and management method of the pharmaceutical inventory of the present invention, based on the expiration date prediction result, a dynamic evaluation system of the risk factor of the digital twin is constructed, and the risk factor of each storage unit is calculated, including the following steps:

选择数字孪生平台,创建数字孪生实例,配置计算资源和存储资源;Select a digital twin platform, create a digital twin instance, and configure computing and storage resources;

使用3D建模工具构建包括存储单元、货架、通道和设备的仓库物理布局,并将建模结果导入数字孪生平台,生成虚拟仓库的数字孪生模型;Use 3D modeling tools to build the physical layout of the warehouse including storage units, shelves, aisles, and equipment, and import the modeling results into the digital twin platform to generate a digital twin model of the virtual warehouse;

将多源传感器实时监测的药剂库存状态与虚拟仓库的数字孪生模型中的存储单元关联,实时更新虚拟仓库的数字孪生模型中的环境参数和药剂的物理特性;Associating the inventory status of medicines monitored in real time by multi-source sensors with the storage units in the digital twin model of the virtual warehouse, and updating the environmental parameters and physical properties of medicines in the digital twin model of the virtual warehouse in real time;

定义数字孪生模型的静态属性和动态属性,并在数字孪生平台中构建仿真场景,设置仿真参数,模拟在不同条件下的风险;Define the static and dynamic properties of the digital twin model, build simulation scenarios in the digital twin platform, set simulation parameters, and simulate risks under different conditions;

基于模拟结果,计算每个存储单元的危险系数Based on the simulation results, calculate the risk factor of each storage unit .

作为本发明所述药剂库存的监测管理方法的一种优选方案,其中:基于计算得到的每个存储单元的危险系数,进行危险等级划分,得到危险系数评估结果包括以下步骤,As a preferred solution of the monitoring and management method of the pharmaceutical inventory of the present invention, the risk level is divided based on the calculated risk factor of each storage unit, and the risk factor evaluation result is obtained, including the following steps:

根据药剂的物理特性和存储环境参数,设置为高风险阈值,为警戒阈值;According to the physical characteristics of the medicine and the storage environment parameters, set is a high risk threshold. is the warning threshold;

>时,标记为高危状态,生成一级响应措施,发出一号声光警报,自动停止向高风险存储单元加入药剂,通知仓库管理人员进行人工检查和处理;when > When a high-risk storage unit is detected, it is marked as a high-risk state, a first-level response measure is generated, a No. 1 sound and light alarm is issued, the addition of reagents to the high-risk storage unit is automatically stopped, and the warehouse management personnel are notified to conduct manual inspection and processing;

<时,标记为警戒状态,生成二级响应措施,发出二号声光警报,自动停止向警戒存储单元加入药剂,增加对该存储单元的巡检频率;when < When the alarm is reached, it is marked as an alarm state, a secondary response measure is generated, a second sound and light alarm is sounded, the addition of medicine to the alarm storage unit is automatically stopped, and the inspection frequency of the storage unit is increased;

时,标记为安全状态,持续监控存储单元的环境参数和药剂状态,按照标准巡检计划对该存储单元进行检查。when When the storage unit is in a safe state, it is marked as safe, the environmental parameters and the status of the reagents in the storage unit are continuously monitored, and the storage unit is inspected according to the standard inspection plan.

第二方面,本发明提供了一种药剂库存的监测管理系统,包括,In a second aspect, the present invention provides a monitoring and management system for drug inventory, comprising:

感知网络模块,部署多源传感器,实时监测药剂库存的状态并进行分析,提取关键特征;The perception network module deploys multi-source sensors to monitor the status of drug inventory in real time and analyze and extract key features;

状态映射模块,对提取的关键特征进行实时融合分析,生成每种药剂的动态库存状态映射图;The status mapping module performs real-time fusion analysis on the extracted key features and generates a dynamic inventory status map for each drug;

自适应分配模块,基于动态库存状态映射图,构建强化学习驱动的自适应库存分配模型,得到最优库存分配与调度策略并更新库存状态;The adaptive allocation module builds a reinforcement learning-driven adaptive inventory allocation model based on the dynamic inventory status map, obtains the optimal inventory allocation and scheduling strategy, and updates the inventory status;

失效期预测模块,根据更新后的库存状态和失效期状态,构建基于联邦学习的失效期分布式预测模型,生成失效期预测结果并进行跨仓库的协同优化;The expiration date prediction module builds a distributed expiration date prediction model based on federated learning according to the updated inventory status and expiration date status, generates expiration date prediction results, and performs collaborative optimization across warehouses.

危险评估模块,基于失效期预测结果,构建数字孪生的危险系数动态评估体系,得到危险系数评估结果。The hazard assessment module builds a dynamic hazard factor assessment system for the digital twin based on the failure period prediction results to obtain the hazard factor assessment results.

第三方面,本发明提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中:所述计算机程序被处理器执行时实现如本发明第一方面所述的药剂库存的监测管理方法的任一步骤。In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the method for monitoring and managing drug inventory as described in the first aspect of the present invention is implemented.

第四方面,本发明提供了一种计算机可读存储介质,其上存储有计算机程序,其中:所述计算机程序被处理器执行时实现如本发明第一方面所述的药剂库存的监测管理方法的任一步骤。In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: the computer program, when executed by a processor, implements any step of the method for monitoring and managing drug inventory as described in the first aspect of the present invention.

本发明有益效果为:通过部署多源传感器,实现了对药剂库存状态的全方位实时监测,有效解决了传统系统中因信息采集不全而导致的风险识别滞后问题;利用图神经网络对提取的关键特征信息进行融合分析,生成动态库存状态映射图,为后续的库存分配提供了精准的数据支持;采用强化学习驱动的自适应库存分配模型,能够根据实际库存状况制定最优调度策略,最大化满足市场需求的同时降低库存浪费;基于联邦学习的失效期分布式预测模型提高了失效期预测的准确性和适应性,而数字孪生的危险系数动态评估体系则确保了对高风险存储单元的即时响应和有效控制,整体上大幅提升了药剂库存管理的安全性和效率。The beneficial effects of the present invention are as follows: by deploying multi-source sensors, all-round real-time monitoring of the inventory status of medicines is achieved, effectively solving the problem of delayed risk identification caused by incomplete information collection in traditional systems; the extracted key feature information is fused and analyzed using a graph neural network to generate a dynamic inventory status map, providing accurate data support for subsequent inventory allocation; a reinforcement learning-driven adaptive inventory allocation model is used to formulate the optimal scheduling strategy based on the actual inventory status, maximizing market demand while reducing inventory waste; the distributed expiration date prediction model based on federated learning improves the accuracy and adaptability of expiration date prediction, and the dynamic risk factor assessment system of the digital twin ensures immediate response and effective control of high-risk storage units, which greatly improves the safety and efficiency of medicine inventory management as a whole.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

图1为实施例1中药剂库存的监测管理方法的流程图。FIG. 1 is a flow chart of the method for monitoring and managing medicine inventory in Example 1.

图2为实施例1中药剂库存的监测管理系统的模块图。FIG. 2 is a module diagram of the monitoring and management system for medicine inventory in Example 1.

具体实施方式DETAILED DESCRIPTION

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合说明书附图对本发明的具体实施方式做详细的说明。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是本发明还可以采用其他不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似推广,因此本发明不受下面公开的具体实施例的限制。In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

其次,此处所称的“一个实施例”或“实施例”是指可包含于本发明至少一个实现方式中的特定特征、结构或特性。在本说明书中不同地方出现的“在一个实施例中”并非均指同一个实施例,也不是单独的或选择性的与其他实施例互相排斥的实施例。Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

实施例1,参照图1和图2,为本发明第一个实施例,该实施例提供了一种药剂库存的监测管理方法,包括以下步骤:Embodiment 1, referring to FIG. 1 and FIG. 2 , is a first embodiment of the present invention, which provides a method for monitoring and managing drug inventory, comprising the following steps:

S1.部署多源传感器,实时监测药剂库存的状态并进行分析,提取关键特征信息。S1. Deploy multi-source sensors to monitor the status of drug inventory in real time and analyze it to extract key feature information.

S1.1.根据仓库布局和药剂存储区域划分,确定传感器节点的位置。S1.1. Determine the location of the sensor nodes based on the warehouse layout and drug storage area division.

具体地,温湿度传感器均匀分布在仓库不同高度和区域,避免局部环境偏差,气体传感器靠近易挥发药剂存储区,光学传感器安装在药剂包装流水线或货架附近,便于捕捉药剂外观特征。Specifically, temperature and humidity sensors are evenly distributed at different heights and areas in the warehouse to avoid local environmental deviations, gas sensors are close to volatile medicine storage areas, and optical sensors are installed near medicine packaging lines or shelves to capture the appearance characteristics of medicines.

S1.2通过部署后的传感器采集药剂库存量、存储环境参数、物理特性和失效期;对药剂库存的状态进行去噪处理、归一化处理和时间戳标记;从处理后的药剂库存量中直接获取每种药剂的数量和位置信息;测量存储环境中的温度与湿度、气体成分和光照条件;检测药剂物理特性的颜色变化、气味浓度和形态变化;对于失效期,使用RFID标签技术自动读取每批药剂的生产日期和批次编号。S1.2 collects drug inventory, storage environment parameters, physical properties and expiration dates through deployed sensors; denoises, normalizes and timestamps the status of drug inventory; directly obtains the quantity and location information of each drug from the processed drug inventory; measures the temperature and humidity, gas composition and lighting conditions in the storage environment; detects color changes, odor concentration and morphological changes in the physical properties of drugs; and for expiration dates, uses RFID tag technology to automatically read the production date and batch number of each batch of drugs.

具体地,去噪是去除由设备噪声引起的数据波动,归一化是将不同来源的数据转换到统一量纲下,便于后续分析,时间戳标记是为每条记录添加精确的时间信息。Specifically, denoising is to remove data fluctuations caused by equipment noise, normalization is to convert data from different sources to a unified dimension for subsequent analysis, and timestamp marking is to add precise time information to each record.

S2.对提取的关键特征信息进行实时融合分析,生成每种药剂的动态库存状态映射图包括以下步骤,S2. Performing real-time fusion analysis on the extracted key feature information to generate a dynamic inventory status map for each drug includes the following steps:

使用图神经网络构建关联模型,识别药剂数量、存储环境参数及药剂物理特性的关联关系;定义节点为每种药剂及其相关属性(包括但不限于数量、位置、批次信息、生产日期等),边表示不同属性之间的潜在关系(如温度对颜色变化的影响、湿度对气味浓度的影响等);基于定义好的节点和边,构建图结构;选择处理异构图数据的GNN变体,将构建好的图结构作为输入,更新节点嵌入向量;根据仓库的实际布局,确定每个存储单元的位置坐标;将更新后的每个节点嵌入向量与其对应的位置坐标关联起来,生成每种药剂的动态库存状态映射图。Use graph neural networks to build an association model to identify the association between the number of medicines, storage environment parameters, and physical properties of medicines; define nodes as each medicine and its related attributes (including but not limited to quantity, location, batch information, production date, etc.), and edges represent potential relationships between different attributes (such as the impact of temperature on color change, the impact of humidity on odor concentration, etc.); build a graph structure based on the defined nodes and edges; select a GNN variant that processes heterogeneous graph data, use the constructed graph structure as input, and update the node embedding vector; determine the location coordinates of each storage unit based on the actual layout of the warehouse; associate each updated node embedding vector with its corresponding location coordinates to generate a dynamic inventory status map for each medicine.

具体地,动态库存状态映射图的形成是根据GNN模型输出的节点嵌入向量,结合仓库布局信息,构建三维空间坐标系,利用三维图形库(如Three.js或Unity3D)将这些向量转化为可视化的三维模型。对于每一个药品,其在三维空间中的位置由其实际存储位置决定,而颜色、大小等属性则根据其当前的状态(如温度、湿度、剩余有效期等)动态调整,在三维视图中添加交互功能,允许用户点击任意药品查看详细信息,包括但不限于药品名称、数量、最近一次检测结果、预测失效期等。Specifically, the dynamic inventory status map is formed by constructing a three-dimensional space coordinate system based on the node embedding vectors output by the GNN model, combined with warehouse layout information, and using a three-dimensional graphics library (such as Three.js or Unity3D) to convert these vectors into a visual three-dimensional model. For each drug, its position in three-dimensional space is determined by its actual storage location, while attributes such as color and size are dynamically adjusted according to its current state (such as temperature, humidity, remaining validity period, etc.), and interactive functions are added to the three-dimensional view, allowing users to click on any drug to view detailed information, including but not limited to the drug name, quantity, most recent test results, predicted expiration date, etc.

应说明的是,通过实时融合分析提取的关键特征信息,管理者能够快速了解库存状况并做出响应,动态库存状态映射图为仓储管理提供了可视化工具,有助于优化存储空间的使用和物流调度,及时监控药品的物理特性和失效期,能有效预防因存储不当导致的质量问题。It should be noted that by real-time fusion analysis of extracted key feature information, managers can quickly understand the inventory status and respond. The dynamic inventory status map provides a visualization tool for warehouse management, which helps to optimize the use of storage space and logistics scheduling, timely monitor the physical properties and expiration dates of drugs, and effectively prevent quality problems caused by improper storage.

S3.基于每种药剂的动态库存状态映射图,构建强化学习驱动的自适应库存分配模型,得到最优库存分配与调度策略并更新库存状态包括以下步骤,S3. Based on the dynamic inventory status map of each medicine, a reinforcement learning-driven adaptive inventory allocation model is constructed to obtain the optimal inventory allocation and scheduling strategy and update the inventory status, including the following steps:

选择能够处理连续动作空间的深度Q模型作为强化学习算法;基于动态库存状态映射图中的每种药剂的数量、药剂的剩余有效期、药剂的物理特性以及存储环境参数,定义状态向量;根据每种药剂的库存调整决策,定义动作向量;设计奖励函数,最小化库存浪费、最大化需求满足率并降低风险;收集历史销售数据、市场需求波动情况以及供应链上下游信息;根据收集的数据,定义模拟场景;在每个场景中运行深度Q模型,探索环境并执行动作;对于每次动作执行结果,记录状态向量、动作向量、奖励函数和新状态向量,形成经验元组;使用经验回放池存储经验元组,并定期从中抽取样本进行训练;基于训练好的深度Q模型,对失效期剩余时间、存储环境参数和药物物理特性进行优先级评分;对于高优先级药剂,生成调拨指令,将调拨指令发送至自动化设备,执行调拨操作;对于中优先级药剂,进行库存优化操作,调整存储位置和优化存储环境;对于低优先级药剂,进行常规库存管理,定期巡检和记录库存状态;调度执行完成后,更新库存状态。Select a deep Q model that can handle continuous action space as the reinforcement learning algorithm; define the state vector based on the quantity of each medicine in the dynamic inventory state map, the remaining validity period of the medicine, the physical characteristics of the medicine, and the storage environment parameters; define the action vector based on the inventory adjustment decision of each medicine; design a reward function to minimize inventory waste, maximize demand satisfaction rate and reduce risks; collect historical sales data, market demand fluctuations and upstream and downstream information of the supply chain; define simulation scenarios based on the collected data; run the deep Q model in each scenario to explore the environment and perform actions; record the state vector for each action execution result. The deep Q model is used to store the experience tuples, including the state vector, action vector, reward function and new state vector. The experience tuples are stored in the experience replay pool, and samples are regularly extracted from it for training. Based on the trained deep Q model, the remaining time to expiration, storage environment parameters and physical properties of the drugs are prioritized. For high-priority drugs, transfer instructions are generated and sent to the automated equipment to execute the transfer operations. For medium-priority drugs, inventory optimization operations are performed to adjust the storage location and optimize the storage environment. For low-priority drugs, routine inventory management is performed, with regular inspections and recording of inventory status. After the scheduling is completed, the inventory status is updated.

进一步地,模拟场景定义如下:Furthermore, the simulation scenario is defined as follows:

紧急调拨失效期临近药剂:模拟失效期剩余时间小于7天的药剂调拨;高风险药剂隔离存储:模拟存储环境参数的风险等级为高风险的药剂隔离操作;需求波动场景:模拟市场需求突然增加或减少的情况。Emergency allocation of medicines with expiration dates approaching: simulate the allocation of medicines with less than 7 days remaining before expiration. Isolation storage of high-risk medicines: simulate the isolation operation of medicines with high-risk risk levels of storage environment parameters. Demand fluctuation scenario: simulate the sudden increase or decrease in market demand.

具体地,优先级评分包括对失效期剩余时间进行评估、存储环境参数评估和药剂物理特性评估,具体如下:Specifically, the priority scoring includes the evaluation of the remaining time to expiration, the evaluation of storage environment parameters, and the evaluation of the physical characteristics of the drug, as follows:

对于每种药剂,计算其失效期剩余天数,设定剩余有效期阈值(如30天、60天等),对即将过期的药剂进行分类并打分,例如,剩余有效期小于30天的药剂获得高优先级评分。For each medicine, the number of days remaining before its expiration date is calculated, and a remaining validity threshold (such as 30 days, 60 days, etc.) is set. Medicines that are about to expire are classified and scored. For example, medicines with a remaining validity period of less than 30 days receive a high priority score.

监控存储区域内的温度、湿度、气体成分等关键环境指标,对于不满足理想存储条件的区域或药剂,根据偏离程度给予相应的优先级评分,比如,温度超出适宜范围5度以上的药剂获得较高优先级评分。Monitor key environmental indicators such as temperature, humidity, and gas composition in the storage area. For areas or medicines that do not meet ideal storage conditions, give corresponding priority scores based on the degree of deviation. For example, medicines with temperatures exceeding the appropriate range by more than 5 degrees will receive a higher priority score.

考虑药剂的颜色变化、气味浓度、形态变化等因素。任何表明药剂质量可能受损的变化都将导致较高的优先级评分。Consider factors such as changes in the potion's color, odor concentration, changes in morphology, etc. Any changes that indicate the potion's quality may be compromised will result in a higher priority score.

基于失效期剩余时间进行评估、存储环境参数评估和药剂物理特性评估,采用加权求和的方式进行综合优先级评分。Based on the evaluation of the remaining time to expiration, the storage environment parameters and the physical properties of the agent, a comprehensive priority score is calculated using a weighted summation method.

应说明的是,通过自动化流程减少了人工操作的需求,提高了处理速度和准确性,及时识别并处理潜在问题,如失效期临近或存储条件不佳的药剂,有效降低了质量和安全风险,合理调配有限的仓储空间和资源,最大化利用现有设施,降低成本。It should be noted that automated processes reduce the need for manual operations, improve processing speed and accuracy, and promptly identify and address potential problems, such as medicines approaching their expiration dates or in poor storage conditions. This effectively reduces quality and safety risks, rationally allocates limited storage space and resources, maximizes the use of existing facilities, and reduces costs.

S4.根据更新后的库存状态和失效期状态,构建基于联邦学习的失效期分布式预测模型,生成失效期预测结果并进行跨仓库的协同优化。S4. According to the updated inventory status and expiration date status, a distributed expiration date prediction model based on federated learning is constructed to generate expiration date prediction results and perform collaborative optimization across warehouses.

S4.1.在每个仓库本地部署长短期记忆网络作为预测模型。S4.1. Deploy a long short-term memory network as a prediction model locally in each warehouse.

进一步说明,选择LSTM是因为它能够有效地处理时间序列数据,这对于失效期的预测尤为重要。每个仓库应根据自身库存特点和历史数据调整LSTM模型的架构(如层数、单元数等),以达到最佳预测效果。Further explanation: LSTM was chosen because it can effectively process time series data, which is particularly important for expiration date prediction. Each warehouse should adjust the architecture of the LSTM model (such as the number of layers, number of units, etc.) according to its own inventory characteristics and historical data to achieve the best prediction effect.

S4.2.利用本地库存数据和存储环境参数作为输入特征,输入至预测模型,预测每种药剂的失效期。S4.2. Use local inventory data and storage environment parameters as input features and input them into the prediction model to predict the expiration date of each drug.

具体地,输入特征是基于药剂的特性(如种类、生产日期、批次等)、库存状态(数量、位置等)以及存储条件(温湿度变化趋势等)构建的特征集。Specifically, the input features are a feature set constructed based on the characteristics of the medicine (such as type, production date, batch, etc.), inventory status (quantity, location, etc.), and storage conditions (temperature and humidity change trends, etc.).

S4.3.采用聚合算法作为联邦学习框架,对LSTM模型参数进行加权平均,形成全局预测模型。S4.3. The aggregation algorithm is used as the federated learning framework to perform weighted averaging on the LSTM model parameters to form a global prediction model.

进一步说明,选择聚合算法作为联邦学习的基础,因为它简单且有效,聚合算法通过在多个参与方之间同步模型权重而非直接交换原始数据,保护了数据隐私。It is further explained that the aggregation algorithm is chosen as the basis of federated learning because it is simple and effective. The aggregation algorithm protects data privacy by synchronizing model weights among multiple parties instead of directly exchanging raw data.

S4.4.将全局预测模型参数下发至每个仓库,替换本地LSTM模型参数,使用更新后的全局预测模型对每种药剂的失效期进行预测。S4.4. Send the global prediction model parameters to each warehouse, replace the local LSTM model parameters, and use the updated global prediction model to predict the expiration date of each drug.

进一步说明,替换本地LSTM模型参数的目的是需要确保传输过程的安全性和完整性,接收全局预测模型后,各仓库可选择使用部分本地数据对全局预测模型进行微调,提高其在特定环境下的准确性。To further explain, the purpose of replacing the local LSTM model parameters is to ensure the security and integrity of the transmission process. After receiving the global prediction model, each warehouse can choose to use some local data to fine-tune the global prediction model to improve its accuracy in a specific environment.

S4.5.当全局预测模型预测某仓库药剂失效期临近且库存不足时,触发跨仓库协同优化指令;根据全局库存状态筛选候选仓库;对候选仓库基于动态优先级评分体系进行排序,总分最高者作为目标仓库;当多个候选仓库并列最高分,按距离优先原则选择目标仓库进行调拨;设定库存量安全阈值,当仅有一个候选仓库且调拨后其库存量低于安全阈值,自动计算最大可调拨量并生成部分调拨指令;调拨指令下发至自动化设备执行,并同步更新源仓库、目标仓库库存状态及全局预测模型;若调拨失败,触发供应链协同响应流程,生成采购申请和生产调度指令。S4.5. When the global prediction model predicts that the expiration date of a drug in a certain warehouse is approaching and the inventory is insufficient, a cross-warehouse collaborative optimization instruction is triggered; candidate warehouses are screened according to the global inventory status; candidate warehouses are sorted based on a dynamic priority scoring system, and the warehouse with the highest total score is selected as the target warehouse; when multiple candidate warehouses are tied for the highest score, the target warehouse is selected for transfer based on the distance priority principle; an inventory safety threshold is set, and when there is only one candidate warehouse and its inventory after transfer is lower than the safety threshold, the maximum transferable quantity is automatically calculated and a partial transfer instruction is generated; the transfer instruction is sent to the automated equipment for execution, and the inventory status of the source warehouse and target warehouse and the global prediction model are updated synchronously; if the transfer fails, the supply chain collaborative response process is triggered to generate a purchase application and production scheduling instructions.

进一步说明,跨仓库协同优化指令的触发条件包括高风险预警、突发需求和存储环境异常等。It is further explained that the triggering conditions for cross-warehouse collaborative optimization instructions include high-risk warnings, sudden demands, and storage environment abnormalities.

高风险预警指的是药剂失效期剩余时间≤7天且库存量<安全库存量;突发需求指的是市场需求激增导致库存量骤降至临界值;存储环境异常指的是检测到存储单元的环境参数超出安全范围,需紧急转移药剂。A high-risk warning means that the remaining time of the drug expiration date is ≤7 days and the inventory level is less than the safety inventory level; sudden demand means that a surge in market demand causes the inventory level to drop sharply to a critical value; storage environment abnormality means that it is detected that the environmental parameters of the storage unit are out of the safe range, and the drug needs to be transferred urgently.

候选仓库筛选包括排除存储环境不达标(如失效期加速风险)的仓库、过滤库存量<最小调拨量的仓库以及优先选择具有相同药剂存储资质的仓库。The screening of candidate warehouses includes excluding warehouses with substandard storage environments (such as the risk of accelerated expiration), filtering warehouses with inventory quantities less than the minimum transfer quantity, and giving priority to warehouses with the same pharmaceutical storage qualifications.

动态优先级评分是基于权重因子分配和评分规则设定,例如,库存充足率(30%)、运输成本(20%)、存储稳定性(25%)、历史协同效率(15%)、响应时效(10%),对候选仓库按权重因子加权计算总分,总分最高者作为首选目标仓库。The dynamic priority score is based on the allocation of weight factors and the setting of scoring rules. For example, inventory adequacy rate (30%), transportation cost (20%), storage stability (25%), historical collaborative efficiency (15%), and response time (10%). The total score of the candidate warehouses is calculated by weighting the weight factors, and the warehouse with the highest total score is selected as the preferred target warehouse.

若多个仓库满足调拨条件且存在库存冲突,进行紧急程度分级,分为一级紧急和二级紧急。If multiple warehouses meet the transfer conditions and there are inventory conflicts, the urgency level is graded into level one and level two.

其中,一级紧急(如救命药失效期≤3天)是强制优先调拨至最近仓库,忽略库存量差异;二级紧急(如普通药品失效期≤14天)是按评分排序选择最优仓库;Among them, the first-level emergency (such as life-saving drugs with an expiration date of ≤3 days) is mandatory to prioritize the allocation to the nearest warehouse, ignoring the difference in inventory; the second-level emergency (such as ordinary drugs with an expiration date of ≤14 days) is to select the best warehouse based on the score ranking;

当存在库存冲突时,在调拨指令下发前,目标仓库自动预留调拨量对应的存储空间,避免重复调度失败;若预留失败(如预留期间被其他任务占用),触发二次优先级重排序。When there is an inventory conflict, before the transfer instruction is issued, the target warehouse automatically reserves storage space corresponding to the transfer quantity to avoid repeated scheduling failures; if the reservation fails (such as being occupied by other tasks during the reservation period), a secondary priority reordering is triggered.

若当仅有一个候选仓库且调拨后其库存量<安全阈值时,执行部分调拨机制和供应链协同响应的联动策略;If there is only one candidate warehouse and its inventory after transfer is less than the safety threshold, the linkage strategy of partial transfer mechanism and supply chain collaborative response is implemented;

部分调拨机制的具体操作如下:The specific operation of the partial transfer mechanism is as follows:

计算可调拨最大量=min(目标仓库剩余容量-安全阈值,请求调拨量);Calculate the maximum amount that can be transferred = min (remaining capacity of the target warehouse - safety threshold, requested transfer amount);

若可调拨量≥请求量的50%,执行部分调拨并更新安全阈值;If the available allocation amount is ≥ 50% of the requested amount, partial allocation is performed and the safety threshold is updated;

若可调拨量<50%,放弃本次调拨,转为生成采购申请。If the available transfer amount is less than 50%, the transfer will be abandoned and a purchase requisition will be generated instead.

供应链协同指的是自动触发供应商预警,推送电子采购订单(含药剂规格、数量、紧急程度),同步通知生产部门调整排产计划,优先生产短缺药剂。Supply chain collaboration refers to automatically triggering supplier warnings, pushing electronic purchase orders (including drug specifications, quantities, and urgency), and simultaneously notifying the production department to adjust production schedules and give priority to the production of short-supply drugs.

S4.6.调拨完成后,实时更新源仓库和目标仓库的库存状态。S4.6. After the transfer is completed, the inventory status of the source warehouse and the target warehouse is updated in real time.

S5.基于失效期预测结果,构建数字孪生的危险系数动态评估体系,计算每个存储单元的危险系数包括以下步骤,S5. Based on the failure period prediction results, a dynamic evaluation system for the risk factor of the digital twin is constructed. The calculation of the risk factor of each storage unit includes the following steps:

选择数字孪生平台,创建数字孪生实例,配置计算资源和存储资源;使用3D建模工具构建包括存储单元、货架、通道和设备的仓物理布局,并将建模结果导入数字孪生平台,生成虚拟仓库的数字孪生模型;将多源传感器实时监测的药剂库存状态与虚拟仓库的数字孪生模型中的存储单元关联,实时更新虚拟仓库的数字孪生模型中的环境参数和药剂的物理特性;定义数字孪生模型的静态属性和动态属性,并在数字孪生平台中构建仿真场景,设置仿真参数,模拟在不同条件下的风险;基于模拟结果,计算每个存储单元的危险系数Select a digital twin platform, create a digital twin instance, and configure computing resources and storage resources; use 3D modeling tools to build a physical warehouse layout including storage units, shelves, channels, and equipment, and import the modeling results into the digital twin platform to generate a digital twin model of the virtual warehouse; associate the inventory status of medicines monitored in real time by multi-source sensors with the storage units in the digital twin model of the virtual warehouse, and update the environmental parameters and physical properties of medicines in the digital twin model of the virtual warehouse in real time; define the static and dynamic properties of the digital twin model, build simulation scenarios in the digital twin platform, set simulation parameters, and simulate risks under different conditions; based on the simulation results, calculate the risk factor of each storage unit .

进一步地,静态属性包括位置、大小和容量以及结构特性等。Furthermore, static properties include location, size and capacity, and structural characteristics.

其中,位置指的是每个存储单元、货架、通道及设备在仓库中的固定坐标位置,是建立数字孪生模型的基础,确保虚拟环境与实际仓库布局一致,大小和容量是明确每个存储单元的最大容量限制,包括能够容纳的药剂数量和种类,有助于优化库存管理和防止超载,结构特性如货架材料、强度等,对于评估存储单元的安全性和稳定性至关重要。Among them, location refers to the fixed coordinate position of each storage unit, shelf, channel and equipment in the warehouse, which is the basis for establishing a digital twin model to ensure that the virtual environment is consistent with the actual warehouse layout. Size and capacity are to clarify the maximum capacity limit of each storage unit, including the number and type of medicines that can be accommodated, which helps to optimize inventory management and prevent overloading. Structural characteristics such as shelf materials and strength are crucial for evaluating the safety and stability of storage units.

动态属性包括状态变化、环境参数和物理特性变化。Dynamic properties include changes in state, environmental parameters, and physical characteristics.

状态变化包括药剂的数量变化、存放时间、失效期临近情况等,通过实时更新这些数据,可以及时了解库存状况,环境参数指的是温度、湿度、光照条件等,这些因素直接影响药剂的质量和安全性,需要设置传感器网络持续监控,并将数据反馈到数字孪生模型中,物理特性变化指的是颜色变化、气味浓度、形态改变等,是药剂质量变化的重要指标。Status changes include changes in the quantity of medicines, storage time, and approaching expiration dates. By updating these data in real time, you can keep up to date with inventory status. Environmental parameters refer to temperature, humidity, lighting conditions, etc. These factors directly affect the quality and safety of medicines. It is necessary to set up a sensor network for continuous monitoring and feed the data back to the digital twin model. Changes in physical properties refer to changes in color, odor concentration, shape, etc., which are important indicators of changes in medicine quality.

仿真设置指的是对极端天气条件影响分析(例如高温/低温模拟、洪水/暴雨模拟和强风/台风模拟),紧急情况下的疏散路径规划(例如,火灾逃生路线、地震应急响应和化学品泄漏处理)以及调整相关参数测试系统应对突发事件的能力(例如,模拟突然停电的情况下,查看备用电源能否迅速切换,保障重要设备的正常运行,创建多种假设情景,如节假日销售高峰期间的需求激增、供应链中断导致原材料短缺等,测试供应链管理系统的灵活性和适应性)。The simulation setting refers to the analysis of the impact of extreme weather conditions (such as high/low temperature simulation, flood/heavy rain simulation, and strong wind/typhoon simulation), evacuation route planning in emergency situations (such as fire escape routes, earthquake emergency response, and chemical leak handling), and the adjustment of relevant parameters to test the system's ability to respond to emergencies (for example, simulating a sudden power outage to see whether the backup power supply can be quickly switched to ensure the normal operation of important equipment, creating a variety of hypothetical scenarios, such as a surge in demand during holiday sales peaks, supply chain disruptions leading to raw material shortages, etc., to test the flexibility and adaptability of the supply chain management system).

基于模拟结果,计算每个存储单元的危险系数包括以下步骤,Based on the simulation results, the calculation of the risk factor of each storage unit includes the following steps:

从仿真结果中提取极端天气、紧急事件和供应链压力数据;基于提取的数据计算静态属性风险评分、动态属性风险评分和仿真结果评分;将计算的各评分进行加权汇总,得到每个存储单元的危险系数。Extract extreme weather, emergency events and supply chain pressure data from the simulation results; calculate static attribute risk scores, dynamic attribute risk scores and simulation result scores based on the extracted data; and perform weighted aggregation on the calculated scores to obtain the risk factor of each storage unit.

S6.基于计算得到的每个存储单元的危险系数,进行危险等级划分,得到危险系数评估结果包括以下步骤,S6. Based on the calculated risk factor of each storage unit, the risk level is divided, and the risk factor assessment result includes the following steps:

根据药剂的物理特性和存储环境参数,设置为高风险阈值,为警戒阈值;当>时,标记为高危状态,生成一级响应措施,发出一号声光警报,自动停止向高风险存储单元加入药剂,通知仓库管理人员进行人工检查和处理;当<时,标记为警戒状态,生成二级响应措施,发出二号声光警报,自动停止向警戒存储单元加入药剂,增加对该存储单元的巡检频率;当时,标记为安全状态,持续监控存储单元的环境参数和药剂状态,按照标准巡检计划对该存储单元进行检查。According to the physical characteristics of the medicine and the storage environment parameters, set is a high risk threshold. is the warning threshold; when > When the high-risk storage unit is in a high-risk state, it is marked as a high-risk state, a first-level response measure is generated, a No. 1 sound and light alarm is issued, the addition of drugs to the high-risk storage unit is automatically stopped, and the warehouse management personnel are notified to conduct manual inspection and processing; < When , it is marked as an alert state, generates a secondary response measure, issues a second sound and light alarm, automatically stops adding medicine to the alert storage unit, and increases the inspection frequency of the storage unit; when When the storage unit is in a safe state, it is marked as safe, the environmental parameters and drug status of the storage unit are continuously monitored, and the storage unit is inspected according to the standard inspection plan.

应说明的是,采用基于数字孪生技术的动态危险系数评估体系,不仅能够实时反映当前状况,还能预测未来风险,结合物联网(IoT)技术和人工智能算法,实现了智能化的风险预警,使得管理更加灵活高效,不同于传统的单一响应模式,本方案提供了一套完整的分级响应策略,从轻微警告到紧急停机都有相应的处理流程,适应性强,覆盖面广。It should be noted that the dynamic hazard factor assessment system based on digital twin technology can not only reflect the current situation in real time, but also predict future risks. Combined with the Internet of Things (IoT) technology and artificial intelligence algorithms, it realizes intelligent risk warning, making management more flexible and efficient. Different from the traditional single response mode, this solution provides a complete set of hierarchical response strategies, with corresponding processing procedures from minor warnings to emergency shutdowns, strong adaptability and wide coverage.

本实施例还提供一种药剂库存的监测管理系统,包括:This embodiment also provides a monitoring and management system for drug inventory, including:

感知网络模块,部署多源传感器,实时监测药剂库存的状态并进行分析,提取关键特征;The perception network module deploys multi-source sensors to monitor the status of drug inventory in real time and analyze and extract key features;

状态映射模块,对提取的关键特征进行实时融合分析,生成动态库存状态映射图;The status mapping module performs real-time fusion analysis on the extracted key features and generates a dynamic inventory status map;

自适应分配模块,基于动态库存状态映射图,构建强化学习驱动的自适应库存分配模型,得到最优库存分配与调度策略并更新库存状态;The adaptive allocation module builds a reinforcement learning-driven adaptive inventory allocation model based on the dynamic inventory status map, obtains the optimal inventory allocation and scheduling strategy, and updates the inventory status;

失效期预测模块,根据更新后的库存状态和失效期状态,构建基于联邦学习的失效期分布式预测模型,生成失效期预测结果并进行跨仓库的协同优化;The expiration date prediction module builds a distributed expiration date prediction model based on federated learning according to the updated inventory status and expiration date status, generates expiration date prediction results, and performs collaborative optimization across warehouses.

危险评估模块,基于失效期预测结果,构建数字孪生的危险系数动态评估体系,得到危险系数评估结果。The hazard assessment module builds a dynamic hazard factor assessment system for the digital twin based on the failure period prediction results to obtain the hazard factor assessment results.

本实施例还提供一种计算机设备,适用于药剂库存的监测管理方法的情况,包括:存储器和处理器;存储器用于存储计算机可执行指令,处理器用于执行计算机可执行指令,实现如上述实施例提出的药剂库存的监测管理方法。This embodiment also provides a computer device suitable for the case of a monitoring and management method for drug inventory, comprising: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the monitoring and management method for drug inventory proposed in the above embodiment.

该计算机设备可以是终端,该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

本实施例还提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述实施例提出的实现药剂库存的监测管理方法;存储介质可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static RandomAccess Memory, 简称SRAM),电可擦除可编程只读存储器(Electrically ErasableProgrammable Read-Only Memory, 简称EEPROM),可擦除可编程只读存储器(ErasableProgrammable Read Only Memory, 简称EPROM),可编程只读存储器(Programmable Red-Only Memory, 简称PROM),只读存储器(Read-Only Memory, 简称ROM),磁存储器,快闪存储器,磁盘或光盘。The present embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for monitoring and managing the inventory of medicines as proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, magnetic disk or optical disk.

综上,本发明通过部署多源传感器,实现了对药剂库存状态的全方位实时监测,有效解决了传统系统中因信息采集不全而导致的风险识别滞后问题;利用图神经网络对提取的关键特征信息进行融合分析,生成动态库存状态映射图,为后续的库存分配提供了精准的数据支持;采用强化学习驱动的自适应库存分配模型,能够根据实际库存状况制定最优调度策略,最大化满足市场需求的同时降低库存浪费;基于联邦学习的失效期分布式预测模型提高了失效期预测的准确性和适应性,而数字孪生的危险系数动态评估体系则确保了对高风险存储单元的即时响应和有效控制,整体上大幅提升了药剂库存管理的安全性和效率。In summary, the present invention realizes all-round real-time monitoring of the inventory status of medicines by deploying multi-source sensors, effectively solving the problem of delayed risk identification caused by incomplete information collection in traditional systems; the extracted key feature information is fused and analyzed by using graph neural networks to generate a dynamic inventory status map, providing accurate data support for subsequent inventory allocation; the adaptive inventory allocation model driven by reinforcement learning can formulate the optimal scheduling strategy according to the actual inventory status, maximize the satisfaction of market demand while reducing inventory waste; the distributed expiration date prediction model based on federated learning improves the accuracy and adaptability of expiration date prediction, and the dynamic risk factor assessment system of digital twins ensures immediate response and effective control of high-risk storage units, which greatly improves the safety and efficiency of medicine inventory management as a whole.

应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims (8)

1. A method for monitoring and managing medicament stock is characterized by comprising the following steps of,
Deploying a multi-source sensor, monitoring the state of the medicament stock in real time, analyzing the state, and extracting key characteristics;
Performing real-time fusion analysis on the extracted key features to generate a dynamic inventory state mapping diagram;
Based on the dynamic inventory status map, constructing a reinforcement learning driven adaptive inventory allocation model, obtaining an optimal inventory allocation and scheduling strategy and updating the inventory status,
Selecting a depth Q model as a reinforcement learning algorithm, defining a state vector and a motion vector, and setting a reward function;
Collecting historical sales data, market demand fluctuation conditions and supply chain upstream and downstream information, defining a simulation scene, running a depth Q model, exploring the environment and executing actions;
For each action execution result, recording a state vector, an action vector, a reward function and a new state vector, forming an experience tuple, and regularly extracting samples from the experience tuple for training;
based on the trained depth Q model, carrying out priority scoring on the failure period, the storage environment parameter and the physical characteristics of the medicament;
Generating an allocation instruction for the high-priority medicament, sending the allocation instruction to an automation device, executing allocation operation, performing inventory optimization operation for the medium-priority medicament, adjusting a storage position and optimizing a storage environment, performing conventional inventory management for the low-priority medicament, and periodically inspecting and recording inventory states;
after the scheduling execution is completed, updating the stock state, constructing a failure period distributed prediction model based on federal learning, generating a failure period prediction result and performing cross-warehouse collaborative optimization,
A long-term memory network is deployed locally in each warehouse to serve as a prediction model;
The updated stock state is used as an input characteristic and is input into a prediction model for training, and the trained LSTM model parameters are weighted and averaged to form a global prediction model;
Issuing global prediction model parameters to each warehouse, replacing local LSTM model parameters, and predicting the failure period of each medicament by using the updated global prediction model;
triggering a cross-warehouse collaborative optimization instruction when the global prediction model predicts that the medicament failure period of a warehouse is close and the inventory is insufficient;
screening candidate warehouses according to the global inventory status;
sorting the candidate warehouses based on a dynamic priority scoring system, wherein the highest total score is used as a target warehouse;
when a plurality of candidate warehouses are listed in parallel with the highest score, selecting a target warehouse for allocation according to a distance priority principle;
setting a stock quantity safety threshold, automatically calculating the maximum adjustable quantity and generating a partial adjustment instruction when only one candidate warehouse is arranged and the stock quantity of the candidate warehouse is lower than the safety threshold after the candidate warehouse is adjusted, and sending the partial adjustment instruction to an automation device for execution, and synchronously updating the stock states of a source warehouse and a target warehouse and a global prediction model;
If the allocation fails, triggering a supply chain cooperative response flow to generate a purchase application and a production scheduling instruction;
And constructing a digital twin risk coefficient dynamic evaluation system based on the failure period prediction result to obtain a risk coefficient evaluation result.
2. The method for monitoring and managing inventory of pharmaceutical agents of claim 1, wherein deploying the multi-source sensor, monitoring and analyzing the status of the inventory of pharmaceutical agents in real time, extracting key features comprises the steps of,
Determining the position of a sensor node according to the warehouse layout and the medicament storage area;
collecting the inventory of the medicament, storage environment parameters, physical characteristics and failure period through deployed sensors;
Denoising, normalizing and time stamping the medicament stock quantity, the storage environment parameters, the physical characteristics and the failure period;
Acquiring the quantity and position information of each medicament from the processed medicament stock quantity;
Detecting a color change, an odor concentration, and a morphological change of a physical property of the agent;
the production date and lot number of each lot of medicament is automatically read using RFID tag technology.
3. The method for monitoring and managing inventory of pharmaceutical agents of claim 2, wherein the step of performing real-time fusion analysis of the extracted key features to generate a dynamic inventory status map comprises the steps of,
Constructing a correlation model by using a graph neural network, and identifying the correlation relation among the quantity of the medicaments, the storage environment parameters and the physical characteristics of the medicaments;
defining nodes as each medicament and related attributes thereof, and enabling edges to represent potential relations among different attributes;
constructing a graph structure based on the defined nodes and edges;
selecting a GNN variant for processing the iso-composition data, taking the constructed graph structure as input, and updating the node embedded vector;
Determining the position coordinates of each storage unit according to the actual layout of the warehouse;
And associating the updated embedded vector of each node with the corresponding position coordinate to generate a dynamic inventory state mapping diagram of each medicament.
4. The method for monitoring and managing inventory of pharmaceutical agents according to claim 3, wherein constructing a digital twin risk factor dynamic evaluation system based on the result of the expiration date prediction, calculating the risk factor of each storage unit comprises the steps of,
Selecting a digital twin platform, creating a digital twin instance, and configuring computing resources and storage resources;
constructing a warehouse physical layout comprising storage units, shelves, channels and equipment by using a 3D modeling tool, importing modeling results into a digital twin platform, and generating a digital twin model of the virtual warehouse;
Correlating the medicament stock quantity monitored by the multi-source sensor in real time with a storage unit in a digital twin model of the virtual warehouse, and updating the environment parameters and the physical characteristics of medicaments in the digital twin model of the virtual warehouse in real time;
defining static attribute and dynamic attribute of the digital twin model, constructing simulation scene in the digital twin platform, setting simulation parameters, and simulating risks under different conditions;
Based on the simulation results, calculating the risk coefficient of each storage unit
5. The method for monitoring and managing inventory of pharmaceutical agents according to claim 4, wherein the step of classifying the risk based on the calculated risk factors of each storage unit to obtain risk factor evaluation results comprises the steps of,
Setting according to physical properties and storage environment parameters of the medicamentFor a high risk threshold value,Is an alert threshold;
When (when) >When the high risk state is marked, a first-level response measure is generated, an audible and visual alarm is sent, the addition of the medicament to the high risk storage unit is automatically stopped, and warehouse management personnel are informed to perform manual inspection and treatment;
When (when) <When the warning state is marked, a secondary response measure is generated, a secondary audible and visual alarm is sent out, the addition of the medicament to the warning storage unit is automatically stopped, and the inspection frequency of the storage unit is increased;
When (when) And when the storage unit is marked as a safe state, continuously monitoring the environment parameters and the medicament state of the storage unit, and checking the storage unit according to a standard inspection plan.
6. A monitoring and managing system for medicament stock based on the method for monitoring and managing medicament stock according to any one of claims 1 to 5 is characterized by comprising,
The sensing network module is used for deploying a multi-source sensor, monitoring the state of the medicament stock in real time, analyzing the state, and extracting key characteristics;
the state mapping module performs real-time fusion analysis on the extracted key features to generate a dynamic inventory state mapping diagram;
The self-adaptive allocation module is used for constructing a self-adaptive inventory allocation model driven by reinforcement learning based on the dynamic inventory state mapping diagram to obtain an optimal inventory allocation and scheduling strategy and update the inventory state;
the failure period prediction module is used for constructing a failure period distributed prediction model based on federal learning according to the updated inventory state and the failure period state, generating a failure period prediction result and performing collaborative optimization across warehouses;
and the risk assessment module is used for constructing a digital twin risk coefficient dynamic assessment system based on the failure period prediction result to obtain a risk coefficient assessment result.
7. A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the computer program is characterized in that the processor realizes the steps of the method for monitoring and managing medicament stock according to any one of claims 1-5 when executing the computer program.
8. A computer-readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method for monitoring and managing inventory of pharmaceutical agents according to any one of claims 1 to 5.
CN202510330489.7A 2025-03-20 2025-03-20 Monitoring and managing method and system for medicament inventory Active CN119851903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510330489.7A CN119851903B (en) 2025-03-20 2025-03-20 Monitoring and managing method and system for medicament inventory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510330489.7A CN119851903B (en) 2025-03-20 2025-03-20 Monitoring and managing method and system for medicament inventory

Publications (2)

Publication Number Publication Date
CN119851903A CN119851903A (en) 2025-04-18
CN119851903B true CN119851903B (en) 2025-05-30

Family

ID=95371229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510330489.7A Active CN119851903B (en) 2025-03-20 2025-03-20 Monitoring and managing method and system for medicament inventory

Country Status (1)

Country Link
CN (1) CN119851903B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120183602B (en) * 2025-05-22 2025-09-05 杭州医万智能装备有限公司 A drug loading method for automatic drug loading machine based on particle swarm optimization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118469447A (en) * 2024-05-31 2024-08-09 江西昌鹤医药供应链管理有限公司 Intelligent medicine warehousing system based on digital twinning and management method
CN118710194A (en) * 2024-08-29 2024-09-27 天津民祥药业有限公司 A dynamic optimization method for drug inventory based on deep learning
CN119541788A (en) * 2024-10-30 2025-02-28 江西昌鹤医药供应链管理有限公司 A drug procurement quantity prediction method based on personalized federated learning
CN119597493A (en) * 2025-02-12 2025-03-11 北京科杰科技有限公司 Distributed computing resource intelligent evolution method and system based on digital twin

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117438031A (en) * 2022-07-06 2024-01-23 中国医学科学院阜外医院 A drug dose dynamic decision-making method, device and system
CN115762735A (en) * 2022-12-01 2023-03-07 上海静汇医院管理有限公司 Medicine management system for hospital based on deep learning algorithm
CN118333518A (en) * 2024-04-17 2024-07-12 中玄数链科技(河南)有限公司 Medicine inventory optimization method and system based on privacy calculation and deep learning
CN118469437A (en) * 2024-04-30 2024-08-09 青岛市胶州中心医院 Monitoring and managing method and system for medicament inventory
CN118898206B (en) * 2024-10-09 2024-12-24 温州职业技术学院 Data acquisition processing method and system based on digital twin platform
CN119272209A (en) * 2024-12-09 2025-01-07 北京大成国测科技股份有限公司 A foundation pit digital twin monitoring method, system and application thereof
CN119475437B (en) * 2025-01-13 2025-04-15 浙江大学 Transverse federal learning security reinforcement method and system based on configuration adjustment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118469447A (en) * 2024-05-31 2024-08-09 江西昌鹤医药供应链管理有限公司 Intelligent medicine warehousing system based on digital twinning and management method
CN118710194A (en) * 2024-08-29 2024-09-27 天津民祥药业有限公司 A dynamic optimization method for drug inventory based on deep learning
CN119541788A (en) * 2024-10-30 2025-02-28 江西昌鹤医药供应链管理有限公司 A drug procurement quantity prediction method based on personalized federated learning
CN119597493A (en) * 2025-02-12 2025-03-11 北京科杰科技有限公司 Distributed computing resource intelligent evolution method and system based on digital twin

Also Published As

Publication number Publication date
CN119851903A (en) 2025-04-18

Similar Documents

Publication Publication Date Title
CN113597634B (en) Process mapping and monitoring using artificial intelligence
CN117829787B (en) Engineering safety intelligent management method and system based on BIM and AI large model
CN119851903B (en) Monitoring and managing method and system for medicament inventory
CN110275814A (en) A monitoring method and device for a business system
CN119025283A (en) A computing power data management system and method based on distributed computing
JPWO2021222384A5 (en)
CN119005886A (en) Engineering decoration intelligent management system and method based on artificial intelligence
CN119359320A (en) A commodity tracing method and system for cross-border logistics
CN117078163A (en) Logistics storage management and control system and method based on digital twinning
US12347296B2 (en) Emulated facility safety with correlated sound frequency modeling
CN119831298B (en) Digital port intelligent closing method and system based on artificial intelligence
WO2021154320A1 (en) Systems and methods for resource analysis, optimization, or visualization
CN116595756A (en) Digital twinning-based intelligent operation and maintenance method and device for data center
Xing An Intelligent Logistics Tracking System Based on Wireless Sensor Network.
CN114281046A (en) Safety evaluation model, and visual monitoring system and method for initiating explosive device area
Omar et al. Critical factors affecting fire safety in high-rise buildings in the Emirate of Sharjah, UAE
CN119204954A (en) An AI-based smart logistics management system
CN117496431A (en) Outdoor operation safety monitoring method based on indoor and outdoor positioning system
CN118052425A (en) Production report management method and system
CN119887052A (en) Commodity inventory management method and system based on cloud computing
CN119130424A (en) An intelligent inspection optimization method for power production safety management
CN119578951A (en) A photovoltaic construction management system
Paramasivan Transforming healthcare supply chains: AI for efficient drug distribution and inventory management
CN118734587A (en) A method and device for air cargo simulation based on digital twin
CN118410442A (en) Supply chain management method based on industrial Internet identification analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载