Drug production cost optimization and prediction system and method based on data analysis

Through data analysis methods, drug characteristic data is collected, production raw material composition and processing process costs are analyzed, real-time dynamic evaluation of drug production costs is achieved, and the problems of insufficient intelligence and scientific management in the existing technology are solved, and the accuracy and timeliness of cost prediction are improved.

CN119886472AInactive Publication Date: 2025-04-25BEIJING DEKAI PHARMA TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510371056.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-04-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing drug production cost management is based on historical production parameters, and it is impossible to achieve dynamic scientific evaluation based on real-time raw material costs and processing process costs, resulting in insufficient intelligence and scientific management.

Method used

Using a data analysis method, we collect target drug characteristic data, analyze production raw material composition information, search for the optimal procurement price, count raw material and processing process costs, and construct real-time cost prediction data.

Benefits of technology

It has realized scientific analysis and prediction of the cost of pharmaceutical production raw materials and processing processes, improved the intelligence and scientific nature of pharmaceutical production cost management, and ensured the accuracy and timeliness of cost prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119886472A_ABST
    Figure CN119886472A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medicine production cost management, and discloses a medicine production cost optimization and prediction system and method based on data analysis, and the system comprises a medicine raw material cost management module, a medicine processing cost management module, and a medicine production cost management module. On the basis of the production raw material composition information and the production raw material price information of the target drug, performing autonomous accurate digital statistics on the optimal price parameter of the target unit quality drug production raw material; according to the target drug feature information, in combination with the intelligent search algorithm and the standard stored unit quality drug processing process cost price information, the optimal processing process cost price information in the target unit quality drug processing production stage is accurately evaluated, and the timeliness and quality of drug production cost management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drug production cost management, and in particular to a drug production cost optimization and prediction system and method based on data analysis. Background Art

[0002] Drug cost management is to scientifically and rationally manage all aspects of the production and operation process of an enterprise under the premise of ensuring product quality, and strive to achieve the greatest production results with the least production cost. Establish and improve the cost accounting system and various basic tasks, strictly implement the scope of cost expenditure, adopt appropriate cost accounting methods, and correctly calculate product costs. At the same time, arrange the cost assessment and analysis work, correctly evaluate the drug cost management performance of various departments, promote enterprises to continuously improve drug cost management measures, and improve the drug cost management level of enterprises. Regularly and actively carry out cost analysis, find out the reasons for cost fluctuations, and tap the potential for reducing production costs and saving costs. Drug cost management should implement indicator decomposition, implement various cost indicators at all levels, manage and assess them in sections, so that the task of cost reduction can be guaranteed from the organizational perspective, and combine it with the economic responsibility system of enterprises and departments. In the production process, pharmaceutical enterprises produce various industrial products, self-made materials, self-made tools, self-made equipment, and supply non-industrial services, and various expenses will occur. These expenses are called production costs. Existing drug production cost management usually uses historical production parameters of pharmaceutical companies to predict and calculate drug production costs. It cannot dynamically and scientifically evaluate drug production costs based on real-time raw material costs and real-time processing procedure costs, thereby reducing the intelligence and scientific nature of drug production cost management.

[0003] The Chinese invention patent with announcement number CN118627849B discloses a robot system and method for the automated management process of lean production of pharmaceuticals. It generates an ideal value stream map; analyzes the order placement and delivery time of each batch of products within a specific time range, and retrieves the relevant material batch number and production data of each process according to the material traceability system to form a current value stream map; summarizes and counts similar waste; and simulates and calculates the predicted value stream map based on the modification of the corresponding parameters in the current value stream map, and estimates the improvement of cost and production cycle. However, the above technical solutions cannot achieve scientific and accurate analysis of the real-time optimal cost of pharmaceutical production. Summary of the invention

[0004] 1. Technical issues to be resolved In order to solve the problem that the above-mentioned existing drug production cost management usually predicts and counts drug production costs based on the historical production parameters of drug companies, cannot dynamically and scientifically evaluate drug production costs based on real-time drug raw material costs and real-time processing procedure costs, and reduce the intelligence and scientificity of drug production cost management, the above purposes of scientifically analyzing unit quality drug production raw material characteristic information, intelligently searching for the optimal price parameters of unit quality drug production raw materials, accurately calculating the optimal price parameters of unit quality drug real-time production raw materials, accurately analyzing unit quality drug processing procedure cost price parameters, dynamically counting unit quality drug real-time production price parameters, and visually displaying real-time drug production cost forecast information are achieved.

[0005] (II) Technical solution The present invention is implemented by the following technical solution: a method for optimizing and predicting drug production costs based on data analysis, the method comprising the following steps: S1. Collect characteristic text data of target drugs; S2, analyzing and processing the target drug production raw material composition information based on the target drug characteristic text data and the unit mass drug production raw material composition characteristic text data, and generating the target unit mass drug production raw material composition characteristic text data; S3, searching and processing the optimal real-time purchasing price information of the target drug unit mass production raw materials according to the target drug unit mass production raw materials composition characteristic text data, and generating the real-time optimal price data of the target drug unit mass production raw materials; S4. Based on the production raw material composition information and production raw material price information of the target drug, perform numerical statistical processing on the optimal price of the production raw materials of the target unit quality drug, and generate the optimal cost price data of the production raw materials of the target unit quality drug in real time; S5, analyzing and processing the optimal processing procedure cost price information of the target unit quality drug processing and production stage according to the target drug characteristic text data and the unit quality drug processing procedure cost price text data, and generating the target unit quality drug processing procedure optimal cost price text data; S6. Performing numerical statistical processing on the optimal price of the production cost of the target unit quality drug based on the raw material cost price parameters and the processing procedure cost price parameters of the target unit quality drug, and generating the optimal total cost data of the real-time production of the target unit quality drug; S7. Construct the target unit quality drug real-time cost prediction data and execute the drug production real-time cost prediction result output operation.

