Distributed knowledge label management system based on block chain

Through the distributed knowledge label management system based on the blockchain, the decentralization and smart contract technology of the blockchain are used to solve the data security and consistency problems of the traditional knowledge label system, and achieve efficient and accurate knowledge management and Secure storage of tag data supports multi-user collaboration and full life cycle data traceability.

CN118779382APending Publication Date: 2024-10-15SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Patent Information

Application Number
CN202410932204.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Traditional knowledge labeling systems rely on centralized databases, which have problems with data security, consistency, and traceability, making it difficult to effectively manage and share knowledge resources.

Method used

Adopt a distributed knowledge label management system based on the blockchain, take advantage of the decentralization, security and non-tampering characteristics of the blockchain, realize automated label generation and update through smart contracts, and combine natural language processing and machine learning technology to generate tags, and ensure data security and consistency through blockchain storage and rights management modules.

Benefits of technology

Significantly improves the security and transparency of knowledge label data, reduces the risk of data tampering, improves the efficiency and accuracy of knowledge management, avoids single points of failure and data tampering risks, supports multi-user or organizational collaboration, and provides a full life cycle Data traceability and audit capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779382A_ABST
    Figure CN118779382A_ABST
Patent Text Reader

Abstract

The invention provides a distributed knowledge tag management system based on a block chain, which belongs to the technical field of block chains and comprises an application service instance, a tag generation module, a block chain storage module, a tag query module and an authority management module. Generating a label according to the knowledge content by using a label generation module; storing the generated label and related information thereof in a block chain storage module; receiving a query request of a user through a tag query module, and retrieving a matched tag and associated knowledge content on the block chain; and managing the access authority of the user to the label data by using an authority management module. Automatic label generation, storage and query are realized through an intelligent contract technology, and meanwhile, the consistency and non-tampering property of data are ensured by utilizing the distributed characteristics of the block chain. The method is suitable for multiple fields such as finance, supply chains and medical treatment, and the efficiency and accuracy of knowledge management are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a distributed knowledge tag management system based on blockchain. Background Art

[0002] Blockchain technology is a distributed ledger technology with the characteristics of decentralization, immutability, and consensus mechanism. Blockchain technology can be applied to many fields, such as finance, supply chain, and medical care.

[0003] Knowledge management refers to the process of effectively identifying, acquiring, storing, sharing and applying knowledge resources within an organization. In the practice of knowledge management, how to accurately label knowledge to facilitate knowledge retrieval, classification and sharing is an important research issue. Traditional knowledge labeling systems often rely on centralized databases and trust institutions, and have problems with data security, consistency and traceability. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a distributed knowledge tag management system based on blockchain. By utilizing the decentralization, security and immutability of blockchain, a new solution is provided for the generation, storage, sharing and application of knowledge tags. Specifically, the system can realize automatic tag generation and update through smart contracts, utilize the distributed storage characteristics of blockchain to ensure the security and consistency of tag data, and provide a transparent tag usage record and traceability mechanism.

[0005] The technical solution of the present invention is:

[0006] The knowledge labeling system based on blockchain includes application service instance, label generation module, blockchain storage module, label query module and authority management module.

[0007] Application service instance: contains at least one service instance, which is mainly responsible for interacting with core modules such as label generation, blockchain storage, and permission control to ensure the secure storage and normal management of label data.

[0008] Label generation module: uses natural language processing and machine learning techniques to extract key information from knowledge content and generate labels.

[0009] Blockchain storage module: Use public chain, private chain or alliance chain to store label data (name, generation time, generator, related knowledge content) to ensure the security and non-tamperability of data.

[0010] Tag query module: provides users with the function of querying and retrieving tags. Users can obtain tag data by entering keywords or selecting specific categories. This module can also realize automated query and matching processes through smart contract technology.

[0011] Permission management module: The relationship between different knowledge tags is connected through the blockchain to form a tag chain, which is convenient for users to query and navigate knowledge tags. By setting different permissions for different users or roles, the security and privacy of tag data are ensured. At the same time, this module can also record the user's operation log to provide a basis for tracing and auditing.

