A method, system, medium and product for tracing the origin of traditional Chinese medicine based on knowledge graph

By using knowledge graphs to store and integrate data sources in the traditional Chinese medicinal materials traceability blockchain, the problem of information islands in the traditional Chinese medicinal materials traceability process is solved, and efficient data sources are efficiently communicated and shared and the accuracy and efficiency of traceability information are improved.

CN119537614BActive Publication Date: 2025-05-02CONITECH (BEIJING) MANAGEMENT SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510082730.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-02
Estimated Expiration
2045-01-20

AI Technical Summary

Technical Problem

Due to the lack of an effective data correlation mechanism during the traceability process of traditional Chinese medicinal materials, the independent data sources cannot be efficiently communicated and shared, forming an information island, affecting the accuracy and efficiency of traceable information.

Method used

Using a knowledge graph-based method, the data sources of Chinese medicinal materials in each traceability link are stored in the traceability blockchain, and the data sources in the form of a knowledge graph are stored and integrated to realize the interconnection of data sources in different traceability links, and the security and privacy of data are ensured by integrating traceability permissions and identity verification mechanisms.

Benefits of technology

It improves the efficiency and accuracy of the traceability process of traditional Chinese medicinal materials, reduces the probability of information silos, ensures the security and privacy of data, and realizes efficient interoperability and sharing of data sources in different traceability links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537614B_ABST
    Figure CN119537614B_ABST
Patent Text Reader

Abstract

The present application relates to the field of traceability technology, and in particular to a method, system, medium and product for tracing the source of Chinese herbal medicines based on a knowledge graph. The method includes: when a traceability requirement is detected, at least one block to be traced is determined from the traceability blockchain based on the traceability requirement, and each block to be traced stores a traceability knowledge graph of the corresponding traceability link; based on all the blocks to be traced, integrated traceability authority is determined, and integrated identity authentication information is generated based on the integrated traceability authority, and the integrated identity authentication information is authenticated; when the identity authentication is detected to be passed, the Chinese herbal medicine traceability information is determined based on the traceability requirement and the traceability knowledge graph corresponding to each block to be traced. The present application facilitates reducing the probability of information islands appearing in the process of tracing the source of Chinese herbal medicines, thereby improving the accuracy and efficiency of determining the traceability information of Chinese herbal medicines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of traceability technology, and in particular to a method, system, medium and product for tracing the origin of traditional Chinese medicine based on a knowledge graph. Background Art

[0002] With the improvement of living standards and the popularization of health knowledge, consumers' attention to health has increased significantly. More and more people have begun to pay attention to health preservation and disease prevention. Traditional Chinese medicine is favored for its unique efficacy and safety. The rapid development of Internet technology has made online sales an important channel for the traditional Chinese medicine market. Consumers can easily purchase various traditional Chinese medicine products through e-commerce platforms and enjoy a convenient and efficient shopping experience. At the same time, since the quality and safety of traditional Chinese medicines are directly related to their efficacy and the health of patients, more and more consumers have the need to trace the source of traditional Chinese medicines.

[0003] The common method of tracing the source of Chinese medicinal materials is generally to record the data sources of the planting, processing, circulation and other links of Chinese medicinal materials on the blockchain to achieve full traceability of Chinese medicinal materials. However, since the traceability of Chinese medicinal materials may involve multiple links and multiple departments, each link and department has its own data management system and data storage method. Although the use of blockchain for information recording can improve the transparency and credibility of Chinese medicinal materials to a certain extent, due to the lack of an effective data association mechanism, each independent data source may not be able to achieve efficient interoperability and sharing, which may lead to the inability to effectively integrate the data sources. Summary of the invention

[0004] In order to reduce the probability of information islands appearing in the process of Chinese medicinal materials traceability, thereby improving the accuracy and efficiency of determining Chinese medicinal materials traceability information, the present application provides a Chinese medicinal materials traceability method, system, medium and product based on a knowledge graph.

[0005] In the first aspect, the present application provides a method for tracing the origin of Chinese medicinal materials based on a knowledge graph, which adopts the following technical solution:

[0006] A method for tracing the origin of traditional Chinese medicine based on knowledge graph, comprising:

[0007] When a traceability requirement is detected, at least one block to be traced is determined from the traceability blockchain based on the traceability requirement, and each block to be traced stores a traceability knowledge graph of the corresponding traceability link;

[0008] Determine the integrated traceability authority based on all the blocks to be traced, generate integrated identity verification information based on the integrated traceability authority, and authenticate the identity of the integrated identity verification information;

[0009] When it is detected that the identity authentication is passed, the traceability information of the Chinese medicinal materials is determined based on the traceability requirements and the traceability knowledge graph corresponding to each block to be traced.

[0010] By adopting the above technical solution, by storing the data sources of Chinese medicinal materials in each traceability link in the form of a knowledge graph, it is convenient to make the data source easier to understand and query, which is helpful to quickly locate the required information in the traceability process, and accurately locate the block to be traced from the traceability blockchain according to the traceability needs, so as to avoid the interference of irrelevant information, thereby facilitating the improvement of the efficiency of the traceability process of Chinese medicinal materials. By determining the integrated traceability authority and generating integrated identity authentication information, it is convenient to integrate the data sources of different traceability links, while ensuring that only entities with corresponding permissions can access and integrate the traceability data, thereby facilitating the protection of the security and privacy of the data sources in each link. In addition, by storing the traceability knowledge graph in the block of the blockchain, and integrating different traceability blocks based on the traceability needs, it is convenient to realize the interconnection of data sources in different traceability links, effectively reducing the probability of information islands appearing in the traceability process of Chinese medicinal materials, thereby facilitating the improvement of the accuracy and efficiency of determining the traceability information of Chinese medicinal materials.

[0011] In one possible implementation, the process of constructing the traceability knowledge graph in the traceability block includes:

