Medicinal material information processing method and medicinal material information retrieval method based on medicinal material codes

Through the information processing method based on medicinal material coding, the problem of irregular and difficult search in medicinal material management has been solved, the standardized management and efficient processing of medicinal material information has been realized, and the work of medical institutions and medicinal material research institutions has been promoted.

CN119474088APending Publication Date: 2025-02-18CHONGQING KANGZHOU TECH TRADE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411511434.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

There are irregularities in the management methods of existing medicinal materials, alias or even typos, which leads to difficulties in effective management and query of medicinal materials, and affects the work of medical institutions and medicinal materials research institutions.

Method used

The information processing method based on medicinal material encoding is adopted. By formulating a coding format containing multiple fields, various attribute characteristics of medicinal materials are comprehensively and accurately described, and standardized encoding is carried out, and stored in the medicinal material attribute characteristic library in the cloud.

Benefits of technology

It realizes the standardized management of medicinal materials information, improves the accuracy and efficiency of medicinal materials information processing, avoids errors in medicinal materials entry and difficulty in finding medicinal materials, and supports the optimization of medicinal materials research and clinical medicine use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119474088A_ABST
    Figure CN119474088A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of traditional Chinese medicine informatization, and particularly relates to a medicinal material information processing method and a medicinal material information retrieval method based on medicinal material codes. The medicinal material information processing method based on medicinal material coding comprises the following steps: S1, making a coding format of medicinal materials; the coding format comprises a plurality of fields, the fields are respectively used for representing different attribute characteristics of the medicinal materials, and the attribute characteristics comprise standardized names of the medicinal materials; s2, acquiring attribute feature information of each medicinal material according to each attribute feature of the coding format; and S3, performing standardized coding processing on the acquired attribute feature information of the medicinal materials according to the coding format in the S1 to obtain standard coding information of the medicinal materials, and storing the standard coding information in a medicinal material attribute feature library of the cloud. According to the method, the medicinal materials can be effectively managed, and work development of local medical institutions and medicinal material research institutions is promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of traditional Chinese medicine informationization, and in particular relates to a medicinal material information processing method and a medicinal material information retrieval method based on medicinal material coding. Background Art

[0002] Medicinal materials, which originated from China's long-standing traditional medicine - Chinese medicine, refer to natural medicines and their processed products that are collected, processed and prepared under the guidance of traditional Chinese medicine theory. These medicinal materials are mostly derived from plants, animals or minerals in nature. After being processed by specific processing methods, they are used to prevent, treat or diagnose diseases, as well as regulate human physiological functions.

[0003] For medical institutions, the management of medicinal materials is very important, which is not only related to the quantitative statistical management of medicinal materials, but also to the effective query of medicinal materials. However, the knowledge of traditional Chinese medicine is often expressed in text, which makes it difficult to deeply study its rich medicinal properties and usage rules, and it is difficult to form structured and patterned methods and processes. In the current management of medicinal materials, various databases of medicinal materials include all the names of medicinal materials from all over the country and the entire network, but there are irregularities, aliases and even typos. When searching, the pieces of the same medicinal material cannot be associated and presented.

[0004] This way of managing medicinal materials leads to the following two problems. First, for local medical institutions, due to the randomness of the storage of medicinal materials, it is difficult to effectively manage and query the medicinal materials. There may be two or even more names for one medicinal material. In addition, the doctor's naming habits may not match the entered name, which may lead to the situation that the doctor cannot find a certain medicinal material in the medicinal material library. Second, for medicinal material research institutions, due to the randomness of the storage of medicinal materials, it is difficult to effectively screen and manage the information of medicinal materials, which makes it difficult to carry out their research work on medicinal materials (such as network pharmacology, prescription big data, etc.).

[0005] Therefore, how to effectively manage medicinal materials and promote the work of local medical institutions and medicinal material research institutions has become a problem that needs to be solved urgently. Summary of the invention

[0006] In view of the above-mentioned deficiencies of the prior art, the present invention provides a method for processing medicinal material information based on medicinal material coding, which can effectively manage medicinal materials and promote the work of local medical institutions and medicinal material research institutions.

[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0008] A method for processing medicinal material information based on medicinal material coding comprises the following steps:

[0009] S1. Prepare a coding format for medicinal materials; the coding format includes a plurality of fields, each field is used to represent different attribute characteristics of the medicinal materials, and the attribute characteristics include the standardized name of the medicinal materials;

[0010] S2. Obtaining attribute characteristic information of each medicinal material according to each attribute characteristic of the coding format;

[0011] S3. Performing standardized coding processing on the acquired attribute characteristic information of the medicinal material according to the coding format described in S1, obtaining standard coding information of the medicinal material and storing it in a medicinal material attribute characteristic library in the cloud.

[0012] 1. This method uses a standardized medicinal material coding format to uniformly manage and process medicinal material information. First, by formulating a coding format containing multiple fields, the various attribute characteristics of medicinal materials are comprehensively and accurately described. Then, by obtaining the attribute characteristic information of the medicinal materials and performing standardized coding processing, the information of the medicinal materials is converted into standard coding information and stored in the medicinal material attribute characteristic library. When the medicinal materials need to be entered into the local system of the medical institution, only the standardized name of the medicinal materials is needed to match the corresponding standard coding information in the medicinal material attribute characteristic library, so that the attribute information of the medicinal materials can be quickly and accurately obtained, and the quantity of the medicinal materials in the library can be associated to complete the entry of the medicinal materials. Due to the standardization of medicinal material information, for local medical institutions, it can effectively avoid the situation where two or even multiple names are entered for a medicinal material; it can also avoid the situation where the doctor's calling habits do not match the entered name, resulting in the existence of a certain medicinal material in the medicinal material library but the doctor cannot find it.

