A system and method for building a shared database of ancient Chinese medicine books based on metadata

Through a construction system based on metadata, a metadata index of multi-level regional elements is established, and the source of content in traditional Chinese medicine is read step by step, which solves the problem of scattered and shared Chinese medicine ancient books and documents, and improves reading efficiency and division accuracy.

CN114783617BActive Publication Date: 2025-05-02HEFEI NORMAL UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210500895.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2025-05-02
Estimated Expiration
2042-05-10

AI Technical Summary

Technical Problem

The ancient Chinese medicine documents in various provinces and regions are scattered and cannot be shared, resulting in the inability to obtain excellent inheritance of medical materials in previous dynasties.

Method used

Using a metadata-based construction system, by establishing a metadata index of multi-level regional elements, reading the content sources of traditional Chinese medicine step by step, identifying and marking the target content sources that meet regional elements, extracting bibliography and summary information to store them in a shared database.

Benefits of technology

It improves the reading efficiency of the content sources of traditional Chinese medicine ancient books, ensures the accuracy of the division of traditional Chinese medicine ancient books and documents in the region, and avoids the problems of cumbersome data processing and low reading efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114783617B_ABST
    Figure CN114783617B_ABST
Patent Text Reader

Abstract

The present invention relates to a system and method for constructing a shared database of ancient Chinese medicine books based on metadata. The system includes a metadata index establishment module, a reading and marking module, an information extraction module, a shared database, and an adjustment control module; the method includes S1. establishing a metadata index based on preset regional elements with different weight priorities; S2. using the metadata index to read the Chinese medicine content source according to different weight priorities to identify and mark the target Chinese medicine content source that meets the regional elements; S3. extracting the bibliographic and abstract information in the target Chinese medicine content source, and storing the bibliographic and abstract information in the shared database. The present invention can increase the reading efficiency of the Chinese medicine content source by identifying it step by step according to different weight priorities, and avoid the problems of cumbersome data processing, large memory usage, low reading efficiency, etc. caused by all levels of regional elements participating in the index.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of ancient book document arrangement, and specifically relates to a metadata-based traditional Chinese medicine ancient book shared database construction system and method. Background Art

[0002] At present, most of the ancient Chinese medicine documents in various provinces and regions are scattered across the country. There are a large number of medical documents in each region, which have been dormant for a long time. There is still a long way to go to rescue and excavate them. For example, in Anhui, there has not been a database that can be shared specifically for the bibliographic abstract information of ancient Chinese medicine books in various regions, resulting in the inability to inherit the medical materials of past dynasties in a good way. Summary of the invention

[0003] The purpose of the present invention is to provide a metadata-based traditional Chinese medicine ancient books shared database construction system and method in order to solve the above problems.

[0004] The present invention achieves the above-mentioned purpose through the following technical solutions:

[0005] A method for constructing a shared database of ancient Chinese medicine books based on metadata comprises the following steps:

[0006] S1. Establishing metadata index based on regional elements with different weight priorities;

[0007] S2. Using the metadata index to read the TCM content source according to different weight priorities to identify and mark the target TCM content source that meets the regional elements;

[0008] S3 extracts the target Chinese medicine content source bibliographic and abstract information, and stores the bibliographic and abstract information in a shared database;

[0009] Wherein, in step S2, for multiple TCM content sources, the number of metadata indexes of each priority level is adjusted to achieve simultaneous reading of at least two TCM content sources.

[0010] As a further optimization scheme of the present invention, the regional elements with different weight priorities include a first regional element, a second regional element...an nth regional element with increasing weights, and the metadata index established thereby includes a first metadata index, a second metadata index...an mth metadata index.

[0011] As a further optimization scheme of the present invention, the method described in step S2 for reading TCM content sources according to different weight priorities based on metadata indexes to identify and mark target TCM content sources that meet the regional elements includes:

[0012] S201. Start the first metadata index to read the TCM content source, and identify whether there is first regional element data matching the first regional element in the TCM content source. If so, mark the first regional element data and proceed to step S202. Otherwise, the reading ends.