[0012] Identify the block properties of the traceability block to be constructed, and determine a parameter combination between each Chinese medicinal material in the block data source and the block property based on the block data source and the block property, each parameter combination including a corresponding Chinese medicinal material identifier and at least one property parameter;

[0013] According to the number of parameters including the property parameters in each parameter combination, the medicinal material atlas position of the corresponding Chinese medicinal material is determined;

[0014] Based on the determination order of the map positions of each medicinal material, the determination order of the parameter map of each property parameter is determined;

[0015] Determine the order and combination of each parameter based on each parameter map, and determine the relevant Chinese medicinal materials for each property parameter;

[0016] Based on the parameter map determination order of each property parameter and the medicinal material map position corresponding to the relevant Chinese medicinal materials, the parameter map position of each property parameter is determined;

[0017] Based on the medicinal material atlas position of each Chinese medicinal material in each parameter combination and the parameter atlas position of at least one property parameter corresponding to each Chinese medicinal material identification, a traceability knowledge graph corresponding to the traceability block to be constructed is constructed.

[0018] By adopting the above technical solution, a parameter combination related to the block property is determined for each Chinese medicinal material through the block data source and the block property, including a Chinese medicinal material identification and at least one property parameter, so as to facilitate subsequent cross-block information interaction based on the Chinese medicinal material identification, and determine the position of each Chinese medicinal material in the traceability knowledge graph by analyzing the number of parameters corresponding to each Chinese medicinal material identification, so as to facilitate highlighting key Chinese medicinal materials in the early stage of the traceability knowledge graph construction, thereby facilitating the improvement of the convenience of querying and browsing key Chinese medicinal materials. In addition, the parameter map determination order of each property parameter is determined by the determination order of the medicinal material map position, so as to ensure that the construction process of the traceability knowledge graph is orderly and efficient, and the parameter map position of each property parameter is constructed by combining the parameter map determination order and the medicinal material map position of the relevant Chinese medicinal materials, so as to facilitate the display of the corresponding property parameters of the Chinese medicinal materials, and also intuitively display the association between different Chinese medicinal materials.

[0019] In a possible implementation, when the relevant quantity of the target property parameter corresponding to the relevant Chinese medicinal material is higher than a preset threshold, the method further includes:

[0020] According to the medicinal material atlas position corresponding to each relevant Chinese medicinal material, determine the position level corresponding to each relevant Chinese medicinal material, and judge whether there is a Chinese medicinal material of concern based on the position level corresponding to each relevant Chinese medicinal material;

[0021] If so, the parameter map position corresponding to the target property parameter is adjusted based on the map position of the Chinese medicinal material of concern.

[0022] By adopting the above technical scheme, by analyzing the medicinal material atlas positions of various relevant Chinese medicinal materials corresponding to the target property parameters, it is convenient to understand the importance of different relevant Chinese medicinal materials. When determining the parameter atlas positions corresponding to the target property parameters, adjustments are made based on the importance of each relevant Chinese medicinal material, so as to highlight the importance and differences of different relevant Chinese medicinal materials in the target property parameter dimension, thereby facilitating the optimization of the overall layout of the traceability knowledge graph, and then facilitating the improvement of the readability of the traceability knowledge graph.

[0023] In a possible implementation, determining the Chinese medicinal material traceability information based on the traceability requirement and the traceability knowledge graph corresponding to each block to be traced includes:

[0024] Based on the traceability requirements, determine the information to be integrated from the traceability knowledge graphs corresponding to the blocks to be traced;

[0025] Based on the block properties corresponding to each block to be traced and the traceability requirements, determine the framework type of each block to be traced, and the framework type includes a main framework and a supplementary framework;

[0026] Information integration is performed based on the information to be integrated and the framework type corresponding to each block to be traced to obtain the Chinese medicinal material traceability information.

[0027] By adopting the above technical solution, the information to be integrated is determined from the traceability knowledge graph corresponding to each block to be traced according to the traceability requirements, so as to ensure the pertinence and accuracy of the information integration process, thereby avoiding the interference of irrelevant information. In addition, by analyzing the framework type of each block to be traced, it is convenient to improve the clarity and orderliness of the information integration process, thereby improving the efficiency of the information integration process.

[0028] In a possible implementation, after determining the Chinese medicinal material traceability information, the method further includes:

[0029] Integrate the Chinese medicinal material traceability information into a traceability code;

[0030] Determine the traceability validity corresponding to the current moment according to the update frequency of each block to be traced;

[0031] The traceability time is added to the traceability code to obtain a time traceability code.

[0032] By adopting the above technical solution, by integrating the traceability information of Chinese medicinal materials into the traceability code, it is convenient to realize the centralized management and convenient query of the traceability information of Chinese medicinal materials. In addition, the traceability time limit corresponding to the current moment is determined according to the update frequency of each block to be traced, so as to ensure the timeliness and accuracy of the traceability information of the Chinese medicinal materials corresponding to the traceability code. Through the setting of the traceability time limit, it is convenient for relevant visitors to understand the latest status of the traceability information of the Chinese medicinal materials corresponding to the traceability code, so as to avoid misunderstandings or decision-making errors caused by information lags.

[0033] In one possible implementation, the method further includes:

[0034] When the integrated traceability authority is higher than the preset standard authority, the spot check verification content and spot check verification frequency are determined based on the integrated traceability authority;

[0035] Based on the spot check verification content and the spot check verification frequency, spot check relevant visitors during the visit stage;

[0036] The feedback accuracy and feedback rate of the relevant visitors within a preset time period are counted to adjust the displayable content of the Chinese herbal medicine traceability information.

[0037] By adopting the above technical solution, when the integrated traceability authority is high, the spot check and verification content and the spot check and verification frequency are determined based on the integrated traceability authority, and spot checks are conducted on relevant visitors based on this, so as to facilitate timely discovery of potential errors or improper behaviors of relevant visitors, and by taking defensive measures such as adjusting the displayable content, it is convenient to ensure the accuracy and completeness of the traceability information.