[0013] 2. For medicinal material research institutions, due to the standardization of medicinal material information, the medicinal material information can be effectively screened and managed, so as to smoothly carry out medicinal material research work (such as network pharmacology, prescription big data, etc.).

[0014] 3. It can improve the accuracy and efficiency of medicinal material information processing. Through the standardized medicinal material coding format and attribute feature library, the accuracy and consistency of medicinal material information can be ensured, while reducing the workload of manual input and processing, and improving the efficiency of medicinal material information processing. In addition, through the standard coding information of medicinal materials, the source, quality, use, etc. of medicinal materials can be easily traced, providing strong support for the quality control and safety management of medicinal materials.

[0015] In summary, this method can effectively manage medicinal materials and promote the work of local medical institutions and medicinal material research institutions.

[0016] Preferably, the encoding format includes four fields, namely the first field, the second field, the third field and the fourth field; wherein the first field is used to indicate the plant source family of the medicinal material; the second field is used to indicate the plant source genus of the medicinal material; the third field is used to indicate the plant source species of the medicinal material; and the fourth field is used to indicate the name of the medicinal material.

[0017] This setting, 1. makes the information of medicinal materials clear and easy to understand and manage. By dividing the medicinal material information into four levels: plant source family, genus, species and medicinal material name, the classification of medicinal materials is clearer, and each level represents different dimensions of medicinal materials information. This hierarchical coding method is not only convenient for information entry and retrieval, but also for understanding and memorizing medicinal material information.

[0018] 2. Facilitate the classification and retrieval of medicinal material information. Through the family, genus, and species information in the coding format, medicinal materials can be easily classified, which is convenient for users to search and find according to the classification of medicinal materials. At the same time, the name of the medicinal material, as the most specific identifier, also helps users quickly locate the required medicinal material information.

[0019] Preferably, in the encoding format, each field contains multiple field bits; wherein the high field bit of the first field is used to indicate the plant source field header code, and the other field bits are used to indicate the code of the plant source family; the various field bits of the second field are used to indicate the code of the plant source genus; the various field bits of the third field are used to indicate the code of the plant source species; the high field bit of the fourth field is used to indicate the medicinal material field header code, and the other field bits are used to indicate the code of the medicinal material name.

[0020] Such a setting can achieve higher coding accuracy by subdividing each field into multiple field bits and assigning each field bit a specific coding task. This helps to more accurately describe the plant origin and name of the medicinal material and reduce confusion and errors caused by coding ambiguity. In addition, the division of field bits makes the coding structure clearer and easier to read and understand. In particular, the high field bit is used to indicate the field header coding, which helps to quickly identify the category and purpose of the coding and improve the readability and comprehensibility of the coded information.

[0021] Preferably, in the code of the first field, the code for indicating the plant source family is a digital code, each plant source family corresponds to a unique digital code, and the closer the plant source families are, the smaller the difference in digital codes is;

[0022] In the coding of the second field, the coding of the plant source genus is a digital coding, each plant source genus corresponds to a unique digital coding, and the closer the different plant source genera are, the smaller the difference in the digital coding is;

[0023] In the coding of the third field, the coding of the plant source species is a digital coding, each plant source species corresponds to a unique digital coding, and the closer the plant source species are, the smaller the difference in the digital coding is;

[0024] In the code of the fourth field, the code used to indicate the name of the medicinal material is a digital code, each medicinal material name corresponds to a unique digital code, and the higher the similarity of the active ingredients that exert therapeutic effects between different medicinal material names, the smaller the difference in the digital codes.

[0025] Preferably, the similarity Sim of the active ingredients that exert therapeutic effects between any two medicinal materials a and medicinal materials b with different medicinal material names is ab The calculation formula is:

[0026]

[0027] In the formula, C a,i Indicates the unit weight content of the i-th active ingredient in medicinal material a; C b,i Indicates the unit weight content of the i-th active ingredient in medicinal material b; n ab Indicates the number of active ingredients that have therapeutic effects in both medicinal materials a and b; Sim ab Indicates the similarity value of the active ingredients that play a therapeutic role between medicinal materials a and medicinal materials b, Sim ab The smaller the value, the higher the similarity.

[0028] This setting, 1. By making the difference in digital codes reflect the similarity of the medicinal materials' efficacy, this coding method actually builds an implicit medicinal materials efficacy classification system. This helps doctors or pharmacists quickly find medicinal materials with similar efficacy when needed, thereby improving the accuracy and efficiency of clinical medication.

[0029] 2. Each medicinal material's plant source family, genus, species and medicinal material name correspond to a unique digital code, which ensures the uniqueness and accuracy of the code. In the process of managing and retrieving medicinal material information, confusion and errors caused by repeated or ambiguous codes can be avoided. The standardized digital coding format helps to achieve standardized management of medicinal material information and improve the accuracy and consistency of information. At the same time, digital coding also facilitates automatic recognition and processing by computer systems and software, providing strong support for the intelligent management of medicinal material information.

