Method and apparatus for managing thesaurus

The automatic upgrade of the synonym library to match the latest medical dictionary addresses inefficiencies in medical coding by ensuring consistent and efficient coding through synchronization and expansion, reducing manual efforts and costs.

CN114925676BActive Publication Date: 2025-07-15QINGDAO PRESUN PHARM TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210519544.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-12
Publication Date
2025-07-15
Estimated Expiration
2042-05-12

AI Technical Summary

Technical Problem

The coding process of traditional medical science is cumbersome, resulting in inconsistent coding results, increasing time and labor costs, and the coding results cannot be reused. Especially when the medical dictionary version is upgraded, it requires manual coding, which reduces the coding efficiency.

Method used

Provide a synonym database management method and device. By obtaining the version information of the benchmark database and the synonym database, automatically upgrade the synonym database according to the preset upgrade rules, match it with the latest version of the medical dictionary, and merge the synonym project sub-base into the main library to improve the reuse rate of encoding results.

Benefits of technology

It realizes automatic synchronous upgrade of synonyms and the latest medical dictionary, improves coding efficiency, reduces labor and time costs, and ensures consistency and reusability of coding results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114925676B_ABST
    Figure CN114925676B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and apparatus for managing a thesaurus. The method includes: obtaining a reference library; comparing the version information of the reference library with the version information of the thesaurus, and when the version of the thesaurus is lower than the version of the reference library, upgrading the thesaurus according to a preset upgrade rule, and simultaneously updating the version information of the thesaurus. The method and apparatus for managing the thesaurus according to the present disclosure can automatically synchronously upgrade the thesaurus after the medical dictionary is upgraded, so that the thesaurus is always matched with the latest version of the medical dictionary, so as to perform medical coding in cooperation with the medical dictionary and the thesaurus subsequently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure mainly relates to the field of medical information technology. More specifically, the present disclosure relates to a method and apparatus for managing a thesaurus. Background Art

[0002] Medical coding is an important step or a key link in the process of clinical trial data management. The data that needs to be coded usually comes from the text content filled in freely during the collection of a Case Report Form (CRF for short), including the patient's medical history, disease diagnosis, adverse events, concomitant medications, and other content. Due to differences in aspects such as region, language, ethnicity, culture, and knowledge background among researchers, there are also certain differences in the expression and description of the same term. The purpose of coding is to provide correct and reasonable analysis information for the analysis of drug safety and efficacy data through the standardization of terms.

[0003] Traditional medical coding is generally offline coding. First, medical coders obtain the original data set in an Electronic Data Capture System (EDC system for short) and deliver it to technicians. Then, the technicians use SAS macros or other tools to automatically code the data according to an official medical dictionary (such as WHODrug and / or MedDRA), generate a result file (including automatically matched and unmatched files), and return it to the medical coders; the medical coders manually code the data that cannot be automatically coded according to the official medical dictionary, and then transfer it to the technicians again. The technicians merge the above data and deliver it to the medical coding reviewers for review. After the review is passed, the coding work ends. When there is an error in the review, the file needs to be transferred back to the medical coders for coding again. After the medical coders make modifications, the technicians merge the data and submit it to the medical coding reviewers for review until all result files pass the review. When the version of the EDC official medical dictionary is upgraded or the EDC data set is updated, the coding work enters the cycle again. The above steps are cumbersome, not only prone to inconsistent coding results, but also the manual coding results cannot be reused. When starting a new trial medical coding, terms that have been coded in other trials but cannot be automatically matched by the official medical dictionary still need to be manually coded by medical coders again, which greatly increases the time cost and labor cost and reduces the medical coding efficiency. Summary of the Invention

[0004] In order to at least partially solve the technical problems mentioned in the background art, the solution of the present disclosure provides a method and apparatus for managing a thesaurus.

[0005] According to a first aspect of the present disclosure, the present disclosure provides a method for managing a thesaurus, wherein the method includes: obtaining a reference library; comparing the version information of the reference library with the version information of the thesaurus, and in the case where the version of the thesaurus is lower than the version of the reference library, upgrading the thesaurus according to a preset upgrade rule, and at the same time updating the version information of the thesaurus.