[0038] In the second aspect, the present application provides a traceability system, which adopts the following technical solution:

[0039] A traceability system, the traceability system comprising:

[0040] at least one processor;

[0041] Memory;

[0042] At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the above-mentioned Chinese medicinal material traceability method based on knowledge graph.

[0043] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0044] A computer-readable storage medium, comprising: a computer program that can be loaded by a processor and execute the above-mentioned Chinese medicinal material traceability method based on knowledge graph.

[0045] In a fourth aspect, the present application provides a computer program product, which adopts the following technical solution:

[0046] A computer program product includes a computer program, which, when executed by a processor, implements the above-mentioned Chinese medicinal material traceability method based on knowledge graph.

[0047] In summary, the present application includes at least one of the following beneficial technical effects:

[0048] By storing the data sources of Chinese medicinal materials in each traceability link in the form of a knowledge graph, it is convenient to make the data source easier to understand and query, which helps to quickly locate the required information in the traceability process. The block to be traced is accurately located from the traceability blockchain according to the traceability needs, so as to avoid the interference of irrelevant information, thereby facilitating the improvement of the efficiency of the traceability process of Chinese medicinal materials. By determining the integrated traceability authority and generating integrated identity authentication information, it is convenient to integrate the data sources of different traceability links, while ensuring that only entities with corresponding permissions can access and integrate the traceability data, thereby facilitating the protection of the security and privacy of the data sources in each link. In addition, by storing the traceability knowledge graph in the block of the blockchain and integrating different traceability blocks based on the traceability needs, it is convenient to realize the interconnection of data sources in different traceability links, effectively reducing the probability of information islands in the traceability process of Chinese medicinal materials, thereby facilitating the improvement of the accuracy and efficiency of determining the traceability information of Chinese medicinal materials.

[0049] Through the block data source and block properties, a parameter combination related to the block properties is determined for each Chinese medicinal material, including a Chinese medicinal material identification and at least one property parameter, to facilitate subsequent cross-block information interaction based on the Chinese medicinal material identification. The position of each Chinese medicinal material in the traceability knowledge graph is determined by analyzing the number of parameters corresponding to each Chinese medicinal material identification, so as to highlight key Chinese medicinal materials in the early stage of the traceability knowledge graph construction, thereby facilitating the improvement of the convenience of querying and browsing key Chinese medicinal materials. In addition, the order of determining the parameter map of each property parameter is determined by the order of determining the position of the medicinal material map, so as to ensure that the construction process of the traceability knowledge graph is orderly and efficient. By combining the parameter map determination order and the medicinal material map position of the relevant Chinese medicinal materials, the parameter map position of each property parameter is constructed, which is convenient for displaying the corresponding property parameters of the Chinese medicinal materials, and can also intuitively display the relationship between different Chinese medicinal materials. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of a method for tracing the origin of Chinese medicinal materials based on a knowledge graph in an embodiment of the present application;

[0051] Figure 2 It is a schematic diagram of the construction process of a traceability knowledge graph in an embodiment of the present application;

[0052] Figure 3 This is a schematic diagram of the position of a parameter map in an embodiment of the present application;

[0053] Figure 4 This is a schematic diagram of adjusting the position of a parameter map in an embodiment of the present application;

[0054] Figure 5 It is a structural diagram of a traceability system in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following is combined with Figures 1 to 5 This application is described in further detail.

[0056] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.

[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] It should be noted that in the optional embodiments of the present application, the object information and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.

[0059] Specifically, the embodiment of the present application provides a method for tracing the source of Chinese medicinal materials based on a knowledge graph, which is executed by a traceability system, and the traceability system can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application does not limit this.

[0060] refer to Figure 1 , Figure 1 : is a flow chart of a method for tracing the source of Chinese medicinal materials based on a knowledge graph in an embodiment of the present application, the method comprising steps S110 to S130, wherein:

[0061] Step S110: When a traceability requirement is detected, at least one block to be traced is determined from the traceability blockchain based on the traceability requirement, and each block to be traced stores a traceability knowledge graph of the corresponding traceability link.

[0062] Specifically, the traceability requirement can be issued by the relevant access personnel through the terminal device, and the method of obtaining the traceability requirement is not specifically limited in the embodiment of the present application. The traceability blockchain contains the data source corresponding to each traceability node, and the relevant person in charge corresponding to each traceability node can upload the relevant data source, and convert the data source into a traceability knowledge graph and import it into the corresponding traceability block. Since the blockchain has the characteristic of being tamper-proof, the security and credibility of the traceability knowledge graph uploaded by each traceability node are ensured.

[0063] Furthermore, in order to facilitate the display of the corresponding property parameters of Chinese medicinal materials, the association relationship between different Chinese medicinal materials can also be intuitively displayed. In the embodiment of the present application, a specific construction process of the traceability knowledge graph in the traceability block is provided, including steps S1 to S6, such as Figure 2As shown, where:

[0064] Step S1: Identify the block properties of the traceability block to be constructed, and determine the parameter combination between each Chinese medicinal material in the block data source and the block property based on the block data source and the block property, each parameter combination includes a corresponding Chinese medicinal material identifier and at least one property parameter.

[0065] Specifically, each traceability block to be constructed has different block properties, which can be origin, alias, efficacy, etc. Different block properties can be determined by the block data source of the corresponding traceability node. The block data source contains data of each Chinese medicinal material belonging to the current block property. For example, when the block data source contains the origin information of each Chinese medicinal material, it can be determined that the block property of the traceability block corresponding to the block data source is the origin; when the block data source contains the efficacy information of each Chinese medicinal material, it can be determined that the block property of the traceability block corresponding to the block data source is the efficacy. The block property corresponding to each block data source can be determined by feature recognition, and the specific feature recognition algorithm is not specifically limited in the embodiments of this application.