[0006] Preferably, the operation steps of collecting target drug characteristic text data are as follows: S11. In the drug production preparation stage, the product characteristic text information of the target drug to be produced is entered online through the material ERP, and the target drug characteristic text data is generated The target drug characteristic text data includes drug name text information, specification text information, approval number text information and main function text information.

[0007] The present invention accurately collects target drug characteristic information online through material ERP, thereby achieving the effect of providing reliable data support for scientific analysis of drug production raw material composition information.

[0008] Preferably, the target drug production raw material composition information is analyzed and processed based on the target drug characteristic text data and the unit mass drug production raw material composition characteristic text data, and the operation steps of generating the target unit mass drug production raw material composition characteristic text data are as follows: S21. Establish a text data set of characteristics of the composition of raw materials for drug production per unit mass , ;in Indicates Characteristic text data of the composition of raw materials for drug production per unit mass corresponding to each drug type, Indicates the maximum number of drug types; the unit mass drug production raw material composition characteristic text data indicates the type of production raw material text information and production raw material quality text information required to produce each unit mass of drugs during the drug production and processing stage, and the unit mass includes any one of one gram, one kilogram and one ton; S22, the target drug feature text data The characteristic text data set composed of the unit mass of drug production raw materials Characteristic text data of the composition of the raw materials for drug production per unit mass as described in Perform drug feature keyword matching to search for the target drug feature text data The corresponding unit mass drug production raw material composition characteristic text data , and generate the target unit quality drug production raw material composition feature text data set through data identification ; Execute to generate the target unit quality drug production raw material composition feature text data set The specific steps are as follows: S221, initialize parameters, update raw material information to identify the number of crow populations, maximum number of iterations, and flight distance ; S222, initializing the raw material information to identify the crow individual in the unit mass pharmaceutical production raw material composition feature text data set The initial position and memory in search space, The raw information identifies crows randomly distributed in a space with a dimension of The characteristic text data set of the unit mass pharmaceutical production raw material composition In the search space; in the first iteration, it is assumed that the raw material information identifies the crow individual hiding the food in the initial position; that is, in the first iteration, it is assumed that the raw material information identifies the crow individual hiding the target drug feature text data The characteristic text data set composed of the unit mass of drug production raw materials The characteristic text data of the composition of the raw materials for drug production per unit mass at the initial position in the search space Make a match; S223, calculating the individual fitness value of each raw material information identification crow, that is, calculating the characteristic text data of the target drug The characteristic text data set composed of the unit mass of drug production raw materials The characteristic text data of the composition of the raw materials for drug production per unit mass in the search space The fitness value of S224. Update the raw material information to identify the crow individual in the unit mass pharmaceutical production raw material composition feature text data set The position in the search space, the raw information identifies the individual position of the crow and the update formula is as follows: ,in Indicates Iteration raw information to identify individual crows The characteristic text data set of the unit mass pharmaceutical production raw materials composition The new position in the search space, Indicates Iteration raw information to identify individual crows The characteristic text data set of the unit mass pharmaceutical production raw materials composition The position in the search space, represents a random number uniformly distributed between [0, 1], Indicates Iteration raw information to identify individual crows The characteristic text data set of the unit mass pharmaceutical production raw materials composition The flight distance in the search space, Indicates Iteration raw information to identify individual crows The characteristic text data set of the unit mass pharmaceutical production raw materials composition The food hiding location in the search space, i.e. Iteration raw information to identify individual crows The characteristic text data set of the composition of the raw materials for drug production per unit mass Search the search space for the characteristic text data of the target drug The matching characteristic text data of the unit mass of the drug production raw material composition location; S225, determine the feasibility of the new position, determine the feasibility of the new position of each crow individual identified by the raw material information; if the new position of the crow individual identified by the raw material information is feasible, the crow individual identified by the raw material information will update its position, that is, in the unit mass drug production raw material composition feature text data set Search the search space for the characteristic text data of the target drug The matching characteristic text data of the composition of the unit mass of the drug production raw materials , the raw material information identification crow individual is updated to the matching successful unit mass drug production raw material composition feature text data otherwise, the raw information identifies that the crow individual stays at the current location and does not move to the new location; S226, evaluate the fitness value of the new position, calculate the fitness value of each raw material information identification crow's individual new position, that is, calculate the characteristic text data set of the unit mass drug production raw material composition Feature text data of target drugs in the search space Characteristic text data of the composition of the unit mass of the drug production raw material at the new location The fitness value of S227, update memory, if the fitness value of the new position of the raw material information recognition crow is greater than the fitness value of the initial position in the memory, the raw material information recognition crow updates its memory through the new position, otherwise it does not update its memory; that is, the characteristic text data set of the unit mass drug production raw material composition Search the search space for the target drug feature text data Characteristic text data of the composition of the raw materials for drug production per unit mass with the largest fitness value ; S228. When the maximum number of iterations is met, output the characteristic text data of the target drug. The matching characteristic text data of the unit mass of the drug production raw material composition , and generate the target unit quality drug production raw material composition feature text data set through data identification , ;in Indicates the target unit quality of the drug The target unit mass drug production raw material composition characteristic text data corresponding to the drug production raw material type, Indicates the maximum number of drug production raw material types; the target unit mass drug production raw material composition characteristic text data indicates the production raw material type text information and production raw material quality text information required to produce each unit mass of the target drug during the target drug production and processing stage.

[0009] The present invention achieves the effect of scientifically analyzing the target drug unit mass drug production raw material characteristic information by combining the crow optimization algorithm with the unit mass drug production raw material composition characteristic information based on big data storage to accurately and efficiently analyze the target drug production raw material composition information.

