Drug analysis method and device based on multidimensional spectroscopy

Through feature extraction and fusion of multi-dimensional spectral data, combined with symbol sequence and complex network analysis, the problem of unexplored relationships between samples in drug analysis is solved, effective analysis of drug similarities and correlations is achieved, and drug development and compatibility are promoted. effect.

CN118376591BActive Publication Date: 2024-09-20WUHAN HONGREN BIOPHARMACEUTICAL INC +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410825818.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

Existing drug analysis methods mainly focus on the characteristic analysis of a single sample and ignore the relationship between samples, resulting in a lack of exploration of drug interactions and component relationships, which limits the effectiveness of drug development and compatibility.

Method used

Using an analysis method based on multi-dimensional spectra, by obtaining multi-dimensional spectral data of drug samples, feature extraction and feature fusion are performed, combined with symbol sequence analysis, multi-scale entropy analysis and complex network analysis, to calculate sample entropy and Pearson correlation coefficient, and construct weighted adjacency Matrix to obtain the similarity and correlation strength between drug samples.

Benefits of technology

Effectively analyze the similarities and correlations between different drug samples, help understand the relationship between drug ingredients, discover potential drug interactions and ingredient properties, promote drug development and optimize treatment strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118376591B
    Figure CN118376591B
Patent Text Reader

Abstract

The present invention provides a drug analysis method and device based on multidimensional spectrum, including obtaining multidimensional spectrum data of several drug samples; extracting features from the multidimensional spectrum data to obtain a comprehensive feature matrix; obtaining a feature fusion matrix based on symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix; calculating the sample entropy of the feature fusion matrix of each drug sample at different preset scales; calculating the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples; calculating a weighted adjacency matrix based on complex network analysis according to the sample entropy and Pearson correlation coefficient, and obtaining the similarity and correlation strength between several drug samples according to the weighted adjacency matrix. The present invention can analyze the similarity and correlation strength between complex structure drugs, and is helpful to discover potential drug interactions and component characteristics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a drug analysis method and device based on multidimensional spectroscopy. Background Art

[0002] Most of the current drug analysis methods only focus on the characteristic analysis of a single sample, while ignoring the relationship between samples. This leads to a lack of exploration of similarities and associations between samples, limits the ability to discover potential drug interactions and component relationships, and makes the analysis results one-sided, which is not conducive to drug development and drug compatibility. Summary of the invention

[0003] The purpose of the present invention is to provide a drug analysis method and device based on multidimensional spectroscopy to improve the above problems. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0004] In a first aspect, the present application provides a drug analysis method based on multidimensional spectroscopy, comprising:

[0005] Obtain multidimensional spectral data of several drug samples;

[0006] Extracting features from the multidimensional spectral data to obtain a comprehensive feature matrix;

[0007] Obtaining a feature fusion matrix based on symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix;

[0008] Calculating the sample entropy of the feature fusion matrix of each of the drug samples at different preset scales;

[0009] Calculating the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples;

[0010] According to the sample entropy and the Pearson correlation coefficient, a weighted adjacency matrix is ​​calculated based on complex network analysis, and the similarity and association strength between the plurality of drug samples are obtained according to the weighted adjacency matrix.

[0011] In a second aspect, the present application also provides a drug analysis device based on multidimensional spectroscopy, comprising:

[0012] An acquisition module, the acquisition module is used to acquire multi-dimensional spectral data of a plurality of drug samples;

[0013] A feature extraction module, wherein the feature extraction module is used to extract features from the multidimensional spectral data to obtain a comprehensive feature matrix;

[0014] A first calculation module, the first calculation module is used to obtain a feature fusion matrix based on symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix;

[0015] A second calculation module, the second calculation module is used to calculate the sample entropy of the feature fusion matrix of each of the drug samples at different preset scales;

[0016] A third calculation module, the third calculation module is used to calculate the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples;

[0017] A fourth calculation module is used to calculate a weighted adjacency matrix based on the sample entropy and the Pearson correlation coefficient and based on complex network analysis, and to obtain similarities and association strengths between a plurality of the drug samples based on the weighted adjacency matrix.