[0066] A parameter combination includes a Chinese medicinal material identifier and at least one property parameter, wherein the Chinese medicinal material identifier can be the Chinese medicinal material name, Chinese medicinal material number, Chinese medicinal material pinyin abbreviation, etc. The specific form is not specifically limited in the embodiments of the present application, as long as the corresponding Chinese medicinal material can be uniquely determined by the Chinese medicinal material identifier. The property parameter is used to explain and illustrate the block property corresponding to the Chinese medicinal material identifier. For example, when the block property is origin, the parameter combination may include the Chinese medicinal material identifier and the corresponding origin information, such as "Lonicera japonica-Fengqiu", when the block property is an alias, the parameter combination may include the Chinese medicinal material identifier and the corresponding alias information, such as "Dijincao-Small Red Tendon Grass", but since the same Chinese medicinal material identifier may correspond to more than one property parameter, for example, "Dijincao-Small Red Tendon Grass, Red Silk Grass, March Yellow Flower, Red Sand Grass", among which Small Red Tendon Grass, Red Silk Grass, March Yellow Flower and Red Sand Grass are all aliases of Dijincao, so the parameter combination contains a Chinese medicinal material identifier and at least one property parameter.

[0067] Step S2: Determine the medicinal material atlas position of the corresponding Chinese medicinal material according to the number of parameters including the property parameters in each parameter combination.

[0068] Specifically, after the block data source is integrated into multiple parameter combinations, the number of parameters containing property parameters in each parameter combination can be counted, and the importance of each Chinese medicinal material in the block data source can be determined based on this. Different parameter combinations correspond to different Chinese medicinal materials, but different parameter combinations may contain the same property parameters. For example, origin 1 may grow Chinese medicinal materials a and Chinese medicinal materials b at the same time. Therefore, the parameter combination corresponding to Chinese medicinal material a and the parameter combination corresponding to Chinese medicinal material b contain the same property parameters, such as "Chinese medicinal material a-Origin 1, Origin 2, Origin 3", "Chinese medicinal material b-Origin 1, Origin 4".

[0069] The more parameters there are, the higher the importance level of the corresponding Chinese medicinal materials of the parameter combination is. At this time, in order to facilitate intuitive access to Chinese medicinal materials with higher importance levels, the position of the Chinese medicinal materials with higher importance levels in the initial map can be determined first, that is, the medicinal materials map position, wherein the initial map is a blank map. The higher the number of parameters, the higher the importance level of the corresponding Chinese medicinal materials. The importance level of the corresponding Chinese medicinal materials can be determined based on the mapping relationship between the number of parameters and the preset level, and then the corresponding medicinal materials map position is determined from the initial map based on the importance level. The preset level mapping relationship is the corresponding relationship between the number of parameters and the importance level, which can be determined by relevant staff according to historical experimental data and uploaded to the traceability system. The initial map can be divided into regions based on the center point of the initial map, and then the optional regions corresponding to different importance levels are determined according to the regional division results. For example, after the initial map is divided into regions based on the center point of the initial map, the regional division result is obtained as multiple annular regions, and the optional annular regions of Chinese medicinal materials with different importance levels in the initial map are different. The higher the importance level, the closer the corresponding optional annular region is to the center point of the initial map. The way to divide the initial map into regions is not specifically limited in the embodiment of the present application.

[0070] Step S3: Based on the determination order of each medicinal material atlas position, determine the parameter atlas determination order of each property parameter.

[0071] Specifically, the order of determining the property parameters corresponding to each Chinese medicinal material also needs to be determined according to the order of determining the Chinese medicinal materials. For example, when the block property is origin, the parameter combination corresponding to Chinese medicinal material a can be "Chinese medicinal material a-Origin 1, Origin 2, Origin 3", and the parameter combination corresponding to Chinese medicinal material b can be "Chinese medicinal material b-Origin 4, Origin 5". At this time, since the number of parameters corresponding to Chinese medicinal material a is higher than the number of parameters corresponding to Chinese medicinal material b, it is necessary to first determine the medicinal material map position corresponding to Chinese medicinal material a, and then determine the medicinal material map position corresponding to Chinese medicinal material b. Based on this order, first determine the parameter map determination order of Origin 1, Origin 2 and Origin 3 corresponding to Chinese medicinal material a, and then determine the parameter map determination order of Origin 4 and Origin 5 corresponding to Chinese medicinal material b.

[0072] Step S4: Determine the order and combination of each parameter based on each parameter map, and determine the relevant Chinese medicinal materials for each property parameter.

[0073] Specifically, since different parameter combinations contain different identifications of Chinese medicinal materials, different parameter combinations may contain the same property parameters, for example, "Chinese medicinal material a-Origin 1, Origin 2, Origin 3", "Chinese medicinal material b-Origin 1, Origin 4", the parameter combination corresponding to Chinese medicinal material c may be "Chinese medicinal material c-Origin 4, Origin 5". In the above three parameter combinations, the parameter combinations corresponding to Chinese medicinal materials a and Chinese medicinal materials b contain the same property parameter "Origin 1", and Chinese medicinal materials b and Chinese medicinal materials c contain the same property parameter "Origin 4". The target object can be determined from multiple property parameters in an order determined according to each parameter map, and then the relevant Chinese medicinal materials corresponding to the target object can be determined from all parameter combinations based on a preset feature recognition algorithm. For example, the target object is determined to be "Origin 1" from multiple property parameters in an order determined based on each parameter map, and then the relevant Chinese medicinal materials corresponding to "Origin 1" are determined from all parameter combinations based on a preset feature recognition algorithm. The specific preset feature recognition algorithm is not specifically limited in the embodiments of the present application.

