Medical data annotation method, system and medium based on large model
Through large models and alliance blockchain technology, medical data is segmented and processed, solving the problems of medical data annotation errors and time-consuming problems in the existing technology, and achieving efficient and accurate medical data annotation.
Patent Information
- Application Number
- CN202410518242.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-04-28
AI Technical Summary
Among existing medical data annotation methods, there are errors in the screening results obtained by directly using learning algorithms, and manual annotation by experts takes a long time, making it impossible to process medical data efficiently and accurately.
Adopting a large model-based medical data annotation method, the required keywords are determined through the preset keyword extraction interface, and the alliance blockchain is used to divide the original medical data into small tasks and broadcast to multiple nodes. Through deep learning and natural language processing technology Initial labeling results are obtained, and final labeling results are obtained through verification and combination.
It reduces the time of the annotation process, improves the accuracy and efficiency of the annotation results, reduces the burden of manual annotation, and improves the speed and quality of medical data processing.
Smart Images

Figure CN118098522B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical data processing, and in particular to a large model-based medical data annotation method, system and medium. Background Art
[0002] In the field of smart healthcare, data annotation plays a vital role. Medical image annotation and medical text annotation are two major application scenarios. Medical image annotation is used to mark information such as the location and size of lesions in medical images, helping doctors to diagnose and treat diseases more accurately. Medical text annotation is used to mark information such as keywords and medical history in medical texts, helping doctors to understand patients' conditions more quickly and improve medical efficiency.
[0003] The existing solutions for medical data annotation mainly include: a medical data annotation method and device, a storage medium, and an electronic device, the method comprising: matching the target field name in a pre-set medical knowledge base to obtain multiple target field attributes, multiple target attribute values, and target display logic between each target field attribute and the target attribute value corresponding to each target field attribute that match the target field name; matching each target attribute value in the medical data to be annotated to obtain the position information of each target attribute value in the medical data to be annotated; according to each target attribute value corresponding to each position information, and the target display logic between the target field attributes corresponding to each target attribute value, the position information is filtered to obtain multiple filtering results.
[0004] The existing solutions for medical data labeling are mainly to directly apply existing learning algorithms. Based on the inevitable error range of the learning algorithm itself, the screening results obtained by directly using the algorithm have certain errors, but manual labeling by experts is relatively time-consuming. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the present application provides a large-model-based medical data labeling method, system and medium to solve the problem that the screening results obtained by directly using algorithms for medical data labeling have certain errors, but manual labeling by experts is relatively time-consuming.
[0006] In a first aspect, the present application provides a method for labeling medical data based on a big model, the method comprising: determining the required keywords through a preset keyword extraction interface; determining the name of the alliance blockchain and extracting the corresponding medical processing data from the medical original data based on the required keywords; wherein the medical original data at least includes: electric medical record data, medical imaging data and laboratory test data, and there is a mapping relationship between the required keywords and the alliance blockchain name; using the medical processing data as the input of the big model to obtain an initial labeling result; obtaining the number of nodes corresponding to the alliance blockchain name to divide the initial labeling result into less than or equal to the number of nodes. Labeling result processing tasks; based on the alliance blockchain name, broadcasting the labeling result processing task to each node under the alliance blockchain to determine the processing node corresponding to each labeling result processing task; and then obtaining the final labeling processing result corresponding to the initial labeling result according to the labeling processing results broadcast by each processing node.
[0007] Further, determining the demand keyword through the preset keyword extraction interface specifically includes: when any preset keyword on the preset keyword extraction interface is triggered, determining the corresponding preset keyword as the demand keyword.
[0008] Furthermore, according to the demand keywords, the alliance blockchain name is determined and the corresponding medical processing data is extracted from the medical raw data, specifically including: based on a preset mapping relationship between the demand keywords and the alliance blockchain name, the alliance blockchain name corresponding to the demand keywords is determined; and the demand keywords are used as input to the key data extraction algorithm to extract the corresponding medical processing data from the medical raw data.
[0009] Furthermore, the medical treatment data is used as the input of the large model to obtain the initial labeling result, which specifically includes: identifying and then extracting the lesion area image in the medical imaging data through the deep learning algorithm in the large model; then determining the sample image with the highest similarity corresponding to the lesion area image according to the image comparison algorithm corresponding to the required keyword, and then using the preset annotation data in the sample image with the highest similarity as the annotation data of the current lesion area image; determining the medical imaging data, lesion area image and annotation data as the initial labeling result.
[0010] Furthermore, the medical treatment data is used as the input of the big model to obtain the initial labeling results, which specifically includes: identifying the preset key information in the electric power medical record data and laboratory test data through the natural language processing technology in the big model to complete the labeling of the preset key information and obtain the labeling results; determining the electric power medical record data and the corresponding labeling results, the laboratory test data and the corresponding labeling results as the initial labeling results.
[0011] Furthermore, according to the marking processing results broadcast by each processing node, a final marking processing result corresponding to the initial marking result is obtained, specifically including: when any node broadcasts the marking processing result and there are any two nodes that successfully verify the broadcast marking processing result, the marking processing result is determined to be qualified; when any node broadcasts the marking processing result and no node fails to verify the broadcast marking processing result within a preset time period, the marking processing result is determined to be qualified; when there are a preset number of nodes that fail to verify the broadcast marking processing result, the marking result processing task corresponding to the marking processing result is broadcast again to all nodes under all alliance blockchains, and the processing node is determined again until the marking processing result is determined to be qualified; the qualified marking processing results are combined into the final marking processing result.
[0012] In the second aspect, the present application provides a medical data labeling system based on a large model, and the system includes: a determination module, which is used to determine the required keywords through a preset keyword extraction interface; to determine the alliance blockchain name and extract the corresponding medical processing data from the medical original data based on the required keywords; wherein the medical original data at least includes: power medical record data, medical imaging data and laboratory test data, and there is a mapping relationship between the required keywords and the alliance blockchain name; a segmentation module, which is used to use the medical processing data as the input of the large model to obtain the initial labeling result; obtain the number of nodes corresponding to the alliance blockchain name, so as to divide the initial labeling result into less than or equal to the number of nodes. Labeling result processing tasks; an acquisition module, which is used to broadcast the labeling result processing task to each node under the alliance blockchain based on the alliance blockchain name, so as to determine the processing node corresponding to each labeling result processing task; and then obtain the final labeling processing result corresponding to the initial labeling result according to the labeling processing results broadcast by each processing node.
[0013] Furthermore, the segmentation module includes an image processing unit, which is used to identify and then extract the lesion area image in the medical imaging data through the deep learning algorithm in the large model; then determine the sample image with the highest similarity corresponding to the lesion area image according to the image comparison algorithm corresponding to the required keyword, and then use the preset annotation data in the sample image with the highest similarity as the annotation data of the current lesion area image; determine the medical imaging data, lesion area image and annotation data as the initial labeling results.
[0014] Furthermore, the acquisition module includes a result processing unit, which is used to determine that the marking processing result is qualified when any node broadcasts the marking processing result and there are any two nodes that successfully verify the broadcast marking processing result; when any node broadcasts the marking processing result and no node fails to verify the broadcast marking processing result within a preset time period, the marking processing result is determined to be qualified; when there are a preset number of nodes that fail to verify the broadcast marking processing result, the marking result processing task corresponding to the marking processing result is broadcast again to all nodes under all alliance blockchains, and the processing node is determined again until the marking processing result is determined to be qualified; the qualified marking processing results are combined into the final marking processing result.
[0015] In a third aspect, the present application provides a non-volatile computer storage medium having computer instructions stored thereon, which when executed implement a large model-based medical data labeling method as described above.
[0016] Those skilled in the art can understand that the present application has at least the following beneficial effects:
[0017] The present application relates to a method, system and medium for labeling medical data based on a large model. By determining the required keywords, the specific search field can be determined. The present application relates to a scheme of alliance blockchain, involving multiple alliance blockchains. Through the relationship between the required keywords and the alliance blockchain, the initial labeling results can be uploaded to the alliance blockchain after the learning algorithm processes the data, and then the initial labeling results can be divided into several tasks and sent to the expert nodes corresponding to the specific search field. Since the labeling result processing task is already the initial labeling result, it only takes a short time to obtain the labeling processing result. The existing scheme for labeling medical data is solved. It mainly uses the existing learning algorithm directly. Based on the inevitable error range of the learning algorithm itself, the screening results obtained by directly using the algorithm have certain errors, but the manual labeling by experts is relatively time-consuming. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Some embodiments of the present disclosure are described below with reference to the accompanying drawings, in which:
[0019] Figure 1 This is a flow chart of a large model-based medical data annotation method provided in an embodiment of the present application.
[0020] Figure 2 It is a schematic diagram of the internal structure of a large model-based medical data annotation system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not mean that the present disclosure can only be implemented through the preferred embodiments. The preferred embodiments are only used to explain the technical principles of the present disclosure, and are not used to limit the protection scope of the present disclosure. Based on the preferred embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should still fall within the protection scope of the present disclosure.
[0022] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0023] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0024] The present application embodiment provides a method for labeling medical data based on a large model, such as Figure 1 As shown, the method provided in the embodiment of the present application mainly includes the following steps:
[0025] Step 110: Determine the required keywords through the preset keyword extraction interface; determine the alliance blockchain name and extract the corresponding medical processing data from the medical raw data based on the required keywords.
[0026] It should be noted that the original medical data includes at least: electricity medical record data, medical imaging data and laboratory test data, and there is a mapping relationship between the required keywords and the name of the alliance blockchain.
[0027] Among them, through the preset keyword extraction interface, the required keywords are determined, which can be specifically:
[0028] When any preset keyword on the preset keyword extraction interface is triggered, the corresponding preset keyword is determined to be a demand keyword.
[0029] It should be noted that the preset keywords can be any feasible data, such as lung cancer data.
[0030] Among them, according to the required keywords, the alliance blockchain name is determined and the corresponding medical processing data is extracted from the medical raw data, which can be specifically:
[0031] Based on the preset mapping relationship between the demand keyword and the alliance blockchain name, the alliance blockchain name corresponding to the demand keyword is determined; the demand keyword is used as the input of the key data extraction algorithm to extract the corresponding medical processing data from the medical raw data.
[0032] It should be noted that the specific content of the preset mapping relationship can be determined by those skilled in the art according to actual conditions. The key data extraction algorithm can be an existing algorithm that can extract corresponding content according to keywords (demand keywords).
[0033] Step 120: Use the medical treatment data as the input of the large model to obtain the initial marking result; obtain the number of nodes corresponding to the alliance blockchain name to divide the initial marking result into marking result processing tasks that are less than or equal to the number of nodes.
[0034] Since the original medical data at least includes: electricity medical record data, medical imaging data and laboratory test data, that is, it contains image data and text data.
[0035] As an example, the scheme for processing image data is:
[0036] The medical treatment data is used as the input of the big model to obtain the initial labeling results, which can be specifically:
[0037] Through the deep learning algorithm in the large model, the lesion area image in the medical imaging data is identified and then extracted; then, according to the image comparison algorithm corresponding to the required keywords, the sample image with the highest similarity corresponding to the lesion area image is determined, and then the preset annotation data in the sample image with the highest similarity is used as the annotation data of the current lesion area image; the medical imaging data, lesion area image and annotation data are determined as the initial labeling results.
[0038] It should be noted that there is a preset sample image database, and different demand keywords correspond to different preset sample image databases; the image comparison algorithm corresponding to the demand keyword here is an image comparison algorithm trained according to the preset sample image database corresponding to the demand keyword.
[0039] Those skilled in the art can use the lesion region image as the input of the image comparison algorithm to obtain the sample image with the highest similarity to the lesion region image in the preset sample image database. Among them, the preset sample image database stores a number of sample images, and each sample image is pre-labeled with labeling data. In order to facilitate subsequent processing, the initial labeling result here includes medical imaging data, lesion region image and labeling data.
[0040] As an example 2, the solution for processing text data is:
[0041] The medical treatment data is used as the input of the big model to obtain the initial labeling results, which can be specifically:
[0042] Through the natural language processing technology in the large model, the preset key information in the electric power medical record data and laboratory test data is identified to complete the labeling of the preset key information and obtain the labeling results; the electric power medical record data and the corresponding labeling results, the laboratory test data and the corresponding labeling results are determined as the initial labeling results.
[0043] Step 130: Based on the name of the alliance blockchain, the marking result processing task is broadcast to each node under the alliance blockchain to determine the processing node corresponding to each marking result processing task; and then, according to the marking processing results broadcast by each processing node, the final marking processing result corresponding to the initial marking result is obtained.
[0044] It should be noted that different alliance blockchain names correspond to different alliance blockchains. Different demand keywords correspond to different specific search fields. Therefore, the alliance blockchain that has a mapping relationship with the demand keywords is the specific search field. Each node is an expert server corresponding to a specific search field. The corresponding tag processing results can be obtained through the node.
[0045] According to the marking processing results broadcast by each processing node, the final marking processing result corresponding to the initial marking result is obtained, which can be specifically:
[0046] When any node broadcasts the marking processing result and any two nodes successfully verify the broadcast marking processing result, the marking processing result is determined to be qualified; when any node broadcasts the marking processing result and no node fails to verify the broadcast marking processing result within a preset time period, the marking processing result is determined to be qualified; when a preset number of nodes fail to verify the broadcast marking processing result, the marking result processing task corresponding to the marking processing result is broadcast again to all nodes under all alliance blockchains, and the processing node is determined again until the marking processing result is determined to be qualified; the qualified marking processing results are combined into the final marking processing result.
[0047] It should be noted that the marking processing result is written into the alliance blockchain after it is determined to be qualified. Any subsequent node can use the overall data (final marking processing result) for subsequent scientific research processing. The successful verification of the broadcast marking processing result is to obtain the verification success instruction uploaded by any two nodes.
[0048] besides, Figure 2 A large model-based medical data annotation system is provided in the embodiment of the present application. Figure 2 As shown, the system provided in the embodiment of the present application mainly includes:
[0049] The determination module 210 is used to determine the required keywords through a preset keyword extraction interface; to determine the alliance blockchain name and extract the corresponding medical treatment data from the medical raw data based on the required keywords.
[0050] It should be noted that the determination module 210 can be any feasible device or apparatus that can determine the demand keyword, and then determine the name of the alliance blockchain and extract the corresponding medical processing data from the medical raw data. The medical raw data at least includes: power medical record data, medical imaging data and laboratory test data, and there is a mapping relationship between the demand keyword and the alliance blockchain name.
[0051] The segmentation module 220 is used to use the medical treatment data as the input of the large model to obtain the initial marking result; obtain the number of nodes corresponding to the alliance blockchain name to segment the initial marking result into marking result processing tasks that are less than or equal to the number of nodes.
[0052] It should be supplemented that the segmentation module 220 can be any feasible device or apparatus that can obtain the initial marking result and segment the initial marking result into marking result processing tasks that are less than or equal to the number of nodes.
[0053] Among them, the medical treatment data is used as the input of the big model to obtain the initial labeling results, which can be specifically:
[0054] The image processing unit in the segmentation module 220 identifies and then extracts the lesion area image in the medical imaging data through the deep learning algorithm in the large model; then determines the sample image with the highest similarity corresponding to the lesion area image according to the image comparison algorithm corresponding to the required keyword, and then uses the preset annotation data in the sample image with the highest similarity as the annotation data of the current lesion area image; and determines the medical imaging data, lesion area image and annotation data as the initial labeling results.
[0055] The acquisition module 230 is used to broadcast the marking result processing task to each node under the alliance blockchain based on the alliance blockchain name to determine the processing node corresponding to each marking result processing task; and then obtain the final marking processing result corresponding to the initial marking result according to the marking processing results broadcast by each processing node.
[0056] It should be noted that the acquisition module 230 can be any feasible device or apparatus that can determine the processing nodes corresponding to each marking result processing task and obtain the final marking processing result corresponding to the initial marking result based on the marking processing results broadcast by each processing node.
[0057] According to the marking processing results broadcast by each processing node, the final marking processing result corresponding to the initial marking result is obtained, which can be specifically:
[0058] The result processing unit in the acquisition module 230 determines that the marking processing result is qualified when any node broadcasts the marking processing result and any two nodes successfully verify the broadcast marking processing result; determines that the marking processing result is qualified when any node broadcasts the marking processing result and no node fails to verify the broadcast marking processing result within a preset time period; when a preset number of nodes fail to verify the broadcast marking processing result, the marking result processing task corresponding to the marking processing result is broadcast again to all nodes under all alliance blockchains, and the processing node is determined again until the marking processing result is determined to be qualified; the qualified marking processing results are combined into the final marking processing result.
[0059] In addition, an embodiment of the present application further provides a non-volatile computer storage medium on which executable instructions are stored. When the executable instructions are executed, a method for labeling medical data based on a large model as described above is implemented.
[0060] So far, the technical solutions of the present disclosure have been described in combination with the above multiple embodiments, but it is easy for those skilled in the art to understand that the protection scope of the present disclosure is not limited to these specific embodiments. Without departing from the technical principles of the present disclosure, those skilled in the art can split and combine the technical solutions in the above-mentioned various embodiments, and can also make equivalent changes or replacements to the relevant technical features. Any changes, equivalent replacements, improvements, etc. made within the technical concept and / or technical principle of the present disclosure will fall within the protection scope of the present disclosure.
Claims
1. A method for labeling medical data based on a large model, characterized in that: The method comprises: Determine the required keywords through the preset keyword extraction interface; determine the alliance blockchain name and extract the corresponding medical processing data from the original medical data according to the required keywords; wherein the original medical data at least includes: electronic medical record data, medical imaging data and laboratory test data, and there is a mapping relationship between the required keywords and the alliance blockchain name; The medical treatment data is used as the input of the big model to obtain the initial labeling results, including: Through the deep learning algorithm in the large model, the lesion area image in the medical image data is identified and then extracted; then, according to the image comparison algorithm corresponding to the required keywords, the sample image with the highest similarity corresponding to the lesion area image is determined, and then the preset annotation data in the sample image with the highest similarity is used as the annotation data of the current lesion area image; the medical image data, the lesion area image and the annotation data are determined as the initial labeling results; The medical treatment data is used as the input of the big model to obtain the initial labeling results, which include: Through the natural language processing technology in the large model, the preset key information in the electronic medical record data and the laboratory test data is identified to complete the labeling of the preset key information and obtain the labeling results; the electronic medical record data and the corresponding labeling results, the laboratory test data and the corresponding labeling results are determined as the initial labeling results; Obtain the number of nodes corresponding to the alliance blockchain name to divide the initial marking results into marking result processing tasks that are less than or equal to the number of nodes; Based on the name of the alliance blockchain, the marking result processing task is broadcast to each node under the alliance blockchain to determine the processing node corresponding to each marking result processing task; then, according to the marking processing results broadcast by each processing node, the final marking processing result corresponding to the initial marking result is obtained; specifically, it includes: When any node broadcasts the marking processing result and any two nodes successfully verify the broadcast marking processing result, the marking processing result is determined to be qualified; when any node broadcasts the marking processing result and no node fails to verify the broadcast marking processing result within a preset time period, the marking processing result is determined to be qualified; when a preset number of nodes fail to verify the broadcast marking processing result, the marking result processing task corresponding to the marking processing result is broadcast again to all nodes under all alliance blockchains, and the processing node is determined again until the marking processing result is determined to be qualified; the qualified marking processing results are combined into the final marking processing result.
2. The method for labeling medical data based on a large model according to claim 1, characterized in that: Determine the required keywords through the preset keyword extraction interface, including: When any preset keyword on the preset keyword extraction interface is triggered, the corresponding preset keyword is determined to be a demand keyword.
3. The method for labeling medical data based on a large model according to claim 1, characterized in that: According to the required keywords, determine the name of the alliance blockchain and extract the corresponding medical processing data from the original medical data, including: Based on the preset mapping relationship between the demand keyword and the alliance blockchain name, determine the alliance blockchain name corresponding to the demand keyword; The required keywords are used as input to the key data extraction algorithm to extract the corresponding medical treatment data from the medical raw data.
4. A medical data annotation system based on a large model, characterized in that: The system comprises: A determination module is used to determine the required keywords through a preset keyword extraction interface; to determine the name of the alliance blockchain and extract the corresponding medical treatment data from the original medical data according to the required keywords; wherein the original medical data at least includes: electronic medical record data, medical imaging data and laboratory test data, and there is a mapping relationship between the required keywords and the name of the alliance blockchain; A splitting module is used to use the medical treatment data as the input of the large model to obtain the initial marking result; obtain the number of nodes corresponding to the alliance blockchain name to split the initial marking result into marking result processing tasks less than or equal to the number of nodes; The segmentation module is also used to identify preset key information in the electronic medical record data and laboratory test data through the natural language processing technology in the large model, so as to complete the labeling of the preset key information and obtain the labeling results; determine the electronic medical record data and the corresponding labeling results, the laboratory test data and the corresponding labeling results as the initial labeling results; The segmentation module includes an image processing unit, It is used to identify and then extract the lesion area image in the medical image data through the deep learning algorithm in the large model; then determine the sample image with the highest similarity corresponding to the lesion area image according to the image comparison algorithm corresponding to the required keyword, and then use the preset annotation data in the sample image with the highest similarity as the annotation data of the current lesion area image; determine the medical image data, the lesion area image and the annotation data as the initial labeling results; The acquisition module is used to broadcast the marking result processing task to each node under the alliance blockchain based on the alliance blockchain name to determine the processing node corresponding to each marking result processing task; and then obtain the final marking processing result corresponding to the initial marking result according to the marking processing results broadcast by each processing node; The acquisition module includes a result processing unit, which is used to determine that the marking processing result is qualified when any node broadcasts the marking processing result and any two nodes successfully verify the broadcast marking processing result; when any node broadcasts the marking processing result and no node fails to verify the broadcast marking processing result within a preset time period, the marking processing result is determined to be qualified; when a preset number of nodes fail to verify the broadcast marking processing result, the marking result processing task corresponding to the marking processing result is broadcast again to all nodes under all alliance blockchains, and the processing node is determined again until the marking processing result is determined to be qualified; the qualified marking processing results are combined into the final marking processing result.
5. A non-volatile computer storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, the method for labeling medical data based on a large model as described in any one of claims 1-3 is implemented.
Citation Information
Patent Citations
Medical image semi-automatic labeling method, system, equipment and medium
CN117012345A
Data labeling method and device, terminal equipment and storage medium
CN117591885A
Digital pathology data integration sharing method and device, equipment and storage medium
CN117894437A