[0018] In a third aspect, the present application also provides a drug analysis method and device based on multidimensional spectroscopy, comprising:

[0019] Memory for storing computer programs;

[0020] A processor is used to implement the steps of the drug analysis method based on multidimensional spectroscopy when executing the computer program.

[0021] In a fourth aspect, the present application further provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned drug analysis method based on multidimensional spectroscopy are implemented.

[0022] The beneficial effects of the present invention are as follows: the present invention can effectively analyze the similarities and correlations between different drug samples by integrating multidimensional spectral data of drug samples, using feature extraction and feature fusion, and combining symbolic sequence analysis, multiscale entropy analysis and complex network analysis, so that the relationship between drug components can be more intuitively understood, which is helpful to discover potential drug interactions and component characteristics.

[0023] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 A schematic diagram of a drug analysis method based on multidimensional spectroscopy according to an embodiment of the present invention;

[0026] Figure 2 is the chromatogram of L-DOPA;

[0027] Figure 3 is the chromatogram of L-DOPA-d3;

[0028] Figure 4 A logical schematic diagram of a method for analyzing levodopa and levodopa-d3 according to the present invention;

[0029] Figure 5 Schematic diagram of the device structure of the drug analysis method based on multidimensional spectroscopy described in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0031] Embodiment 1:

[0032] like Figure 1 As shown, this embodiment provides a drug analysis method based on multidimensional spectroscopy, which includes steps S100 to S600:

[0033] Step S100: obtaining multi-dimensional spectral data of a plurality of drug samples;

[0034] Step S200: extracting features from the multidimensional spectral data to obtain a comprehensive feature matrix;

[0035] The multidimensional spectral data includes ultraviolet-visible spectral data, infrared spectral data and Raman spectral data. The present invention integrates different types of spectral data to construct a comprehensive feature matrix, making the analysis more comprehensive and detailed.

[0036] Furthermore, in step S200, feature extraction is performed on the multidimensional spectral data, specifically including:

[0037] Preprocessing the ultraviolet-visible spectrum data, infrared spectrum data and Raman spectrum data respectively, wherein the preprocessing includes denoising, baseline correction and normalization;

[0038] Integrating the ultraviolet-visible spectrum data, infrared spectrum data and Raman spectrum data into a feature matrix;

[0039] The feature extraction is performed on the feature matrix.

[0040] Further, performing the feature extraction on the feature matrix specifically includes:

[0041] Performing feature extraction on the feature matrix based on topological data analysis to obtain a first feature vector;

[0042] Performing dimension reduction on the feature matrix based on local linear embedding to obtain a second feature vector;

[0043] Performing dimension reduction on the feature matrix based on the t-SNE algorithm to obtain a third eigenvector;

[0044] Performing unsupervised classification on the feature matrix based on a self-organizing feature map to obtain a fourth feature vector;

[0045] Performing sparse coding on the feature matrix based on sparse coding to obtain a fifth feature vector;

[0046] The first eigenvector, the second eigenvector, the third eigenvector, the fourth eigenvector and the fifth eigenvector are fused to obtain a comprehensive feature matrix.

[0047] By using topological data analysis, local linear embedding, t-SNE, self-organizing feature mapping and sparse coding, the data dimension can be effectively reduced and the main features of the data can be maintained, thereby improving computational efficiency and analysis results.

[0048] Step S300: According to the comprehensive feature matrix, a feature fusion matrix is ​​obtained based on symbol sequence analysis and feature fusion calculation;

[0049] After obtaining the comprehensive feature matrix and before obtaining the symbol sequence based on the comprehensive feature matrix based on symbol sequence analysis and feature fusion calculation, the method further includes:

[0050] Calculating the maximum information coefficient between each pair of features in the comprehensive feature matrix;

[0051] Screen out feature pairs whose maximum information coefficient in the comprehensive feature matrix is ​​greater than a preset threshold to obtain redundant candidate feature pairs;

[0052] Features that exist simultaneously in two or more redundant candidate feature pairs are extracted as redundant features, and the redundant features are removed.

[0053] By using the maximum information coefficient matrix and threshold segmentation method, redundant features can be effectively removed, the most informative features can be retained, and the feature set can be optimized.

[0054] Step S300 specifically includes:

[0055] Converting the comprehensive feature matrix into a symbol sequence based on a threshold segmentation method;

[0056] Extracting statistical features of the symbol sequence, the statistical features comprising symbol frequency, symbol pair frequency, sequence entropy and pattern frequency;

[0057] The statistical features are fused with the comprehensive feature matrix to obtain the feature fusion matrix.

[0058] The method of converting the comprehensive feature matrix into a symbol sequence based on a threshold segmentation method includes:

[0059] Standardizing the comprehensive feature matrix to obtain a standardized matrix;

[0060] Set different threshold intervals based on quantiles;

[0061] The standardized matrix is ​​divided into different symbols according to different threshold intervals to obtain a symbol sequence; for example, based on quantile selection: quantile Q1: -0.5, quantile Q2: 0.5, quantile Q3: 1.5, values ​​less than Q1 are represented by symbol A, values ​​between Q1 and Q2 are represented by symbol B, values ​​between Q2 and Q3 are represented by symbol C, and values ​​greater than Q3 are represented by symbol D.

[0062] Therefore, in this embodiment, the comprehensive feature matrix is ​​converted into a symbol sequence for analysis, so that the time series characteristics of the data are preserved, and the complexity and regularity of the data are revealed by calculating the sample entropy;

[0063] Step S400: Calculate the sample entropy of the feature fusion matrix of each drug sample at different preset scales;

[0064] Therefore, by introducing multi-scale entropy analysis, the sample entropy can be calculated at different time scales, thereby capturing more dynamic information and improving the depth and breadth of the analysis;

[0065] Specifically, the step S400 includes:

[0066] Preset the preset embedding dimension and preset tolerance and enter the calculation process:

[0067] Resampling each row of the feature fusion matrix to generate a multi-scale time series corresponding to each row;

[0068] Generating an embedding vector sequence of the preset embedding dimension according to the multi-scale time series;

[0069] Calculate the distance between each embedding vector in the embedding vector sequence according to the Chebyshev distance;

[0070] In each pair of embedded vectors, if the distance between the two embedded vectors is less than or equal to the preset tolerance, they are recorded as a matching pair, and the number of all matching pairs is counted to obtain the number of matching vectors to complete the calculation process;

[0071] Increasing the preset embedding dimension and repeating the calculation process to obtain a final number of matching vectors;

[0072] The sample entropy is calculated according to the number of matching vectors and the final number of matching vectors, wherein the calculation formula of the sample entropy is as follows:

[0073] ;

[0074] Among them, SampEn is the sample entropy, C(m+1, r) is the final number of matching vectors, C(m, r) is the number of matching vectors, m is the preset embedding dimension, and r is the preset tolerance.

[0075] Step S500: Calculating the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples, which specifically includes the following steps:

[0076] Expand the comprehensive feature matrix corresponding to each drug sample into a one-dimensional array;

[0077] Calculate the mean of each one-dimensional array;

[0078] The Pearson correlation coefficient between the comprehensive feature matrices of different drug samples is calculated based on the comprehensive feature matrix corresponding to each drug sample and the mean of each corresponding one-dimensional array.

[0079] For example, there are three drug samples, each of which corresponds to a comprehensive feature matrix X1, X2, and X3;

[0080] Expand X1, X2, and X3 into one-dimensional arrays to obtain three one-dimensional arrays X1_flat, X2_flat, and X3_flat;

[0081] Calculate the mean of each one-dimensional array according to X1_flat, X2_flat and X3_flat to get mean_X1, mean_X2 and mean_X3;

[0082] According to X1, X2, X3, mean_X1, mean_X2 and mean_X3, the Pearson correlation coefficient between the comprehensive feature matrices of drug samples in pairs of X1, X2 and X3 is calculated.

[0083] Step S600: Calculate a weighted adjacency matrix based on complex network analysis according to the sample entropy and Pearson correlation coefficient, calculate the node degree and weighted degree of each drug sample according to the weighted adjacency matrix, and analyze the similarity and association strength between several drug samples according to the node degree and weighted degree of each drug sample.