[0074] Step S5: Determine the parameter map position of each property parameter based on the parameter map determination order of each property parameter and the medicinal material map position corresponding to the relevant Chinese medicinal material.

[0075] Specifically, for any property parameter, after determining at least one related Chinese medicinal material corresponding to the property parameter, the parameter map position corresponding to the property parameter can be determined based on the medicinal material map position of each related Chinese medicinal material, such as Figure 3 As shown, when the property parameter is origin 1, and the relevant Chinese medicinal materials corresponding to origin 1 are Chinese medicinal materials a, Chinese medicinal materials b, and Chinese medicinal materials c, the intersection point of the three medicinal material map positions can be determined according to the medicinal material map positions corresponding to Chinese medicinal materials a, Chinese medicinal materials b, and Chinese medicinal materials c, and the intersection point is determined as the parameter map position corresponding to origin 1. Based on the above method, the parameter map position of each property parameter is determined in turn.

[0076] Step S6: Based on the medicinal material atlas position of each Chinese medicinal material in each parameter combination and the parameter atlas position of at least one property parameter corresponding to each Chinese medicinal material identification, construct a traceability knowledge graph corresponding to the traceability block to be constructed.

[0077] Specifically, after determining the medicinal material atlas position of each Chinese medicinal material, the determined medicinal material atlas position can be directly marked on the initial atlas, or the coordinates of the medicinal material atlas position on the initial atlas can be recorded after determining the medicinal material atlas position. After the medicinal material atlas positions and parameter atlas positions of all Chinese medicinal materials are subsequently determined, they are marked together in the initial atlas. The method or order of marking in the initial atlas is not specifically limited in the embodiment of the present application, as long as the generated traceability knowledge graph contains the medicinal material atlas positions of all Chinese medicinal materials and the parameter atlas positions of all property single parameters.

[0078] Through the block data source and block properties, a parameter combination related to the block properties is determined for each Chinese medicinal material, including a Chinese medicinal material identification and at least one property parameter, to facilitate subsequent cross-block information interaction based on the Chinese medicinal material identification. The position of each Chinese medicinal material in the traceability knowledge graph is determined by analyzing the number of parameters corresponding to each Chinese medicinal material identification, so as to highlight key Chinese medicinal materials in the early stage of the traceability knowledge graph construction, thereby facilitating the improvement of the convenience of querying and browsing key Chinese medicinal materials. In addition, the order of determining the parameter map of each property parameter is determined by the order of determining the position of the medicinal material map, so as to ensure that the construction process of the traceability knowledge graph is orderly and efficient. By combining the parameter map determination order and the medicinal material map position of the relevant Chinese medicinal materials, the parameter map position of each property parameter is constructed, which is convenient for displaying the corresponding property parameters of the Chinese medicinal materials, and can also intuitively display the relationship between different Chinese medicinal materials.

[0079] Different traceability requirements correspond to different blocks to be traced. The traceability requirements are semantically recognized based on a preset semantic recognition algorithm, and then the semantic recognition results are compared with the block properties of each traceability block to determine at least one block to be traced corresponding to the traceability requirement.

[0080] Step S120: Determine the integrated traceability authority based on all the blocks to be traced, generate integrated identity verification information based on the integrated traceability authority, and authenticate the integrated identity verification information.

[0081] Specifically, since different blocks to be traced have different traceability permissions corresponding to them, the integrated traceability permissions can be integrated based on the traceability permissions of all blocks to be traced. Since the traceability requirements may require access to more than one block to be traced, that is, cross-block data access may be involved in the traceability process. Therefore, the permission level of the integrated traceability permissions may be higher than the sum of the traceability permissions of each block to be traced. For example, the traceability permission corresponding to block a to be traced is condition 1, the traceability permission corresponding to block b to be traced is condition 2, and the traceability permission corresponding to block c to be traced is condition 3. Then the integrated traceability permissions of blocks a to be traced, blocks b to be traced, and blocks c to be traced may be conditions 1, 2, 3, and 4.

[0082] After determining the integrated traceability authority, identity authentication information can be generated based on the integrated traceability authority to authenticate the identity of the relevant visitor. The generated identity authentication information will be directly fed back to the terminal where the relevant visitor submits the traceability requirement to prompt the relevant visitor to authenticate the identity based on the integrated identity authentication information.

[0083] Step S130: When it is detected that the identity authentication is passed, the traceability information of the Chinese medicinal materials is determined based on the traceability requirements and the traceability knowledge graph corresponding to each block to be traced.

[0084] Specifically, relevant visitors can feed back their identity data to the traceability system, and the traceability system needs to verify the identity data based on the integrated traceability authority. When identity authentication fails, a warning message can be directly generated or an access failure prompt message can be fed back to the relevant visitor; when identity authentication passes, the relevant content of the traceability knowledge graph corresponding to each block to be traced can be integrated based on the traceability requirements to generate Chinese medicinal materials traceability information, and the generated Chinese medicinal materials traceability information can be fed back to the relevant visitors. Since the traceability knowledge graph in each traceability block is composed of a combination of parameters containing Chinese medicinal materials identification, cross-block access and integration can be achieved based on the Chinese medicinal materials identification.

[0085] For the embodiments of the present application, by storing the data sources of Chinese medicinal materials in each traceability link in the form of a knowledge graph, it is convenient to make the data source easier to understand and query, which helps to quickly locate the required information in the traceability process, and accurately locate the block to be traced from the traceability blockchain through traceability requirements, so as to avoid interference from irrelevant information, thereby facilitating the improvement of the efficiency of the traceability process of Chinese medicinal materials. By determining the integrated traceability authority and generating integrated identity authentication information, it is convenient to integrate the data sources of different traceability links, while ensuring that only entities with corresponding authorities can access and integrate the traceability data, thereby facilitating the protection of the security and privacy of the data sources in each link. In addition, by storing the traceability knowledge graph in the block of the blockchain and integrating different blocks to be traced based on the traceability requirements, it is convenient to realize the interconnection of data sources of different traceability links, effectively reducing the probability of information islands appearing in the traceability process of Chinese medicinal materials, thereby facilitating the improvement of the accuracy and efficiency of determining the traceability information of Chinese medicinal materials.