[0006] Optionally, the thesaurus includes one or more first extended terms and one or more first term names, and each first term name corresponds to one or more first extended terms; the reference library includes one or more second term names; upgrading the thesaurus according to a preset upgrade rule includes: matching the first extended terms with the second term names; if a second term name matching the first extended term is obtained, deleting the relevant information corresponding to the first extended term in the thesaurus; if a second term name matching the first extended term is not obtained, matching the first term name with the second term names, and in the case where a second term name matching the first term name is obtained, retaining the relevant information corresponding to the first term name in the thesaurus.

[0007] Optionally, the method further includes: synchronously updating the reference library according to the upgraded thesaurus.

[0008] Optionally, the reference library further includes second extended terms, and each second term name corresponds to one or more second extended terms; synchronously updating the reference library according to the upgraded thesaurus includes: matching the first term name with the second term names, and in the case where a second term name matching the first term name is obtained, expanding the second extended terms corresponding to the second term name according to the first extended terms corresponding to the first term name, so as to synchronously update the reference library.

[0009] According to a second aspect of the present disclosure, the present disclosure provides a device for managing a thesaurus, wherein the device includes: an obtaining module configured to obtain a reference library; a comparison module configured to compare the version information of the reference library with the version information of the thesaurus; an upgrade module configured to upgrade the thesaurus according to a preset upgrade rule and update the version information of the thesaurus at the same time when the version of the thesaurus is lower than the version of the reference library.

[0010] Optionally, the thesaurus includes one or more first extended terms and one or more first term names, each first term name corresponding to one or more first extended terms; the reference library includes one or more second term names; the upgrading module is configured to upgrade the main thesaurus in the following manner: matching the first extended terms with the second term names; if a second term name that matches the first extended term is obtained, deleting the relevant information corresponding to the first extended term in the thesaurus; if a second term name that matches the first extended term is not obtained, matching the first term name with the second term names, and retaining the relevant information corresponding to the first term name in the thesaurus when a second term name that matches the first term name is obtained.

[0011] Optionally, the apparatus further includes a synchronization module configured to synchronously update the reference library according to the upgraded thesaurus.

[0012] Optionally, the reference library further includes second extended terms, each second term name corresponding to one or more second extended terms; the synchronization module synchronously updates the reference library according to the upgraded thesaurus in the following manner: matching the first term name with the second term names, and when a second term name that matches the first term name is obtained, expanding the second extended terms corresponding to the second term name according to the first extended terms corresponding to the first term name, so as to synchronously update the reference library.

[0013] According to a third aspect of the present disclosure, there is provided an electronic device, wherein the electronic device includes a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program, the method according to the first aspect of the present disclosure is implemented.

[0014] According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed, the method according to the first aspect of the present disclosure is implemented.

[0015] The method and apparatus for managing the thesaurus of the present disclosure can automatically synchronously upgrade the thesaurus after the medical dictionary is upgraded, so that the thesaurus is always matched with the latest version of the medical dictionary, so as to perform medical coding by using the medical dictionary and the thesaurus in cooperation subsequently. In addition, the embodiments of the present disclosure incorporate the thesaurus item sub-library into the main thesaurus, so as to further expand and improve the main thesaurus, and effectively improve the reuse rate of the coding results. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features, and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the drawings, several embodiments of the present disclosure are shown in an exemplary rather than restrictive manner, and the same or corresponding reference numerals denote the same or corresponding parts, wherein:

[0017] Figure 1 is a flowchart showing a method for managing a thesaurus according to an embodiment of the present disclosure;

[0018] Figure 2 is a schematic block diagram showing a thesaurus management device according to an embodiment of the present disclosure. Detailed Embodiments

[0019] Next, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present disclosure.

[0020] The following will describe the specific embodiments of the present disclosure in detail with reference to the accompanying drawings.

[0021] The present disclosure provides a method for managing a thesaurus. Referring to Figure 1 , Figure 1 is a flowchart showing a method for managing a thesaurus according to an embodiment of the present disclosure. As shown in Figure 1 , the method includes the following steps S101 and S102. Step S101: Obtain a reference library. Step S102: Compare the version information of the reference library with the version information of the thesaurus, and when the version of the thesaurus is lower than the version of the reference library, upgrade the thesaurus according to a preset upgrade rule, and at the same time update the version information of the thesaurus.

[0022] The method and device for managing the thesaurus of the present disclosure can automatically synchronize and upgrade the thesaurus after the medical dictionary is upgraded, so that the thesaurus is always matched with the latest version of the medical dictionary, so as to perform medical coding by using the medical dictionary and the thesaurus in cooperation later.