[0030] 3. Since digital codes have clear mathematical meanings, they can be easily used for data analysis and mining. By statistically analyzing and comparing the codes of medicinal materials, valuable information such as the relationship between medicinal materials and the laws of efficacy can be discovered, providing a scientific basis for the research and application of traditional Chinese medicine.

[0031] Preferably, the coding format also includes a fifth field for indicating the preparation method of the medicinal material; the fifth field contains multiple field bits, the high field bit is used to indicate the medicinal material field header code, and the other field bits are used to indicate the code of the medicinal material preparation method type.

[0032] With this setting, 1. By adding the fifth field, the medicinal material coding format can now fully cover the entire process of medicinal materials from plant sources to the preparation methods of medicinal pieces. This helps to provide comprehensive and accurate information support in all aspects of medicinal material procurement, production, and use.

[0033] 2. Different processing methods may change the medicinal properties, efficacy and scope of application of medicinal materials. By clarifying the coding of the processing methods of medicinal pieces, more personalized medication recommendations can be provided to patients, improving the pertinence and effectiveness of medication.

[0034] Preferably, after S3, the process further includes S4: when entering the medicinal materials into the local system of the medical institution, the standardized name of the medicinal materials and the preparation method of the medicinal pieces are used to match the corresponding standard coding information from the medicinal material attribute feature library as the attribute information of the medicinal materials in the local system; thereafter, the storage quantity of the medicinal materials is associated as the entry information of the medicinal materials in the local system; and, at a preset time interval, the entry information and usage information of the medicinal materials in the local system are synchronized to the medicinal material attribute feature library in the cloud for use by medicinal material research institutions.

[0035] Such a setting can, 1. Improve the efficiency of information entry. When medical institutions enter medicinal materials, they can quickly match the corresponding standard coding information from the medicinal material attribute feature library by using the standardized names of medicinal materials and the preparation methods of medicinal pieces. This avoids the tedious process of manually entering detailed information of medicinal materials and improves the efficiency and accuracy of information entry.

[0036] 2. Achieve unified management of medicinal material information. By using the standardized coding information of medicinal materials as the attribute information of the local system, medical institutions can achieve unified management of medicinal material information. This helps ensure the accuracy and consistency of medicinal material information and facilitates the procurement, inventory management and use of medicinal materials.

[0037] 3. It is convenient for tracking and supervising medicinal materials. The number of associated medicinal materials in storage, as input information of the local system, helps medical institutions to track and supervise the inventory and use of medicinal materials in real time. This can timely discover and solve problems such as shortage and expiration of medicinal materials, and ensure the safe and effective use of medicinal materials.

[0038] 4. Support decision-making and optimization. Through the rich data in the cloud-based medicinal material attribute feature library, medicinal material research institutions can deeply analyze the use and efficacy of medicinal materials, and provide a scientific basis for formulating and optimizing medicinal material use strategies. This helps to improve the utilization rate and efficacy of medicinal materials and reduce medical costs.

[0039] Preferably, the standardized name of the medicinal material is a Latin name.

[0040] This setting, 1. Enhanced international applicability. As the standardized name of medicinal materials, Latin names have wide international recognition. This enables the exchange and sharing of medicinal materials information on a global scale, promoting the international dissemination and application of Chinese medicinal materials.

[0041] 2. Latin names are precise and unique, and can accurately describe the species relationship of medicinal materials. By using Latin names as standardized names of medicinal materials, confusion or misuse of medicinal material information caused by differences in name translation or understanding can be avoided.

[0042] 3. Adding a field for the preparation method of medicinal materials to the coding format and matching it with the Latin name can ensure the accuracy and consistency of the preparation method of medicinal materials.

[0043] The present invention also provides a medicinal material information retrieval method, which uses the standard coding information of medicinal materials obtained by the medicinal material information processing method based on medicinal material coding to recommend alternative medicinal materials for a certain medicinal material, comprising the following steps:

[0044] In the first step, match the medicinal materials with the same first four fields as the query drug but different fifth fields; if the matched medicinal materials are not less than N kinds, randomly select N kinds as the medicinal materials search results and execute the sixth step; otherwise, record the number of medicinal materials A matched in the first step and go to the second step;

[0045] In the second step, match NA medicinal materials that have the same first three fields as the query drug and the smallest difference in the digital code of the drug name in the fourth field; if the number of matched drug types meets the requirement, take the N medicinal materials matched in the first two steps as the medicinal material search results and execute the sixth step; otherwise, record the cumulative number of matched medicinal materials B in the first two steps and go to the third step;

[0046] The third step is to match NB medicinal materials that have the same first two fields as the query drug and the smallest difference in the digital code of the plant source species in the third field; if the number of matched medicinal materials meets the requirement, the N medicinal materials matched in the first three steps are used as the medicinal material search results, and the sixth step is executed; otherwise, the cumulative number of matched medicinal materials C in the first three steps is recorded, and the process goes to the fourth step;

[0047] Step 4: Match NC medicinal materials that have the same first field as the query drug and the smallest difference in the digital code of the plant source genus in the second field; if the number of matched medicinal materials meets the requirement, take the N medicinal materials matched in the first four steps as the medicinal material search result and execute step 6; otherwise, record the cumulative number of matched medicinal materials D in the first three steps and go to step 5;