[0010] Preferably, the optimal real-time purchasing price information search process of the target drug unit mass production raw material is performed according to the target drug unit mass production raw material composition characteristic text data, and the operation steps of generating the real-time optimal price data of the target drug unit mass production raw material are as follows: S31, using a bidirectional search algorithm to form a characteristic text data set of the target unit mass pharmaceutical production raw materials Characteristic text data of the composition of the target unit mass pharmaceutical production raw materials described in The drug production raw materials are entered into the Internet shopping platform in order according to the type number, and the minimum market purchase price value required for purchasing each drug production raw material per unit mass is searched online, and the real-time optimal price data set of the target drug production raw material per unit mass is generated. ,in Indicates the target unit quality of the drug The real-time optimal price data of target drug unit mass production raw materials corresponding to the type of drug production raw materials, the real-time optimal price data of target drug unit mass production raw materials represents the minimum price value of the market purchase price of each production raw material per unit mass of the target drug, wherein The unit is yuan per unit mass.

[0011] The present invention achieves the effect of dynamically collecting the real-time optimal price parameters of the target drug's unit mass production raw materials by intelligently screening the optimal real-time purchasing price information of the target drug's unit mass production raw materials on an Internet shopping platform according to the target drug's unit mass production raw materials composition characteristic parameters combined with a two-way search algorithm.

[0012] Preferably, the operation steps of performing numerical statistical processing on the optimal price of the target unit quality drug's production raw materials based on the target drug's production raw material composition information and production raw material price information to generate the target unit quality drug's real-time production raw material optimal cost price data are as follows: S41, the target unit quality drug production raw material composition feature text data set Characteristic text data of the composition of the target unit mass pharmaceutical production raw materials described in A collection of real-time optimal price data for the target drug per unit mass production raw materials Real-time optimal price data of raw materials per unit mass of target drugs According to the drug production raw material type number, the market purchase price of various production raw materials of target unit quality drugs is statistically processed, and the real-time optimal cost price data of target unit quality drugs is generated ,in , The unit is RMB per unit mass. When the target unit mass drug is produced in real time, the optimal cost price data of raw materials is If the generation is not completed, continue to execute the optimal cost price data of the target unit quality drug real-time production raw materials Generate operation instructions.

[0013] The present invention realizes dynamic prediction of drug production cost parameters based on real-time price parameters of drug production raw materials by independently and accurately digitally counting the optimal price parameters of target unit quality drug production raw materials based on the production raw material composition information and production raw material price information of the target drug, thereby achieving the effect of dynamically predicting drug production cost parameters based on real-time price parameters of drug production raw materials.

[0014] Preferably, the optimal processing procedure cost price information of the target unit quality drug processing production stage is analyzed and processed based on the target drug characteristic text data and the unit quality drug processing procedure cost price text data, and the operation steps of generating the target unit quality drug processing procedure optimal cost price text data are as follows: S51, when the target unit quality medicine is produced in real time with the optimal cost price data of raw materials When the generation is completed, a text data set of unit quality drug processing cost price is established ,in Indicates The unit quality drug processing procedure cost price text data corresponding to the drug type, wherein the unit quality drug processing procedure cost price text data represents the minimum price value of the processing cost required to produce each unit quality drug in various drug processing procedures set in the drug production and processing stage. The unit of is yuan per unit mass; S52, using a unified cost search algorithm to search the target drug feature text data A text data set of the cost price of the unit quality drug processing process Text data of unit quality drug processing cost price Perform drug feature keyword matching to search for the target drug feature text data The corresponding unit quality drug processing process cost price text data , and generate the optimal cost price text data of the target unit quality drug processing process through data identification The text data of the optimal cost price of the target unit quality drug processing procedure represents the minimum price value of the processing cost required for producing each unit quality of the target drug by the target drug processing procedure. The unit is yuan per unit mass.

[0015] The present invention achieves the effect of accurately predicting drug production cost parameters based on drug processing procedure cost parameters by accurately evaluating the optimal processing procedure cost price information of target unit quality drugs in the production stage according to target drug feature information combined with a unified cost search algorithm and standard stored unit quality drug processing procedure cost price information.

[0016] Preferably, the operation steps of performing numerical statistical processing on the optimal price of the target unit quality drug production cost based on the raw material cost price parameters and the processing procedure cost price parameters of the target unit quality drug to generate the optimal total cost data of the target unit quality drug production in real time are as follows: S61, generating the optimal cost price data of the target unit quality medicine real-time production raw materials and the optimal cost price text data of the target unit quality drug processing procedure Perform numerical operations and processing on the real-time production raw material cost price values ​​and processing procedure cost price parameters of target unit quality drugs, and calculate the optimal total cost data for real-time production of target unit quality drugs. ,in , The unit is yuan per unit mass.

[0017] The present invention performs numerical statistical processing on the optimal price of the target unit quality drug production cost based on the raw material cost price parameters and processing procedure cost price parameters of the target unit quality drug, thereby achieving the effect of dynamically and accurately predicting the production cost information of the drug based on the real-time raw material cost and real-time processing procedure cost of the drug.

[0018] Preferably, the steps of constructing the target unit quality drug real-time cost prediction data and executing the drug production real-time cost prediction result output operation are as follows: S71, the target drug feature text data , the optimal cost price data of the target unit quality drug production raw materials in real time , the optimal cost price text data of the target unit quality drug processing procedure and the optimal total cost data for real-time production of the target unit quality drug Perform data combination identification to construct real-time cost prediction data for target unit quality drugs ,in ; S72: The target unit quality drug real-time cost forecast data The results of real-time cost forecasting of drug production are output online via the IoT communication network to the drug production management end and cooperate with the display screen to output the results.