[0086] Furthermore, in order to highlight the importance and differences of different related Chinese medicinal materials in the dimension of target property parameters, when the relevant number of related Chinese medicinal materials corresponding to the target property parameters is higher than the preset threshold, it also includes:

[0087] According to the medicinal material atlas position corresponding to each relevant Chinese medicinal material, the position level corresponding to each relevant Chinese medicinal material is determined, and based on the position level corresponding to each relevant Chinese medicinal material, it is judged whether there is a Chinese medicinal material of concern; if so, the parameter atlas position corresponding to the target property parameter is adjusted based on the medicinal material atlas position of the Chinese medicinal material of concern.

[0088] Specifically, the target property parameter can be the place of origin, which can be determined by relevant staff according to historical traceability requirements. The specific target property parameter is not specifically limited in the embodiment of this application. The preset threshold can be 4 or 5. The specific value is not specifically limited in the embodiment of this application. When the relevant number of the target property parameter corresponding to the relevant Chinese medicinal materials is not higher than the preset threshold, there is no need to adjust the position after determining the parameter map position of the target property parameter; when the relevant number of the target property parameter corresponding to the relevant Chinese medicinal materials is higher than the preset threshold, it is necessary to adjust the position after determining the parameter map position of the target property parameter. In order to facilitate the intuitive viewing of the traceability knowledge map, the closer the medicinal material map position is to the center point, the higher the corresponding position level is. When determining the position level corresponding to each relevant Chinese medicinal material corresponding to the target property parameter, the medicinal material map position of each relevant Chinese medicinal material can be determined based on the preset coordinate mapping relationship. The corresponding position level of different belonging areas is different. The preset coordinate mapping relationship is the corresponding relationship between the coordinate point and the belonging area. The preset coordinate mapping relationship can be determined based on the regional division result of the initial map.

[0089] Based on the above content, the position level corresponding to each relevant Chinese medicinal material can be determined, and the position level difference between each relevant Chinese medicinal material and other relevant Chinese medicinal materials can be calculated according to the position level corresponding to each relevant Chinese medicinal material. For example, there are 4 relevant Chinese medicinal materials, namely Chinese medicinal material a, Chinese medicinal material b, Chinese medicinal material c and Chinese medicinal material d. It is necessary to calculate the position level difference between Chinese medicinal material a and Chinese medicinal material b, Chinese medicinal material c and Chinese medicinal material d respectively; the position level difference between Chinese medicinal material b and Chinese medicinal material a, Chinese medicinal material c and Chinese medicinal material d; the position level difference between Chinese medicinal material c and Chinese medicinal material a, Chinese medicinal material b and Chinese medicinal material d; the position level difference between Chinese medicinal material d and Chinese medicinal material a, Chinese medicinal material b and Chinese medicinal material c. The position level difference between the Chinese medicinal material and any other relevant Chinese medicinal material is greater than the preset difference. The specific preset difference is not specifically limited in the embodiment of this application, and can be determined by relevant staff based on historical experimental data and uploaded to the traceability system.

[0090] After determining the medicinal material atlas of the Chinese medicinal material of interest, the parameter atlas position of the target property parameter can be moved along the medicinal material atlas position of the Chinese medicinal material of interest, such as Figure 4 As shown, the specific moving distance is not specifically limited in the embodiment of the present application, as long as the parameter map position of the target property parameter after the movement is closer to the Chinese medicinal material of interest. Adjustment is made based on the importance of each related Chinese medicinal material, so as to highlight the importance and differences of different related Chinese medicinal materials in the dimension of target property parameters, thereby facilitating the optimization of the overall layout of the traceability knowledge map.

[0091] Furthermore, in order to improve the clarity and orderliness of the information integration process, the traceability information of Chinese medicinal materials is determined based on the traceability requirements and the traceability knowledge graph corresponding to each block to be traced, which may specifically include:

[0092] Based on the traceability requirements, the information to be integrated is determined from the traceability knowledge graph corresponding to each block to be traced. Based on the block properties and traceability requirements corresponding to each block to be traced, the framework type of each block to be traced is determined, and the framework types include main frameworks and supplementary frameworks. Based on the information to be integrated and the framework type corresponding to each block to be traced, information integration is performed to obtain the traceability information of Chinese medicinal materials.

[0093] Specifically, since the block to be traced contains all the information that conforms to the nature of the block, after the block to be traced is determined based on the traceability requirements, it is not necessary to integrate all the contents stored in the block to be traced, but it is necessary to determine the information to be integrated from the traceability knowledge graph of each block to be traced based on the traceability requirements, and then integrate the information based on the information to be integrated, and the information to be integrated is a partial traceability knowledge graph. Among them, the information to be integrated can be determined from the traceability knowledge graph corresponding to each block to be traced based on the preset semantic recognition algorithm, and the specific preset semantic recognition algorithm is not specifically limited in the embodiment of the present application. At the same time, the focus of the relevant visitors can also be identified according to the preset semantic recognition algorithm, and the framework type of each block to be traced in the information integration process can be determined based on the traceability requirements and the block properties of each block to be traced. For example, according to the preset semantic recognition algorithm, it is determined that the relevant visitors are particularly concerned about the origin of Chinese medicinal materials in the traceability requirements, that is, the framework type of the traceability block corresponding to the origin can be determined as the main framework. The framework types corresponding to different blocks to be traced may be the same or different, that is, there may be multiple blocks to be traced of the main framework type, or multiple blocks to be traced of the supplementary framework type.