[0084] Therefore, by constructing a weighted adjacency matrix combining the Pearson correlation coefficient and sample entropy, the similarities and associations between different drug samples can be effectively analyzed. The introduction of complex network analysis methods here makes it possible to more intuitively understand the relationship and structure between drug components, which helps to discover potential drug interactions and ingredient characteristics.

[0085] For example, if the node degree and strengthening degree between two drug samples are the same or similar, it indicates that the two drug samples have high similarity and strong association strength; if among multiple drug samples, a drug sample has the highest node degree, it indicates that it has a direct association with more drug samples and a strong association strength, and is a key drug with multiple connections in composition or function; if among multiple drug samples, a drug sample has the highest weighted degree, it indicates that it is a key drug with high similarity with other drug samples in multiple feature dimensions; finding key drugs can provide guidance for drug research and development, help optimize treatment strategies or accelerate the development process of new drugs. The height of the node degree can be judged by the average node degree, or by setting a preset node degree threshold, and the weighted degree is the same.

[0086] Embodiment 2:

[0087] The difference between this embodiment and embodiment 1 is that step S600 includes:

[0088] Number all medication samples;

[0089] Initialize the weighted adjacency matrix according to the number to obtain an initialized weighted adjacency matrix;

[0090] Calculate the weight between the two drug samples according to the Pearson correlation coefficients corresponding to the two drug samples and the sample entropies of the two drug samples;

[0091] Repeat the above weight calculation steps to obtain the weight between every two drug samples in all drug samples;

[0092] Add all weights to the corresponding positions in the initialized weighted adjacency matrix according to their numbers to obtain the weighted adjacency matrix.

[0093] The following is a detailed description of the weighted adjacency matrix calculation process using n specific drug sample pairs:

[0094] First, the n drug samples are numbered 1...n respectively;

[0095] The Pearson correlation coefficient r between each pair of drug samples i and j is calculated according to the following Pearson correlation coefficient calculation formula ij , where i∈{1,…,n}, j∈{1,…,n};

[0096] ;

[0097] In the above formula, X i is the comprehensive feature matrix corresponding to drug sample i, X j is the comprehensive feature matrix corresponding to drug sample j, is the comprehensive feature matrix X i The mean of the corresponding one-dimensional array, is the comprehensive feature matrix X j The mean of the corresponding one-dimensional array.

[0098] The sample entropy Ei of drug sample i at different scales and the sample entropy Ei of drug sample j at different scales are calculated by multi-scale entropy analysis method. j ;

[0099] Initialize an n×n weighted adjacency matrix W, the weight w of the weighted adjacency matrix W ij It can be calculated by the following formula:

[0100] ;

[0101] The calculated weight w ij Fill in the corresponding position of the weighted adjacency matrix W to fill the matrix. For example, in this embodiment, the calculated weight w ij Fill in the position of the i-th row and j-th column of the weighted adjacency matrix W.

[0102] The node degree and weighted degree of each drug sample are calculated according to the final weighted adjacency matrix W, thereby providing valuable reference for drug research and development and application.

[0103] The calculation process of the node degree and weighted degree of drug sample i and drug sample j is as follows:

[0104] For each drug sample i, traverse the i-th row of the weighted adjacency matrix W and calculate the node degree k i :

[0105] ;

[0106] For each drug sample i, traverse the i-th row of the weighted adjacency matrix W and calculate the weighted degree d i :

[0107] ;

[0108] The node degree k is calculated by counting the number of non-zero elements in the jth column of the weighted adjacency matrix W. j :

[0109] ;

[0110] The weighted degree d is calculated by summing all elements in the jth column of the weighted adjacency matrix j;

[0111] ;

[0112] in, Indicates when The value is 1 when , otherwise it is 0.

[0113] The following functions can be achieved by analyzing the obtained weighted adjacency matrix:

[0114] Drug similarity analysis: Identify similarities between different drug ingredients and discover potential drug substitutes or supplements;

[0115] Drug optimization: Drug samples with high similarity may have similar pharmacological properties. By analyzing these similarities, drug formulation and production process can be optimized.

[0116] Drug classification: By analyzing the similarities between different drug samples, drugs can be classified more accurately and the efficiency of new drug development can be improved.