[0048] Step 5: match the ND medicinal materials with the smallest difference in the digital code of the plant source family in the first field of the query drug; and use the medicinal materials matched in the first five steps as the medicinal material search results, and execute step 6;

[0049] The sixth step is to recommend and output the matched medicinal material search results.

[0050] This setting, 1. Accurate matching and recommendation. The process first tries to match the medicinal materials with the same name as the query drug but different preparation methods, which is in line with the principle of "same name, different preparation" in clinical Chinese medicine. If there are enough such medicinal materials, they will be directly recommended, ensuring the accuracy and pertinence of the recommendation.

[0051] 2. Gradually expand the search scope. If the first step fails to match a sufficient number of medicinal materials, the process will gradually expand the search scope from the similarity of the medicinal material name (based on the difference in digital coding) to the similarity of the plant source family, genus, and species. This gradually deepening search strategy helps to find medicinal materials with similar efficacy in a wider range.

[0052] 3. Ensure the inventory of recommended medicinal materials. In the entire process, each step of the matching is based on the inventory of medicinal materials, ensuring that the recommended medicinal materials are actually available. This avoids delays or inconveniences in patients' medication due to the recommendation of out-of-stock medicinal materials.

[0053] 4. Improve recommendation efficiency. By gradually narrowing the search scope and setting matching conditions, the process can find alternative medicinal materials that meet the requirements in a shorter time, thus improving the efficiency of recommendations.

[0054] 5. Enhance the safety of medication. The design of the process fully considers the similarity of efficacy and safety between medicinal materials, avoiding the risks of medication caused by blind recommendations.

[0055] 6. The present invention makes full use of the coding logic for medicinal material information, so that the search and recommendation of alternative medicinal materials with similar therapeutic effects can be achieved only by matching and searching the medicinal material coding information, making the medicinal material information retrieval process very efficient and easy for computer system processing and execution. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to make the purpose, technical solution and advantages of the invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, in which:

[0057] Figure 1 It is a flow chart of an implementation method of a medicinal material information processing method based on medicinal material coding of the present invention;

[0058] Figure 2 This is an example diagram of an implementation of the medicinal material coding format in the medicinal material information processing method based on medicinal material coding of the present invention;

[0059] Figure 3 It is a flow chart of another embodiment of the method for processing medicinal material information based on medicinal material coding of the present invention;

[0060] Figure 4 The figure is a flow chart of the medicinal material information retrieval method of the present invention. DETAILED DESCRIPTION

[0061] The following is a further detailed description through specific implementation methods:

[0062] Example:

[0063] like Figure 1 As shown, this embodiment discloses a method for processing medicinal material information based on medicinal material coding, comprising the following steps:

[0064] S1. Prepare a coding format for medicinal materials; the coding format includes multiple fields, each field is used to represent different attribute characteristics of the medicinal materials, and the attribute characteristics include the standardized name of the medicinal materials.

[0065] The coding format includes four fields, namely the first field, the second field, the third field and the fourth field; wherein the first field is used to indicate the plant source family of the medicinal material; the second field is used to indicate the plant source genus of the medicinal material; the third field is used to indicate the plant source species of the medicinal material; and the fourth field is used to indicate the name of the medicinal material. In this way, the information of the medicinal material can be clearly layered and easy to understand and manage. By dividing the medicinal material information into four levels, namely the plant source family, genus, species and medicinal material name, the classification of the medicinal material is clearer, and each level represents different dimensional information of the medicinal material. This clearly layered coding method is not only convenient for information entry and retrieval, but also convenient for understanding and memorizing medicinal material information. At the same time, it is convenient for the classification and retrieval of medicinal material information. Through the family, genus and species information in the coding format, the medicinal materials can be easily classified, which is convenient for users to search and find according to the classification of the medicinal materials. At the same time, the medicinal material name, as the most specific identifier, also helps users quickly locate the required medicinal material information.

[0066] In specific implementation, in the coding format, each field contains multiple field bits; wherein, the high field bit of the first field is used to indicate the plant source field header code, and the other field bits are used to indicate the plant source family code; each field bit of the second field is used to indicate the plant source genus code; each field bit of the third field is used to indicate the plant source species code; the high field bit of the fourth field is used to indicate the medicinal material field header code, and the other field bits are used to indicate the medicinal material name code. By subdividing each field into multiple field bits and assigning each field bit a specific coding task, higher coding accuracy can be achieved. This helps to more accurately describe the plant source and name of the medicinal material, and reduce confusion and errors caused by coding ambiguity. In addition, the division of field bits makes the coding structure clearer and easier to read and understand. In particular, the high field bit is used to indicate the field header code, which helps to quickly identify the category and purpose of the code and improve the readability and comprehensibility of the coded information.

[0067] In the code of the first field, the code used to indicate the plant source family is a digital code, each plant source family corresponds to a unique digital code, and the closer the plant source families are, the smaller the difference in digital codes is;

[0068] In the coding of the second field, the coding of the plant source genus is a digital coding, each plant source genus corresponds to a unique digital coding, and the closer the different plant source genera are, the smaller the difference in the digital coding is;

[0069] In the coding of the third field, the coding of the plant source species is a digital coding, each plant source species corresponds to a unique digital coding, and the closer the plant source species are, the smaller the difference in the digital coding is;