[0023] In step S101, the version information of the reference library can be obtained.

[0024] According to an embodiment of the present disclosure, the target library can be a medical dictionary, and the thesaurus can be a main thesaurus and / or a sub-thesaurus of thesaurus items. Among them, the sub-thesaurus of thesaurus items is a thesaurus established separately for each item, which is matched with the medical dictionary adopted by the item. The sub-thesaurus of thesaurus items is mainly used to store the relevant term information manually coded in the item, so as to be used for subsequent coding of the same term expression, thereby effectively improving the reuse rate of the coding results and improving the medical coding efficiency; the main thesaurus is a comprehensive thesaurus, including the coding information of all sub-thesauruses of thesaurus items, and is usually matched with the latest version of the medical dictionary. By aligning and synchronizing the thesaurus with the medical dictionary, the embodiment of the present disclosure enables the thesaurus to always be matched with the medical dictionary, facilitating subsequent medical coding by combining the medical dictionary and the thesaurus.

[0025] The method for obtaining the medical dictionary can be to establish it by oneself or directly adopt an existing medical dictionary. The embodiment of the present disclosure preferably establishes the medical dictionary by itself.

[0026] Specifically, in the embodiment of the present disclosure, the official medical dictionary file is preprocessed, key information is extracted, and one or more medical dictionary data tables are formed and stored according to the corresponding relationship between the key information to obtain the medical dictionary of the embodiment of the present disclosure.

[0027] Among them, the official medical dictionary can be MedDRA or WHODrug. Among them, MedDRA (Medical Dictionary for Regulatory Activities) is an international medical terminology dictionary of ICH (International Council for Harmonisation of Technical Requirements for Pharmaceuticals for Human Use), and its scope of collection includes: signs and symptoms, diseases, diagnoses, treatment indications, names of indications, qualitative results of physical and chemical examinations, surgical and medical treatments, medical history, social history, and family history, etc.; WHODrug is generally referred to as WHODrug Global, which is the most comprehensive electronic dictionary in the field of pharmaceutical products, and it includes 4 dictionaries: World Health Organization Drug Dictionary (WHO-DD), World Health Organization Drug Dictionary Enhanced Edition (WHO-DDE), World Health Organization Herbal Dictionary (WHO-HD), and Combined dictionary. The above official medical dictionary is processed into one or more medical dictionary data tables for storage for medical coding use. In the embodiment of the present disclosure, the "medical dictionary" specifically refers to one or more medical dictionary data tables formed after the official medical dictionary is processed.

[0028] More specifically, taking MedDRA as an example, the method for establishing a medical dictionary includes: obtaining an official medical dictionary file, decompressing it, and obtaining the core files therein, such as the mdhier dictionary file (mdhier.asc) and the AE_LLT dictionary file (llt.asc), extracting the information of the core files line by line, and splitting and extracting the extracted information according to a preset delimiter to obtain the required key information, and combining the information according to the corresponding relationship between the information to form one or more medical dictionary data tables for storage, so as to obtain the medical dictionary corresponding to MedDRA in the embodiments of the present disclosure (hereinafter referred to as "MedDRA medical dictionary").

[0029] Illustrative example:

[0030] For example, a line of text in mdhier.asc is: "10000002$10021608$10021605$10027433$11-β-hydroxylase deficiency$Various steroid synthesis abnormalities$Inborn metabolic abnormalities$Metabolic and nutritional diseases$Metab$$10010331$N$". After splitting with the "$" symbol, it is split into: 1 - "10000002", 2 - "10021608", 3 - "10021605", 4 - "10027433", 5 - "11-β-hydroxylase deficiency", 6 - "Various steroid synthesis abnormalities", 7 - "Inborn metabolic abnormalities", 8 - "Metabolic and nutritional diseases", 9 - "Metab", 10 - "", 11 - "10010331", 12 - "N", a total of 12 strings. The above strings are saved into the M_AE_MDHIER table according to the corresponding rules of 1 - PtCode (Preferred term code), 2 - HltCode (High level term code), 3 - HlgtCode (High level group code), 4 - SocCode (System organ classification code), 5 - PtName (Preferred term name), 6 - HltName (High level term name), 7 - HlgtName (High level group name), 8 - SocName (System organ classification name).