[0013] S202. Start the second metadata index to read the TCM content source, and identify whether there is a second regional element data matching the second regional element in the TCM content source. If so, mark the second regional element data and proceed to step S203. Otherwise, the reading ends.

[0014] S203. The process is deduced in this way until all metadata indexes read the TCM content source, and identify and mark the regional element data in the TCM content source that matches all regional elements.

[0015] As a further optimization scheme of the present invention, in steps S201-S203, when regional element data matching the regional element is identified during the reading process of the TCM content source, the current metadata index continues to read the remaining content of the TCM content source, and immediately starts the next level metadata index to read the TCM content source.

[0016] As a further optimization solution of the present invention, in steps S201-S203, the method for marking the regional element data includes: marking the regional element data marked by each priority metadata index with a different color.

[0017] As a further optimization scheme of the present invention, in step S201, when the identified TCM content source does not contain the first regional element data matching the first metadata index target, the reading is terminated and the TCM content source stored in the first metadata index is cleared.

[0018] As a further optimization scheme of the present invention, before step S3, the TCM content source marked with regional element data is sent to the expert end, and the expert end determines whether the TCM content source belongs to the TCM content source of the target region based on the regional element data and preset regional elements with different weight priorities. If it is consistent, step S3 is performed, otherwise, all TCM content sources stored in the metadata index are cleared.

[0019] As a further optimization scheme of the present invention, the method for adjusting the number of metadata indexes of each priority level includes: timely replacing the regional elements in the metadata indexes of each priority level according to the number of TCM content sources read simultaneously, so that the priority level of the metadata index is changed.

[0020] A shared database construction system for implementing the above-mentioned metadata-based traditional Chinese medicine ancient books shared database construction method, the shared database construction system comprising:

[0021] A metadata index building module, which builds metadata indexes based on preset regional elements with different weight priorities;

[0022] A reading and marking module, which uses the metadata index to read the TCM content sources according to different weight priorities to identify and mark the target TCM content sources that meet the regional elements;

[0023] An information extraction module, which is used to extract bibliographic and abstract information from the target TCM content source, and store the bibliographic and abstract information in a shared database;

[0024] A shared database, which is used to store the bibliographic and abstract information and share the bibliographic and abstract information on a network platform;

[0025] The adjustment control module is used to timely replace the regional elements in the metadata index of each priority level according to the number of TCM content sources read simultaneously.

[0026] The reading mark modules are set to be multiple, each reading mark module is implanted with a metadata index, and the adjustment control module can also realize simultaneous reading of at least two traditional Chinese medicine content sources by replacing the entire metadata index in the reading mark module.

[0027] The beneficial effects of the present invention are:

[0028] 1) The present invention sets regional elements according to different weight priorities, establishes a multi-level metadata index with multi-level regional elements, and reads and identifies the TCM content source level by level according to the metadata index with different weight priorities when reading the TCM content source, so that the certainty that the TCM content source conforms to the target region's ancient TCM literature increases level by level, thereby ensuring the accuracy of the division of regional TCM ancient literature. This method can increase the reading efficiency of the TCM content source by identifying level by level according to different weight priorities, and avoids the problems of cumbersome data processing, large memory usage, low reading efficiency, etc. caused by all levels of regional elements participating in the index;

[0029] 2) The present invention can replace and adjust the regional elements of different weight priorities in each metadata index, so that the number of metadata indexes at each level can be adjusted according to the TCM content source, and can realize the simultaneous reading of at least two TCM content sources, thereby accelerating the reading efficiency of the TCM content source;

[0030] 3) The present invention can also replace the entire metadata index in each reading and identification module, so that the number of metadata indexes at each level can be adjusted according to the TCM content source, and the simultaneous reading of at least two TCM content sources can be achieved, thereby speeding up the reading efficiency of the TCM content source. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flow chart of the overall method of the present invention.

[0032] Figure 2 It is a system block diagram of the present invention.

[0033] Figure 3 It is a flow chart of reading the content source of traditional Chinese medicine of the present invention.

[0034] In the figure: 1. Metadata index establishment module; 2. Reading mark module; 3. Information extraction module; 4. Shared database; 5. Adjustment control module; 6. Expert end. DETAILED DESCRIPTION