[0070] In the code of the fourth field, the code used to indicate the name of the medicinal material is a digital code, each medicinal material name corresponds to a unique digital code, and the higher the similarity of the active ingredients that exert therapeutic effects between different medicinal material names, the smaller the difference in the digital codes.

[0071] Among them, the similarity of the active ingredients that play a therapeutic role between any two medicinal materials a and medicinal materials b with different medicinal material names is Sim ab The calculation formula is:

[0072]

[0073] In the formula, C a,i Indicates the unit weight content of the i-th active ingredient in medicinal material a; C b,i Indicates the unit weight content of the i-th active ingredient in medicinal material b; n ab Indicates the number of active ingredients that have therapeutic effects in both medicinal materials a and b; Sim abIndicates the similarity value of the active ingredients that play a therapeutic role between medicinal materials a and medicinal materials b, Sim ab The smaller the value, the higher the similarity.

[0074] The logic of this algorithm is: considering the common active ingredients between the two medicinal materials, calculate the content difference of each similar active ingredient in the two medicines respectively. a,i -C b,i |, and in order to avoid the influence of the difference in the content of different components, the average value of the two is taken (C a,i +C b,i ) / 2 as the denominator to normalize the numerator value; finally, the normalized values ​​of the content differences of various common active ingredients in the two drugs are added and averaged to obtain the active ingredient similarity Sim ab The smaller the value, the higher the similarity of the active ingredients in the two drugs. As for the similarity judgment between families, genera, and species from different plant sources, the division of botanical knowledge in the prior art shall prevail. The logic of adopting such coding is to reflect the similarity between the families, genera, species, and active ingredients of medicinal materials through the similarity of the encoded differences, so that it is convenient to carry out matching and recommendation processing of similar medicinal materials with the help of the coding of medicinal materials in the future, and consider giving priority to medicinal materials with similar families, genera, and species as possible as recommended medicinal materials, because medicinal materials with similar families, genera, and species are more likely to have similar active ingredients; of course, if a medicinal material with a higher similarity in active ingredients can be matched, it is the top priority recommendation choice.

[0075] In this way, by making the difference in digital codes reflect the similarity of the efficacy of medicinal materials, this coding method actually constructs an implicit classification system for the efficacy of medicinal materials. This helps doctors or pharmacists quickly find medicinal materials with similar efficacy when needed, thereby improving the accuracy and efficiency of clinical medication. In addition, the plant source family, genus, species and medicinal material name of each medicinal material correspond to a unique digital code, which ensures the uniqueness and accuracy of the code. In the management and retrieval process of medicinal material information, confusion and errors caused by repeated or ambiguous codes can be avoided. The standardized digital coding format helps to achieve standardized management of medicinal material information and improve the accuracy and consistency of information. At the same time, digital coding is also convenient for automatic recognition and processing by computer systems and software, providing strong support for the intelligent management of medicinal material information. In addition, since digital coding has a clear mathematical meaning, it can be conveniently used for data analysis and mining. By statistically analyzing and comparing medicinal material codes, valuable information such as the correlation between medicinal materials and the law of efficacy can be found, providing a scientific basis for the research and application of traditional Chinese medicine.

[0076] In specific implementation, the coding format also includes a fifth field, which is used to indicate the preparation method of the medicinal material; the fifth field contains multiple field bits, the high field bit is used to indicate the preparation field header code, and the other field bits are used to indicate the code of the preparation method type of the medicinal material. In this way, by adding the fifth field, the medicinal material coding format can now completely cover the whole process information of the medicinal material from the plant source to the preparation method of the medicinal material. This helps to provide comprehensive and accurate information support in all aspects of the procurement, production, and use of medicinal materials. In addition, different preparation methods may change the medicinal properties, efficacy, and scope of application of the medicinal material. By clarifying the coding of the preparation method of the medicinal material, more personalized medication recommendations can be provided to patients, improving the pertinence and effectiveness of medication.

[0077] As an example, the specific encoding format can be as follows Figure 2 and as shown in Table 1.

[0078] Table 1

[0079]

[0080] In specific implementation, the standardized name of the medicinal material is the Latin name. This setting enhances international applicability. As the standardized name of the medicinal material, the Latin name has wide international recognition. This enables the exchange and sharing of medicinal material information on a global scale, promoting the international dissemination and application of Chinese medicinal materials. In addition, the Latin name is precise and unique, and can accurately describe the species relationship of the medicinal material. By using the Latin name as the standardized name of the medicinal material, confusion or misuse of the medicinal material information caused by differences in name translation or understanding can be avoided. In addition, adding a field for the preparation method of the medicinal piece in the coding format and matching it with the Latin name can ensure the accuracy and consistency of the preparation method of the medicinal piece.

[0081] The standardized data processing process of medicinal materials is as follows:

[0082] 1) The name of the medicinal material can be saved as a procedural field name1, and then batch processed by the program. The processing process includes: deleting English and symbols, deduplicating the unstandardized name1 field, etc. After processing, the field name (i.e. the name of the drug before standardization) is obtained;

[0083] 2) Sort the name field;

[0084] 3) Manually process the name field and fill the processed decoction pieces and medicinal materials names into ypname and ycname respectively. The basis for processing the ypname and ycname data content is shown in Table 2.

[0085] Table 2

[0086]