[0117] The analysis of node degree and weighted degree in complex networks can not only reveal the strength of association between drug samples, but also help identify key drug samples and guide the direction of drug research and development and application. Through these indicators, researchers can better understand the complex relationship between drug components and optimize drug development strategies.

[0118] Compared with the prior art, the present invention has the following beneficial effects:

[0119] Traditional drug component analysis methods often rely on only a single type of spectral data (such as infrared spectrum, ultraviolet spectrum, etc.), which may lead to information loss or incomplete analysis. The present invention integrates different types of spectral data to construct a comprehensive feature matrix, making the analysis more comprehensive and detailed.

[0120] Drug spectral data usually have high-dimensional characteristics, which will increase the analysis complexity and computational cost. By using topological data analysis, local linear embedding, t-SNE, self-organizing feature mapping and sparse coding, the data dimension can be effectively reduced while maintaining the main features of the data, thereby improving the computational efficiency and analysis effect;

[0121] When faced with a large number of features, traditional analysis methods often have difficulty dealing with redundancy and correlation issues between features, resulting in a decrease in model performance. By using the maximum information coefficient matrix and threshold segmentation method, redundant features can be effectively removed, the most informative features can be retained, and the feature set can be optimized.

[0122] When processing complex drug ingredient data, single-scale entropy analysis may not be able to capture the multi-level structure and dynamic characteristics of the data. The present invention introduces multi-scale entropy analysis, which allows the calculation of sample entropy at different time scales, thereby capturing more dynamic information and improving the depth and breadth of analysis.

[0123] The present invention converts the comprehensive feature matrix into a symbol sequence for analysis, so that the time series characteristics of the data are preserved, and the complexity and regularity of the data are revealed by calculating the sample entropy;

[0124] By constructing a weighted adjacency matrix that combines the Pearson correlation coefficient and sample entropy, the similarities and correlations between different drug samples can be effectively analyzed. The introduction of complex network analysis methods here makes it possible to more intuitively understand the relationship and structure between drug components, which helps to discover potential drug interactions and ingredient characteristics.

[0125] Figure 2 , Figure 3 The chromatograms of components levodopa and levodopa-d3 are shown respectively. On this basis, Figure 4 As shown, this embodiment takes levodopa and levodopa-d3 as examples to further illustrate the present invention.

[0126] Comprehensive characteristic matrix X of levodopa L-Dopa as follows:

[0127] ;

[0128] Comprehensive feature matrix X of L-DOPA-d3 L-Dopa-d3 as follows:

[0129] ;

[0130] According to the aforementioned Pearson correlation coefficient calculation formula, the Pearson correlation coefficient r between levodopa and levodopa-d3 in this embodiment is calculated to be 0.92; according to the aforementioned node degree and weighted degree calculation process, the node degree of levodopa is calculated to be 1, the weighted degree is 0.92, and the node degree of levodopa-d3 is calculated to be 1, and the weighted degree is 0.92. In this embodiment, levodopa and levodopa-d3 have the same node degree and weighted degree, indicating that they are very similar in multiple features and have a strong correlation strength.

[0131] Embodiment 4:

[0132] This embodiment provides a drug analysis device that can implement the drug analysis method described in Embodiment 1 or 2, comprising:

[0133] An acquisition module, the acquisition module is used to acquire multi-dimensional spectral data of a plurality of drug samples;

[0134] A feature extraction module, wherein the feature extraction module is used to extract features from the multidimensional spectral data to obtain a comprehensive feature matrix;

[0135] A first calculation module, the first calculation module is used to obtain a feature fusion matrix based on symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix;

[0136] A second calculation module, the second calculation module is used to calculate the sample entropy of the feature fusion matrix of each of the drug samples at different preset scales;

[0137] A third calculation module, the third calculation module is used to calculate the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples;

[0138] A fourth calculation module is used to calculate a weighted adjacency matrix based on the sample entropy and the Pearson correlation coefficient and based on complex network analysis, and to obtain similarities and association strengths between a plurality of the drug samples based on the weighted adjacency matrix.

[0139] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0140] Embodiment 5:

[0141] Corresponding to the above method embodiment, this embodiment also provides a drug analysis method and device based on multidimensional spectroscopy, which can correspond to the drug analysis method based on multidimensional spectroscopy described above.