[0035] The present application is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out here that the following specific implementation methods are only used to further illustrate the present application and cannot be understood as limiting the scope of protection of the present application. Technical personnel in this field can make some non-essential improvements and adjustments to the present application based on the above application content.

[0036] In the description of the present invention, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention; in the description of the present invention, unless otherwise specified, "multiple" and "several" mean two or more.

[0037] Example 1

[0038] like Figure 1-3 As shown, a metadata-based traditional Chinese medicine ancient books shared database construction system includes:

[0039] A metadata index building module 1, which builds a metadata index based on preset regional elements with different weight priorities;

[0040] A reading and marking module 2, which uses the metadata index to read the TCM content source according to different weight priorities to identify and mark the target TCM content source that meets the regional element;

[0041] An information extraction module 3, which is used to extract bibliographic and abstract information from the target TCM content source, and store the bibliographic and abstract information in a shared database 4;

[0042] A shared database 4, which is used to store the bibliographic and abstract information and share the bibliographic and abstract information on a network platform;

[0043] The adjustment control module 5 is used to timely replace the regional elements in the metadata index of each priority level according to the number of TCM content sources read simultaneously.

[0044] The reading mark module 2 is set to be multiple, and a metadata index is implanted in each reading mark module 2. According to the metadata indexes with different weight priorities, the multiple reading mark modules 2 are also divided into multiple levels according to the priority. The adjustment control module 5 can also realize the simultaneous reading of at least two traditional Chinese medicine content sources by replacing the entire metadata index in the reading mark module 2.

[0045] The method for constructing a shared database of ancient Chinese medicine books using the metadata-based shared database construction system of ancient Chinese medicine books comprises the following steps:

[0046] S1. Establishing a metadata index based on preset regional elements with different weight priorities; the regional elements with different weight priorities include a first regional element, a second regional element ... an nth regional element with increasing weights, and the metadata index established thereby includes a first metadata index, a second metadata index ... an mth metadata index;

[0047] Taking Anhui as an example, the first regional element may include names related to Anhui, names of regions below the provincial level of Anhui, names of authors whose native place is Anhui, names of authors who live in Anhui, etc., and those related to regions include names used in Anhui regions in past dynasties;

[0048] The second regional element may include some diagnostic methods, treatment methods, herbal plants and related diseases originating from Anhui; generally speaking, the TCM content source with the second regional element must also have the first regional element;

[0049] The third regional element to the nth regional element and so on, as long as it can be gradually determined that the source of the TCM content is the ancient TCM books and documents of Anhui;

[0050] S2. Using the metadata index to read the TCM content source according to different weight priorities to identify and mark the target TCM content source that meets the regional elements;

[0051] Specific methods include:

[0052] S201. Start the first metadata index to read the TCM content source, and identify whether there is first regional element data matching the first regional element in the TCM content source. If so, mark the first regional element data and proceed to step S202. Otherwise, end the reading and clear the TCM content source stored in the first metadata index.

[0053] S202. Start the second metadata index to read the TCM content source, and identify whether there is a second regional element data matching the second regional element in the TCM content source. If so, mark the second regional element data and proceed to step S203. Otherwise, the reading ends.

[0054] S203. And so on, until all metadata indexes read the TCM content source, and identify and mark the regional element data in the TCM content source that matches all regional elements;

[0055] When regional element data matching the regional element is identified during the reading process of the TCM content source, the current metadata index continues to read the remaining content of the TCM content source, and immediately starts the next level of metadata index to read the TCM content source;

[0056] In addition, the regional element data of each priority metadata index tag is marked with different colors;

[0057] S3. Send the TCM content source marked with the regional element data to the expert terminal 6, and the expert terminal 6 determines whether the TCM content source belongs to the TCM content source of the target region based on the regional element data and the preset regional elements with different weight priorities. If it is consistent, step S4 is performed, otherwise the TCM content source stored in all metadata indexes is cleared;

[0058] S4 extracts the target Chinese medicine content source bibliographic and abstract information, and stores the bibliographic and abstract information in the shared database 4;