[0087] Notes on handling: 1. The general rule is to standardize according to the definition of medicinal materials and decoction pieces, and the standardization behavior should be guided by national standards; the detailed rules are that if there are medicinal materials or decoction pieces that are difficult to standardize without violating the general rules, the detailed rules should be guided by the search logic;

[0088] 4) The program separates the medicinal material origin and the Latin name of the medicinal material and fills it into the Latin field;

[0089] 5) Establish a plant coding process data table in accordance with the national recommended standard "GB / T 14467-2021 Chinese Plant Classification and Code", as shown in Table 3.

[0090] Table 3

[0091]

[0092] The serial numbers of the preparation codes of medicinal materials are shown in Table 4.

[0093] Table 4

[0094]

[0095]

[0096] S2. Obtaining attribute characteristic information of each medicinal material according to each attribute characteristic of the coding format;

[0097] S3. Performing standardized coding processing on the acquired attribute characteristic information of the medicinal material according to the coding format described in S1, obtaining standard coding information of the medicinal material and storing it in a medicinal material attribute characteristic library in the cloud.

[0098] This method uses a standardized medicinal material coding format to uniformly manage and process medicinal material information. First, by formulating a coding format containing multiple fields, various attribute characteristics of medicinal materials are described comprehensively and accurately. Then, by obtaining the attribute characteristic information of the medicinal materials and performing standardized coding processing, the information of the medicinal materials is converted into standard coding information and stored in the medicinal material attribute characteristic library. When the medicinal materials need to be entered into the local system of the medical institution, only the standardized name of the medicinal materials is needed to match the corresponding standard coding information in the medicinal material attribute characteristic library, so that the attribute information of the medicinal materials can be quickly and accurately obtained, and the quantity of the medicinal materials in the library can be associated to complete the entry of the medicinal materials. Due to the standardization of medicinal material information, for local medical institutions, it can effectively avoid the situation where two or even multiple names are entered for a medicinal material; it can also avoid the situation where the doctor's calling habits are inconsistent with the entered name, resulting in the existence of a certain medicinal material in the medicinal material library but the doctor cannot find it. For medicinal material research institutions, due to the standardization of medicinal material information, the information of medicinal materials can be effectively screened and managed, so as to smoothly carry out medicinal material research work (such as network pharmacology, prescription big data, etc.).

[0099] After the above-mentioned medicinal material coding is performed on the medicinal material information by the method of the present invention and stored in the medicinal material attribute feature library, the medicinal material coding information can be used in the subsequent medicinal material information management. For example, as an application example, Figure 3 As shown, after executing the above steps S1 to S3, it also includes:

[0100] S4. When entering medicinal materials into the local system of a medical institution, the standardized name of the medicinal material and the preparation method of the medicinal material are used to match the corresponding standard coding information from the medicinal material attribute feature library as the attribute information of the medicinal material in the local system; then, the storage quantity of the medicinal material is associated as the entry information of the medicinal material in the local system; and, at a preset time interval, the entry information and usage information of the medicinal material in the local system are synchronized to the medicinal material attribute feature library in the cloud for use by medicinal material research institutions.

[0101] In this way, the efficiency of information entry can be improved. When entering medicinal materials, medical institutions can quickly match the corresponding standard coding information from the medicinal material attribute feature library by using the standardized name of the medicinal material and the preparation method of the medicinal piece. This avoids the tedious process of manually entering detailed information of the medicinal material and improves the efficiency and accuracy of information entry. It can also achieve unified management of medicinal material information. By using the standardized coding information of the medicinal material as the attribute information of the local system, medical institutions can achieve unified management of medicinal material information. This helps to ensure the accuracy and consistency of medicinal material information and facilitates the procurement, inventory management and use of medicinal materials. In addition, it is also convenient for medicinal material tracking and supervision. The number of associated medicinal materials in the warehouse, as the input information of the local system, helps medical institutions to track and supervise the inventory and use of medicinal materials in real time. This can timely discover and solve problems such as shortage and expiration of medicinal materials, and ensure the safe and effective use of medicinal materials. In addition, it also supports decision-making and optimization. Through the rich data in the cloud-based medicinal material attribute feature library, medicinal material research institutions can deeply analyze the use and efficacy of medicinal materials, etc., and provide a scientific basis for formulating and optimizing medicinal material use strategies. This will help improve the utilization and efficacy of medicinal materials and reduce medical costs.

[0102] This method uses a standardized medicinal material coding format to uniformly manage and process medicinal material information. First, by formulating a coding format containing multiple fields, various attribute characteristics of medicinal materials are described comprehensively and accurately. Then, by obtaining the attribute characteristic information of the medicinal materials and performing standardized coding processing, the information of the medicinal materials is converted into standard coding information and stored in the medicinal material attribute characteristic library. When the medicinal materials need to be entered into the local system of the medical institution, only the standardized name of the medicinal materials is needed to match the corresponding standard coding information in the medicinal material attribute characteristic library, so that the attribute information of the medicinal materials can be quickly and accurately obtained, and the quantity of the medicinal materials in the library can be associated to complete the entry of the medicinal materials. Due to the standardization of medicinal material information, for local medical institutions, it can effectively avoid the situation where two or even multiple names are entered for a medicinal material; it can also avoid the situation where the doctor's calling habits are inconsistent with the entered name, resulting in the existence of a certain medicinal material in the medicinal material library but the doctor cannot find it. For medicinal material research institutions, due to the standardization of medicinal material information, the information of medicinal materials can be effectively screened and managed, so as to smoothly carry out medicinal material research work (such as network pharmacology, prescription big data, etc.).