[0019] The present invention timely and accurately constructs real-time cost prediction information of target unit quality drugs based on drug characteristic information, real-time drug production raw material cost price parameters, drug processing procedure cost price parameters and real-time drug production total cost parameters in combination with numerical analysis, and executes the real-time drug production cost prediction result output operation in combination with the drug production management end and the display screen, so as to achieve the effect of improving the timeliness and quality of drug production cost management.

[0020] A drug production cost optimization and prediction system based on data analysis, used to implement the drug production cost optimization and prediction method based on data analysis, the system includes a drug raw material cost management module, a drug processing cost management module, and a drug production cost management module; The drug raw material cost management module includes a target drug feature information collection unit, a unit mass drug production raw material composition feature information storage unit, a target drug production raw material composition feature analysis unit, a target drug real-time production raw material optimal price information search unit, and a target drug real-time production raw material optimal total cost price statistics unit; The target drug characteristic information acquisition unit collects target drug characteristic text data through material ERP; the unit mass drug production raw material composition characteristic information storage unit is used to store unit mass drug production raw material composition characteristic text data; the target drug production raw material composition characteristic analysis unit performs target drug production raw material composition information analysis and processing based on the target drug characteristic text data and the unit mass drug production raw material composition characteristic text data, and generates target unit mass drug production raw material composition characteristic text data; the target drug real-time production raw material optimal price information search unit performs the target drug unit mass production raw material optimal real-time purchase price information search and processing based on the target unit mass drug production raw material composition characteristic text data combined with the Internet shopping platform, and generates the target drug unit mass production raw material real-time optimal price data; the target drug real-time production raw material optimal total cost price statistics unit performs the target unit mass production raw material optimal price numerical statistics processing based on the target drug production raw material composition information and production raw material price information, and generates the target unit mass production raw material optimal cost price data; The drug processing cost management module includes a unit quality drug processing process cost price information storage unit, a target drug processing process optimal cost price analysis unit, and a target drug real-time production optimal total cost statistics unit; The unit quality drug processing procedure cost price information storage unit is used to store unit quality drug processing procedure cost price text data; the target drug processing procedure optimal cost price analysis unit performs optimal processing procedure cost price information analysis and processing at the target unit quality drug processing and production stage based on the target drug characteristic text data and the unit quality drug processing procedure cost price text data to generate the target unit quality drug processing procedure optimal cost price text data; the target drug real-time production optimal total cost statistics unit performs optimal price numerical statistics processing of the target unit quality drug production cost based on the target unit quality drug raw material cost price parameters and the processing procedure cost price parameters to generate the target unit quality drug real-time production optimal total cost data; The drug production cost management module includes a drug production real-time cost prediction parameter construction unit and a drug production real-time cost prediction result output unit; The drug production real-time cost prediction parameter construction unit constructs target unit quality drug real-time cost prediction data based on drug characteristic information, real-time drug production raw material cost price parameters, drug processing procedure cost price parameters and real-time drug production total cost parameters; the drug production real-time cost prediction result output unit performs the drug production real-time cost prediction result output operation based on the target unit quality drug real-time cost prediction data in combination with the drug production management terminal and the display screen.

[0021] (III) Beneficial effects The present invention provides a drug production cost optimization and prediction system and method based on data analysis. It has the following beneficial effects: 1. Accurately collect target drug characteristic information online through material ERP to provide reliable data support for scientific analysis of drug production raw material composition information; accurately and efficiently analyze target drug production raw material composition information based on target drug characteristic information combined with intelligent recognition algorithm and unit mass drug production raw material composition characteristic information based on big data storage, so as to achieve scientific analysis of target unit mass drug production raw material characteristic information and improve the accuracy of drug production raw material cost prediction; intelligently screen the optimal real-time purchasing price information of target drug unit mass production raw materials on the Internet shopping platform based on the target unit mass drug production raw material composition characteristic parameters combined with intelligent search algorithm, so as to achieve dynamic collection of the real-time optimal price parameters of target drug unit mass production raw materials and improve the reliability of drug production raw material cost prediction; autonomously and accurately digitize the optimal price parameters of target unit mass drug production raw materials based on the target drug production raw material composition information and production raw material price information, so as to achieve dynamic prediction of drug production cost parameters based on real-time price parameters of drug production raw materials and improve the scientific nature of drug raw material production cost management.

[0022] 2. Based on the target drug characteristic information combined with the intelligent search algorithm and the standard stored unit quality drug processing procedure cost price information, the optimal processing procedure cost price information of the target unit quality drug processing and production stage is accurately evaluated, and the drug production cost parameters are accurately predicted based on the drug processing procedure cost parameters, thereby improving the accuracy of drug raw material production cost management; based on the raw material cost price parameters and processing procedure cost price parameters of the target unit quality drug, the optimal price of the target unit quality drug production cost is numerically statistically processed, and the drug production cost information is accurately predicted based on the real-time raw material cost and real-time processing procedure cost of the drug, thereby improving the intelligence and effectiveness of drug production cost management.