[0094] After determining the information to be integrated and the framework type of each block to be traced, the partial traceability knowledge graphs of each block to be traced can be integrated based on the framework type. When there are more than one blocks to be traced of the main framework type, the partial traceability knowledge graphs corresponding to the blocks to be traced of the two main framework types can be spliced ​​or integrated in parallel to form the initial traceability information, and then the partial traceability knowledge graphs corresponding to the blocks to be traced of the supplementary framework type can be fused or superimposed on the initial traceability information to obtain the final traceability information of Chinese medicinal materials.

[0095] According to the traceability requirements, the information to be integrated is determined from the traceability knowledge graph corresponding to each block to be traced, so as to ensure the pertinence and accuracy of the information integration process, thereby avoiding the interference of irrelevant information. By analyzing the framework type of each block to be traced, the clarity and orderliness of the information integration process can be improved, thereby improving the efficiency of the information integration process.

[0096] Furthermore, in order to facilitate the centralized management and convenient query of Chinese herbal medicine traceability information, after determining the Chinese herbal medicine traceability information, it may also include:

[0097] Integrate the traceability information of Chinese medicinal materials into a traceability code; determine the traceability time corresponding to the current moment according to the update frequency of each block to be traced; and add the traceability time to the traceability code to obtain a time-limited traceability code.

[0098] Specifically, the determined Chinese herbal medicine traceability information can be directly fed back to relevant visitors, and the Chinese herbal medicine traceability information can also be integrated into traceability codes such as QR codes and bar codes. Since each QR code or bar code is unique and can be associated with a specific product or batch, this uniqueness facilitates ensuring the accuracy and consistency of the Chinese herbal medicine traceability information. The preset encoding method can be selected according to demand. For example, when the Chinese herbal medicine traceability information needs to be converted into a QR code, the preset encoding method that can be used can be QR code, Data Matrix code and PDF417 code, etc.; when the Chinese herbal medicine traceability information needs to be converted into a bar code, the preset encoding method that can be used can be EAN, UPC, Code39, Code128, etc. The specific preset encoding method is not specifically limited in the embodiments of this application.

[0099] Different blocks to be traced may have different update frequencies. By analyzing the update frequency of each block to be traced, the update cycle of each block to be traced can be determined. Based on the update cycle, the traceability time limit corresponding to the current moment can be determined. The traceability time limit is the time period from the most recent update to the current moment, which can be expressed as the validity period of the traceability information of Chinese medicinal materials. The calculated traceability time limit is added to the traceability code to form a time-limited traceability code. The time-limited traceability code contains not only the traceability information of Chinese medicinal materials, but also the validity period of the traceability information of Chinese medicinal materials. By setting the traceability time limit, it is convenient for relevant visitors to understand the latest status of the traceability information of Chinese medicinal materials corresponding to the traceability code, thereby avoiding misunderstandings or decision-making errors caused by information lags.

[0100] Furthermore, in order to ensure the accuracy and completeness of the traceability information, the method provided in the embodiment of the present application also includes:

[0101] When the integrated traceability authority is higher than the preset standard authority, the spot check verification content and the spot check verification frequency are determined based on the integrated traceability authority; based on the spot check verification content and the spot check verification frequency, spot checks are carried out on relevant visitors during the visit stage; the feedback accuracy and feedback rate of relevant visitors within the preset time period are counted, and the displayable content of the Chinese medicinal material traceability information is adjusted.

[0102] Specifically, the preset standard permissions can be determined by relevant staff based on historical experimental data and uploaded to the traceability system. The integrated traceability permissions will be compared with the preset standard permissions to determine whether there is a situation that exceeds the preset standard permissions. If so, it is necessary to formulate a spot check strategy based on the permission excess. The spot check strategy includes spot check verification content and spot check verification frequency. The spot check verification content can be fingerprint recognition, password recognition, pupil recognition, etc. The spot check frequency is used to characterize the frequency of spot checks on relevant visitors. The more permissions are exceeded, the higher the corresponding spot check frequency. By formulating a spot check strategy, it is convenient to detect the behavior of relevant visitors in the process of accessing or viewing Chinese medicinal materials traceability information, so as to promptly discover abnormal access behavior.

[0103] The preset time period is a period of time after the generation of the Chinese medicinal material traceability information, that is, a period of time during which the relevant visitor browses or views the Chinese medicinal material traceability information. During this period, the traceability system will conduct spot checks and verifications on the relevant visitors according to the determined spot check strategy. If it is detected within the preset time period that the feedback accuracy of the relevant visitor in responding to the spot check is not lower than the preset feedback accuracy limit, and the feedback rate is not lower than the preset feedback rate limit, then it indicates that the relevant visitor has no abnormal access behavior in the process of accessing or browsing the Chinese medicinal material traceability information; if it is detected within the preset time period that the feedback accuracy of the relevant visitor in responding to the spot check is lower than the preset feedback accuracy limit, or the feedback rate is lower than the preset feedback rate limit, then it indicates that the relevant visitor may have abnormal access behavior in the process of accessing or browsing the Chinese medicinal material traceability information, wherein the specific preset feedback accuracy limit and the preset feedback rate limit are not specifically limited in the embodiment of the present application, and can be determined by the relevant staff based on historical experimental data and uploaded to the traceability system.

[0104] When it is detected that relevant visitors may have abnormal access behavior when accessing or browsing the traceability information of traditional Chinese medicines, the accuracy and completeness of the traceability information of traditional Chinese medicines can be ensured by identifying the preset sensitive features contained in the traceability information of traditional Chinese medicines, hiding the sensitive data containing the preset sensitive features, and adjusting the displayable content and other defense measures.

[0105] The present application embodiment provides a traceability system, such as Figure 5 As shown, Figure 5 The traceability system 500 shown includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the traceability system 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the traceability system 500 does not constitute a limitation on the embodiments of the present application.