[0059] In addition, in step S2, for multiple TCM content sources, the number of metadata indexes of each priority level is adjusted to achieve simultaneous reading of at least two TCM content sources;

[0060] Method 1: The number of metadata indexes at each level can be set in advance according to the number of TCM content sources to be read. For example, the number of metadata indexes from the first to the mth metadata index can be gradually reduced, because no matter how many TCM content sources need to be read from the first metadata index, the probability that the regional element data can be identified by the first metadata index will basically not reach 100%, and may even be 0. Therefore, it is more in line with the actual situation to set a larger number of first metadata indexes. In this way, the number of TCM data sources that can enter the second metadata index for reading is less than the first metadata index. Therefore, the number of second metadata indexes can be set lower than the first metadata index. Similarly, the higher the priority level, the lower the number of metadata indexes can be set; and the number of all metadata indexes can be set according to the running memory of the entire system, etc.;

[0061] Specifically, for example, there are 6 TCM content sources coming in, and a total of 8 metadata indexes are set, and the 8 metadata indexes have a total of 4 levels. At this time, the first metadata index can be set to 3, the second metadata index to 2, the third metadata index to 2, and the fourth metadata index to 1. At this time, the 3 first metadata indexes can be used to read the three TCM content sources first. After the reading is completed, continue to read the remaining three TCM content sources. The overall process can be divided into two waves, which speeds up the reading efficiency.

[0062] Method 2: According to the number of TCM content sources read simultaneously, timely replace the regional elements of the metadata index in each priority reading mark module 2 or directly replace the entire metadata index in each priority reading mark module 2, so that the priority level of the metadata index is changed;

[0063] Specifically, for example, a total of 8 metadata indexes are set in the system, and initially each level has 2 metadata indexes. When 6 TCM content sources come in at the same time, the fourth regional element of the fourth metadata index in the fourth reading and identifying module can be adjusted to the first regional element, or the fourth metadata index in the fourth reading and identifying module can be directly replaced with the first metadata index. Both methods are acceptable.

[0064] After the adjustment, the first metadata index is 3, the second metadata index is 2, the third metadata index is 2, and the fourth metadata index is 1. At this time, the three first metadata indexes can be used to first read the three TCM content sources. After the reading is completed, the remaining three TCM content sources can be read. The whole process can be divided into two waves, which speeds up the reading efficiency.

[0065] When more TCM content sources are read, the first metadata index can be adjusted to 4, and the second metadata index can be adjusted to 4. After the first metadata index finishes reading the 4 TCM content sources, it is determined how many of them meet the first regional element. If there are 4, the 4 second metadata indexes directly take over the 4 TCM content sources. At this time, the first metadata index is temporarily adjusted to the third metadata index. After the second metadata index finishes reading the 4 TCM content sources, it is determined how many of them meet the second regional element. If there are 4, the 4 third metadata indexes directly take over the 4 TCM content sources. The second metadata index that has just been read is temporarily adjusted to the fourth metadata index. After the third metadata index finishes reading the 4 TCM content sources, it is determined how many of them meet the third regional element. If there are 4, the 4 fourth metadata indexes directly take over the 4 TCM content sources until the reading is completed.

[0066] The above situation is rarely seen. Generally, after the first metadata index finishes reading 4 TCM content sources, not all of the 4 TCM content sources will conform to the first regional element. When 2 TCM content sources conform to the first regional element, the second metadata index can be adjusted to 2, and the third metadata index can be adjusted to 2. After the 4 first metadata indexes are read, the two TCM content sources that do not conform to the first regional element are deleted, and the two conforming ones are transferred to the 2 second metadata indexes. At this time, the 4 first metadata indexes can continue to read the remaining 4 TCM content sources. When both TCM content sources conform to the second regional element, they are transferred to the 2 third metadata indexes. At this time, the 2 second metadata indexes are adjusted to the 2 fourth metadata indexes until the reading is completed. The above steps are repeated to realize the processing of 8 TCM content sources in two waves, which is more efficient. Compared with method one, this method is more flexible and has higher reading efficiency.