[0023] 3. By combining numerical analysis based on drug characteristic information, real-time drug production raw material cost price parameters, drug processing procedure cost price parameters and real-time drug production total cost parameters, timely and accurately construct the target unit quality drug real-time cost forecast information, thereby improving the timeliness and quality of drug production cost management; based on the target unit quality drug real-time cost forecast parameters, combined with the drug production management terminal and display screen, the drug production real-time cost forecast result output operation is executed to realize the dynamic visualization and intuitive display of drug production cost forecast information, thereby improving the applicability of drug production cost management. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a module of a drug production cost optimization and prediction system based on data analysis provided by the present invention; Figure 2 A flowchart of a method for optimizing and predicting drug production costs based on data analysis provided by the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] The embodiments of the drug production cost optimization and prediction system and method based on data analysis are as follows: Embodiment 1: See also Figure 1 - Figure 2 , a method for optimizing and predicting drug production costs based on data analysis, the method comprising the following steps: S1. Collect characteristic text data of target drugs; S2. Analyze and process the target drug production raw material composition information based on the target drug characteristic text data and the unit mass drug production raw material composition characteristic text data to generate the target unit mass drug production raw material composition characteristic text data; S3, searching and processing the optimal real-time purchasing price information of the target drug unit mass production raw materials according to the target drug unit mass production raw materials composition characteristic text data, and generating the real-time optimal price data of the target drug unit mass production raw materials; S4. Based on the production raw material composition information and production raw material price information of the target drug, perform numerical statistical processing on the optimal price of the production raw materials of the target unit quality drug, and generate the optimal cost price data of the production raw materials of the target unit quality drug in real time; S5. Analyze and process the optimal processing procedure cost price information of the target unit quality drug processing and production stage based on the target drug feature text data and the unit quality drug processing procedure cost price text data to generate the target unit quality drug processing procedure optimal cost price text data; S6. Performing numerical statistical processing on the optimal price of the production cost of the target unit quality drug based on the raw material cost price parameters and the processing procedure cost price parameters of the target unit quality drug, and generating the optimal total cost data of the real-time production of the target unit quality drug; S7. Construct the target unit quality drug real-time cost prediction data and execute the drug production real-time cost prediction result output operation.

[0027] For further information, see Figure 1 - Figure 2 ,The steps for collecting target drug feature text data are as follows: S11. In the drug production preparation stage, the product characteristic text information of the target drug to be produced is entered online through the material ERP, and the target drug characteristic text data is generated ,The target drug characteristic text data includes drug name text information, ,specification text information, approval number text information and main function text information.

[0028] The target drug production raw material composition information is analyzed and processed based on the target drug characteristic text data and the unit mass drug production raw material composition characteristic text data. The operation steps for generating the target unit mass drug production raw material composition characteristic text data are as follows: S21. Establish a text data set of characteristics of the composition of raw materials for drug production per unit mass , ;in Indicates Characteristic text data of the composition of raw materials for drug production per unit mass corresponding to each drug type, Indicates the maximum number of drug types; the characteristic text data of the composition of drug production raw materials per unit mass indicates the text information of the types of production raw materials and the text information of the production raw materials quality required for each unit mass of drug produced during the drug production and processing stage, and the unit mass includes any one of one gram, one kilogram and one ton; S22. Target drug feature text data Characteristic text data set of unit mass pharmaceutical production raw materials composition Characteristic text data of composition of raw materials for drug production of medium unit quality Perform drug feature keyword matching to search for target drug feature text data Corresponding unit mass pharmaceutical production raw material composition characteristic text data , and generate the target unit quality drug production raw material composition feature text data set through data identification ; Execute and generate the target unit quality drug production raw material composition feature text data set The specific steps are as follows: S221, initialize parameters, update raw material information to identify the number of crow populations, maximum number of iterations, and flight distance ; S222. Initialize the raw material information to identify the crow individual in the unit mass of drug production raw material composition feature text data set The initial position and memory in search space, The raw information identifies crows randomly distributed in a space with a dimension of Characteristic text data set of composition of unit mass pharmaceutical production raw materials In the search space; in the first iteration, it is assumed that the raw material information identifies the crow individual hiding the food in the initial position; that is, in the first iteration, it is assumed that the raw material information identifies the crow individual hiding the target drug feature text data Characteristic text data set of unit mass pharmaceutical production raw materials composition Characteristic text data of the composition of unit mass pharmaceutical raw materials at the initial position in the search space Make a match; S223, calculate the individual fitness value of each raw material information recognition crow, that is, calculate the target drug feature text data Characteristic text data set of unit mass pharmaceutical production raw materials composition Characteristic text data of composition of unit mass pharmaceutical raw materials in search space The fitness value of S224. Update the raw material information to identify the crow individual in the unit mass of drug production raw material composition feature text data set The position in the search space, the raw information identifies the individual position of the crow and the update formula is as follows: ,in Indicates Iteration raw information to identify individual crows Characteristic text data set of composition of raw materials for drug production per unit mass The new position in the search space, Indicates Iteration raw information to identify individual crows Characteristic text data set of composition of raw materials for drug production per unit mass The position in the search space, represents a random number uniformly distributed between [0, 1], Indicates Iteration raw information to identify individual crows Characteristic text data set of composition of raw materials for drug production per unit mass The flight distance in the search space, Indicates Iteration raw information to identify individual crows Characteristic text data set of composition of raw materials for drug production per unit mass The food hiding location in the search space, i.e. Iteration raw information to identify individual crows Characteristic text data set of composition of unit mass pharmaceutical production raw materials Search the search space for text data related to the target drug characteristics Matching unit mass pharmaceutical production raw material composition characteristic text data location; S225, determine the feasibility of the new position, determine the feasibility of the new position of each crow identified by the raw material information; if the new position of the crow identified by the raw material information is feasible, the crow identified by the raw material information will update its position, that is, in the unit mass drug production raw material composition feature text data set Search the search space for text data related to the target drug characteristics Matching unit mass pharmaceutical production raw material composition characteristic text data , the raw material information identification crow individual is updated to the matched unit mass drug production raw material composition feature text data otherwise, the raw information identifies that the crow individual stays at the current location and does not move to the new location; S226. Evaluate the fitness value of the new position, calculate the fitness value of each raw material information identification crow's individual new position, that is, calculate the characteristic text data set of the unit mass drug production raw material composition Target drug feature text data in the search space Characteristic text data of the composition of the raw materials for drug production per unit mass at the new location The fitness value of S227, update memory, if the fitness value of the new position of the raw material information recognition crow is greater than the fitness value of the initial position in the memory, the raw material information recognition crow updates its memory through the new position, otherwise it does not update its memory; that is, in the unit mass pharmaceutical production raw material composition feature text data set Search the search space for text data related to the target drug characteristics Characteristic text data of the composition of unit mass pharmaceutical production raw materials with the largest fitness value ; S228. When the maximum number of iterations is met, output the target drug feature text data Matching unit mass pharmaceutical production raw material composition characteristic text data , and generate the target unit quality drug production raw material composition feature text data set through data identification , ;in Indicates the target unit quality of the drug The target unit mass drug production raw material composition characteristic text data corresponding to the drug production raw material type, Indicates the maximum number of drug production raw material types; the target unit mass drug production raw material composition characteristic text data indicates the production raw material type text information and production raw material quality text information required to produce each unit mass of the target drug during the target drug production and processing stage.