[0031] Similarly, for example, a line of text in llt.asc is: "10000001$"Ventilatory" pneumonia$10081988$$$$$$$N$$". It is split into: 1 - "10000001", 2 - ""Ventilatory" pneumonia", 3 - "10081988", 4 - "", 5 - "", 6 - "", 7 - "", 8 - "", 9 - "", 10 - "N", 11 - "", a total of 11 strings. The above strings are saved into the M_AE_LLT table according to the corresponding rules of 1 - LltCode (Low level term code), 2 - LltName (Low level term name), 3 - PtCode (Preferred term code).

[0032] It should be noted that the above examples only list the corresponding rules for some key information. Among them, the lowest level terms (Llt) are synonymous medical terms, which describe specific events in the most detailed language. Different spoken expressions and events unique to a certain language can only be seen at this level; the preferred term (Pt) is used to express unique and clear medical concepts and is the basic term for international medical information exchange. There is no limit to the number of lowest level terms under the preferred term; the high level terms (Hlt) classify the preferred terms in various ways such as anatomy, pathology, biology, etiology, physiological functions, etc. for retrieval and classification; the high level group terms (Hlgt) are more general concepts above the Hlt; the system organ class (Soc) is equivalent to the system classification in other medical terms, and the preferred term can be connected to at least one Soc; if there is no character or a space between the two delimiters "$", the extracted information is listed as "empty" or discarded. In addition to the above key information, the relevant strings extracted from the official medical dictionary can be listed in the corresponding medical dictionary data table according to the preset rules or discarded, which will not be elaborated here. The above examples are only for illustration and do not limit the technical solutions of the present disclosure.

[0033] It can be understood that after extracting the key information from different core documents in the official medical dictionary, different medical dictionary data tables can be formed and stored according to the information correspondence relationship, such as in the above embodiments, or they can be integrated into one medical dictionary data table according to the information correspondence relationship, which is not particularly limited here.

[0034] Taking WHODrug as an example, the method for establishing a medical dictionary includes: obtaining the official medical dictionary file, decompressing it, and obtaining the core files therein, such as the DD dictionary file (DD.txt), the DDA dictionary file (DDA.txt), and the INA dictionary file (INA.txt). Extract the information of the core files by row, and split and extract the extracted information according to the preset fields to obtain the required key information. Combine the key information according to the correspondence relationship between the information to form one or more medical dictionary data tables for storage, so as to obtain the medical dictionary corresponding to WHODrug in the embodiments of the present disclosure (hereinafter referred to as the "WHODrug medical dictionary").

[0035] Illustrate with examples:

[0036] For example, a line of text in DD.txt is: "000001010024T20KEN 01041ALDOMET [Methyldopa]". Extract the first 11 characters "00000101002", which correspond to the DrugCode (drug number) field in the W_DD table. The characters from the 31st character to the end, "ALDOMET [Methyldopa]", correspond to the ProductName (drug name) field in the W_DD table. After extraction, save them into the W_DD table.

[0037] Similarly, for example, a line of text in DDA.txt: "000017040015S02AA". Extract the first 11 characters "00001704001", which correspond to the DrugCode (drug code) field in the W_DDA table. The 13th - 17th characters "S02AA" correspond to the ATCCode (Anatomical-Therapeutic-Chemical classification code) field in the W_DDA table. The 13th character "S" corresponds to the ATCCode1 field in the W_DDA table. The 13th - 15th characters "S02" correspond to the ATCCode2 field in the W_DDA table. The 13th - 16th characters "S02A" correspond to the ATCCode3 field in the W_DDA table. The 13th - 17th characters "S02AA" correspond to the ATCCode4 field in the W_DDA table. After all extractions, save them into the W_DDA table.

[0038] Likewise, a line of text in INA.txt: "A01AB 4 Oral topical anti-infective and antibacterial drugs". Extract the first 7 characters "A01AB", which correspond to the ATCCode field in the W_INA table. The 8th character "4" corresponds to the LevelCode field in the W_INA table. The characters from the 9th character to the end, "Oral topical corticosteroid drugs", correspond to the ATCText (Anatomical-Therapeutic-Chemical classification text) field in the W_INA table.