[0012] The tag generation module is used to generate tags according to the knowledge content; the generated tags and their related information are stored in the blockchain storage module; the user's query request is received through the tag query module, and the matching tags and their associated knowledge content are retrieved on the blockchain; the user's access rights to the tag data are managed by the permission management module.

[0013] Furthermore,

[0014] The label generation module further includes: a natural language processing unit for extracting key information from the knowledge content; and a machine learning unit for screening and optimizing the extracted key information to generate the final label.

[0015] The blockchain storage module adopts any of the public chains, private chains or alliance chains to adapt to different application scenarios and security requirements.

[0016] The label generation module further includes a function for automatically generating knowledge labels according to preset rules and / or machine learning algorithms.

[0017] The blockchain storage module uses smart contract technology to realize the storage and circulation operations of tag data.

[0018] The authority management module adopts encryption technology and identity authentication mechanism to ensure that only authorized entities can perform corresponding tag operations.

[0019] The blockchain storage module packages the tag data into transactions, and broadcasts, verifies and stores them through nodes in the blockchain network to ensure the security and immutability of the data.

[0020] Going further,

[0021] The label generation module has the following workflow:

[0022] (1) Text preprocessing

[0023] a) Remove noise from text;

[0024] b) Word segmentation and stemming: Segment the text into words or phrases, and perform stemming or lemmatization to uniformly process different forms of vocabulary;

[0025] c) Convert the text into a numerical vector so that the machine learning algorithm can process it;

[0026] (2) Extract keywords

[0027] a) Extract keywords from text;

[0028] b) Use named entity recognition technology to identify entities in the text;

[0029] c) Understand the syntactic structure and semantic relationship of the text through dependency syntax analysis and part-of-speech tagging technology;

[0030] (3) Training Model

[0031] Choose a suitable machine learning model based on the characteristics of the task. If supervised learning is used, a portion of the data needs to be manually labeled as a training set. Use the labeled data to train the model so that it can identify key information in the text.

[0032] (4) Model Reasoning

[0033] For knowledge content that needs to be inferred, use the trained model to make predictions, generate initial labels based on the model prediction results, and optimize the labels based on the strategy;

[0034] (5) Result output

[0035] Sort the tags according to their importance or relevance and select the tags as output; convert the generated tags into a set format for output;

[0036] (6) Result evaluation and improvement

[0037] Use precision, recall, and F1 value indicators to evaluate the quality of label generation; review labels to ensure their relevance and accuracy to the knowledge content; adjust model parameters, improve feature extraction methods, or try other models based on the evaluation results to improve the accuracy of label generation.

[0038] The blockchain storage module has the following workflow:

[0039] (1) Design blockchain network structure

[0040] Choose a private chain, public chain, or consortium chain, depending on the use case and participants of the system;

[0041] (2) Consensus algorithm selection

[0042] Select or design a consensus algorithm suitable for the knowledge tagging system;

[0043] (3) Define the data structure of knowledge tags

[0044] Including the label itself, generation time, generator, and associated knowledge content; these data will be stored and transmitted as part of the blockchain transaction;

[0045] (4) Tag data encryption

[0046] The knowledge tags and their related information are encrypted; at the same time, a unique hash value is generated for each tag to identify and verify the integrity of the data on the blockchain;

[0047] (5) Transaction Confirmation

[0048] Confirm transactions through the consensus mechanism of the blockchain network; write the encrypted and hashed knowledge tags and their related information into the blockchain as transaction data, and verify and confirm them in the network through the consensus algorithm;

[0049] (6) Broadcast transaction information.

[0050] Broadcast confirmed transactions to the entire blockchain network, ensuring that all nodes have a copy of the transaction.

[0051] The workflow of the tag query module is as follows:

[0052] (1) Provide a query interface to allow authorized users or applications to access tag information on the blockchain; users enter query conditions through the tag query module, and after receiving the query conditions, they will be pre-processed; after authentication, the blockchain module will be called to query, and finally the retrieved results will be returned to the user, displayed through the interface of the tag query module or returned to the application through the API interface;

[0053] (2) Blockchain Query

[0054] According to the rules in the smart contract, matching tags and their associated knowledge content are retrieved on the blockchain. If the matching results are greater than the set number, these results need to be sorted, deduplicated, or further integrated.

[0055] The work flow of the permission management module is as follows:

[0056] (1) Identity Authentication and Registration

[0057] Each user generates a pair of public and private keys; the user signs transactions with the private key and verifies them with the public key;

[0058] (2) Role-based user management

[0059] Adopt role-based permission management, define different roles according to the needs of the knowledge tag system, and assign corresponding roles to users according to their identities and responsibilities; each role has different permissions;

[0060] (3) Deploy the permission management contract on the blockchain

[0061] These contracts define various permission rules and operation logic; the contracts are written in smart contract language, and the execution and verification of the contracts are ensured through the consensus mechanism of blockchain;

[0062] (4) Operation authentication and logging

[0063] When a user tries to perform an operation, the user's role and permissions are checked; the operation is allowed only if the user has the corresponding permissions, and all operations of all users are recorded;

[0064] (5) Log Audit

[0065] Regularly audit user permission usage and record all permission-related operation logs.

[0066] The beneficial effects of the present invention are

[0067] The present invention significantly improves the security and transparency of knowledge tag data and reduces the risk of data tampering through blockchain technology. The distributed characteristics of the system and the application of smart contracts improve the efficiency and accuracy of knowledge management, while simplifying the generation and query process of knowledge tags. The present invention provides a distributed knowledge tag management system and method based on blockchain. Through the distributed and traceable characteristics of blockchain technology, the risk of single point failure of knowledge tags and data tampering is avoided, and the authenticity and credibility of knowledge tag data during storage and transmission are guaranteed.

[0068] The system also supports collaboration among multiple users or organizations to jointly maintain and update label data, improving the efficiency and accuracy of knowledge management. It also automatically records and verifies operational behaviors through smart contracts, enabling the system to trace and audit the entire life cycle of label data, helping to discover and handle potential data anomalies and violations. Through accurate labeling, the system can automatically classify and organize knowledge resources, allowing users to find the information they need more quickly. At the same time, based on the analysis and mining of label data, it can provide strong data support for decision-making and improve the scientificity and accuracy of decision-making. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 The overall flow chart of the system;

[0070] Figure 2 Generate module flow chart for label;

[0071] Figure 3 This is the flowchart of the blockchain storage module. DETAILED DESCRIPTION

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

[0073] The present invention provides a knowledge labeling system based on blockchain, comprising:

[0074] Application service instance: contains at least one service instance, which is mainly responsible for interacting with core modules such as label generation, blockchain storage, and permission management to ensure the secure storage and normal management of label data.

[0075] Label generation module: uses natural language processing and machine learning techniques to extract key information from knowledge content and generate labels.

[0076] Blockchain storage module: Use public chain, private chain or alliance chain to store label data (name, generation time, generator, related knowledge content) to ensure the security and non-tamperability of data.

[0077] Tag query module: provides users with the function of querying and retrieving tags. Users can obtain tag data by entering keywords or selecting specific categories. This module can also realize automated query and matching processes through smart contract technology.

[0078] Permission management module: The relationship between different knowledge tags is connected through the blockchain to form a tag chain, which is convenient for users to query and navigate knowledge tags. By setting different permissions for different users or roles, the security and privacy of tag data are ensured. At the same time, this module can also record the user's operation log to provide a basis for tracing and auditing.

[0079] 1. Label generation module, its flow chart is as follows Figure 2 As shown, the main process is as follows:

[0080] (1) Text preprocessing

[0081] a) Remove noise from text, such as HTML tags, special characters, stop words, etc.

