Interactive guided indexing method and system for medical research data based on large models
By preprocessing medical scientific research data and building an index model, natural language processing technology is used to improve the interactive search rate of medical scientific research data, solve the problem of low search rate in the existing technology, and realize the deviation of text and voice data accurate assessment.
Patent Information
- Application Number
- CN202410458244.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-16
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-16
AI Technical Summary
In the existing technology, the interactive search rate of medical scientific research data is low, resulting in low efficiency for users in the search process.
By preprocessing the initial historical medical research data, extracting data features and building a medical research data index model, natural language processing methods are used to interact with the real-time query content and the index model to achieve rapid data mining and positioning.
It improves the interactive search speed of medical scientific research data, solves the problem of low search speed in the existing technology, and accurately evaluates text and voice data deviations through numerical processing.
Smart Images

Figure CN118193759B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for interactively guiding indexing of medical research data based on a large model. Background Art
[0002] With the development of large models (also called foundation models), large models refer to machine learning models with a large number of parameters and complex structures, which can process massive data and complete various complex tasks. These models are usually built by deep neural networks and have billions or even hundreds of billions of parameters. The purpose of designing large models is to improve the expressiveness and predictive performance of the model and to handle more complex tasks and data. Large models are widely used in various fields, including natural language processing, computer vision, speech recognition, and recommendation systems. Large models learn complex patterns and features by training massive data, have stronger generalization capabilities, and can make accurate predictions for unseen data. Indexing is a function that uses the relationship between a certain regular data structure and actual data to speed up data search; the index data node has the location of the actual file, because the index is built according to specific rules and algorithms, and when searching, following the index rules can quickly find the corresponding data node, thereby achieving the effect of quickly finding data.
[0003] The existing interactive guided indexing is also called "real-time question and answer information retrieval". Users use terminal devices to communicate with the host through the communication network. Interaction is the essence of information retrieval. Especially in the human-computer interaction environment, the interaction between users and retrieval systems is complex. Specifically, users' search, browsing, relevance judgment and other behaviors are completed through the interaction between users and retrieval systems.
[0004] For example, an indexing method announced in the invention patent with announcement number: CN102541968B includes: performing a hash operation on a received keyword to determine a corresponding hash bucket from a hash bucket table, and obtaining a hash node pointer from the hash bucket; using a front pre-position of the hash node pointer to determine the corresponding hash node data block identification information from an identification information list; using a rear pre-position of the hash node pointer as an offset to obtain a corresponding hash node from a hash node data block corresponding to the hash node data block identification information; querying data block information corresponding to the data block identification information included in the hash node from a second index, and the second index completes the mapping from the data block identification information to the data block information; judging whether the corresponding data block is located in the memory or in the solid-state storage according to the data block status in the data block information.
[0005] For example, a database indexing method announced in the invention patent with announcement number: CN113342832B includes: receiving a database indexing request; performing an indexing operation on the database according to a retrieval key value in the database indexing request; the database includes an index area and a data storage area, and the index area is generated according to the data stored in the data storage area; the step of generating the index area according to the data stored in the data storage area specifically includes: analyzing the data to be stored to obtain a data analysis result; generating an index data directory item according to the data analysis result; writing the data to be stored into the corresponding data storage area according to the time of data storage; writing the index data directory item into the index area; the step of performing an indexing operation on the database according to the retrieval key value in the database indexing request specifically includes: parsing the retrieval key value in the database indexing request to obtain a fuzzy retrieval value; performing an index search on the index area according to the fuzzy retrieval value to obtain an index identifier; searching the independent storage area corresponding to the index identifier with the retrieval key value as the retrieval source to obtain the indexing operation result.
[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:
[0007] In the prior art, the search for medical research data requires matching the medical research data to be searched input by the user one by one according to the data order in the database, which has the problem of low interactive search rate for medical research data. Summary of the invention
[0008] The embodiments of the present application solve the problem of low interactive search rate of medical scientific research data in the prior art by providing a method and system for interactive guided indexing of medical scientific research data based on a large model, thereby achieving an improvement in the interactive search rate of medical scientific research data.
[0009] The embodiment of the present application provides an interactive guided indexing method for medical scientific research data based on a large model, comprising the following steps: S1, pre-processing the collected initial historical medical scientific research data to obtain historical medical scientific research data, extracting data features of the historical medical scientific research data to obtain historical medical scientific research data features, wherein the historical medical scientific research data features represent features with indexing functions in the historical medical scientific research data; S2, constructing a medical scientific research data index model based on the acquired historical medical scientific research data features, wherein the medical scientific research data index model is used to perform data mining and positioning on real-time medical scientific research data of preset personnel within a preset time period; S3, obtaining real-time content to be queried and using a natural language processing method to interact the real-time content to be queried with the medical scientific research data index model through a conversational interface to obtain an interactive result and feed it back to the preset personnel.
[0010] Furthermore, the preprocessing includes data cleaning, data integration, data conversion, data dimension reduction, data labeling, data partitioning and data balancing; the data cleaning includes removing duplicate data, filling missing values, correcting erroneous data and deleting outliers; the data integration means integrating the data after data cleaning into a format corresponding to a preset data set; the data conversion means standardizing and normalizing the data after data integration; the data labeling means adding category labels to the data after data conversion; the data partitioning means dividing the data after data labeling into training set, validation set and test set; the data balancing means adjusting the amount of data in each category in the medical research data to within the corresponding deviation range.
[0011] Furthermore, the historical medical research data includes medical text data and medical voice data; the medical text data represents text information generated in the medical field; and the medical voice data represents voice information generated in the medical field.
[0012] Furthermore, the specific steps of extracting data features of historical medical and scientific research data are as follows: extracting data features of historical medical and scientific research data to obtain initial historical medical and scientific research data features; performing classification feature processing on the initial historical medical and scientific research data features to obtain historical medical and scientific research data features, the classification feature processing means converting the initial historical medical and scientific research data features into numerical types using a digitization method, the digitization method includes text digitization and speech digitization, the numerical types include text numerical types and speech numerical types; the text digitization means dividing the text information in the initial historical medical and scientific research data into words and phrases and converting them into text numerical types using a vectorization method; the speech digitization means dividing the speech information in the initial historical medical and scientific research data into single-segment speech and converting them into speech numerical types using a vectorization method.
[0013] Furthermore, the specific construction steps of the medical research data index model are as follows: Step 1, use the training set to perform model training on the preset index model to obtain a training model, and the preset index model has an indexing function; Step 2, use the verification set to perform model verification on the training model to obtain a verification model; Step 3, use the test set to perform model testing on the verification model to obtain a test result. If the corresponding threshold is met, the medical research data index model is obtained, otherwise execute step 1.
[0014] Furthermore, the specific steps of interacting the real-time content to be queried with the medical research data index model through the conversational interface are as follows: inputting the acquired real-time content to be queried into the parsing unit through the conversational interface, the real-time content to be queried includes text content and voice content, and the parsing unit is used to parse the real-time content to be queried; using a natural language processing method to parse the real-time content to be queried of a preset person to obtain a parsing result, and sending the parsing result to the medical research data index model; performing data indexing on the parsing result through the medical research data index model to obtain an index result, the index result includes a text index result and a voice index result; comparing and analyzing the index result with the corresponding threshold value to obtain a guided index comprehensive index, if the guided index comprehensive index meets the corresponding threshold value, the index result corresponding to the guided index comprehensive index is sent to the conversational interface, otherwise the data is re-indexed, and the guided index comprehensive index is used to comprehensively describe the accuracy of the text numerical matching result and the voice numerical matching result.
[0015] Furthermore, the specific method for obtaining the guide index comprehensive index is as follows: obtaining the text numerical matching index and the voice numerical matching index corresponding to the text numerical matching result and the voice numerical matching result of the real-time content to be queried, and obtaining the corresponding threshold and reference deviation, the text numerical matching index is used to describe the deviation between the text numerical type and the preset text numerical type, and the voice numerical matching index is used to describe the deviation between the voice numerical type and the preset voice numerical type; calculating the guide index comprehensive index of the real-time content to be queried based on the acquired data, and the guide index comprehensive index is calculated using the following formula:
[0016]
[0017] In the formula, e represents a natural constant, f represents the number of the real-time content to be queried, f=1,2,...,F, F is the total number of real-time content to be queried, SY f is the comprehensive index of the guidance index of the fth real-time query content, WB f is the text numerical matching index of the fth real-time query content, WB0 is the threshold of the text numerical matching index, ΔWB is the reference deviation of the text numerical matching index, YY f is the speech numerical matching index of the f-th real-time query content, YY0 is the threshold of the speech numerical matching index, ΔYY is the reference deviation of the speech numerical matching index, and μ0 is the reference relative deviation of the text numerical matching index.
[0018] Furthermore, the specific method for obtaining the text numerical matching index is as follows: obtaining the text position vector and text density of the real-time content to be queried; using the principal component analysis method to obtain the text weight and combining the obtained text position vector and text density to calculate the text numerical matching index, the text weight includes the position vector weight and the density weight, the position vector weight is used to describe the influence of the text position vector on the text numerical matching index, and the density weight is used to describe the influence of the text density on the text numerical matching index; the text numerical matching index is calculated using the following formula:
[0019]
[0020] Wherein, fd represents the text content number of the f-th real-time content to be queried, fd=f.1,f.2,...,fD, fD represents the total number of text contents of the f-th real-time content to be queried, is the text position vector of the fd-th text content of the f-th real-time content to be queried, is the reference text position vector of the fd-th text content of the f-th real-time query content, ρ f is the text density of the f-th real-time query content, ρ0 is the reference text density, Δρ is the reference text density deviation, a1 is the position vector weight, a2 is the density weight, and α0 is the reference relative deviation of the text position vector.
[0021] Furthermore, the specific method for obtaining the speech numerical matching index is as follows: obtaining the speech signal coefficient of the real-time content to be queried, the speech signal coefficient including the speech frequency coefficient, the speech amplitude coefficient, the speech short-time energy coefficient and the speech zero-crossing rate coefficient, the speech frequency coefficient represents the ratio of the difference between the speech frequency of the real-time content to be queried and the corresponding threshold and the corresponding threshold, the speech amplitude coefficient represents the ratio of the difference between the speech amplitude of the real-time content to be queried and the corresponding threshold and the corresponding threshold, the speech short-time energy coefficient represents the ratio of the difference between the speech short-time energy of the real-time content to be queried and the corresponding threshold and the corresponding threshold, and the speech zero-crossing rate coefficient represents the ratio of the difference between the speech zero-crossing rate of the real-time content to be queried and the corresponding threshold and the corresponding threshold; constructing a judgment matrix according to a hierarchical structure, and using a mathematical method to hierarchically sort the speech signal coefficients to obtain speech weights, the hierarchical sorting is used to describe the weights of the speech signal coefficients in the judgment matrix for the speech numerical matching index, and the speech weights include a first weight, a second weight, a third weight and a fourth weight; obtaining the speech numerical matching index according to the acquired speech signal coefficients and speech weights.
[0022] An embodiment of the present application provides an interactive guidance indexing system for medical scientific research data based on a large model, and the interactive guidance indexing system for medical scientific research data based on a large model includes a data feature extraction module, a model construction module and an interactive indexing module; wherein the data feature extraction module is used to pre-process the collected initial historical medical scientific research data to obtain historical medical scientific research data, extract data features of the historical medical scientific research data to obtain historical medical scientific research data features, and the historical medical scientific research data features represent features with indexing functions in the historical medical scientific research data; the model construction module is used to construct a medical scientific research data index model according to the acquired historical medical scientific research data features, and the medical scientific research data index model is used to perform data mining and positioning on real-time medical scientific research data of preset personnel within a preset time period; the interactive indexing module is used to obtain real-time content to be queried and use natural language processing methods to interact the real-time content to be queried with the medical scientific research data index model through a conversational interface to obtain interactive results and feedback to the preset personnel.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0024] 1. By acquiring historical medical research data, extracting data features of the historical medical research data to obtain historical medical research data features, and then building a medical research data index model based on the acquired historical medical research data features, finally acquiring real-time content to be queried and using natural language processing methods to interact the real-time content to be queried with the medical research data index model through a conversational interface to obtain interactive results, thereby realizing interactive and rapid search of medical research data, and then realizing an improvement in the interactive search rate of medical research data, effectively solving the problem of low interactive search rate of medical research data in the prior art.
[0025] 2. By obtaining the text position vector and text density of the real-time content to be queried, the principal component analysis method is used to obtain the text weight and the text numerical matching index is calculated in combination with the obtained text position vector and text density. Finally, the text numerical deviation of the real-time content to be queried is analyzed according to the calculated text numerical matching index, thereby realizing the digitization of the text numerical deviation of the real-time content to be queried, and then realizing a more accurate evaluation of the text numerical deviation of the real-time content to be queried.
[0026] 3. By obtaining the voice signal coefficients of the real-time content to be queried, constructing a judgment matrix according to a recursive hierarchical structure, and using mathematical methods to hierarchically sort the voice signal coefficients to obtain voice weights, then obtaining the voice numerical matching index based on the obtained voice signal coefficients and the voice weights, and finally analyzing the voice numerical deviation of the real-time content to be queried based on the calculated voice numerical matching index, the real-time voice numerical deviation of the content to be queried is digitized, thereby achieving a more accurate evaluation of the real-time voice numerical deviation of the content to be queried. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flow chart of a method for interactive guided indexing of medical research data based on a large model provided in an embodiment of the present application;
[0028] Figure 2 A conceptual diagram of preprocessing provided for an embodiment of the present application;
[0029] Figure 3 A flowchart for constructing a medical research data index model provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of the structure of a large-model-based interactive guided indexing system for medical research data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The embodiments of the present application solve the problem of low interactive search rate of medical research data in the prior art by providing a method and system for interactive guided indexing of medical research data based on a large model. The historical medical research data is obtained by preprocessing the collected initial historical medical research data, and then the data features of the historical medical research data are extracted to obtain the features of the historical medical research data. Subsequently, a medical research data index model is constructed based on the acquired features of the historical medical research data. Finally, real-time content to be queried is obtained and a natural language processing method is used to interact the real-time content to be queried with the medical research data index model through a conversational interface to obtain an interactive result, thereby achieving an improvement in the interactive search rate of medical research data.
[0032] The technical solution in the embodiment of the present application is to solve the problem of low interactive search rate of medical research data mentioned above, and the overall idea is as follows:
[0033] The historical medical research data features are obtained by extracting data features from the acquired historical medical research data, and then a medical research data index model is constructed based on the acquired historical medical research data features. Finally, the acquired real-time content to be queried is interacted with the medical research data index model through a conversational interface to obtain an interactive result, thereby achieving the effect of improving the interactive search rate of medical research data.
[0034] 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.
[0035] like Figure 1 As shown, it is a flow chart of the interactive guided indexing method of medical scientific research data based on a large model provided in an embodiment of the present application, and the method includes the following steps: S1, data feature extraction: pre-processing the collected initial historical medical scientific research data to obtain historical medical scientific research data, extracting data features of the historical medical scientific research data to obtain historical medical scientific research data features, and the historical medical scientific research data features represent features with indexing functions in the historical medical scientific research data; S2, model construction: constructing a medical scientific research data index model according to the acquired historical medical scientific research data features, and the medical scientific research data index model is used to perform data mining and positioning on the real-time medical scientific research data of preset personnel within a preset time period; S3, interactive indexing: obtaining real-time content to be queried and using natural language processing methods to interact the real-time content to be queried with the medical scientific research data index model through a conversational interface to obtain interactive results and feedback to the preset personnel.
[0036] In this embodiment, the initial historical medical research data are medical data from different sources and formats; the historical medical research data represent the data involved in the medical scenarios within the historical time period, generally including patient health records, medical imaging data, laboratory test data, vital signs monitoring data, prescription and drug data, surgical records and pathology data, medical expenses and insurance data, disease epidemiology data and medical equipment data, which can be further analyzed according to the actual situation; the interactive search rate of medical research data is improved.
[0037] Further, such as Figure 2 As shown, it is a conceptual diagram of preprocessing provided in an embodiment of the present application, and preprocessing includes data cleaning, data integration, data conversion, data dimensionality reduction, data labeling, data partitioning and data balancing; data cleaning includes removing duplicate data, filling missing values, correcting erroneous data and deleting outliers; data integration means integrating the data after data cleaning into a format corresponding to a preset data set; data conversion means standardizing and normalizing the data after data integration; data labeling means adding category labels to the data after data conversion; data partitioning means dividing the data after data labeling into a training set, a validation set and a test set; data balancing means adjusting the amount of data in each category in the medical research data to within the corresponding deviation range.
[0038] In this embodiment, the first medical research data is the data obtained after data cleaning of the initial medical research data, and the data cleaning is intended to detect and correct errors, missing values or abnormal values in the data; the second medical research data is the data obtained after data integration of the first medical research data; the third medical research data is the data obtained after data conversion of the second medical research data; the fourth medical research data is the data obtained after data dimension reduction of the third medical research data, and commonly used dimension reduction techniques include principal component analysis and feature selection; the fifth medical research data is the data obtained after data labeling of the fourth medical research data; the sixth medical research data is the data obtained after data division of the fifth medical research data; the medical research data is the data obtained after data balancing of the sixth medical research data; the reliability of the medical research data is improved.
[0039] Furthermore, the historical medical research data includes medical text data and medical voice data; the medical text data represents text information generated in the medical field; and the medical voice data represents voice information generated in the medical field.
[0040] In this embodiment, text information includes medical records, medical reports, research papers, clinical guidelines and medical books, etc.; voice information includes conversations between doctors and patients, medical conference recordings and sound records of medical equipment, etc.; medical imaging data usually exists in digital form, including various types of medical images, such as: X-rays, computer tomography, magnetic resonance imaging, ultrasound, positron emission tomography and single photon emission computer tomography; X-rays are used to examine images of bones and certain soft tissues, and are often used to detect fractures, lung diseases, etc.; computer tomography generates cross-sectional images through a combination of multiple X-ray photos, providing more detailed structural information, and is often used to examine the condition of organs such as the head, chest, and abdomen; magnetic resonance imaging uses magnetic fields and radio waves to generate high-definition images of internal organs, has better resolution for soft tissues, and is often used to examine the brain, joints, etc.; ultrasound uses high-frequency sound waves to generate images, and is often used for obstetrics, heart, etc. examinations; the comprehensiveness of medical data is improved.
[0041] Furthermore, the specific steps of extracting data features of historical medical research data are as follows: extracting data features of historical medical research data to obtain initial historical medical research data features; performing classification feature processing on the initial historical medical research data features to obtain historical medical research data features, the classification feature processing means converting the initial historical medical research data features into numerical types using a digitization method, the digitization method includes text digitization and speech digitization, the numerical types include text numerical types and speech numerical types; text digitization means dividing the text information in the initial historical medical research data into words and phrases and converting them into text numerical types using a vectorization method; speech digitization means dividing the speech information in the initial historical medical research data into single-segment speech and converting them into speech numerical types using a vectorization method.
[0042] In this embodiment, classification feature processing requires one-hot encoding or label encoding to convert it into a numerical format that can be processed by the medical research data index model; the numerical format can be directly processed by the computer; and the accuracy of the data features of the initial historical medical research data is improved.
[0043] Further, such as Figure 3 As shown, it is a flow chart for constructing a medical research data index model provided in an embodiment of the present application. The specific steps for constructing the medical research data index model are as follows: Step 1, use a training set to perform model training on a preset index model to obtain a training model, and the preset index model has an indexing function; Step 2, use a validation set to perform model validation on the training model to obtain a validation model; Step 3, use a test set to perform model testing on the validation model to obtain a test result. If the corresponding threshold is met, the medical research data index model is obtained, otherwise execute step 1.
[0044] In this embodiment, the training set represents a set of feature data used to train a preset index model, the validation set represents a set of feature data used to validate the training model, and the test set represents a set of feature data used to test the validation model; the model is trained using the training set, and the model parameters are adjusted through an optimization algorithm to minimize the loss function; the model performance is evaluated using the validation set, and the model hyperparameters are adjusted to improve the performance; thereby improving the efficiency of building the medical research data index model.
[0045] Furthermore, the specific steps of interacting the real-time content to be queried with the medical research data index model through the conversational interface are as follows: input the acquired real-time content to be queried into the parsing unit through the conversational interface, the real-time content to be queried includes text content and voice content, and the parsing unit is used to parse the real-time content to be queried; use the natural language processing method to parse the real-time content to be queried of the preset personnel to obtain the parsing result, and send the parsing result to the medical research data index model; use the medical research data index model to index the parsing result to obtain the index result, and the index result includes the text index result and the voice index result; compare and analyze the index result with the corresponding threshold to obtain the guide index comprehensive index, if the guide index comprehensive index meets the corresponding threshold, then send the index result corresponding to the guide index comprehensive index to the conversational interface, otherwise re-index the data, and the guide index comprehensive index is used to comprehensively describe the accuracy of the text numerical matching result and the voice numerical matching result.
[0046] In this embodiment, the conversational interface uses natural language processing technology to understand and parse the real-time content to be queried by the preset personnel to determine the intentions and needs of the preset personnel; the conversational interface presents the returned medical research data to the preset personnel in an easy-to-understand manner, such as text descriptions, charts, and links; the preset personnel understand and further query the content to be queried based on the index results received by the conversational interface; and the interactive efficiency of the real-time content to be queried is improved.
[0047] Furthermore, the specific method for obtaining the comprehensive index of the guiding index is as follows: obtaining the text numerical matching index and the voice numerical matching index corresponding to the text numerical matching result and the voice numerical matching result of the real-time content to be queried, and obtaining the corresponding threshold and reference deviation, the text numerical matching index is used to describe the deviation between the text numerical type and the preset text numerical type, and the voice numerical matching index is used to describe the deviation between the voice numerical type and the preset voice numerical type; calculating the comprehensive index of the guiding index of the real-time content to be queried based on the acquired data, the comprehensive index of the guiding index describes the accuracy of the matching result, in addition to being directly obtained by comparative analysis by preset personnel, it can also be more accurately calculated by formula, and the comprehensive index of the guiding index is calculated using the following formula:
[0048]
[0049] In the formula, e represents a natural constant, f represents the number of the real-time content to be queried, f=1,2,...,F, F is the total number of real-time content to be queried, SY f is the comprehensive index of the guidance index of the fth real-time query content, WB fis the text numerical matching index of the fth real-time query content, WB0 is the threshold of the text numerical matching index, ΔWB is the reference deviation of the text numerical matching index, YY f is the speech numerical matching index of the f-th real-time query content, YY0 is the threshold of the speech numerical matching index, ΔYY is the reference deviation of the speech numerical matching index, and μ0 is the reference relative deviation of the text numerical matching index.
[0050] In this embodiment, the text numerical matching index is negatively correlated with the guidance index comprehensive index, the voice numerical matching index is negatively correlated with the guidance index comprehensive index, and the image numerical matching index is negatively correlated with the guidance index comprehensive index; thereby achieving an improvement in the accuracy of real-time matching results of content to be queried.
[0051] Furthermore, the specific method for obtaining the text numerical matching index is as follows: obtain the text position vector and text density of the real-time content to be queried; use the principal component analysis method to obtain the text weight and calculate the text numerical matching index in combination with the obtained text position vector and text density. The text weight includes the position vector weight and the density weight. The position vector weight is used to describe the influence of the text position vector on the text numerical matching index, and the density weight is used to describe the influence of the text density on the text numerical matching index. The text numerical matching index describes the text matching accuracy. In addition to being directly obtained through manual annotation analysis, it can also be more accurately calculated through a formula. The text numerical matching index is calculated using the following formula:
[0052]
[0053] Wherein, fd represents the text content number of the f-th real-time content to be queried, fd=f.1,f.2,...,fD, fD represents the total number of text contents of the f-th real-time content to be queried, is the text position vector of the fd-th text content of the f-th real-time content to be queried, is the reference text position vector of the fd-th text content of the f-th real-time query content, ρ f is the text density of the f-th real-time query content, ρ0 is the reference text density, Δρ is the reference text density deviation, a1 is the position vector weight, a2 is the density weight, and α0 is the reference relative deviation of the text position vector.
[0054] In this embodiment, the formula Represents the dot product of vectors; Principal Component Analysis (PCA) is a mathematical method mainly used to reduce the dimension of data while retaining the main information in the data. It converts variables that may be correlated into a set of linearly unrelated variables through orthogonal transformation. These new variables are called principal components; When applying principal component analysis, the original variables are recombined into new, independent comprehensive variables. These new variables are linear combinations of the original variables. They retain most of the information of the original data, but in smaller quantities, thereby simplifying the problem and reducing the dimension of the variables; The steps of principal component analysis usually include standardization of data, calculation of covariance matrix, calculation of eigenvalues and eigenvectors of covariance matrix, determination of contribution rate and cumulative contribution rate of principal components, and interpretation of the meaning of principal components. Through these steps, the dimension of data can be effectively reduced while retaining as much original data information as possible; The digitization of numerical deviation of real-time content text to be queried is realized.
[0055] Furthermore, a specific method for obtaining a speech numerical matching index is as follows: obtaining a speech signal coefficient of real-time content to be queried, the speech signal coefficient including a speech frequency coefficient, a speech amplitude coefficient, a speech short-time energy coefficient and a speech zero-crossing rate coefficient, defining a speech short-time energy coefficient as a first-level coefficient, and defining a speech frequency coefficient, a speech amplitude coefficient and a speech zero-crossing rate coefficient as second-level coefficients, the speech frequency coefficient represents the ratio of the difference between the speech frequency of the real-time content to be queried and the corresponding threshold and the corresponding threshold, the speech amplitude coefficient represents the ratio of the difference between the speech amplitude of the real-time content to be queried and the corresponding threshold and the corresponding threshold, the speech short-time energy coefficient represents the ratio of the difference between the speech amplitude of the real-time content to be queried and the corresponding threshold and the corresponding threshold, The quantity coefficient represents the ratio of the difference between the speech short-time energy of the real-time content to be queried and the corresponding threshold and the corresponding threshold, and the speech zero-crossing rate coefficient represents the ratio of the difference between the speech zero-crossing rate of the real-time content to be queried and the corresponding threshold and the corresponding threshold; construct a judgment matrix according to the hierarchical structure, and use mathematical methods to hierarchically sort the speech signal coefficients to obtain the speech weights, and the hierarchical sorting is used to describe the weights of the speech signal coefficients in the judgment matrix for the speech numerical matching index, and the speech weights include the first weight, the second weight, the third weight and the fourth weight; obtain the speech numerical matching index according to the obtained speech signal coefficients and speech weights.
[0056] In this embodiment, the primary coefficient and the secondary coefficient can be further analyzed and adjusted according to actual conditions; the voice numerical matching index describes the voice matching accuracy. In addition to being directly obtained through analysis by the voice recognition engine, the voice matching accuracy can also be more accurately calculated through a formula. The voice numerical matching index is calculated using the following formula:
[0057]
[0058] Where Vf is the speech frequency coefficient of the fth real-time query content, A f is the speech amplitude coefficient of the fth real-time query content, E f is the short-time energy coefficient of the speech of the f-th real-time query content, P f is the speech zero-crossing rate coefficient of the f-th real-time content to be queried, b1 is the first weight, b2 is the second weight, b3 is the third weight, b4 is the fourth weight, and β0 is the threshold of the speech short-time energy coefficient.
[0059] Specifically, the first weight is the influence of the speech frequency coefficient on the speech numerical matching index, the second weight is the influence of the speech amplitude coefficient on the speech numerical matching index, the third weight is the influence of the speech short-time energy coefficient on the speech numerical matching index, and the fourth weight is the influence of the speech zero-crossing rate coefficient on the speech numerical matching index; the digitization of the real-time speech numerical deviation of the content to be queried is realized.
[0060] like Figure 4 As shown, it is a structural schematic diagram of the medical research data interactive guidance indexing system based on a large model provided in an embodiment of the present application. The medical research data interactive guidance indexing system based on a large model provided in an embodiment of the present application includes: a data feature extraction module, a model construction module and an interactive indexing module; wherein the data feature extraction module is used to pre-process the collected initial historical medical research data to obtain historical medical research data, extract the data features of the historical medical research data to obtain the historical medical research data features, and the historical medical research data features represent the features with indexing function in the historical medical research data; the model construction module is used to construct a medical research data index model according to the acquired historical medical research data features, and the medical research data index model is used to perform data mining and positioning on the real-time medical research data of the preset personnel within a preset time period; the interactive indexing module is used to obtain real-time content to be queried and use natural language processing methods to interact the real-time content to be queried with the medical research data indexing model through a conversational interface to obtain interactive results and feedback to the preset personnel.
[0061] In this embodiment, the systematization of interactive guided indexing of medical research data is achieved.
[0062] The technical solution in the above-mentioned embodiment of the present application has at least the following technical effects or advantages: relative to an indexing method in the invention patent announcement with announcement number: CN102541968B, the embodiment of the present application obtains the text position vector and text density of the real-time content to be queried, and then uses the principal component analysis method to obtain the text weight and calculates the text numerical matching index in combination with the obtained text position vector and text density, and finally analyzes the text numerical deviation of the real-time content to be queried according to the calculated text numerical matching index, thereby realizing the digitization of the text numerical deviation of the real-time content to be queried, and then realizing a more accurate evaluation of the text numerical deviation of the real-time content to be queried. ; Relative to a database indexing method announced in the invention patent with announcement number: CN113342832B, the embodiment of the present application obtains the voice signal coefficients of the real-time content to be queried, and then constructs a judgment matrix according to a recursive hierarchical structure, and uses a mathematical method to hierarchically sort the voice signal coefficients to obtain the voice weights, and then obtains the voice numerical matching index based on the obtained voice signal coefficients and the voice weights, and finally analyzes the voice numerical deviation of the real-time content to be queried based on the calculated voice numerical matching index, thereby realizing the digitization of the voice numerical deviation of the real-time content to be queried, and then realizing a more accurate evaluation of the voice numerical deviation of the real-time content to be queried.
[0063] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0064] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0065] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0066] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0067] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0068] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An interactive guided indexing method for medical research data based on a large model, characterized in that: The following steps are involved: S1, preprocessing the collected initial historical medical research data to obtain historical medical research data, extracting data features of the historical medical research data to obtain historical medical research data features, wherein the historical medical research data features represent features with indexing function in the historical medical research data; S2, constructing a medical research data index model based on the acquired historical medical research data features, wherein the medical research data index model is used to perform data mining and positioning on real-time medical research data of preset personnel within a preset time period; S3, obtains real-time query content and uses natural language processing methods to interact with the medical research data index model through a conversational interface to obtain interactive results and feed them back to the preset personnel; The specific steps of interacting the real-time query content with the medical research data index model through the conversational interface are as follows: Inputting the acquired real-time content to be queried into a parsing unit through a conversational interface, wherein the real-time content to be queried includes text content and voice content, and the parsing unit is used to parse the real-time content to be queried; Use natural language processing methods to parse the real-time query content of preset personnel to obtain the analysis results, and send the analysis results to the medical research data index model; The parsing results are indexed using a medical research data indexing model to obtain index results, wherein the index results include text index results and voice index results; Compare and analyze the index result with the corresponding threshold to obtain the guide index comprehensive index. If the guide index comprehensive index meets the corresponding threshold, the index result corresponding to the guide index comprehensive index is sent to the conversational interface. Otherwise, the data is re-indexed. The guide index comprehensive index is used to comprehensively describe the accuracy of the text numerical matching result and the voice numerical matching result. The specific method for obtaining the guide index comprehensive index is as follows: Obtaining a text numerical matching index and a voice numerical matching index corresponding to the text numerical matching result and the voice numerical matching result of the real-time to-be-queried content, and obtaining corresponding thresholds and reference deviations, wherein the text numerical matching index is used to describe the deviation between the text numerical type and the preset text numerical type, and the voice numerical matching index is used to describe the deviation between the voice numerical type and the preset voice numerical type; The comprehensive index of the guiding index of the real-time content to be queried is calculated based on the acquired data. The comprehensive index of the guiding index is calculated using the following formula: In the formula, e represents a natural constant, f represents the number of the real-time content to be queried, f=1,2,...,F, F is the total number of real-time content to be queried, SY f is the comprehensive index of the guidance index of the fth real-time query content, WB f is the text numerical matching index of the fth real-time query content, WB0 is the threshold of the text numerical matching index, ΔWB is the reference deviation of the text numerical matching index, YY f is the voice numerical matching index of the f-th real-time query content, YY0 is the threshold of the voice numerical matching index, ΔYY is the reference deviation of the voice numerical matching index, and μ0 is the reference relative deviation of the text numerical matching index; The specific method for obtaining the text numerical matching index is as follows: Obtain the text position vector and text density of the real-time content to be queried; The text weight is obtained by using the principal component analysis method and the text numerical matching index is calculated by combining the obtained text position vector and text density, wherein the text weight includes a position vector weight and a density weight, wherein the position vector weight is used to describe the influence of the text position vector on the text numerical matching index, and the density weight is used to describe the influence of the text density on the text numerical matching index; The text numerical matching index is calculated using the following formula: Wherein, fd represents the text content number of the f-th real-time content to be queried, fd=f.1,f.2,...,fD, fD represents the total number of text contents of the f-th real-time content to be queried, is the text position vector of the fd-th text content of the f-th real-time content to be queried, is the reference text position vector of the fd-th text content of the f-th real-time query content, ρ f is the text density of the f-th real-time query content, ρ0 is the reference text density, Δρ is the reference text density deviation, a1 is the position vector weight, a2 is the density weight, and α0 is the reference relative deviation of the text position vector; The specific method for obtaining the voice numerical matching index is as follows: Acquire the voice signal coefficient of the real-time content to be queried, the voice signal coefficient including the voice frequency coefficient, the voice amplitude coefficient, the voice short-time energy coefficient and the voice zero-crossing rate coefficient, the voice frequency coefficient represents the ratio of the difference between the voice frequency of the real-time content to be queried and the corresponding threshold value to the corresponding threshold value, the voice amplitude coefficient represents the ratio of the difference between the voice amplitude of the real-time content to be queried and the corresponding threshold value to the corresponding threshold value, the voice short-time energy coefficient represents the ratio of the difference between the voice short-time energy of the real-time content to be queried and the corresponding threshold value to the corresponding threshold value, and the voice zero-crossing rate coefficient represents the ratio of the difference between the voice zero-crossing rate of the real-time content to be queried and the corresponding threshold value to the corresponding threshold value; Constructing a judgment matrix according to a hierarchical structure, and using a mathematical method to hierarchically sort the speech signal coefficients to obtain speech weights, wherein the hierarchical sorting is used to describe the weights of the speech signal coefficients in the judgment matrix for the speech numerical matching index, and the speech weights include a first weight, a second weight, a third weight, and a fourth weight; Obtaining a speech numerical matching index according to the acquired speech signal coefficient and speech weight; The voice numerical matching index is calculated using the following formula: Where V f is the speech frequency coefficient of the fth real-time query content, A f is the speech amplitude coefficient of the fth real-time query content, E f is the short-time energy coefficient of the speech of the f-th real-time query content, P f is the speech zero-crossing rate coefficient of the f-th real-time content to be queried, b1 is the first weight, b2 is the second weight, b3 is the third weight, b4 is the fourth weight, and β0 is the threshold of the speech short-time energy coefficient.
2. The interactive guided indexing method for medical research data based on a large model as claimed in claim 1, characterized in that: The historical medical research data includes medical text data and medical voice data; The medical text data represents text information generated in the medical field; The medical voice data represents voice information generated in the medical field.
3. The interactive guided indexing method for medical research data based on a large model as claimed in claim 1, characterized in that: The specific steps of extracting the data features of historical medical research data are as follows: Extract data features from historical medical research data to obtain initial historical medical research data features; Performing classification feature processing on the initial historical medical research data features to obtain historical medical research data features, wherein the classification feature processing means converting the initial historical medical research data features into numerical types using a numerical method, wherein the numerical method includes text numerical type and voice numerical type, and the numerical type includes a text numerical type and a voice numerical type; The text digitization means dividing the text information in the initial historical medical research data into words and phrases and converting them into text digits using a vectorization method; The speech digitization means dividing the speech information in the initial historical medical research data into single-segment speech and converting it into speech numerical type using a vectorization method.
4. The interactive guided indexing method for medical research data based on a large model as claimed in claim 1, characterized in that: The specific steps of constructing the medical research data index model are as follows: Step 1: Use the training set to perform model training on a preset index model to obtain a training model, wherein the preset index model has an indexing function; Step 2: Use the validation set to validate the training model to obtain a validation model; Step three, use the test set to test the verification model to obtain the test results. If the corresponding threshold is met, the medical research data index model is obtained, otherwise, execute step one.
5. A system using the interactive guided indexing method for medical research data based on a large model as described in any one of claims 1 to 4, characterized in that: It includes data feature extraction module, model building module and interactive indexing module; The data feature extraction module is used to pre-process the collected initial historical medical research data to obtain historical medical research data, extract data features of the historical medical research data to obtain historical medical research data features, and the historical medical research data features represent features with indexing functions in the historical medical research data; The model building module is used to build a medical research data index model based on the acquired historical medical research data characteristics, and the medical research data index model is used to perform data mining and positioning on the real-time medical research data of preset personnel within a preset time period; The interactive indexing module is used to obtain real-time content to be queried and use natural language processing methods to interact the real-time content to be queried with the medical research data indexing model through a conversational interface to obtain interactive results and feed them back to the preset personnel.
Citation Information
Patent Citations
Indexing method
CN102541968B
A database indexing method
CN113342832B
Medical information inquiring method
CN110148440A
Medical resource recommendation method and device, equipment and storage medium
CN114420279A
Information query system, method and equipment
CN115757689A