[0039] It should be noted that the above examples are only for illustration to show the method of establishing the medical dictionary corresponding to WHODrug, and are not intended to limit the technical solution of the present disclosure. Among them, when extracting information from the medical dictionary file line by line, each space in each line of text is counted as one character; the ATC classification (Anatomical-Therapeutic-Chemical classification) is the drug classification system adopted by WHODrug. This system divides all drugs into 14 major categories (ATCCode1) according to the anatomical organs / systems they treat, and then re-classifies them according to pharmacology / therapeutics (ATCCode2). ATCCode3 and ATCCode4 further divide the drugs into different sub-categories according to chemistry / pharmacology / therapeutics.

[0040] It can be understood that after extracting key information from different core documents in the official medical dictionary, different medical dictionary data tables can be formed and stored according to the information correspondence relationship. For example, in the above embodiments, they can also be integrated into a medical dictionary data table according to the information correspondence relationship, which is not particularly limited herein.

[0041] According to another embodiment of the present disclosure, the reference library can be the main synonym library, and the synonym library can be the sub-synonym project library. Before incorporating the sub-synonym project library into the main synonym library, it is necessary to compare and synchronize the sub-synonym project library with the main synonym library to avoid data chaos after merging. The method for obtaining the main synonym library can be to retrieve it according to the file name or from its storage address, which is not particularly limited herein.

[0042] In step S102, the version information of the reference library can be compared with the version information of the synonym library, and when the version of the synonym library is lower than the version of the reference library, the synonym library can be upgraded according to the preset upgrade rules, and at the same time, the version information of the synonym library can be updated.

[0043] Among them, the synonym library includes one or more first extended terms and one or more first term names, and each first term name corresponds to one or more first extended terms; the reference library includes one or more second term names. Upgrading the synonym library according to the preset upgrade rules includes: matching the first extended terms with the second term names; if a second term name that matches the first extended term is obtained, the relevant information corresponding to the first extended term in the synonym library is deleted; if a second term name that matches the first extended term is not obtained, the first term name is matched with the second term names, and when a second term name that matches the first term name is obtained, the relevant information corresponding to the first term name in the synonym library is retained.

[0044] It should be noted that in the embodiments of the present disclosure, "first" and "second" are only used to distinguish the same or similar objects and are not used as a limitation on the order. The term names in the synonym library correspond to the term names in the medical dictionary and are mainly used to supplement the term names not included in the medical dictionary so as to perform medical coding on various different term expressions in clinical data.

[0045] According to an embodiment of the present disclosure, the reference library may be a medical dictionary, and the thesaurus may be a main thesaurus and / or a sub-library of thesaurus items. The extended terms in the main thesaurus and / or the sub-library of thesaurus items are matched with the term names in the higher version medical dictionary (e.g., LltName in the MedDRA medical dictionary, ProductName in the WHODrug medical dictionary); if a term name matching the extended term is obtained, it indicates that the extended term has been included in the higher version medical dictionary, and then the extended term and its uniquely corresponding related information in the main thesaurus and / or the sub-library of thesaurus items can be deleted; if no term name matching the extended term is obtained in the higher version medical dictionary, then according to the term name corresponding to the extended term in the main thesaurus and / or the sub-library of thesaurus items, matching information is searched in the new version medical dictionary, and when the matching information is obtained, the related information corresponding to the term name in the main thesaurus and / or the sub-library of thesaurus items is retained, so as to continue to use the extended term as a supplement to the corresponding term name in the higher version medical dictionary for subsequent medical coding.

[0046] It can be understood that if no matching term name can be found in the higher version medical dictionary through the above method, it indicates that the term name has been deleted from the higher version medical dictionary, and then through manual operation, the unmatched term name in the main thesaurus and / or the sub-library of thesaurus items can be modified to the corresponding term name existing in the higher version medical dictionary, so that the main thesaurus and / or the sub-library of thesaurus items match the higher version medical dictionary for subsequent medical coding use.

[0047] According to another embodiment of the present disclosure, the reference library may be the main thesaurus, and the thesaurus may be the sub-library of thesaurus items. By using a similar method as above, the sub-library of thesaurus items can be matched with the main thesaurus to make the sub-library of thesaurus items meet the conditions for being incorporated into the main thesaurus, which will not be elaborated here.

[0048] In this another embodiment, further, the management method of the thesaurus further includes: synchronously updating the reference library according to the upgraded thesaurus.