[0067] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A method for constructing a shared database of ancient Chinese medicine books based on metadata, characterized by: The following steps are involved: S1. Establishing metadata index based on regional elements with different weight priorities; S2. Using the metadata index to read the TCM content source according to different weight priorities to identify and mark the target TCM content source that meets the regional elements; S3 extracts the target Chinese medicine content source bibliographic and abstract information, and stores the bibliographic and abstract information in a shared database; Wherein, in step S2, for multiple TCM content sources, the number of metadata indexes of each priority level is adjusted to achieve simultaneous reading of at least two TCM content sources; The regional elements with different weight priorities include a first regional element, a second regional element ... an nth regional element with increasing weights, and the metadata index established thereby includes a first metadata index, a second metadata index ... an mth metadata index; The method described in step S2 of reading TCM content sources according to different weight priorities based on metadata indexes to identify and mark target TCM content sources that meet the regional elements includes: S201. Start the first metadata index to read the TCM content source, and identify whether there is first regional element data matching the first regional element in the TCM content source. If so, mark the first regional element data and proceed to step S202. Otherwise, the reading ends. S202. Start the second metadata index to read the TCM content source, and identify whether there is a second regional element data matching the second regional element in the TCM content source. If so, mark the second regional element data and proceed to step S203. Otherwise, the reading ends. S203. And so on, until all metadata indexes read the TCM content source, and identify and mark the regional element data in the TCM content source that matches all regional elements; The method for adjusting the number of metadata indexes of each priority level includes: timely replacing the regional elements in the metadata indexes of each priority level according to the number of TCM content sources read simultaneously, so that the priority level of the metadata indexes is replaced.

2. The method for constructing a shared database of ancient Chinese medicine books based on metadata according to claim 1, characterized in that: In steps S201-S203, when regional element data matching the regional element is identified during the reading process of the TCM content source, the current metadata index continues to read the remaining content of the TCM content source, and immediately starts the next level metadata index to read the TCM content source.

3. The method for constructing a shared database of ancient Chinese medicine books based on metadata according to claim 1, characterized in that: In steps S201-S203, the method for marking the regional element data includes: marking the regional element data marked by each priority metadata index with a different color.

4. The method for constructing a shared database of ancient Chinese medicine books based on metadata according to claim 1, characterized in that: In step S201, when the first regional element data matching the first metadata index target does not exist in the identified TCM content source, the reading is terminated and the TCM content source stored in the first metadata index is cleared.

5. The method for constructing a shared database of ancient Chinese medicine books based on metadata according to claim 1, characterized in that: Before step S3, the TCM content source marked with regional element data is sent to the expert end, and the expert end determines whether the TCM content source belongs to the TCM content source of the target region based on the regional element data and preset regional elements with different weight priorities. If it is consistent, step S3 is performed, otherwise, all TCM content sources stored in the metadata index are cleared.

6. A shared database construction system for implementing the metadata-based traditional Chinese medicine ancient books shared database construction method of claim 1, characterized in that: The shared database construction system comprises: A metadata index building module, which builds metadata indexes based on preset regional elements with different weight priorities; A reading and marking module, which uses the metadata index to read the TCM content sources according to different weight priorities to identify and mark the target TCM content sources that meet the regional elements; An information extraction module, which is used to extract bibliographic and abstract information from the target TCM content source, and store the bibliographic and abstract information in a shared database; A shared database, which is used to store the bibliographic and abstract information and share the bibliographic and abstract information on a network platform; The adjustment control module is used to timely replace the regional elements in the metadata index of each priority level according to the number of TCM content sources read simultaneously.

7. A metadata-based traditional Chinese medicine ancient books shared database construction system according to claim 6, characterized in that: The reading mark modules are set to be multiple, and a metadata index is implanted in each reading mark module. The adjustment control module can also realize simultaneous reading of at least two traditional Chinese medicine content sources by replacing the entire metadata index in the reading mark module.

Citation Information

Patent Citations

  • Metadata indexing module and method based on cloud platform

    CN103744960A

  • Scope Based Indexing Prioritization

    US20100161570A1