[0082] b) Word segmentation and stemming: The text is segmented into words or phrases, and stemming or word form restoration is performed to uniformly process different forms of vocabulary.

[0083] c) Convert text into numerical vectors so that machine learning algorithms can process it, including but not limited to TF-IDF vectors, word embeddings (Word2Vec, GloVe, etc.).

[0084] (2) Extract keywords

[0085] a) Use algorithms such as TF-IDF and TextRank to extract keywords from text.

[0086] b) Use named entity recognition (NER) technology to identify entities in the text, such as names of people, places, and organizations.

[0087] c) Understand the syntactic structure and semantic relationships of the text through dependency parsing, part-of-speech tagging and other techniques.

[0088] (3) Training Model

[0089] Choose the appropriate machine learning model based on the characteristics of the task, such as supervised learning (classification, regression) or unsupervised learning (clustering). If supervised learning is used, a portion of the data needs to be manually labeled as a training set. Use the labeled data to train the model so that it can identify key information in the text.

[0090] (4) Model Reasoning

[0091] For knowledge content that requires reasoning, use the trained model to make predictions, generate initial labels based on the model prediction results, and optimize the labels based on certain strategies (such as label merging, filtering duplicate labels, etc.).

[0092] (5) Result output

[0093] Sort the tags by importance or relevance and select a certain number of tags as output. Convert the generated tags to a suitable output format, such as a list, JSON, etc.

[0094] (6) Result evaluation and improvement

[0095] Use precision, recall, F1 value and other indicators to evaluate the quality of label generation. Review the labels to ensure their relevance and accuracy to the knowledge content. Adjust model parameters, improve feature extraction methods or try other models based on the evaluation results to improve the accuracy of label generation.

[0096] 2. Blockchain storage module, its flow chart is as follows Figure 3 As shown, the main process is as follows:

[0097] (1) Design blockchain network structure

[0098] This can be a private chain, a public chain, or a consortium chain, depending on the use case and participants of the system. For example, if the system is mainly used for internal knowledge management, then a private chain may be a good choice; if the system needs to be open and transparent, then a public chain may be more appropriate.

[0099] (2) Consensus algorithm selection

[0100] Select or design a consensus algorithm suitable for the knowledge tagging system, such as Proof of Work, Proof of Stake, etc. This will help ensure that all nodes reach a consensus on the knowledge tags and related information on the blockchain.

[0101] (3) Define the data structure of knowledge tags

[0102] It mainly includes fields such as the label itself, generation time, generator, and associated knowledge content. These data will be stored and transmitted as part of blockchain transactions.

[0103] (4) Tag data encryption

[0104] The knowledge tags and their related information are encrypted to ensure the security and privacy of the data. At the same time, a unique hash value is generated for each tag to identify and verify the integrity of the data on the blockchain.

[0105] (5) Transaction Confirmation

[0106] Transactions are confirmed through the consensus mechanism of the blockchain network (such as proof of work PoW, proof of stake PoS, etc.). The encrypted and hashed knowledge tags and their related information are written into the blockchain as transaction data and verified and confirmed in the network through the consensus algorithm.

[0107] (6) Broadcasting transaction information

[0108] Broadcast confirmed transactions to the entire blockchain network to ensure that all nodes have a copy of the transaction

[0109] 3. Label query module, the main process is as follows:

[0110] (1) The system provides a query interface. It allows authorized users or applications to access the tag information on the blockchain. Users enter query conditions through the tag query module. After receiving the query conditions, the system will pre-process them, such as parsing keywords, converting query formats, etc. After authentication, the blockchain module is called for querying, and finally the retrieved results are returned to the user in an appropriate manner, which can be displayed through the interface of the tag query module or returned to the application through the API interface.

[0111] (2) Blockchain Query

[0112] The system retrieves matching tags and their associated knowledge content on the blockchain according to the rules in the smart contract. If there are many matching results, the system may also need to sort, deduplicate or further integrate these results.