[0103] In addition, this method can also improve the accuracy and efficiency of medicinal material information processing. Through the standardized medicinal material coding format and attribute feature library, the accuracy and consistency of medicinal material information can be ensured, while reducing the workload of manual input and processing, and improving the efficiency of medicinal material information processing. Moreover, through the standard coding information of medicinal materials, the source, quality, use, etc. of medicinal materials can be easily traced, providing strong support for the quality control and safety management of medicinal materials.

[0104] The method also provides a medicinal material information retrieval method, which uses the standard coding information of medicinal materials obtained by the medicinal material information processing method based on medicinal material coding to search for alternative medicinal materials for a specified query medicinal material according to its standard coding information for recommendation, such as Figure 4 As shown, the following steps are included:

[0105] In the first step, match the medicinal materials with the same first four fields as the query drug but different fifth fields; if the matched medicinal materials are not less than N kinds, randomly select N kinds as the medicinal materials search results and execute the sixth step; otherwise, record the number of medicinal materials A matched in the first step and go to the second step;

[0106] In the second step, match NA medicinal materials that have the same first three fields as the query drug and the smallest difference in the digital code of the drug name in the fourth field; if the number of matched drug types meets the requirement, take the N medicinal materials matched in the first two steps as the medicinal material search results and execute the sixth step; otherwise, record the cumulative number of matched medicinal materials B in the first two steps and go to the third step;

[0107] The third step is to match NB medicinal materials that have the same first two fields as the query drug and the smallest difference in the digital code of the plant source species in the third field; if the number of matched medicinal materials meets the requirement, the N medicinal materials matched in the first three steps are used as the medicinal material search results, and the sixth step is executed; otherwise, the cumulative number of matched medicinal materials C in the first three steps is recorded, and the process goes to the fourth step;

[0108] Step 4: Match NC medicinal materials that have the same first field as the query drug and the smallest difference in the digital code of the plant source genus in the second field; if the number of matched medicinal materials meets the requirement, take the N medicinal materials matched in the first four steps as the medicinal material search result and execute step 6; otherwise, record the cumulative number of matched medicinal materials D in the first three steps and go to step 5;

[0109] Step 5: match the ND medicinal materials with the smallest difference in the digital code of the plant source family in the first field of the query drug; and use the medicinal materials matched in the first five steps as the medicinal material search results, and execute step 6;

[0110] The sixth step is to recommend and output the matched medicinal material search results.

[0111] By using this medicinal material information retrieval method, when a substitute medicinal material is needed for a certain medicinal material, a recommended substitute medicinal material can be quickly obtained. For example, in the process of drug research and development, if a certain medicinal material is difficult to obtain (such as due to high cost, being listed as a protected species, no stock in the medicinal material market, etc.), at this time, the medicinal material information retrieval method can be used to quickly obtain multiple most similar substitute medicinal materials through active ingredient analysis similar to network pharmacology.

[0112] Alternatively, when prescribing medicine, if a certain medicinal material is out of stock, the doctor in the medical institution can also use the medicinal material information retrieval method to obtain an alternative medicinal material for the medicinal material, and then select a suitable medicinal material based on the quantity of medicinal materials in stock.

[0113] Such a setting can achieve accurate matching and recommendation. The process first tries to match medicinal materials with the same medicinal material name as the query drug but different processing methods, which is in line with the principle of "same name, different preparation" in TCM clinical practice. If there are enough such medicinal materials, they will be directly recommended to ensure the accuracy and pertinence of the recommendation. In addition, if the first step fails to match a sufficient number of medicinal materials, the process will gradually expand the search scope, from the similarity of the medicinal material name (based on the difference in digital coding) to the similarity of the plant source family, genus, and species. This gradually deepening search strategy helps to find medicinal materials with similar efficacy in a wider range. It can also improve the efficiency of recommendations. By gradually narrowing the search scope and setting matching conditions, the process can find alternative medicinal materials that meet the requirements in a shorter time, improving the efficiency of recommendations. In addition, it can also enhance the safety of medication. The design of the process fully considers the similarity and safety of the efficacy between medicinal materials, avoiding the risks of medication caused by blind recommendations. At the same time, it can also be seen that the above-mentioned medicinal material information retrieval method process also fully utilizes the coding logic of the present invention for medicinal material information, so that only by matching and searching the medicinal material coding information, it is possible to realize the search and recommendation of replacement medicinal materials with similar therapeutic effects, making the medicinal material information retrieval processing process very efficient and easy for computer system processing and execution.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. A medicinal material information processing method based on medicinal material coding, characterized in that: The following steps are involved: S1. Prepare a coding format for medicinal materials; the coding format includes a plurality of fields, each field is used to represent different attribute characteristics of the medicinal materials, and the attribute characteristics include the standardized name of the medicinal materials; S2. Obtaining attribute characteristic information of each medicinal material according to each attribute characteristic of the coding format; S3. Performing standardized coding processing on the acquired attribute characteristic information of the medicinal material according to the coding format described in S1, obtaining standard coding information of the medicinal material and storing it in a medicinal material attribute characteristic library in the cloud.