[0049] Specifically, the reference library further includes second extended terms, and each of the second term names corresponds to one or more second extended terms; synchronously updating the reference library according to the upgraded thesaurus includes: matching the first term name with the second term name, and when a second term name matching the first term name is obtained, expanding the second extended terms corresponding to the second term name according to the first extended terms corresponding to the first term name, so as to synchronously update the reference library.

[0050] In another embodiment of the present disclosure, after matching the synonym item sub-library with the synonym main library, the extended terms in the synonym item sub-library are supplemented into the corresponding extended terms in the synonym main library to continuously enrich and improve the extended terms in the synonym main library, improve the reuse rate of the coding results, and reduce the labor cost and time cost.

[0051] It can be understood that for the embodiment where the reference library is a medical dictionary and the synonym library is the synonym main library and / or the synonym item sub-library, by using the above method to supplement the term names in the medical dictionary with the extended terms in the synonym library, the technical effects of the present disclosure can also be achieved.

[0052] The present disclosure also provides a management device for a synonym library. This device is used to execute the steps in the embodiment of the management method for the synonym library described above in combination with Figure 1 the steps in the embodiment of the management method for the synonym library described above.

[0053] Referring to Figure 2 , Figure 2 FIG. is a schematic block diagram showing a management device 100 for a synonym library according to an embodiment of the present disclosure. The device 100 includes an acquisition module 101, a comparison module 102, and an upgrade module 103. The acquisition module 101 is configured to acquire a reference library. The comparison module 102 is configured to compare the version information of the reference library with the version information of the synonym library. The upgrade module 103 is configured to upgrade the synonym library according to a preset upgrade rule when the version of the synonym library is lower than the version of the reference library, and at the same time update the version information of the synonym library.

[0054] According to an embodiment of the present disclosure, the synonym library includes one or more first extended terms and one or more first term names, and each first term name corresponds to one or more first extended terms; the reference library includes one or more second term names; the upgrade module 102 is used to upgrade the synonym main library in the following manner: match the first extended terms with the second term names; if a second term name that matches the first extended term is obtained, delete the relevant information corresponding to the first extended term in the synonym library; if a second term name that matches the first extended term is not obtained, match the first term name with the second term names, and when a second term name that matches the first term name is obtained, retain the relevant information corresponding to the first term name in the synonym library.

[0055] According to an embodiment of the present disclosure, the device further includes a synchronization module, which is configured to synchronously update the reference library according to the upgraded synonym library.

[0056] According to an embodiment of the present disclosure, the benchmark library further includes second extended terms, and each of the second term names corresponds to one or more second extended terms; the synchronization module synchronously updates the benchmark library according to the upgraded synonym library in the following manner: matching the first term name with the second term name, and when obtaining a second term name that matches the first term name, expanding the second extended terms corresponding to the second term name according to the first extended terms corresponding to the first term name, so as to synchronously update the benchmark library.

[0057] It can be understood that, regarding the synonym library management device in the above-described embodiments Figure 2 described, the specific manners in which each module performs operations have been described in detail in the embodiments of the synonym library management method Figure 1 described, and will not be elaborated herein.

[0058] An embodiment of the present disclosure further provides an electronic device, where the electronic device includes a memory and a processor, and a computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented: obtaining a benchmark library; comparing the version information of the benchmark library with the version information of the synonym library, and when the version of the synonym library is lower than the version of the benchmark library, upgrading the synonym library according to a preset upgrade rule, and simultaneously updating the version information of the synonym library.

[0059] It can be understood that the steps implemented when the processor executes the computer program are basically the same as the implementation manners of the respective steps in the above method, and the specific manners have been described in detail in the embodiments of the synonym library management method, and will not be elaborated herein.

[0060] In another aspect, the present disclosure provides a computer-readable storage medium, where a computer program is stored in the storage medium. When the computer program is executed, the following steps are implemented: obtaining a benchmark library; comparing the version information of the benchmark library with the version information of the synonym library, and when the version of the synonym library is lower than the version of the benchmark library, upgrading the synonym library according to a preset upgrade rule, and simultaneously updating the version information of the synonym library.

[0061] It can be understood that the steps implemented when the processor executes the computer program are basically the same as the implementation manners of the respective steps in the above method, and the specific manners have been described in detail in the embodiments of the synonym library management method, and will not be elaborated herein.