[0142] like Figure 5As shown, the block diagram of the drug analysis method device 800 based on multi-dimensional spectrum can include: a processor 801, a memory 802. The drug analysis method device 800 based on multi-dimensional spectrum can also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.

[0143] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned drug analysis method based on multidimensional spectroscopy are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions can be executed by the processor 801 of the drug analysis method device 800 based on multidimensional spectroscopy to complete the above-mentioned drug analysis method based on multidimensional spectroscopy.

[0144] Embodiment 6:

[0145] Corresponding to the above method embodiment, this embodiment further provides a readable storage medium, which can correspond to the drug analysis method based on multi-dimensional spectroscopy described above.

[0146] The readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the drug analysis method based on multidimensional spectroscopy described in the above-mentioned embodiment 1 or 2 are implemented.

[0147] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0148] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A drug analysis method based on multidimensional spectroscopy, characterized in that: include: Obtain multidimensional spectral data of several drug samples; Extracting features from the multidimensional spectral data to obtain a comprehensive feature matrix; Obtaining a feature fusion matrix based on symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix; Calculating the sample entropy of the feature fusion matrix of each of the drug samples at different preset scales; Calculating the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples; According to the sample entropy and Pearson correlation coefficient, a weighted adjacency matrix is ​​calculated based on complex network analysis, the node degree and weighted degree of each drug sample are calculated according to the weighted adjacency matrix, and the similarity and association strength between a plurality of the drug samples are analyzed according to the node degree and weighted degree of each drug sample; Wherein, the multidimensional spectral data includes ultraviolet-visible spectral data, infrared spectral data and Raman spectral data, and feature extraction of the multidimensional spectral data includes: Preprocessing the ultraviolet-visible spectrum data, infrared spectrum data and Raman spectrum data respectively, wherein the preprocessing includes denoising, baseline correction and normalization; Integrating the ultraviolet-visible spectrum data, infrared spectrum data and Raman spectrum data into a feature matrix; Performing the feature extraction on the feature matrix; The feature extraction of the feature matrix includes: Performing feature extraction on the feature matrix based on topological data analysis to obtain a first feature vector; Performing dimension reduction on the feature matrix based on local linear embedding to obtain a second feature vector; Performing dimension reduction on the feature matrix based on the t-SNE algorithm to obtain a third eigenvector; Performing unsupervised classification on the feature matrix based on a self-organizing feature map to obtain a fourth feature vector; Performing sparse coding on the feature matrix based on sparse coding to obtain a fifth feature vector; The first eigenvector, the second eigenvector, the third eigenvector, the fourth eigenvector and the fifth eigenvector are merged to obtain a comprehensive feature matrix; Wherein, the feature fusion matrix is ​​obtained based on the symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix, including: Converting the comprehensive feature matrix into a symbol sequence based on a threshold segmentation method; Extracting statistical features of the symbol sequence, the statistical features comprising symbol frequency, symbol pair frequency, sequence entropy and pattern frequency; The statistical features are fused with the comprehensive feature matrix to obtain the feature fusion matrix.

2. The drug analysis method according to claim 1, characterized in that , after obtaining the comprehensive feature matrix and before obtaining the symbol sequence based on the comprehensive feature matrix based on symbol sequence analysis and feature fusion calculation, including: Calculating the maximum information coefficient between each pair of features in the comprehensive feature matrix; Screen out feature pairs whose maximum information coefficient in the comprehensive feature matrix is ​​greater than a preset threshold to obtain redundant candidate feature pairs; Features that exist simultaneously in two or more redundant candidate feature pairs are extracted as redundant features, and the redundant features are removed.

3. The drug analysis method according to claim 1, characterized in that , based on the threshold segmentation method, the comprehensive feature matrix is ​​converted into a symbol sequence, including: Standardizing the comprehensive feature matrix to obtain a standardized matrix; Set different threshold intervals based on quantiles; The standardized matrix is ​​divided into different symbols according to different threshold intervals to obtain a symbol sequence.