[0029] The optimal real-time purchasing price information of the target drug unit mass production raw materials is searched and processed according to the target drug unit mass production raw materials composition characteristic text data, and the operation steps for generating the real-time optimal price data of the target drug unit mass production raw materials are as follows: S31. Use a bidirectional search algorithm to construct a feature text data set of target unit quality pharmaceutical production raw materials Characteristic text data of composition of target unit quality drug production raw materials The drug production raw materials are entered into the Internet shopping platform in order according to the type number, and the minimum market purchase price value required for purchasing each drug production raw material per unit mass is searched online, and the real-time optimal price data set of the target drug production raw material per unit mass is generated. ,in Indicates the target unit quality of the drug The real-time optimal price data of target drug unit mass production raw materials corresponding to the type of drug production raw materials, the real-time optimal price data of target drug unit mass production raw materials represents the minimum price value of the market purchase price of each production raw material per unit mass of the target drug, where The unit is yuan per unit mass.

[0030] Based on the target drug's production raw material composition information and production raw material price information, the optimal price value of the target unit quality drug's production raw materials is statistically processed to generate the target unit quality drug's real-time production raw material optimal cost price data as follows: S41. Combining the target unit quality pharmaceutical production raw materials into a feature text data set Characteristic text data of composition of target unit quality drug production raw materials A collection of real-time optimal price data for target drug production raw materials per unit mass Real-time optimal price data of target drug production raw materials per unit mass According to the drug production raw material type number, the market purchase price of various production raw materials of target unit quality drugs is statistically processed, and the real-time optimal cost price data of target unit quality drugs is generated ,in , The unit is RMB per unit mass. When the target unit mass drug is produced in real time, the optimal cost price data of raw materials is If the generation is not completed, continue to execute the optimal cost price data of the target unit quality drug real-time production raw materials Generate operation instructions.

[0031] Through the target drug characteristic information collection unit, the material ERP is used to accurately collect the target drug characteristic information online, providing reliable data support for the scientific analysis of the composition information of drug production raw materials; the target drug production raw material composition characteristic analysis unit, based on the target drug characteristic information combined with the intelligent recognition algorithm and the unit mass drug production raw material composition characteristic information based on big data storage, accurately and efficiently analyzes the target drug production raw material composition information, realizes scientific analysis of the target unit mass drug production raw material characteristic information, and improves the accuracy of drug production raw material cost prediction; the target drug real-time production raw material optimal price information search unit, based on the target unit mass drug production raw material composition characteristic parameters combined with the intelligent search algorithm, intelligently screens the target drug unit mass production raw material optimal real-time procurement price information on the Internet shopping platform, realizes the dynamic collection of the target drug unit mass production raw material real-time optimal price parameters, and improves the reliability of drug production raw material cost prediction; the target drug real-time production raw material optimal total cost price statistics unit, based on the target drug production raw material composition information and production raw material price information, autonomously and accurately digitizes the target unit mass drug production raw material optimal price parameters, realizes dynamic prediction of drug production cost parameters based on drug production raw material real-time price parameters, and improves the scientific nature of drug raw material production cost management.

[0032] For further information, see Figure 1 - Figure 2 , based on the target drug feature text data and the unit quality drug processing procedure cost price text data, the optimal processing procedure cost price information of the target unit quality drug processing production stage is analyzed and processed, and the operation steps for generating the target unit quality drug processing procedure optimal cost price text data are as follows: S51. When the target unit quality drug is produced in real time, the optimal cost price data of raw materials When the generation is completed, a text data set of unit quality drug processing cost price is established ,in Indicates The unit quality drug processing procedure cost price text data corresponding to the drug type, the unit quality drug processing procedure cost price text data represents the minimum price value of the processing cost required to produce each unit quality drug in the various drug processing procedures set in the drug production and processing stage. The unit of is yuan per unit mass; S52, using a unified cost search algorithm to convert the target drug feature text data Text data set of unit quality drug processing cost price Text data of cost price of drug processing procedures of medium unit quality Perform drug feature keyword matching to search for target drug feature text data Corresponding unit quality drug processing cost price text data , and generate the optimal cost price text data of the target unit quality drug processing process through data identification The optimal cost price text data of the target unit quality drug processing procedure represents the minimum price value of the processing cost required to produce each unit quality target drug in the target drug processing procedure. The unit is yuan per unit mass.

[0033] The operation steps for performing numerical statistical processing on the optimal price of the target unit quality drug production cost based on the raw material cost price parameters and processing procedure cost price parameters of the target unit quality drug and generating the optimal total cost data of the target unit quality drug production in real time are as follows: S61. Optimal cost price data of target unit quality drugs for real-time production of raw materials and target unit quality drug processing process optimal cost price text data Perform numerical operations and processing on the real-time production raw material cost price values ​​and processing procedure cost price parameters of target unit quality drugs, and calculate the optimal total cost data for real-time production of target unit quality drugs. ,in , The unit is yuan per unit mass.

