Traditional Chinese medicinal material production place tracing method, device, equipment, medium and product
By extracting and processing the spectral data of traditional medicinal materials, generating encrypted origin codes, and combining machine learning models to achieve accurate traceability of the origin of traditional medicinal materials, solving the problem that traditional methods cannot trace their origin and the source information is easily tampered with, and improving the authenticity and security of identification.
Patent Information
- Application Number
- CN202510186782.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-06-06
AI Technical Summary
Traditional Chinese medicinal materials can't trace the origin of origin, and the origin information is easily tampered with, and there is a risk of forgery.
Through a feature extraction algorithm, the spectral characteristic values highly correlated with the origin are extracted from the spectral data set of Chinese medicinal materials, processed and mapped, and the encrypted origin code of the Chinese medicinal material sample is generated, and the origin identification is achieved in combination with machine learning models.
It realizes accurate traceability of the origin of traditional Chinese medicinal materials, improves the authenticity and security of origin identification, and reduces the risk of tampering or forging of origin information.
Smart Images

Figure HDA0005278746930000011 
Figure HDA0005278746930000012 
Figure HDA0005278746930000021
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of origin tracing of Chinese medicinal materials, and in particular to a method, device, equipment, medium and product for tracing the origin of Chinese medicinal materials. Background Art
[0002] Chinese herbal medicines have extremely high medicinal value, are both medicinal and edible, and have a wide range of uses. The place of origin is an important factor in determining their quality and safety. China has a vast territory and complex geographical and climatic conditions. Factors such as soil, temperature, humidity, and sunshine have a significant impact on the growth and development of Chinese herbal medicines and the content of active ingredients. Chinese herbal medicines from different origins have certain characteristics based on the particularity of their growth environment. Both "Compendium of Materia Medica" and "Compendium of Materia Medica" point out the correlation between medicinal materials and their origins. The origin of Chinese herbal medicines is also considered a comprehensive indicator for evaluating quality. Therefore, origin traceability is conducive to ensuring the effectiveness, stability, and safety of the quality of Chinese herbal medicines.
[0003] Common methods for identifying the origin of Chinese herbal medicines include trait identification, microscopic identification, general physical and chemical identification, and DNA molecular marker identification. These methods can effectively identify the origin of Chinese herbal medicines through their traits, physical and chemical properties, genes, etc., but they are time-consuming and labor-intensive, expensive equipment, and require high professional operations, which poses challenges in market production and application. Traditional methods for identifying the origin of Chinese herbal medicines usually provide results in the form of identification reports, which cannot trace the origin, and the origin information is easily tampered with, and there is a risk of forgery during market circulation. Summary of the invention
[0004] The purpose of this application is to provide a method, device, equipment, medium and product for generating characteristic spectral codes of Chinese medicinal materials origin, so as to solve the problem that traditional Chinese medicinal materials origin identification methods cannot trace the origin and the origin information is easily tampered with.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In the first aspect, the present application provides a method for tracing the origin of Chinese medicinal materials, comprising:
[0007] The spectral data set of the sample is subjected to feature extraction according to a feature extraction algorithm to obtain spectral feature values that are highly correlated with the origin of the Chinese medicinal materials; the spectral data set is a full spectrum consisting of multiple spectral bands.
[0008] The spectral characteristic values are processed to obtain spectral characteristic mapping values.
[0009] According to the coding table, the spectral feature mapping value is converted to determine the encrypted Chinese herbal medicine sample origin code; the encrypted Chinese herbal medicine sample origin code is a QR code or a Code128 barcode.
[0010] Based on the coding table, the sample origin identification result is determined according to the encrypted Chinese medicinal material sample origin code and the origin identification classification model; the origin identification classification model is constructed with the spectral feature mapping value as the input variable and the sample origin label as the output variable; the sample origin label is the sample origin identification result.
[0011] In a second aspect, the present application provides a Chinese medicinal material origin tracing device, comprising:
[0012] The spectral feature value acquisition module extracts features from the spectral data set of the sample according to the feature extraction algorithm to obtain spectral feature values that are highly correlated with the origin of the Chinese medicinal materials; the spectral data set is a full spectrum composed of multiple spectral bands.
[0013] The spectral characteristic mapping value determination module processes the spectral characteristic value to obtain a spectral characteristic mapping value.
[0014] The encrypted Chinese medicinal material sample origin code determination module converts the spectral feature mapping value according to the coding table to determine the encrypted Chinese medicinal material sample origin code; the encrypted Chinese medicinal material sample origin code is a QR code or a Code128 barcode.
[0015] The sample origin identification result determination module determines the sample origin identification result based on the coding table, according to the encrypted Chinese medicinal material sample origin code and the origin identification classification model; the origin identification classification model is constructed with the spectral feature mapping value as the input variable and the sample origin label as the output variable; the sample origin label is the sample origin identification result.
[0016] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for tracing the origin of Chinese medicinal materials described in any one of the above-mentioned methods.
[0017] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned methods for tracing the origin of Chinese medicinal materials.
[0018] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for tracing the origin of Chinese medicinal materials.
[0019] According to the specific embodiments provided in this application, this application has the following technical effects:
[0020] The present application provides a method, device, equipment, medium and product for tracing the origin of Chinese medicinal materials. By extracting features from the spectral data set of the sample according to a feature extraction algorithm, spectral feature values highly correlated with the origin of the Chinese medicinal materials are obtained; the spectral feature values are processed to obtain spectral feature mapping values, which can eliminate the influence of different measurement conditions on the data, making the data more standardized and convenient for subsequent analysis and comparison; according to a coding table, the spectral feature mapping values are converted to determine the encrypted origin code of the Chinese medicinal materials sample; based on the coding table, according to the encrypted origin code of the Chinese medicinal materials sample and the origin identification classification model, the sample origin identification result is determined as the encrypted Chinese medicinal materials sample origin code. This origin code, through the conversion of the coding table, the spectral feature mapping value is encrypted into a QR code or barcode, which increases the difficulty of tampering or forging the origin information. The origin of any Chinese medicinal material sample can be traced back to realize the origin traceability of the Chinese medicinal material sample. The spectrum of the Chinese medicinal material is converted into an encrypted Chinese medicinal material sample origin code through the extraction, normalization, mapping and custom encoding of the spectral feature value, and the origin of the Chinese medicinal material is identified by combining the machine learning method. The identification accuracy is high and the process is encrypted to prevent the forgery of the origin identification result. The encrypted Chinese medicinal material sample origin code is convenient to generate and read, which solves the risk of forgery of Chinese medicinal materials in the market circulation and improves the authenticity of the identification of the origin of Chinese medicinal materials. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 This is a flow chart of a method for tracing the origin of Chinese medicinal materials in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the working process of a method for tracing the origin of Chinese medicinal materials provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of the process of generating the encrypted origin code of a Chinese herbal medicine sample provided in an embodiment of the present application; Figure 3 (a) is a schematic diagram of the original spectrum; Figure 3 (b) is a schematic diagram of extracting characteristic bands; Figure 3 (c) is a schematic diagram of feature normalization and mapping; Figure 3 (d) is a coding diagram;
[0025] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0028] like Figure 2 As shown, the present application relates to the origin tracing technology of Chinese medicinal materials, and specifically describes a method for tracing the origin of Chinese medicinal materials, the method comprising: (1) collecting spectral data of Chinese medicinal materials samples; (2) screening spectral feature bands related to the origin of samples; (3) mapping spectral feature values to integer intervals and encoding; (4) establishing a Chinese medicinal materials origin identification model based on spectral feature mapping values; (5) generating a Chinese medicinal materials origin QR code or barcode. The method proposed in the present application screens the origin-related spectral feature lines and combines the machine learning model to achieve accurate identification of the origin of Chinese medicinal materials, generates encrypted origin codes through spectral feature transformation, provides support for rapid identification and verification of the origin of Chinese medicinal materials, and better applies and serves the industrial development needs of Chinese medicinal materials origin tracing in the future.
[0029] Spectroscopic technology can qualitatively or quantitatively analyze the atomic or molecular composition of a sample through the reflection, transmission, and emission spectra of the sample, and has been widely used in many fields such as chemistry, industry, agriculture, and medicine. The chemical components in Chinese medicinal materials vary significantly in type, composition, and content due to the influence of factors such as the growth environment and soil geology of the origin. They can be used as characteristic indicators and important references for origin identification. The spectrum of Chinese medicinal materials can provide an important basis for origin tracing. At the same time, spectral technology has the advantages of being easy and fast to operate, and has great potential in high-throughput identification of the origin of Chinese medicinal materials.
[0030] like Figure 1 As shown, the embodiment of the present application provides a method for tracing the origin of Chinese medicinal materials, which specifically includes:
[0031] S1: extracting features from the spectral data set of the sample according to a feature extraction algorithm to obtain spectral feature values that are highly correlated with the origin of the Chinese medicinal materials; the spectral data set is a full spectrum consisting of multiple spectral bands.
[0032] S2: Processing the spectral characteristic values to obtain spectral characteristic mapping values.
[0033] S3: According to the coding table, the spectral feature mapping value is converted to determine the encrypted Chinese herbal medicine sample origin code; the encrypted Chinese herbal medicine sample origin code is a QR code or a Code128 barcode.
[0034] S4: Based on the coding table, the sample origin identification result is determined according to the encrypted Chinese medicinal material sample origin code and the origin identification classification model; the origin identification classification model is constructed with the spectral feature mapping value as the input variable and the sample origin label as the output variable; the sample origin label is the sample origin identification result.
[0035] Further, in an exemplary embodiment, step S1 may be replaced by the following steps.
[0036] S101: Collect a spectral data set of a sample using a laser induced breakdown spectroscopy detection system.
[0037] A method for tracing the origin of Chinese medicinal materials aims to protect the focus of the spectrum by screening characteristic spectral lines, mapping characteristic values and encoding them into Chinese medicinal materials origin codes, combined with machine learning classification models, to achieve rapid identification of Chinese medicinal materials.
[0038] Laser-induced breakdown spectroscopy (LIBS) detection platform was used to obtain LIBS spectrum data of the samples.
[0039] The samples of Panax notoginseng from 6 production areas (Chuxiong, Kunming, Qujing, Wenshan, Honghe and Yuxi) were used as the research objects. Panax notoginseng was dug after three years of planting, and the surface impurities were cleaned, dried, ground, and passed through the pharmacopoeia No. 4 sieve to obtain the Panax notoginseng powder sample. Weigh 0.2g of powder sample, use a hydraulic press to continuously pressurize for 30s at 20MPa pressure, and press the powder into a disc sample with a diameter of 13mm and a thickness of 1mm for LIBS spectrum acquisition. In this embodiment, a total of 420 samples were prepared and randomly divided into training set, validation set and prediction set according to the ratio of 3:1:1, which were 252, 84 and 84 respectively.
[0040] The sample spectrum is collected by a laser-induced breakdown spectroscopy detection system, which is mainly composed of a pulsed laser, a spectrometer, a detector, a delay generator, an electric translation stage, an optical path system, etc. The laser (Beamtech, Beijing, China) provides laser pulse energy for the LIBS system; the constructed optical path system focuses the laser to 2 mm below the sample surface; the electromagnetic wave signal radiated by the plasma is split by the spectrometer, and the photodetector converts the optical signal into an electrical signal, which is transmitted to the computer for reading and recording. In this embodiment, a CT monochromator SR500i (Andor, Belfast, UK) is selected, with a band range of 209.97-230.98 nm and a total of 1024 variables; a digital delay generator (Stanford Research Systems, California, USA) is used for timing control between the laser and the ICCD detector; and the electric translation stage realizes the acquisition of LIBS signals at different sites of the sample. In this embodiment, the parameters of the LIBS detection system are set as follows: delay time 2 μs, integration time 8 μs, laser energy 40 mJ, and continuous hitting of a single site 9 times. The moving path of the XYZ electric translation stage was set to a 2×3 matrix. By controlling the movement of the sample, LIBS spectral data at 6 different sites were collected. A single site was laser-struck 9 times, and the LIBS spectrum of the sample was the average of 54 (2×3×9) spectra.
[0041] S102: Screening spectral feature values that are highly correlated with the origin of the Chinese medicinal materials from the full spectrum according to a competitive adaptive weighted sampling method and a continuous projection algorithm.
[0042] The spectral dataset was randomly divided into training set, validation set and test set. Based on the training set and validation set, two feature extraction algorithms, competitive adaptive reweighted sampling (CARS) and successive projection algorithm (SPA), were used to screen the characteristic bands that were highly correlated with the origin of Chinese medicinal materials from the full spectrum, and the redundant bands were eliminated.
[0043] The sample LIBS spectra were preprocessed by area normalization to eliminate the interference of spectral fluctuations. Based on the training set and the validation set, the characteristic bands highly related to the origin of Panax notoginseng were screened in turn by two feature extraction algorithms, namely, competitive adaptive reweighted sampling (CARS) and successive projection algorithm (SPA), and the redundant bands were eliminated. Finally, 15 characteristic bands were obtained, and the wavelengths were 213.99, 214.80, 214.86, 215.09, 216.47, 217.97, 219.96, 221.94, 222.86, 228.30, 229.30, 229.73, 230.40, 230.47, and 230.98 nm.
[0044] Further, in an exemplary embodiment, step S2 may be replaced by the following steps.
[0045] S201: Using formula x minmax =(xx min ) / (x max -x min ) performs normalization processing on the spectral characteristic values to obtain normalized spectral characteristic values; wherein, x minmax is the normalized spectral characteristic value; x is the unprocessed spectral characteristic value; x min is the minimum value among all the spectral characteristic values; x max is the maximum value among all the spectral characteristic values.
[0046] S202: Mapping the normalized spectral characteristic values to the interval [0, N] at equal intervals to obtain spectral characteristic mapping values, wherein N is the number of mapping intervals, which is user-defined within the positive integer range of [20, 95].
[0047] The normalized eigenvalue is then multiplied by N (N≤95, N is an integer) and rounded off to an integer value interval of [0, N] as the spectral feature mapping value.
[0048] Further, in an exemplary embodiment, step S3 may be replaced by the following steps.
[0049] S301: Convert the spectral feature mapping value into an ASCII code string according to a coding table.
[0050] S302: Determine the encrypted origin code of the Chinese herbal medicine sample according to the ASCII code string.
[0051] The spectral feature mapping value of the Chinese herbal medicine sample whose origin needs to be identified is converted into an ASCII code string using a custom coding table, and then a QR code or Code128 barcode is generated as the encrypted origin code of the Chinese herbal medicine sample.
[0052] Further, in an exemplary embodiment, step S4 may be replaced by the following steps.
[0053] S401: Based on the coding table, the encrypted origin code of the Chinese medicinal material sample is decoded to determine the spectral feature mapping value.
[0054] S402: Input the spectral feature mapping value into an origin identification classification model to determine a sample origin identification result.
[0055] Based on the training set and validation set of samples, with spectral feature mapping values as input variables and sample origin labels as output variables, a support vector machine (SVM)-based origin identification and classification model was established, and the origin classification accuracy of the model was verified through the test set.
[0056] The user can scan the sample origin code to read the sample origin characteristic spectrum code, and convert it into a spectrum characteristic mapping value based on the code table. The sample origin identification result can be output by inputting the sample spectrum characteristic value into the origin identification model. The process is encrypted to prevent the identification result from being forged, and it is convenient for users to scan the code for verification, which is easy to operate and the result is reliable.
[0057] like Figure 3 As shown, a schematic diagram of the process of generating encrypted origin codes of Chinese herbal medicine samples is provided; Figure 3 (a) is a schematic diagram of the original spectrum; Figure 3 (b) is a schematic diagram of extracting characteristic bands; Figure 3 (c) is a schematic diagram of feature normalization and mapping; Figure 3 (d) in the figure is a coding diagram.
[0058] Specifically, the present application has the following technical features: (1) extracting characteristic bands that are highly correlated with the origin of Chinese medicinal materials through feature screening, and mapping the characteristic values to integer intervals, establishing a machine learning origin classification model, and realizing accurate and efficient identification of the origin of Chinese medicinal materials; (2) encrypting and converting the spectral feature mapping values of Chinese medicinal materials into origin codes, facilitating rapid identification of the origin of Chinese medicinal materials by scanning the codes, and preventing the forgery of origin codes; (3) the spectral transcoding method has simple steps, adopts machine learning methods to establish a discrimination model, is convenient for scanning and reading, and has low requirements for the operating environment and equipment hardware.
[0059] The present application embodiment provides a Chinese herbal medicine origin tracing device, which specifically includes:
[0060] The spectral feature value acquisition module extracts features from the spectral data set of the sample according to the feature extraction algorithm to obtain spectral feature values that are highly correlated with the origin of the Chinese medicinal materials; the spectral data set is a full spectrum composed of multiple spectral bands.
[0061] The spectral characteristic mapping value determination module processes the spectral characteristic value to obtain a spectral characteristic mapping value.
[0062] The module for determining the encrypted origin code of the Chinese herbal medicine sample converts the spectral feature mapping value according to the coding table to determine the encrypted origin code of the Chinese herbal medicine sample; the encrypted origin code of the Chinese herbal medicine sample is a QR code or a Code128 barcode.
[0063] The sample origin identification result determination module determines the sample origin identification result based on the coding table, according to the encrypted Chinese medicinal material sample origin code and the origin identification classification model; the origin identification classification model is constructed with the spectral feature mapping value as the input variable and the sample origin label as the output variable; the sample origin label is the sample origin identification result.
[0064] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store video tag processing data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a video tag processing method is implemented.
[0065] An embodiment of the present application provides a computer-readable storage medium, and when the computer program is executed by a processor, the method for tracing the origin of Chinese medicinal materials described above is implemented.
[0066] An embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for tracing the origin of Chinese medicinal materials.
[0067] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0068] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for tracing the origin of Chinese medicinal materials, characterized in that: The method for tracing the origin of Chinese medicinal materials includes: Extracting features from the spectral data set of the sample according to a feature extraction algorithm to obtain spectral feature values that are highly correlated with the origin of the Chinese medicinal materials; the spectral data set is a full spectrum consisting of multiple spectral bands; Processing the spectral characteristic values to obtain spectral characteristic mapping values; According to the coding table, the spectral feature mapping value is converted to determine the encrypted Chinese herbal medicine sample origin code; the encrypted Chinese herbal medicine sample origin code is a QR code or a Code128 barcode; Based on the coding table, the sample origin identification result is determined according to the encrypted Chinese medicinal material sample origin code and the origin identification classification model; the origin identification classification model is constructed with the spectral feature mapping value as the input variable and the sample origin label as the output variable; the sample origin label is the sample origin identification result.
2. The method for tracing the origin of Chinese medicinal materials according to claim 1, characterized in that: The feature extraction algorithm is used to extract features from the sample spectral data set to obtain spectral feature values that are highly correlated with the origin of Chinese medicinal materials, including: The spectral data set of the samples was collected using a laser-induced breakdown spectroscopy detection system; According to the competitive adaptive weighted sampling method and the continuous projection algorithm, spectral feature values highly correlated with the origin of the Chinese medicinal materials are screened from the full spectrum.
3. The method for tracing the origin of Chinese medicinal materials according to claim 2, characterized in that: The spectral data set of the sample is collected by using a laser induced breakdown spectroscopy detection system, specifically including: the laser induced breakdown spectroscopy detection system includes: a pulse laser, a spectrometer, a detector, a time delay generator, an electric translation stage and an optical path system; Using a pulsed laser to provide laser pulse energy for a laser induced breakdown spectroscopy detection system, and using an optical path system to focus the laser pulse energy onto a sample surface to induce plasma excitation; Using a spectrometer to split the emitted light of the plasma to obtain an optical signal; Using a detector to convert the optical signal into an electrical signal, and using a digital delay generator to control the timing between the pulse laser and the detector; The moving path of the electric translation stage is set as a matrix. By controlling the movement of the sample, the laser induced breakdown spectroscopy detection spectral signals at different locations are collected to determine the spectral data set of the sample.
4. The method for tracing the origin of Chinese medicinal materials according to claim 1, characterized in that: The spectral characteristic values are processed to obtain spectral characteristic mapping values, specifically including: Using the formula x minmax =(xx min ) / (x max -x min ) performs normalization processing on the spectral characteristic values to obtain normalized spectral characteristic values; wherein, x minmax is the normalized spectral characteristic value; x is the unprocessed spectral characteristic value; x min is the minimum value among all the spectral characteristic values; x max is the maximum value among all the spectral characteristic values; The normalized spectral characteristic values are mapped to the interval [0, N] at equal intervals to obtain spectral characteristic mapping values; N is the number of mapping intervals.
5. The method for tracing the origin of Chinese medicinal materials according to claim 1, characterized in that: According to the coding table, the spectral feature mapping value is converted to determine the encrypted origin code of the Chinese herbal medicine sample, specifically including: Convert the spectral feature mapping value into an ASCII code string according to a coding table; The encrypted Chinese herbal medicine sample origin code is determined according to the ASCII code string.
6. The method for tracing the origin of Chinese medicinal materials according to claim 1, characterized in that: Based on the coding table, according to the encrypted origin code of the Chinese herbal medicine sample and the origin identification classification model, the origin identification result of the sample is determined, specifically including: Based on the coding table, the encrypted origin code of the Chinese medicinal material sample is decoded to determine the spectral feature mapping value; The spectral feature mapping value is input into the origin identification classification model to determine the sample origin identification result.
7. A Chinese herbal medicine origin tracing device, characterized in that: The device for generating the origin characteristic spectrum code comprises: The spectral characteristic value acquisition module extracts the characteristics of the spectral data set of the sample according to the characteristic extraction algorithm to obtain the spectral characteristic value that is highly correlated with the origin of the Chinese medicinal material; the spectral data set is a full spectrum composed of multiple spectral bands; A spectral characteristic mapping value determination module processes the spectral characteristic value to obtain a spectral characteristic mapping value; A module for determining the encrypted origin code of the Chinese herbal medicine sample is used to convert the spectral feature mapping value according to a coding table to determine the encrypted origin code of the Chinese herbal medicine sample; the encrypted origin code of the Chinese herbal medicine sample is a QR code or a Code128 barcode; The sample origin identification result determination module determines the sample origin identification result based on the coding table, according to the encrypted Chinese medicinal material sample origin code and the origin identification classification model; the origin identification classification model is constructed with the spectral feature mapping value as the input variable and the sample origin label as the output variable; the sample origin label is the sample origin identification result.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for tracing the origin of Chinese medicinal materials according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for tracing the origin of Chinese medicinal materials described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for tracing the origin of Chinese medicinal materials described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Grain crop production place identifying method based on wavelet transform laser-induced breakdown spectroscopy
CN106770194A
Product tracing method and device, electronic equipment and storage medium
CN113538006A
Chrysanthemum production place identification method, model construction method and electronic equipment
CN116933043A
Pseudo-ginseng producing area identification method and device based on spectrum and image conversion, medium and product
CN119007016A
Cited By
Traditional Chinese medicine traceability management method and system
CN120765119A
Grain producing area identification method, device and equipment based on hyperspectral image
CN121330523A