Traditional Chinese medicine production traceability method and system based on big data
Through the combination of sensors and deep learning technology and blockchain technology, the traceability method of traditional Chinese medicine production is optimized, which solves the problem of low accuracy of traditional Chinese medicine production traceability results and improves the quality and safety of traditional Chinese medicine products.
Patent Information
- Application Number
- CN202410501316.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-04-25
AI Technical Summary
Among the existing traceability methods for traditional Chinese medicine production, information records during the collection and processing of medicinal materials are prone to errors or omissions, resulting in low quality of traceability data and improper big data processing algorithms leading to reduced accuracy of results.
Sensor technology is used to automatically collect real-time data, pre-process and store data through deep learning and blockchain technology, in-depth analysis of traditional Chinese medicine production data, calculate comprehensive evaluation index and feedback evaluation index, and optimize traceability methods to improve accuracy.
It improves the accuracy of the traceability results of traditional Chinese medicine production, ensures the quality and safety of traditional Chinese medicine products, enhances transparency and credibility, and enhances users' sense of trust in product quality and safety.
Smart Images

Figure CN118505246B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Chinese medicine production traceability, and in particular to a Chinese medicine production traceability method and system based on big data. Background Art
[0002] With the rapid development of information technology, big data technology has emerged. Big data technology is a series of methods and tools for collecting, storing, processing and analyzing large-scale data. The emergence of big data technology is due to the rapid popularization of the Internet, the sharp increase in the speed of information generation, and the reduction in data storage costs. The above factors have jointly promoted the rapid development of big data technology; TCM production traceability refers to the use of big data and other information technology means to track and record all aspects of the entire production process of TCM, including raw material collection, processing and production, warehousing and logistics, etc., to ensure the quality and safety of TCM, the traceability of medicinal materials and the transparency of the production process. The emergence of TCM production traceability is due to the increasing attention paid to the quality and safety of TCM and the need to protect the health rights and interests of consumers.
[0003] At present, there are many aspects of research on the traceability of traditional Chinese medicine production. For example, Chinese invention patent CN107038467A discloses a traceability production management system and method for traditional Chinese medicine slices, which includes a production and processing unit, a database server and a coding server; the procurement management module in the production and processing unit sends the first traceability code information to the database server, and the other modules produce and process information to the database server; the finished product release module in the production and processing unit sends a coding request to the database server, and the database server sends the traceability information including the generated processing information to the coding server, and the coding server sends the EPC traceability code to the finished product release module according to the traceability information, and at the same time sends the second traceability code information to the database server; For example, Chinese invention patent CN114493637A discloses A blockchain-based Chinese medicine traceability method, device and medium, which generates a first identification code for the Chinese medicine by identifying and encoding a container containing the Chinese medicine; obtains the planting information of the Chinese medicine, associates the first identification code with the planting information, and uploads the associated planting information to the blockchain; obtains the first transportation information of the Chinese medicine, associates the first identification code with the first transportation information, and uploads the associated first transportation information to the blockchain; identifies and encodes the smallest packaging layer of the processed Chinese medicine at the production node to generate a second identification code for the Chinese medicine; associates the first identification code with the second identification code; obtains the processing information of the Chinese medicine, associates the second identification code with the processing information, and uploads the associated processing information to the blockchain; obtains the second transportation information of the Chinese medicine to the corresponding seller node, associates the second identification code with the second transportation information, and uploads the associated second transportation information to the blockchain.
[0004] However, in the current Chinese medicine production traceability methods, there may be errors or omissions in the information records during the collection and processing of Chinese medicinal materials, resulting in low quality of Chinese medicine production traceability data. In addition, there will be uncertainty in the initial stage of Chinese medicine production traceability data input. At the same time, when processing and analyzing Chinese medicine production traceability data based on big data, inappropriate algorithms and analysis methods are often used, resulting in reduced accuracy of Chinese medicine production traceability results.
[0005] Therefore, in summary, the existing technology has the problem of low accuracy of the traceability results of traditional Chinese medicine production. Summary of the invention
[0006] The embodiments of the present application solve the problem of low accuracy of Chinese medicine production traceability results in the prior art by providing a Chinese medicine production traceability method and system based on big data, thereby improving the accuracy of Chinese medicine production traceability results.
[0007] The embodiment of the present application provides a method for tracing the production of traditional Chinese medicine based on big data, comprising the following steps: using sensor technology to realize automatic real-time collection of traditional Chinese medicine production data, and preprocessing the collected traditional Chinese medicine production data; conducting in-depth traceability analysis and mining on the traditional Chinese medicine production data to obtain the traceability results of traditional Chinese medicine production, and then analyzing and obtaining a comprehensive traditional Chinese medicine production evaluation index based on the traceability results of traditional Chinese medicine production, wherein the comprehensive traditional Chinese medicine production evaluation index is used to comprehensively evaluate the overall quality of traditional Chinese medicine production; displaying the traceability results of traditional Chinese medicine production, obtaining user feedback evaluation data on the accuracy of the traceability results, and then analyzing the traceability result feedback evaluation index, wherein the traceability result feedback evaluation index is used to evaluate the user's feedback on the accuracy of the traditional Chinese medicine production traceability results; analyzing the traceability result accuracy index based on the production data collection accuracy index, the comprehensive traditional Chinese medicine production evaluation index and the traceability result feedback evaluation index, and when the traceability result accuracy index is lower than the first threshold, issuing a warning that the traceability result accuracy is too low, and optimizing the current traditional Chinese medicine production traceability method, wherein the traceability result accuracy index is used to evaluate the accuracy level of the traditional Chinese medicine production traceability results.
[0008] Furthermore, the specific method for realizing automatic real-time collection of Chinese medicine production data using sensor technology is as follows: according to the type of data that needs to be monitored in real time during the Chinese medicine production process, select a suitable sensor; realize automatic real-time collection of Chinese medicine production data through a data acquisition device connected to the sensor; number all sensors; obtain sensor accuracy, sensor resolution and sensor response time data, and construct a production data collection accuracy index analysis formula based on the data, the production data collection accuracy index is used to evaluate the accuracy of production data collected by the sensor; analyze the production data collection accuracy index according to the production data collection accuracy index analysis formula.
[0009] Furthermore, the specific method for preprocessing the collected traditional Chinese medicine production data is: detecting duplicate records, abnormal records and incomplete records in the traditional Chinese medicine production data from different sensors, removing duplicate records and abnormal records, and filling in incomplete records by interpolation; converting the traditional Chinese medicine production data collected by different sensors into the same unit and standardizing it; using deep learning technology to automatically label and classify the traditional Chinese medicine production data; using blockchain technology to build a decentralized database, and storing the preprocessed traditional Chinese medicine production data in the database.
[0010] Furthermore, the specific method for in-depth traceability analysis and mining of traditional Chinese medicine production data is as follows: in-depth mining and analysis of traditional Chinese medicine production data, analysis to obtain the quality index of production raw materials, the average cost of traditional Chinese medicine production and the average efficiency of traditional Chinese medicine production, the production raw material quality index is used to evaluate the quality of raw materials for traditional Chinese medicine production products; tracing the raw materials for traditional Chinese medicine production according to the traditional Chinese medicine production data, and obtaining the average storage time of raw materials through statistical analysis of the picking time of all raw materials for traditional Chinese medicine production products, and analyzing the microbial rate of raw materials through microbial analysis and detection data of all raw materials for traditional Chinese medicine production products, and then obtaining the raw material contamination rate according to the number of raw materials required for the product; tracing the production cost of traditional Chinese medicine production according to the traditional Chinese medicine production data, and obtaining the average cost of traditional Chinese medicine production for traditional Chinese medicine production products through statistical analysis; tracing the production process of traditional Chinese medicine production according to the traditional Chinese medicine production data, and obtaining the average efficiency of traditional Chinese medicine production through statistical analysis of the production cycle and product production quantity of traditional Chinese medicine production products.
[0011] Furthermore, the specific analysis method of the production raw material quality index is: numbering all products of traditional Chinese medicine production; obtaining the average storage time of raw materials and the average contamination rate of raw materials, and constructing a production raw material quality index analysis formula based on them; and analyzing the production raw material quality index according to the production raw material quality index analysis formula.
[0012] Furthermore, the specific method for displaying the traceability results of Chinese medicine production is: establishing a visual Chinese medicine production traceability information display platform, and displaying information on each link of Chinese medicine production, statistical information on Chinese medicine production data collected during Chinese medicine production, and traceability information of Chinese medicine production products to users through the information display platform; obtaining the number of likes for the traceability results by performing statistical analysis on the traceability result likes list; obtaining the number of users who viewed the traceability results by performing statistical analysis on the traceability result user view list; and obtaining the number of positive reviews for the traceability results by performing statistical analysis on the traceability result comment list.
[0013] Furthermore, the specific method for analyzing the traceability result accuracy index is: obtaining the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index data, and constructing a traceability result accuracy index calculation formula; calculating the traceability result accuracy index according to the traceability result accuracy index calculation formula; the traceability result accuracy index calculation formula is: , where To provide an accurate index of the traceability results, To collect accurate index for production data, It is a comprehensive Chinese medicine production evaluation index. Feedback evaluation index for traceability results, The weight ratio of the production data collection accuracy index to the traceability result accuracy index. It is the weight ratio of the comprehensive Chinese medicine production evaluation index to the accurate index of traceability results. It is the weight ratio of the traceability result feedback evaluation index to the traceability result accuracy index.
[0014] Furthermore, the specific method for analyzing and obtaining the comprehensive Chinese medicine production evaluation index is: obtaining the production raw material quality index, the average cost of Chinese medicine production and the average efficiency of Chinese medicine production, and constructing a comprehensive Chinese medicine production evaluation index analysis formula based on them; and analyzing the comprehensive Chinese medicine production evaluation index according to the comprehensive Chinese medicine production evaluation index analysis formula.
[0015] Furthermore, the specific method for analyzing the traceability result feedback evaluation index is: obtaining the number of likes for the traceability result, the number of users who viewed the traceability result and the number of favorable comments on the traceability result, and constructing a traceability result feedback evaluation index analysis formula based thereon; analyzing the traceability result feedback evaluation index according to the traceability result feedback evaluation index analysis formula.
[0016] The embodiment of the present application provides a Chinese medicine production traceability system based on big data, which includes: a data acquisition preprocessing module, a production data traceability analysis module, a user feedback evaluation analysis module and a traceability result accuracy warning module; wherein the data acquisition preprocessing module is used to realize the automatic real-time acquisition of Chinese medicine production data by using sensor technology, and preprocess the collected Chinese medicine production data; the production data traceability analysis module is used to conduct in-depth traceability analysis and mining of Chinese medicine production data, obtain Chinese medicine production traceability results, and thus analyze and obtain a comprehensive Chinese medicine production evaluation index based on the Chinese medicine production traceability results, and the comprehensive Chinese medicine production evaluation index is used to comprehensively evaluate the overall quality of Chinese medicine production; the user The feedback evaluation analysis module is used to display the traceability results of traditional Chinese medicine production, obtain the user's feedback evaluation data on the accuracy of the traceability results, and thus analyze the traceability result feedback evaluation index. The traceability result feedback evaluation index is used to evaluate the user's feedback on the accuracy of the traditional Chinese medicine production traceability results; the traceability result accuracy early warning module is used to analyze the traceability result accuracy index based on the production data collection accuracy index, the comprehensive traditional Chinese medicine production evaluation index and the traceability result feedback evaluation index. When the traceability result accuracy index is lower than the first threshold, an early warning of low traceability result accuracy is issued to optimize the current traditional Chinese medicine production traceability method. The traceability result accuracy index is used to evaluate the accuracy level of the traditional Chinese medicine production traceability results.
[0017] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0018] 1. The accuracy index of the traceability results is obtained through analysis. When the accuracy index of the traceability results is lower than the first threshold, an early warning of low accuracy of the traceability results is issued, thereby optimizing the current traceability method of Chinese medicine production, thereby improving the accuracy of the traceability results of Chinese medicine production and solving the problem of low accuracy of the traceability results of Chinese medicine production in the prior art.
[0019] 2. By displaying the results of Chinese medicine production traceability, we obtain data on users' feedback and evaluation on the accuracy of Chinese medicine production traceability results, and then analyze the traceability result feedback evaluation index based on the traceability result feedback evaluation data, thereby realizing the use of the traceability result feedback evaluation index to evaluate users' feedback on the accuracy of Chinese medicine production traceability results.
[0020] 3. Through in-depth traceability analysis and mining of TCM production data, we can obtain the traceability results of TCM production, and then find out the possible problems and hidden dangers in the TCM production process based on the traceability results, so as to take timely measures to improve the TCM production process and improve the quality and safety of TCM products. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1A flow chart of a method for tracing the origin of traditional Chinese medicine production based on big data provided in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of the structure of a traditional Chinese medicine production traceability system based on big data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The embodiment of the present application solves the problem of low accuracy of traditional Chinese medicine production traceability results in the prior art by providing a traditional Chinese medicine production traceability method and system based on big data. The traceability result accuracy index is obtained through analysis. When the traceability result accuracy index is lower than a first threshold, an early warning of low traceability result accuracy is issued, thereby optimizing the current traditional Chinese medicine production traceability method and improving the accuracy of traditional Chinese medicine production traceability results.
[0024] The technical solution in the embodiment of the present application is to solve the problem of low accuracy of the above-mentioned Chinese medicine production traceability results. The overall idea is as follows:
[0025] By using sensor technology to realize the automatic real-time collection of Chinese medicine production traceability data, the traceability data collection accuracy index is analyzed according to the sensor accuracy, sensor resolution and sensor response time data, the collected Chinese medicine production traceability data is preprocessed, the preprocessed Chinese medicine production traceability data is labeled and classified by deep learning technology, and the storage and management of Chinese medicine production traceability data is realized by using blockchain technology; the Chinese medicine production traceability data is deeply analyzed and mined, and the Chinese medicine production traceability results are analyzed, so as to analyze the Chinese medicine production traceability results and obtain a comprehensive Chinese medicine production evaluation index; the Chinese medicine production traceability results are displayed, and the data of user feedback and evaluation on the accuracy of the Chinese medicine production traceability results are obtained, and the traceability result feedback evaluation index is analyzed according to the traceability result feedback evaluation data; by analyzing the traceability data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation data, the traceability result accuracy index is analyzed, and when the traceability result accuracy index is lower than the first threshold, the Chinese medicine production traceability method is optimized to improve the accuracy of the Chinese medicine production traceability results.
[0026] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0027] like Figure 1As shown, it is a flow chart of a method for tracing the production of traditional Chinese medicine based on big data provided in an embodiment of the present application. The method is applied to a system for tracing the production of traditional Chinese medicine based on big data. The method includes the following steps: collecting and preprocessing the production data of traditional Chinese medicine: using sensor technology to realize automatic real-time collection of the production data of traditional Chinese medicine, and preprocessing the collected production data of traditional Chinese medicine; conducting in-depth traceability analysis and mining on the production data of traditional Chinese medicine, and analyzing and deriving a comprehensive evaluation index for the production of traditional Chinese medicine: conducting in-depth traceability analysis and mining on the production data of traditional Chinese medicine, and obtaining the results of the traceability of the production of traditional Chinese medicine, so as to analyze and derive a comprehensive evaluation index for the production of traditional Chinese medicine based on the results of the traceability of the production of traditional Chinese medicine, and the comprehensive evaluation index for the production of traditional Chinese medicine is used to comprehensively evaluate the overall quality of the production of traditional Chinese medicine; obtaining feedback data from users on the accuracy of the traceability results, and analyzing the data accordingly. Develop a traceability result feedback evaluation index: display the traceability results of Chinese medicine production, obtain user feedback and evaluation data on the accuracy of the traceability results, and analyze the traceability result feedback evaluation index. The traceability result feedback evaluation index is used to evaluate user feedback on the accuracy of the traceability results of Chinese medicine production. After analyzing the traceability result accuracy index, use the traceability result accuracy index to warn of the accuracy of the Chinese medicine production traceability results: analyze the traceability result accuracy index based on the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index. When the traceability result accuracy index is lower than the first threshold, an early warning of low traceability result accuracy is issued to optimize the current Chinese medicine production traceability method. The traceability result accuracy index is used to evaluate the accuracy level of the Chinese medicine production traceability results.
[0028] In this embodiment, when the accuracy index of the traceability result is lower than the first threshold, an early warning of low accuracy of the traceability result is issued, and the current traceability method of Chinese medicine production is optimized. By optimizing the traceability method of Chinese medicine production, the traceability ability and accuracy of Chinese medicine production raw materials can be improved, which will help ensure the stable quality of Chinese medicine products and provide more reliable quality assurance. It can enhance the transparency and credibility of Chinese medicine products and enhance users' trust in product quality and safety, which helps to establish a brand image and thus achieve sustainable development and improvement of the Chinese medicine production industry.
[0029] Furthermore, the specific method of using sensor technology to realize automatic real-time collection of Chinese medicine production data is as follows: according to the type of data that needs to be monitored in real time during the Chinese medicine production process, select appropriate sensors; realize automatic real-time collection of Chinese medicine production data through a data acquisition device connected to the sensor; number all sensors; obtain sensor accuracy, sensor resolution and sensor response time data, and construct a production data collection accuracy index analysis formula based on the data, and the production data collection accuracy index is used to evaluate the accuracy of production data collected by sensors; analyze the production data collection accuracy index according to the production data collection accuracy index analysis formula.
[0030] In this embodiment, the sensor is connected to the data acquisition device; the collected Chinese medicine production data is transmitted to the data storage device by wireless or wired transmission; the selection of the sensor installation position should take into account the comprehensiveness and representativeness of the Chinese medicine production data collection to ensure that the real-time monitored Chinese medicine production data can accurately reflect the status of the entire Chinese medicine production process; the sensor accuracy, sensor resolution and sensor response time data can be obtained by referring to the sensor's technical specification sheet, product manual or relevant information provided by the manufacturer; the production data collection accuracy index analysis formula is: , where To collect accurate index for production data, is the sensor accuracy of the sensor, i is the sensor number, is the total number of sensors, is the sensor resolution of the sensor, is the sensor response time of sensor i, is the weight ratio of sensor accuracy to the production data collection accuracy index, is the weight ratio of sensor resolution to the production data collection accuracy index, It is the weight ratio of sensor response time to the production data collection accuracy index. The higher the production data collection accuracy index is, the higher the accuracy of the production data collected by the sensor is.
[0031] Furthermore, the specific method for preprocessing the collected traditional Chinese medicine production data is as follows: detecting duplicate records, abnormal records and incomplete records in the traditional Chinese medicine production data from different sensors, removing duplicate records and abnormal records, and filling in incomplete records by interpolation; converting the traditional Chinese medicine production data collected by different sensors into the same unit and standardizing them; using deep learning technology to automatically label and classify the traditional Chinese medicine production data; using blockchain technology to build a decentralized database, and storing the preprocessed traditional Chinese medicine production data in the database.
[0032] In this embodiment, the Chinese medicine production data collected by different sensors are converted to the same unit to ensure the consistency and comparability of the Chinese medicine production data; the Chinese medicine production data is normalized to ensure that the Chinese medicine production has a similar scale and range; a deep learning model suitable for sequence data such as CNN or RNN is selected to extract and learn features of the Chinese medicine production data, and the trained deep learning model is deployed in the actual Chinese medicine production environment to realize automatic labeling and classification of the Chinese medicine production data, so as to monitor and identify abnormal situations in the Chinese medicine production process in real time, and take corresponding measures to deal with them; blockchain technology is used to build a decentralized database to ensure the immutability and security of the Chinese medicine production data and prevent the Chinese medicine production data from being tampered with or deleted.
[0033] Furthermore, the specific method for in-depth traceability analysis and mining of TCM production data is as follows: conduct in-depth mining and analysis of TCM production data to obtain the quality index of production raw materials, the average cost of TCM production and the average efficiency of TCM production. The quality index of production raw materials is used to evaluate the quality of raw materials for TCM production products; trace the raw materials for TCM production according to TCM production data, and obtain the average storage time of raw materials through statistical analysis of the picking time of all raw materials for TCM production products, and obtain the microbial rate of raw materials by analyzing the microbial analysis data of all raw materials for TCM production products, and then obtain the raw material contamination rate based on the number of raw materials required for the product; trace the production cost of TCM production according to TCM production data, and obtain the average cost of TCM production for TCM production products through statistical analysis; trace the production process of TCM production according to TCM production data, and obtain the average efficiency of TCM production through statistical analysis of the production cycle and product production quantity of TCM production products.
[0034] In this embodiment, the average storage time of raw materials is the average storage time of all raw materials of each product produced by Chinese medicine. The longer the time, the longer the overall storage time of all raw materials of the current product. The average cost of Chinese medicine production is the average cost of all products produced by Chinese medicine. The higher the cost, the higher the cost required to produce the same number of products. The average efficiency of Chinese medicine production is the average production efficiency of all products produced by Chinese medicine, which means that the output of the current product in the same time is higher.
[0035] Furthermore, the specific analysis method of the production raw material quality index is: number all products of traditional Chinese medicine production; obtain the average storage time of raw materials and the average contamination rate of raw materials, and construct the production raw material quality index analysis formula based on them; analyze the production raw material quality index according to the production raw material quality index analysis formula.
[0036] In this embodiment, the production raw material quality index analysis formula is: , where is the quality index of raw materials for the production of the jth product, The product type number of the Chinese medicine. The total number of types of Chinese medicine products produced. is the average storage time of raw materials for the jth product, is the raw material contamination rate of the jth product, is the weight ratio of the average storage time of raw materials to the quality index of raw materials. is the weight ratio of raw material contamination rate to production raw material quality index, It is a natural constant; the higher the quality index of production raw materials, the higher the overall quality of the raw materials for Chinese medicine production.
[0037] Furthermore, the specific method for displaying the traceability results of Chinese medicine production is as follows: establishing a visual Chinese medicine production traceability information display platform, displaying information on each link of Chinese medicine production, statistical information on Chinese medicine production data collected during Chinese medicine production, and traceability information of Chinese medicine production products to users through the information display platform; obtaining the number of likes for the traceability results by performing statistical analysis on the traceability result likes list; obtaining the number of users who viewed the traceability results by performing statistical analysis on the traceability result user view list; and obtaining the number of favorable comments on the traceability results by performing statistical analysis on the traceability result comment list.
[0038] In this embodiment, the traceability results of Chinese medicine production are in the form of a web page to establish a visual information display platform, and the traceability results of Chinese medicine production are displayed on the web page through charts, tables and other contents; users scan the QR code on the Chinese medicine production product to enter the Chinese medicine production traceability results web page for access and viewing. At the same time, users can view, like, and evaluate the Chinese medicine production traceability results on the web page; users display information on all aspects of Chinese medicine production, including raw material procurement, processing flow, production technology, quality inspection and other information; Chinese medicine production data statistical information collected during Chinese medicine production, including monitoring data such as temperature, humidity, and pH value; traceability information of Chinese medicine production products, including raw material sources, production batches, production dates and other information, to ensure product safety and quality; display the production location, collection time, processing technology and other information of Chinese medicine production products to users, to enhance the transparency and trust of Chinese medicine production products.
[0039] Furthermore, the specific method for analyzing the traceability result accuracy index is as follows: obtain the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index data, and construct a traceability result accuracy index calculation formula; calculate the traceability result accuracy index according to the traceability result accuracy index calculation formula; the traceability result accuracy index calculation formula is: , where To provide an accurate index of the traceability results, To collect accurate index for production data, It is a comprehensive Chinese medicine production evaluation index. Feedback evaluation index for traceability results, The weight ratio of the production data collection accuracy index to the traceability result accuracy index. It is the weight ratio of the comprehensive Chinese medicine production evaluation index to the accurate index of traceability results. It is the weight ratio of the traceability result feedback evaluation index to the traceability result accuracy index.
[0040] In this embodiment, the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index are used comprehensively to analyze the traceability result accuracy index. The purpose is to comprehensively evaluate the situation of Chinese medicine production from multiple angles, to fully understand all aspects of Chinese medicine production, so as to more accurately analyze the accuracy of Chinese medicine production traceability results. The higher the traceability result accuracy index, the higher the accuracy level of Chinese medicine production traceability results.
[0041] Furthermore, the specific method for deriving the comprehensive Chinese medicine production evaluation index is analyzed as follows: obtaining the production raw material quality index, the average cost of Chinese medicine production and the average efficiency of Chinese medicine production, and constructing a comprehensive Chinese medicine production evaluation index analysis formula based on them; and analyzing the comprehensive Chinese medicine production evaluation index according to the comprehensive Chinese medicine production evaluation index analysis formula.
[0042] In this embodiment, the comprehensive Chinese medicine production evaluation index analysis formula is: , where It is a comprehensive Chinese medicine production evaluation index. is the quality index of raw materials for the production of the jth product, j is the number of the type of Chinese medicine production product, The total number of types of Chinese medicine products produced. is the average production cost of traditional Chinese medicine, is the average efficiency of Chinese medicine production, is the weight ratio of the production raw material quality index to the comprehensive Chinese medicine production evaluation index. is the weight ratio of the average cost of Chinese medicine production to the comprehensive Chinese medicine production evaluation index, It is the weight ratio of the average efficiency of Chinese medicine production to the comprehensive Chinese medicine production evaluation index. The higher the traceability result value index is, the higher the credibility of the traceability result of Chinese medicine production is.
[0043] Furthermore, the specific method for analyzing the traceability result feedback evaluation index is: obtain the number of likes for the traceability result, the number of users who viewed the traceability result and the number of favorable comments on the traceability result, and construct an analysis formula for the traceability result feedback evaluation index based on them; analyze the traceability result feedback evaluation index according to the analysis formula for the traceability result feedback evaluation index.
[0044] In this embodiment, the traceability result feedback evaluation index analysis formula is: , where Feedback evaluation index for traceability results, Like the traceability results. The number of users who viewed the traceability results. is the number of favorable comments on the traceability results. The weight ratio of the number of likes for the traceability result to the traceability result feedback evaluation index. The weight ratio of the number of users viewing the traceability results to the traceability result feedback evaluation index. is the weight ratio of the number of favorable comments on the traceability results to the traceability result feedback evaluation index, is the ratio of pi; the higher the traceability result feedback evaluation index is, the better the user feedback on the accuracy of the traceability results of traditional Chinese medicine production is.
[0045] like Figure 2 As shown, it is a structural schematic diagram of the Chinese medicine production traceability system based on big data provided by the embodiment of the present application. The Chinese medicine production traceability system based on big data provided by the embodiment of the present application includes: a data acquisition preprocessing module, a production data traceability analysis module, a user feedback evaluation analysis module and a traceability result accuracy early warning module; wherein, the data acquisition preprocessing module is used to realize the automatic real-time acquisition of Chinese medicine production data by using sensor technology, and preprocess the collected Chinese medicine production data; the production data traceability analysis module is used to conduct in-depth traceability analysis and mining of Chinese medicine production data, and obtain the Chinese medicine production traceability results, so as to analyze and obtain a comprehensive Chinese medicine production evaluation index according to the Chinese medicine production traceability results, and the comprehensive Chinese medicine production evaluation index is used for comprehensive Evaluate the overall quality of Chinese medicine production; user feedback evaluation analysis module, used to display the traceability results of Chinese medicine production, obtain user feedback evaluation data on the accuracy of traceability results, and then analyze the traceability result feedback evaluation index. The traceability result feedback evaluation index is used to evaluate user feedback on the accuracy of Chinese medicine production traceability results; traceability result accuracy early warning module, used to analyze the traceability result accuracy index according to the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index. When the traceability result accuracy index is lower than the first threshold, an early warning of low traceability result accuracy is issued to optimize the current Chinese medicine production traceability method. The traceability result accuracy index is used to evaluate the accuracy level of Chinese medicine production traceability results.
[0046] In summary, with the help of the above-mentioned technical scheme of the present invention, the accuracy index of the traceability result is obtained through analysis. When the accuracy index of the traceability result is lower than the first threshold, an early warning of low accuracy of the traceability result is issued, thereby optimizing the current traceability method of traditional Chinese medicine production, thereby achieving the improvement of the accuracy of the traceability results of traditional Chinese medicine production.
[0047] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the specific device can be divided into different functional modules to complete all or part of the functions described above.
[0048] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0049] In several embodiments covered by the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, or it can be an electrical, mechanical or other form of connection.
[0050] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0051] In addition, each functional module in each embodiment of the present application can be implemented in the form of hardware or in the form of software functional modules. If these functional modules are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or part of the prior art that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a computer program product, which includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer program product is stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, a computer instruction can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)).
[0052] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
Claims
1. Traceability method of traditional Chinese medicine production based on big data, It is characterized in that The following steps are involved: Use sensor technology to realize the automatic real-time collection of traditional Chinese medicine production data and pre-process the collected traditional Chinese medicine production data; Conduct in-depth traceability analysis and mining of TCM production data to obtain TCM production traceability results, and then analyze and derive a comprehensive TCM production evaluation index based on the TCM production traceability results. The comprehensive TCM production evaluation index is used to comprehensively evaluate the overall quality of TCM production; Display the traceability results of traditional Chinese medicine production, obtain user feedback and evaluation data on the accuracy of the traceability results, and analyze the traceability result feedback evaluation index, which is used to evaluate the user's feedback on the accuracy of the traceability results of traditional Chinese medicine production; According to the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index, the traceability result accuracy index is analyzed. When the traceability result accuracy index is lower than the first threshold, an early warning of low traceability result accuracy is issued to optimize the current Chinese medicine production traceability method. The traceability result accuracy index is used to evaluate the accuracy level of the Chinese medicine production traceability results; The specific method of realizing the automatic real-time collection of traditional Chinese medicine production data by using sensor technology is: Select appropriate sensors based on the type of data that needs to be monitored in real time during the production of traditional Chinese medicine; The data acquisition device connected with the sensor realizes the automatic real-time collection of the production data of traditional Chinese medicine; Number all sensors; Acquire sensor accuracy, sensor resolution, and sensor response time data, and construct a production data collection accuracy index analysis formula based on the data, wherein the production data collection accuracy index is used to evaluate the accuracy of production data collected by the sensor; Analyze the production data collection accuracy index according to the production data collection accuracy index analysis formula; The specific method for preprocessing the collected traditional Chinese medicine production data is as follows: Detect duplicate records, abnormal records and incomplete records in the traditional Chinese medicine production data from different sensors, remove duplicate records and abnormal records, and use interpolation method to fill in the incomplete records; Convert the traditional Chinese medicine production data collected by different sensors into the same unit and standardize them; Use deep learning technology to automatically label and classify traditional Chinese medicine production data; Use blockchain technology to build a decentralized database and store the pre-processed Chinese medicine production data in the database; The specific method for conducting in-depth traceability analysis and mining of traditional Chinese medicine production data is as follows: Conduct in-depth mining and analysis of Chinese medicine production data to obtain the production raw material quality index, the average cost of Chinese medicine production and the average efficiency of Chinese medicine production. The production raw material quality index is used to evaluate the quality of raw materials for Chinese medicine production; Trace the raw materials of Chinese medicine production according to the production data of Chinese medicine, obtain the average storage time of raw materials through statistical analysis of the harvesting time of all raw materials of Chinese medicine production products, and obtain the raw material microbial rate through analysis of the microbiological analysis and testing data of all raw materials of Chinese medicine production products, and then obtain the raw material contamination rate according to the amount of raw materials required for the product; The production cost of Chinese medicine production is traced back based on the Chinese medicine production data, and the average production cost of Chinese medicine production products is obtained through statistical analysis; The production process of Chinese medicine production is traced back based on the production data of Chinese medicine, and the average efficiency of Chinese medicine production is obtained through statistical analysis of the production cycle and product production quantity of Chinese medicine production; The specific analysis method of the production raw material quality index is: Number all products produced by traditional Chinese medicine; Obtain the average storage time and average contamination rate of raw materials, and construct the production raw material quality index analysis formula based on them; Analyze the quality index of production raw materials according to the production raw materials quality index analysis formula; The specific method for displaying the traceability results of traditional Chinese medicine production is as follows: Establish a visual information display platform for the traceability of Chinese medicine production, and display information on each link of Chinese medicine production, statistical information on Chinese medicine production data collected during Chinese medicine production, and traceability information of Chinese medicine production products to users through the information display platform; The number of likes for the traceability results is obtained by statistically analyzing the likes list of the traceability results; The number of users who viewed the traceability results is obtained by statistically analyzing the traceability result user viewing list; Obtain the number of favorable comments on the traceability results by statistically analyzing the traceability result comment list; The specific method for analyzing the accuracy index of the traceability result is: Obtain the production data collection accuracy index, comprehensive Chinese medicine production evaluation index and traceability result feedback evaluation index data, and construct a calculation formula for the traceability result accuracy index; Calculate the traceability result accuracy index according to the traceability result accuracy index calculation formula; The calculation formula of the traceability result accuracy index is: In the formula, ZQ is the traceability result accuracy index, SC is the production data collection accuracy index, PG is the comprehensive Chinese medicine production evaluation index, FK is the traceability result feedback evaluation index, δ 1 is the weight ratio of the production data collection accuracy index to the traceability result accuracy index, δ 2 is the weight ratio of the comprehensive Chinese medicine production evaluation index to the traceability result accuracy index, δ 3 It is the weight ratio of the traceability result feedback evaluation index to the traceability result accuracy index.
2. The method for tracing the production of traditional Chinese medicine based on big data as claimed in claim 1, Features: The specific method for deriving the comprehensive Chinese medicine production evaluation index through analysis is as follows: Obtain the quality index of production raw materials, the average cost of Chinese medicine production and the average efficiency of Chinese medicine production, and construct a comprehensive Chinese medicine production evaluation index analysis formula based on them; The comprehensive Chinese medicine production evaluation index is analyzed according to the comprehensive Chinese medicine production evaluation index analysis formula.
3. The method for tracing the production of traditional Chinese medicine based on big data as claimed in claim 2, Features: The specific method for analyzing the traceability result feedback evaluation index is: Obtain the number of likes on the traceability results, the number of users who viewed the traceability results, and the number of favorable comments on the traceability results, and construct a traceability result feedback evaluation index analysis formula based on them; The traceability result feedback evaluation index is analyzed according to the traceability result feedback evaluation index analysis formula.
4. A Chinese medicine production traceability system based on big data using the method according to any one of claims 1 to 3, It is characterized in that include: Data collection preprocessing module, production data traceability analysis module, user feedback evaluation analysis module and traceability result accuracy early warning module; The data collection and preprocessing module is used to realize the automatic real-time collection of traditional Chinese medicine production data using sensor technology, and to preprocess the collected traditional Chinese medicine production data; The production data traceability analysis module is used to conduct in-depth traceability analysis and mining of traditional Chinese medicine production data, obtain the traceability results of traditional Chinese medicine production, and then analyze and obtain a comprehensive traditional Chinese medicine production evaluation index based on the traceability results of traditional Chinese medicine production. The comprehensive traditional Chinese medicine production evaluation index is used to comprehensively evaluate the overall quality of traditional Chinese medicine production; The user feedback evaluation analysis module is used to display the traceability results of traditional Chinese medicine production, obtain the user's feedback evaluation data on the accuracy of the traceability results, and analyze the traceability result feedback evaluation index, which is used to evaluate the user's feedback on the accuracy of the traceability results of traditional Chinese medicine production; The traceability result accuracy warning module is used to analyze the traceability result accuracy index according to the production data collection accuracy index, the comprehensive Chinese medicine production evaluation index and the traceability result feedback evaluation index. When the traceability result accuracy index is lower than the first threshold, a traceability result accuracy warning is issued to optimize the current Chinese medicine production traceability method. The traceability result accuracy index is used to evaluate the accuracy level of the Chinese medicine production traceability results.