[0034] The optimal cost price analysis unit for the target drug processing procedure performs an accurate evaluation of the optimal processing procedure cost price information of the target unit quality drug in the processing and production stage based on the target drug feature information combined with the intelligent search algorithm and the standard stored unit quality drug processing procedure cost price information, so as to accurately predict the drug production cost parameters based on the drug processing procedure cost parameters, and improve the accuracy of drug raw material production cost management; the target drug real-time production optimal total cost statistics unit performs numerical statistical processing of the optimal price of the target unit quality drug production cost based on the raw material cost price parameters and processing procedure cost price parameters of the target unit quality drug, so as to dynamically and accurately predict the drug production cost information based on the real-time raw material cost and real-time processing procedure cost of the drug, and improve the intelligence and effectiveness of drug production cost management.

[0035] For further information, see Figure 1 - Figure 2 The steps to construct the target unit quality drug real-time cost forecast data and perform the drug production real-time cost forecast result output operation are as follows: S71. Target drug feature text data , Real-time optimal cost price data of raw materials for target unit quality drugs , text data of optimal cost price of target unit quality drug processing procedures and target unit quality drug real-time production optimal total cost data Perform data combination identification to construct real-time cost prediction data for target unit quality drugs ,in ; S72. Real-time cost forecast data of target unit quality drugs The results of real-time cost forecasting of drug production are output online via the IoT communication network to the drug production management end and cooperate with the display screen to output the results.

[0036] Through the drug production real-time cost prediction parameter construction unit, based on drug characteristic information, real-time drug production raw material cost price parameters, drug processing procedure cost price parameters and real-time drug production total cost parameters combined with numerical analysis, the target unit quality drug real-time cost prediction information is timely and accurately constructed to improve the timeliness and quality of drug production cost management; the drug production real-time cost prediction result output unit, according to the target unit quality drug real-time cost prediction parameters combined with the drug production management end and the display screen to perform the drug production real-time cost prediction result output operation, to achieve dynamic visualization and intuitive display of drug production cost prediction information, and improve the applicability of drug production cost management.

[0037] Embodiment 2: See also Figure 1 - Figure 2 , a drug production cost optimization and prediction system based on data analysis, used to implement a drug production cost optimization and prediction method based on data analysis, the system includes a drug raw material cost management module, a drug processing cost management module, and a drug production cost management module; The drug raw material cost management module includes a target drug characteristic information collection unit, a unit mass drug production raw material composition characteristic information storage unit, a target drug production raw material composition characteristic analysis unit, a target drug real-time production raw material optimal price information search unit, and a target drug real-time production raw material optimal total cost price statistics unit; The target drug characteristic information acquisition unit collects the target drug characteristic text data through the material ERP; the unit mass drug production raw material composition characteristic information storage unit is used to store the unit mass drug production raw material composition characteristic text data; the target drug production raw material composition characteristic analysis unit performs the target drug production raw material composition information analysis and processing based on the target drug characteristic text data and the unit mass drug production raw material composition characteristic text data, and generates the target unit mass drug production raw material composition characteristic text data; the target drug real-time production raw material optimal price information search unit performs the target drug unit mass production raw material optimal real-time purchase price information search and processing based on the target unit mass drug production raw material composition characteristic text data combined with the Internet shopping platform, and generates the target drug unit mass production raw material real-time optimal price data; the target drug real-time production raw material optimal total cost price statistics unit performs the target unit mass production raw material optimal price numerical statistics processing based on the target drug production raw material composition information and production raw material price information, and generates the target unit mass production raw material optimal cost price data; The drug processing cost management module includes a unit quality drug processing process cost price information storage unit, a target drug processing process optimal cost price analysis unit, and a target drug real-time production optimal total cost statistics unit; The unit quality drug processing procedure cost price information storage unit is used to store the unit quality drug processing procedure cost price text data; the target drug processing procedure optimal cost price analysis unit performs the optimal processing procedure cost price information analysis and processing at the target unit quality drug processing and production stage based on the target drug characteristic text data and the unit quality drug processing procedure cost price text data to generate the target unit quality drug processing procedure optimal cost price text data; the target drug real-time production optimal total cost statistics unit performs the target unit quality drug production cost optimal price numerical statistics processing based on the target unit quality drug raw material cost price parameters and the processing procedure cost price parameters to generate the target unit quality drug real-time production optimal total cost data; The drug production cost management module includes a drug production real-time cost prediction parameter construction unit and a drug production real-time cost prediction result output unit; The drug production real-time cost prediction parameter construction unit constructs the target unit quality drug real-time cost prediction data based on drug characteristic information, real-time drug production raw material cost price parameters, drug processing procedure cost price parameters and real-time drug production total cost parameters; the drug production real-time cost prediction result output unit performs the drug production real-time cost prediction result output operation based on the target unit quality drug real-time cost prediction data in combination with the drug production management terminal and the display screen.

[0038] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for optimizing and predicting drug production costs based on data analysis, characterized in that: The method comprises the following steps: S1. Collect characteristic text data of target drugs; S2. Analyze and process the target drug production raw material composition information to generate target unit mass drug production raw material composition feature text data; S3, searching and processing the optimal real-time purchasing price information of the target drug unit mass production raw materials according to the target drug unit mass production raw materials composition characteristic text data, and generating the real-time optimal price data of the target drug unit mass production raw materials; S4, performing numerical statistical processing on the optimal price of the production raw materials of the target unit quality drug, and generating the optimal cost price data of the real-time production raw materials of the target unit quality drug; S5, analyzing and processing the optimal processing procedure cost price information of the target unit quality drug processing and production stage, and generating text data of the optimal cost price of the target unit quality drug processing procedure; S6. Performing numerical statistical processing on the optimal price of the production cost of the target unit quality drug based on the raw material cost price parameters and the processing procedure cost price parameters of the target unit quality drug, and generating the optimal total cost data of the real-time production of the target unit quality drug; S7. Construct the target unit quality drug real-time cost prediction data and execute the drug production real-time cost prediction result output operation.