[0113] 4. Permission management module, the main process is as follows:

[0114] (1) Identity Authentication and Registration

[0115] Each user generates a pair of public and private keys. The user signs transactions with the private key and verifies them with the public key, thus ensuring the authenticity and credibility of the user's identity.

[0116] (2) Role-based user management

[0117] Role-based permission management is adopted. Different roles are defined according to the needs of the knowledge tag system, such as administrator, ordinary user, editor, etc. According to the identity and responsibilities of the user, the corresponding role is assigned to the user. Each role has different permissions. For example, the administrator has advanced functions such as managing knowledge tags and reviewing user permissions, while ordinary users can only browse and search.

[0118] (3) Deploy the permission management contract on the blockchain

[0119] These contracts define various permission rules and operation logic. The contracts are written in smart contract language, and the execution and verification of the contracts are ensured through the consensus mechanism of the blockchain.

[0120] (4) Operation authentication and logging

[0121] When a user attempts to perform an operation (such as creating, modifying, or deleting a knowledge tag), the system checks the user's role and permissions. The system will only allow the operation to be performed if the user has the corresponding permissions. At the same time, the system will record all operations of all users for auditing.

[0122] (5) Log Audit

[0123] The system regularly audits the use of user permissions to ensure that there is no unauthorized operation or abuse of permissions. At the same time, the system records all permission-related operation logs to facilitate tracing and investigation when problems arise.

[0124] The above description is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A distributed knowledge tag management system based on blockchain, characterized by: include The label generation module uses natural language processing and machine learning techniques to extract key information from knowledge content and generate labels; The blockchain storage module uses a public chain, a private chain or a consortium chain to store tag data to ensure data security and non-tamperability; The tag query module provides users with the function of querying and retrieving tags. Users can obtain tag data by entering keywords or selecting specific categories. The permission management module connects the relationship between different knowledge tags through the blockchain to form a tag chain, which is convenient for users to query and navigate knowledge tags; by setting different permissions for different users or roles, the security and privacy of tag data are ensured; The service instance is responsible for interacting with the tag generation, blockchain storage, and permission management modules to ensure the secure storage and normal management of tag data; Generate labels based on knowledge content using a label generation module; The generated tags and related information are stored in the blockchain storage module; Receive the user's query request through the tag query module and retrieve the matching tags and their associated knowledge content on the blockchain; Use the permission management module to manage user access rights to tag data.

2. The system according to claim 1, characterized in that The label generation module further includes A natural language processing unit to extract key information from knowledge content; The machine learning unit is used to filter and optimize the extracted key information and generate the final label.

3. The system according to claim 2, characterized in that The label generation module further includes a function for automatically generating knowledge labels according to preset rules and / or machine learning algorithms.

4. The system according to claim 3, characterized in that The label generation module has the following workflow: (1) Text preprocessing a) Remove noise from text; b) Word segmentation and stemming: Segment the text into words or phrases, and perform stemming or lemmatization to uniformly process different forms of vocabulary; c) Convert text into numerical vectors for processing by machine learning algorithms; (2) Extract keywords a) Extract keywords from text; b) Use named entity recognition technology to identify entities in the text; c) Understand the syntactic structure and semantic relationship of the text through dependency syntax analysis and part-of-speech tagging technology; (3) Training Model Choose a suitable machine learning model based on the characteristics of the task. If supervised learning is used, a portion of the data needs to be manually labeled as a training set. Use the labeled data to train the model so that it can identify key information in the text. (4) Model Reasoning For knowledge content that needs to be inferred, use the trained model to make predictions, generate initial labels based on the model prediction results, and optimize the labels based on the strategy; (5) Result output Sort the tags according to their importance or relevance and select the tags as output; convert the generated tags into a set format for output; (6) Result evaluation and improvement Use precision, recall, and F1 value indicators to evaluate the quality of label generation; review labels to ensure their relevance and accuracy to the knowledge content; adjust model parameters, improve feature extraction methods, or try other models based on the evaluation results to improve the accuracy of label generation.