4. The drug analysis method according to claim 1, characterized in that , calculating the sample entropy of the feature fusion matrix of each of the drug samples at different preset scales, including: Preset the preset embedding dimension and preset tolerance and enter the calculation process: Resampling each row of the feature fusion matrix to generate a multi-scale time series corresponding to each row; Generating an embedding vector sequence of the preset embedding dimension according to the multi-scale time series; Calculate the distance between each embedding vector in the embedding vector sequence according to the Chebyshev distance; For each pair of embedded vectors, if the distance between them is less than or equal to the preset tolerance, they are recorded as a matching pair, and the number of all such matching pairs is counted to obtain the number of matching vectors; Increasing the preset embedding dimension and repeating the calculation process to obtain a final number of matching vectors and complete the calculation process; The sample entropy is calculated according to the number of matching vectors and the final number of matching vectors.

5. The drug analysis method according to claim 1, characterized in that , calculating the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples, including: Expanding the comprehensive feature matrix corresponding to each of the drug samples into a one-dimensional array; Calculate the mean of each of the one-dimensional arrays; The Pearson correlation coefficient between the comprehensive feature matrices of different drug samples is calculated according to the mean value of each one-dimensional array.

6. The drug analysis method according to claim 1, characterized in that ,According to the sample entropy and Pearson correlation coefficient, a weighted adjacency matrix is ​​calculated based on complex network analysis, including: Number all samples of said medicines; Initializing a weighted adjacency matrix according to the numbers to obtain an initialized weighted adjacency matrix; Calculate the weight between the two drug samples according to the Pearson correlation coefficients corresponding to the two drug samples and the sample entropy of the two drug samples; Add all the calculated weights to corresponding positions in the initialized weighted adjacency matrix according to the serial numbers to obtain the weighted adjacency matrix.

7. A drug analysis device based on multidimensional spectroscopy, characterized in that: include: An acquisition module, the acquisition module is used to acquire multi-dimensional spectral data of a plurality of drug samples; A feature extraction module, wherein the feature extraction module is used to extract features from the multidimensional spectral data to obtain a comprehensive feature matrix; A first calculation module, the first calculation module is used to obtain a feature fusion matrix based on symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix; A second calculation module, the second calculation module is used to calculate the sample entropy of the feature fusion matrix of each of the drug samples at different preset scales; A third calculation module, the third calculation module is used to calculate the Pearson correlation coefficient between the comprehensive feature matrices of different drug samples; A fourth calculation module, the fourth calculation module is used to calculate a weighted adjacency matrix based on the sample entropy and the Pearson correlation coefficient and based on complex network analysis, and obtain the similarity and association strength between the plurality of drug samples according to the weighted adjacency matrix; Wherein, the multidimensional spectral data includes ultraviolet-visible spectral data, infrared spectral data and Raman spectral data, and feature extraction of the multidimensional spectral data includes: Preprocessing the ultraviolet-visible spectrum data, infrared spectrum data and Raman spectrum data respectively, wherein the preprocessing includes denoising, baseline correction and normalization; Integrating the ultraviolet-visible spectrum data, infrared spectrum data and Raman spectrum data into a feature matrix; Performing the feature extraction on the feature matrix; The feature extraction of the feature matrix includes: Performing feature extraction on the feature matrix based on topological data analysis to obtain a first feature vector; Performing dimension reduction on the feature matrix based on local linear embedding to obtain a second feature vector; Performing dimension reduction on the feature matrix based on the t-SNE algorithm to obtain a third eigenvector; Performing unsupervised classification on the feature matrix based on a self-organizing feature map to obtain a fourth feature vector; Performing sparse coding on the feature matrix based on sparse coding to obtain a fifth feature vector; The first eigenvector, the second eigenvector, the third eigenvector, the fourth eigenvector and the fifth eigenvector are merged to obtain a comprehensive feature matrix; Wherein, the feature fusion matrix is ​​obtained based on the symbol sequence analysis and feature fusion calculation according to the comprehensive feature matrix, including: Converting the comprehensive feature matrix into a symbol sequence based on a threshold segmentation method; Extracting statistical features of the symbol sequence, the statistical features comprising symbol frequency, symbol pair frequency, sequence entropy and pattern frequency; The statistical features are fused with the comprehensive feature matrix to obtain the feature fusion matrix.