[0106] Processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0107] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The fact that only one line is used in the diagram does not mean that there is only one bus or only one type of bus.

[0108] The memory 503 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0109] The memory 503 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the application code stored in the memory 503 to implement the contents shown in the above method embodiment.

[0110] The traceability system includes but is not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 5 The traceability system shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0111] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

[0112] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method in any of the above embodiments is implemented.

[0113] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0114] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for tracing the origin of traditional Chinese medicine based on knowledge graph, characterized in that: include: When a traceability requirement is detected, at least one block to be traced is determined from the traceability blockchain based on the traceability requirement, and each block to be traced stores a traceability knowledge graph of the corresponding traceability link; Determine the integrated traceability authority based on all the blocks to be traced, generate integrated identity verification information based on the integrated traceability authority, and authenticate the integrated identity verification information. The authority level of the integrated traceability authority is not lower than the sum of the traceability authorities of each block to be traced; When it is detected that the identity authentication is passed, the traceability information of the Chinese medicinal materials is determined based on the traceability requirements and the traceability knowledge graph corresponding to each block to be traced; The construction process of the traceability knowledge graph in the traceability block includes: Identify the block properties of the traceability block to be constructed, and determine a parameter combination between each Chinese medicinal material in the block data source and the block property based on the block data source and the block property, each parameter combination including a corresponding Chinese medicinal material identifier and at least one property parameter; According to the number of parameters containing property parameters in each parameter combination, the medicinal material atlas position of the corresponding Chinese medicinal material is determined, wherein the importance level of the Chinese medicinal material corresponding to each parameter number is determined according to the number of parameters containing property parameters in each parameter combination and the preset level mapping relationship, and the preset level mapping relationship is the corresponding relationship between the number of parameters and the importance level; based on the importance level corresponding to each Chinese medicinal material, the corresponding annular area is determined from the initial atlas, and the determined annular area is determined as the medicinal material atlas position corresponding to the Chinese medicinal material; Based on the determination order of the map positions of each medicinal material, the determination order of the parameter map of each property parameter is determined; Determine the order and combination of each parameter based on each parameter map, and determine the relevant Chinese medicinal materials for each property parameter; Based on the parameter map determination order of each property parameter and the medicinal material map position corresponding to the relevant Chinese medicinal material, the parameter map position of each property parameter is determined, wherein the parameter map position of each property parameter is determined in sequence according to the parameter map determination order of each property parameter and the intersection point of the medicinal material map position corresponding to at least one relevant Chinese medicinal material of each property parameter; Based on the medicinal material map position of each Chinese medicinal material in each parameter combination and the parameter map position of at least one property parameter corresponding to each Chinese medicinal material identifier, construct a traceability knowledge map corresponding to the traceability block to be constructed; Among them, when the relevant quantity of the target property parameter corresponding to the relevant Chinese medicinal materials is higher than the preset threshold, it also includes: According to the medicinal material atlas position corresponding to each relevant Chinese medicinal material, determine the position level corresponding to each relevant Chinese medicinal material, and judge whether there is a Chinese medicinal material of concern based on the position level corresponding to each relevant Chinese medicinal material; If so, adjusting the parameter map position corresponding to the target property parameter based on the medicinal material map position of the Chinese medicinal material of interest, wherein the parameter map position of the target property parameter is moved along the medicinal material map position of the Chinese medicinal material of interest so that the parameter map position of the target property parameter after the movement is close to the Chinese medicinal material of interest; Wherein, the determining of the Chinese medicinal material traceability information based on the traceability requirements and the traceability knowledge graph corresponding to each block to be traced includes: Based on the traceability requirements, determine the information to be integrated from the traceability knowledge graphs corresponding to the blocks to be traced; Based on the block properties corresponding to each block to be traced and the traceability requirements, determine the framework type of each block to be traced, and the framework type includes a main framework and a supplementary framework; Information integration is performed based on the information to be integrated and the framework type corresponding to each block to be traced to obtain the Chinese medicinal material traceability information, wherein, when there are more than one blocks to be traced of the main framework type, the partial traceability knowledge graphs corresponding to the blocks to be traced of the two main framework types are integrated in parallel to form the initial traceability information, and the partial traceability knowledge graphs corresponding to the blocks to be traced of the supplementary framework type are superimposed on the initial traceability information to obtain the final Chinese medicinal material traceability information.

2. According to a method for tracing the source of Chinese medicinal materials based on knowledge graph according to claim 1, it is characterized in that: After determining the traceability information of the Chinese medicinal materials, it also includes: Integrate the Chinese medicinal material traceability information into a traceability code; Determine the traceability validity corresponding to the current moment according to the update frequency of each block to be traced; The traceability time is added to the traceability code to obtain a time traceability code.

3. According to a method for tracing the source of Chinese medicinal materials based on knowledge graph according to claim 1, it is characterized in that: Also includes: When the integrated traceability authority is higher than the preset standard authority, the spot check verification content and spot check verification frequency are determined based on the integrated traceability authority; Based on the spot check verification content and the spot check verification frequency, spot check relevant visitors during the visit stage; The feedback accuracy and feedback rate of the relevant visitors within a preset time period are counted to adjust the displayable content of the Chinese herbal medicine traceability information.

4. A traceability system, characterized in that: The traceability system includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute a Chinese medicinal material traceability method based on a knowledge graph as described in any one of claims 1-3.

5. A computer-readable storage medium, characterized in that: include: A computer program is stored which can be loaded by a processor and execute a method for tracing the origin of traditional Chinese medicine based on a knowledge graph as described in any one of claims 1 to 3.

6. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the steps of a method for tracing the origin of traditional Chinese medicine based on a knowledge graph as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Tracing knowledge graph construction and use method and device, equipment and storage medium

    CN115510240A

  • Digital planting GAP system and secondary node combined tracing system and method

    CN118982364A