2. The method for optimizing and predicting drug production costs based on data analysis according to claim 1, characterized in that: The S1 comprises the following steps: S11. In the drug production preparation stage, the product characteristic text information of the target drug to be produced is entered online through the material ERP, and the target drug characteristic text data is generated .

3. The method for optimizing and predicting drug production costs based on data analysis according to claim 2, characterized in that: The S2 comprises the following steps: S21. Establish a text data set of characteristics of the composition of raw materials for drug production per unit mass , ;in Indicates Characteristic text data of the composition of raw materials for drug production per unit mass corresponding to each drug type, Indicates the maximum number of drug types; S22, the With the As stated in Perform drug feature keyword matching to search for the The corresponding , and generate the target unit quality drug production raw material composition feature text data set through data identification ; Execute to generate the target unit quality drug production raw material composition feature text data set The specific steps are as follows: S221, initialize parameters, update raw material information to identify the number of crow populations, maximum number of iterations, and flight distance ; S222, initializing raw material information to identify crow individuals in the The initial position and memory in the search space, The raw information identifies crows randomly distributed in a space with a dimension of of In the search space; in the first iteration, assuming that the raw information identifies the crow individual With the The initial position in the search space Make a match; S223, calculate the With the The search space The fitness value of S224, updating the raw material information to identify the crow individual Position in the search space; S225, determine the feasibility of the new position, determine the feasibility of the new position of each crow individual identified by the raw material information; if the new position of the crow individual identified by the raw material information is feasible, the crow individual identified by the raw material information will update its position, and Search the search space for Matching the , the raw information identifies the crow individual and updates it to the matching successful otherwise, the raw information identifies that the crow individual stays at the current location and does not move to the new location; S226, evaluate the fitness value of the new position, calculate the fitness value of each raw material information identification crow individual new position, that is, calculate the fitness value of the new position of the crow Search space described With the new location The fitness value of S227, updating memory, if the fitness value of the new position of the raw material information recognition crow is greater than the fitness value of the initial position in the memory, the raw material information recognition crow updates its memory through the new position, otherwise it does not update its memory; in the Search the search space for the one with the largest fitness value. ; S228. When the maximum number of iterations is met, output the same as described above. Matching the , and generate the target unit quality drug production raw material composition feature text data set through data identification , ;in Indicates the target unit quality of the drug The target unit mass drug production raw material composition characteristic text data corresponding to the drug production raw material type, Indicates the maximum quantity of a type of drug production raw material.

4. The method for optimizing and predicting drug production costs based on data analysis according to claim 3, characterized in that: The S3 comprises the following steps: S31, using a bidirectional search algorithm to As stated in The drug production raw materials are entered into the Internet shopping platform in order according to the type number, and the minimum market purchase price value required for purchasing each drug production raw material per unit mass is searched online, and the real-time optimal price data set of the target drug production raw material per unit mass is generated. ,in Indicates the target unit quality of the drug The real-time optimal price data of target drug unit mass production raw materials corresponding to the types of drug production raw materials, among which The unit is yuan per unit mass.

5. The method for optimizing and predicting drug production costs based on data analysis according to claim 4, characterized in that: The S4 comprises the following steps: S41, the As stated in With the As stated in According to the drug production raw material type number, the market purchase price of various production raw materials of target unit quality drugs is statistically processed, and the real-time optimal cost price data of target unit quality drugs is generated ,in The unit is yuan per unit mass. If the generation is not completed, continue to execute the Generate operation instructions.

6. The method for optimizing and predicting drug production costs based on data analysis according to claim 5, characterized in that: The S5 comprises the following steps: S51, when the When the generation is completed, a text data set of unit quality drug processing cost price is established ,in Indicates Text data of unit quality drug processing cost prices corresponding to drug types, The unit of is yuan per unit mass; S52, using a unified cost search algorithm to With the As stated in Perform drug feature keyword matching to search for the The corresponding , and generate the optimal cost price text data of the target unit quality drug processing process through data identification ,in The unit is yuan per unit mass.

7. The method for optimizing and predicting drug production costs based on data analysis according to claim 6, characterized in that: The S6 comprises the following steps: S61, the generated and stated Perform numerical operations and processing on the real-time production raw material cost price values ​​and processing procedure cost price parameters of target unit quality drugs, and calculate the optimal total cost data for real-time production of target unit quality drugs. ,in The unit is yuan per unit mass.

8. The method for optimizing and predicting drug production costs based on data analysis according to claim 7, characterized in that: The S7 comprises the following steps: S71, the , , and stated Perform data combination identification to construct real-time cost prediction data for target unit quality drugs ; S72, the The results of real-time cost forecasting of drug production are output online via the IoT communication network to the drug production management end and cooperate with the display screen to output the results.

9. A drug production cost optimization and prediction system based on data analysis, used to implement a drug production cost optimization and prediction method based on data analysis as claimed in any one of claims 1 to 8, characterized in that: The system includes a drug raw material cost management module, a drug processing cost management module, and a drug production cost management module.

Citation Information

Patent Citations

  • Pharmaceutical lean production management process automation robot system and method

    CN118627849B

  • Building engineering cost assessment management system based on big data analysis

    CN114429338A

  • Order scheduling optimization method based on improved crow search algorithm

    CN115629584A

  • Battery cell raw material price prediction method and system based on WOA-ATTENTION algorithm

    CN116957627A

  • Industrial service method, equipment and medium

    CN117333211A