5. The system according to claim 1, characterized in that The blockchain storage module uses smart contract technology to realize the storage and circulation of tag data; The tag data is packaged into transactions and broadcast, verified and stored through nodes in the blockchain network to ensure the security and immutability of the data.

6. The system according to claim 5, characterized in that The blockchain storage module has the following workflow: (1) Design blockchain network structure Choose a private chain, public chain, or consortium chain, depending on the use case and participants of the system; (2) Consensus algorithm selection Select or design a consensus algorithm suitable for the knowledge tagging system; (3) Defining the data structure of knowledge tags Including the label itself, generation time, generator, and associated knowledge content; these data will be stored and transmitted as part of the blockchain transaction; (4) Tag data encryption The knowledge tags and their related information are encrypted; at the same time, a unique hash value is generated for each tag to identify and verify the integrity of the data on the blockchain; (5) Transaction Confirmation Confirm transactions through the consensus mechanism of the blockchain network; write the encrypted and hashed knowledge tags and their related information into the blockchain as transaction data, and verify and confirm them in the network through the consensus algorithm; (6) Broadcast transaction information. Broadcast confirmed transactions to the entire blockchain network, ensuring that all nodes have a copy of the transaction.

7. The system according to claim 5, characterized in that The tag query module can also realize automated query and matching processes through smart contract technology.

8. The system according to claim 7, characterized in that The workflow of the tag query module is as follows: (1) Provide a query interface to allow authorized users or applications to access tag information on the blockchain; users enter query conditions through the tag query module, and after receiving the query conditions, they will be pre-processed; After authentication, the blockchain module is called to query, and finally the retrieved results are returned to the user, displayed through the interface of the tag query module or returned to the application through the API interface; (2) Blockchain Query According to the rules in the smart contract, matching tags and their associated knowledge content are retrieved on the blockchain. If the matching results are greater than the set number, these results need to be sorted, deduplicated, or further integrated.

9. The system according to claim 1, characterized in that The permission management module can also record the user's operation log to provide a basis for tracing and auditing; Encryption technology and identity authentication mechanisms are used to ensure that only authorized entities can perform corresponding label operations.

10. The system according to claim 1, characterized in that The work flow of the permission management module is as follows: (1) Identity Authentication and Registration Each user generates a pair of public and private keys; the user signs transactions with the private key and verifies them with the public key; (2) Role-based user management Adopt role-based permission management, define different roles according to the needs of the knowledge tag system, and assign corresponding roles to users according to their identities and responsibilities; each role has different permissions; (3) Deploy the permission management contract on the blockchain These contracts define various permission rules and operation logic; the contracts are written in smart contract language, and the execution and verification of the contracts are ensured through the consensus mechanism of the blockchain; (4) Operation authentication and logging When a user tries to perform an operation, the user's role and permissions are checked; the operation is allowed only if the user has the corresponding permissions, and all operations of all users are recorded; (5) Log Audit Regularly audit user permission usage and record all permission-related operation logs.

Citation Information

Patent Citations

  • Credible identifier association relationship query method based on block chain technology, corresponding storage medium and electronic device

    CN111190936A

  • Agricultural supply chain financial service platform based on block chain

    CN111210331A

  • Method and system for determining target user state label based on block chain

    CN111431918A

  • Short text classification method based on multi-strategy fusion

    CN117251524A

  • Bill management system and method based on block chain technology

    CN117494219A

Cited By

  • Big data real-time processing system and method

    CN119271704A

  • Smart campus information security management system based on block chain

    CN119379221A

  • Multi-reactor nuclear power station knowledge management intelligent platform and method based on block chain technology

    CN121524291A

  • Computer-implemented methods, systems comprising computer-readable media, and electronic devices for bank operations transaction analysis

    US12775801B2

  • Computer-implemented methods, systems comprising computer-readable media, and electronic devices for bank operations transaction analysis

    WO2026096121A1