2. The method for processing medicinal material information based on medicinal material coding according to claim 1, characterized in that: The encoding format includes four fields, namely the first field, the second field, the third field and the fourth field; wherein the first field is used to indicate the plant source family of the medicinal material; the second field is used to indicate the plant source genus of the medicinal material; the third field is used to indicate the plant source species of the medicinal material; and the fourth field is used to indicate the name of the medicinal material.

3. The method for processing medicinal material information based on medicinal material coding according to claim 2, characterized in that: In the encoding format, each field contains multiple field bits; wherein the high field bit of the first field is used to indicate the plant source field header code, and the other field bits are used to indicate the code of the plant source family; the various field bits of the second field are used to indicate the code of the plant source genus; the various field bits of the third field are used to indicate the code of the plant source species; the high field bit of the fourth field is used to indicate the medicinal material field header code, and the other field bits are used to indicate the code of the medicinal material name.

4. The method for processing medicinal material information based on medicinal material coding according to claim 3, characterized in that: In the code of the first field, the code used to indicate the plant source family is a digital code, each plant source family corresponds to a unique digital code, and the closer the plant source families are, the smaller the difference in digital codes is; In the coding of the second field, the coding of the plant source genus is a digital coding, each plant source genus corresponds to a unique digital coding, and the closer the different plant source genera are, the smaller the difference in the digital coding is; In the coding of the third field, the coding of the plant source species is a digital coding, each plant source species corresponds to a unique digital coding, and the closer the plant source species are, the smaller the difference in the digital coding is; In the code of the fourth field, the code used to indicate the name of the medicinal material is a digital code, each medicinal material name corresponds to a unique digital code, and the higher the similarity of the active ingredients that exert therapeutic effects between different medicinal material names, the smaller the difference in the digital codes.

5. The method for processing medicinal material information based on medicinal material coding according to claim 4, characterized in that: Sim similarity of active ingredients in therapeutic effect between any two medicinal materials a and b with different medicinal material names ab The calculation formula is: In the formula, C a,i Indicates the unit weight content of the i-th active ingredient in medicinal material a; C b,i Indicates the unit weight content of the i-th active ingredient in medicinal material b; n ab Indicates the number of active ingredients that have therapeutic effects in both medicinal materials a and b; Sim ab Indicates the similarity value of the active ingredients that play a therapeutic role between medicinal materials a and medicinal materials b, Sim ab The smaller the value, the higher the similarity.

6. The method for processing medicinal material information based on medicinal material coding according to claim 4, characterized in that: The coding format also includes a fifth field for indicating the preparation method of the medicinal material; The fifth field contains multiple field bits, the high field bits are used to indicate the medicinal material field header code, and the other field bits are used to indicate the code of the medicinal material preparation method type.

7. The method for processing medicinal material information based on medicinal material coding according to claim 6, characterized in that: After S3, it also includes S4: when the medicinal material is entered into the local system of the medical institution, the standardized name of the medicinal material and the preparation method of the medicinal piece are used to match the corresponding standard coding information from the medicinal material attribute feature library as the attribute information of the medicinal material in the local system; Afterwards, the inventory quantity of the medicinal material is associated as the entry information of the medicinal material in the local system; and, at a preset time interval, the entry information and usage information of the medicinal material in the local system are synchronized to the medicinal material attribute feature library in the cloud for use by medicinal material research institutions.

8. The method for processing medicinal material information based on medicinal material coding according to claim 1, characterized in that: The standardized names of medicinal materials are Latin names.

9. A method for retrieving medicinal material information, characterized in that: The method of using the standard coding information of the medicinal material obtained in claim 6 to search for and recommend alternative medicinal materials for a designated query medicinal material according to its standard coding information comprises the following steps: In the first step, match the medicinal materials with the same first four fields as the query drug but different fifth fields; if the matched medicinal materials are not less than N kinds, randomly select N kinds as the medicinal materials search results and execute the sixth step; otherwise, record the number of medicinal materials A matched in the first step and go to the second step; In the second step, match NA medicinal materials that have the same first three fields as the query drug and the smallest difference in the digital code of the drug name in the fourth field; if the number of matched drug types meets the requirement, take the N medicinal materials matched in the first two steps as the medicinal material search results and execute the sixth step; otherwise, record the cumulative number of matched medicinal materials B in the first two steps and go to the third step; The third step is to match NB medicinal materials that have the same first two fields as the query drug and the smallest difference in the digital code of the plant source species in the third field; if the number of matched medicinal materials meets the requirement, the N medicinal materials matched in the first three steps are used as the medicinal material search results, and the sixth step is executed; otherwise, the cumulative number of matched medicinal materials C in the first three steps is recorded, and the process goes to the fourth step; Step 4: Match NC medicinal materials that have the same first field as the query drug and the smallest difference in the digital code of the plant source genus in the second field; if the number of matched medicinal materials meets the requirement, take the N medicinal materials matched in the first four steps as the medicinal material search result and execute step 6; otherwise, record the cumulative number of matched medicinal materials D in the first three steps and go to step 5; Step 5: match the ND medicinal materials with the smallest difference in the digital code of the plant source family in the first field of the query drug; and use the medicinal materials matched in the first five steps as the medicinal material search results, and execute step 6; The sixth step is to recommend and output the matched medicinal material search results.