[0062] The above has introduced the embodiments of the present disclosure in detail. Specific examples are used herein to elaborate on the principles and implementation manners of the present disclosure. The description of the above embodiments is only used to help understand the method and its core idea of the present disclosure; at the same time, for those of ordinary skill in the art, based on the idea of the present disclosure, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation on the present disclosure.

[0063] It should be understood that the terms "first", "second", etc. in the claims, the specification and the drawings of the present disclosure are used to distinguish different objects, rather than to describe a specific order. The terms "including" and "comprising" used in the specification and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.

[0064] It should also be understood that the terms used in this specification of the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure. As used in the specification and claims of the present disclosure, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms. It should be further understood that the term "and / or" used in the specification and claims of the present disclosure refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0065] The above has introduced the embodiments of the present disclosure in detail. Specific examples are used herein to elaborate on the principles and implementation manners of the present disclosure. The description of the above embodiments is only used to help understand the method and its core idea of the present disclosure. At the same time, the changes or deformations made by those skilled in the art based on the idea of the present disclosure in the specific implementation manners and application scopes of the present disclosure all fall within the scope of protection of the present disclosure. In summary, the content of this specification should not be construed as a limitation on the present disclosure.

Claims

1. A method for managing a thesaurus, wherein, The method includes: Obtaining a reference library, which is a medical dictionary; Comparing the version information of the reference library with the version information of the synonym library, and when the version of the synonym library is lower than the version of the reference library, upgrading the synonym library according to a preset upgrade rule, simultaneously updating the version information of the synonym library, and synchronously updating the reference library according to the upgraded synonym library; wherein, the synonym library includes one or more first extended terms and one or more first term names, each first term name corresponding to one or more first extended terms; the reference library includes one or more second term names; the first extended terms in the synonym library are used to supplement the second term names in the reference library; upgrading the synonym library according to the preset upgrade rule includes: Matching the first extended terms with the second term names; If a second term name that matches the first extended term is obtained, deleting the relevant information corresponding to the first extended term in the synonym library; If a second term name that matches the first extended term is not obtained, matching the first term name with the second term name, and when a second term name that matches the first term name is obtained, retaining the relevant information corresponding to the first term name in the synonym library.

2. The method for managing a thesaurus according to claim 1, wherein The reference library further includes second extended terms, each second term name corresponding to one or more second extended terms; Synchronously updating the reference library according to the upgraded synonym library includes: Matching the first term name with the second term name, and when a second term name that matches the first term name is obtained, expanding the second extended terms corresponding to the second term name according to the first extended terms corresponding to the first term name to synchronously update the reference library.

3. An apparatus for managing a thesaurus, wherein, The device includes: An acquisition module configured to obtain a reference library, which is a medical dictionary; A comparison module configured to compare the version information of the reference library with the version information of the synonym library; an upgrade module configured to upgrade the synonym library according to a preset upgrade rule when the version of the synonym library is lower than the version of the reference library, and simultaneously update the version information of the synonym library; A synchronization module configured to synchronously update the reference library according to the upgraded synonym library; wherein, the synonym library includes one or more first extended terms and one or more first term names, each first term name corresponding to one or more first extended terms; the reference library includes one or more second term names; the first extended terms in the synonym library are used to supplement the second term names in the reference library; the upgrade module is used to upgrade the synonym library in the following manner: Matching the first extended terms with the second term names; If a second term name that matches the first extended term is obtained, deleting the relevant information corresponding to the first extended term in the synonym library; If a second term name that matches the first extended term is not obtained, the first term name is matched with the second term name, and when a second term name that matches the first term name is obtained, the relevant information corresponding to the first term name in the thesaurus is retained.

4. Thesaurus management device according to claim 3, wherein, The alignment library further includes second extended terms, and each of the second term names corresponds to one or more second extended terms; the synchronization module synchronously updates the alignment library according to the upgraded thesaurus in the following manner: The first term name is matched with the second term name, and when a second term name that matches the first term name is obtained, the second extended terms corresponding to the second term name are extended according to the first extended terms corresponding to the first term name, so as to synchronously update the alignment library.

5. An electronic device, wherein, The electronic device includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the method described in claim 1 or 2 is implemented.

6. A computer-readable storage medium, wherein, The storage medium stores a computer program. When the computer program is executed, the method described in claim 1 or 2 is implemented.

Citation Information

Patent Citations

  • Data processing method and related device

    CN110263184A