Medical device traceability method based on block chain

By adopting blockchain technology, SM4 and CP-ABE hybrid encryption and IPFS distributed storage in medical device traceability management, the problem of insufficient data integrity and privacy in traditional traceability management is solved, and the data is high security and Transparency ensures that the data in the medical device supply chain is tamper-proof and verifiable.

CN119071072APending Publication Date: 2024-12-03QUFU NORMAL UNIV
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411244095.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Traditional medical device traceability management has problems of insufficient data integrity and privacy, resulting in the risk of data silos and privacy information exposure, and existing solutions have not fully considered the protection of privacy data.

Method used

Adopt blockchain-based medical device traceability management method, combined with SM4 and CP-ABE hybrid encryption technology, use IPFS to realize distributed secure storage, and control access rights through smart contracts to ensure data immutability and verifiability. Supports sharing of encrypted keys and data addresses to reduce the risk of plain text data transmission.

Benefits of technology

It enhances the integrity, transparency and privacy protection of data in the medical device supply chain, ensures the immutability and verifiability of data without privacy leakage, and improves the security and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention relates to the technical field of block chains, in particular to improvement on medical device traceability management based on the block chain technology and a proposed hybrid access control mechanism. Traceability management of medical instruments is a complex process and relates to a plurality of links and participants, and along with increasing complexity and uncertainty of a global supply chain, supply chain members face more and more risks. In order to solve the problems of poor integrity, low transparency, weak safety and the like in the traditional medical device traceability management, the invention provides a medical device traceability method based on a block chain, and designs a full-process medical device supply chain management process. In order to guarantee rights and interests of consumers, a transaction evidence storage mechanism is introduced, the supervision center is authorized to access evidence storage data, and privacy data is protected in a mixed encryption mode. The scheme of the invention not only improves the transparency and security of the medical instrument supply chain, but also plays an important role in protecting the privacy of consumers and improving the system efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blockchain, and in particular to a hybrid encrypted blockchain access control and application method. Background Art

[0002] The traceability management of medical devices is a complex process involving multiple links and participants. With the increasing complexity and uncertainty of the global supply chain, the risks faced by supply chain members are increasing. Traditional traceability management methods have problems such as insufficient data integrity and privacy. From the perspective of integrity, since the parties involved rely on independent databases for information management, it is easy to cause the "data island" phenomenon, making cross-system data interconnection and interoperability a major challenge. In addition, some participants selectively hide or modify key information to protect their own interests, thereby weakening the consistency and integrity of the data. From the perspective of data privacy, when it is necessary to upload important privacy data, the existing traceability system often finds it difficult to provide sufficient data protection measures, exposing users' privacy information to potential risks. Therefore, these limitations of traditional traceability management not only affect the efficiency and credibility of the system, but also pose a threat to users' privacy security.

[0003] In response to the above problems, many scholars have proposed various improvement methods. Uvini et al. proposed the Vacledger framework, which uses blockchain technology to track and detect counterfeit COVID-19 vaccine supply chains. Four smart contracts are used to achieve cross-border authorization, vaccine registration, inventory query, and location tracking to ensure that information cannot be tampered with. Li et al. combined the traditional role-based access control model with the attribute-based access control model and applied it to access management in the medical device supply chain. However, these solutions fail to fully consider the protection of privacy data. Summary of the invention

[0004] The problem to be solved by the present invention is to provide a medical device traceability method based on blockchain in view of the defects of the prior art.

[0005] The technical method adopted by the present invention is to improve the medical device traceability management mechanism based on blockchain, protect data through SM4 and CP-ABE hybrid encryption technology, use IPFS to achieve distributed secure storage, and use smart contracts to control access rights to achieve dual access. The medical device traceability management method based on the alliance blockchain of the present invention aims to enhance the integrity, transparency and privacy protection of data in the medical device supply chain, allowing users to store transaction agreements and various credentials in encrypted form during transactions, and ensure that the data cannot be tampered with and verifiable without leaking privacy. At the same time, it supports sharing encrypted keys and data addresses in a blockchain environment, reduces the transmission risk of plaintext data, and enhances the security of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0007] FIG1 is a diagram of the medical device traceability management architecture based on blockchain in the present invention.

[0008] FIG. 2 is a diagram showing the data storage and access control mechanism architecture of the present invention.

[0009] FIG3 is a time performance comparison between the present invention and the traditional CP-ABE under different attributes when the file size is 30 mb. DETAILED DESCRIPTION

[0010] (1) Symbols and definitions:

[0011] (a) DO: data owner;

[0012] (b) DU: data requester;

[0013] (c) MSK: system master key;

[0014] (d) PK: system public key;

[0015] (e) SK: SM4 symmetric key;

[0016] (f) IV: SM4 initialization vector;

[0017] (g) CT: ciphertext;

[0018] (h) Adr: the address where the file is stored in IPFS;

[0019] (i) A: Access policy;

[0020] (j) CK: ciphertext of SM4 symmetric key and initialization vector;

[0021] (k) Attr: requester attribute;

[0022] (l) ASK: user attribute private key;

[0023] (m) KM: Key Management Center;

[0024] (n) RM: Registration Management Center;

[0025] (2) SM4 and CP-ABE hybrid encryption;

[0026] (a) Encrypt the data through SM4, use CP-ABE to store the symmetric key and the returned IPFS address in the consortium blockchain, implement encryption operations off-chain, and use smart contracts to complete the ciphertext on-chain operations. CP-ABE is an attribute-based encryption scheme that allows the access control policy of encrypted data to be directly embedded in the encryption process. The following are the four main stages of attribute-based encryption;

[0027] (b) Setup: Initialization phase, input system security parameters , the system generates a public key and a master key , and use the SM4 algorithm to generate a symmetric key and initialization vector , ;

[0028] (c) Encrypt: In the encryption phase, the user first uses the SM4 symmetric encryption algorithm to encrypt the data M and generate the ciphertext , the user will generate the symmetric key, initialization vector and access policy Send to the key management center, enter the system public key PK and the above information, and get the key ciphertext ,Finally, a mixed ciphertext is generated and stored on the blockchain ;

[0029] (d) KenGen: Key generation phase, input the master key and the user's attribute set Attr, and output the user's attribute private key ASK: ;

[0030] (e) Decrypt: In the decryption process, the data requester DU first uses its attribute private key ASK to decrypt the ciphertext. Decrypt and recover the symmetric key SK and initialization vector IV: Then, the recovered symmetric key SK and initialization vector IV are used to store the ciphertext in the IPFS network. : ;

[0031] (3) Privacy data storage and sharing mechanism to achieve storage access;

[0032] (a) All users must submit a request to the RM to obtain the corresponding attribute proof. This process ensures that they can obtain specific identity attributes and are authorized to perform specific activities on the Fabric platform.

[0033] (b) RM verifies the registration information submitted by the user and returns verification information;

[0034] (c) DO randomly generates an encryption key SK and an initialization vector IV, and uses the SM4 encryption algorithm to encrypt the file to obtain the ciphertext ,Through this encryption mechanism, even if there is unauthorized access during data transmission or storage, the file content cannot be easily interpreted;

[0035] (d) DO uploads the encrypted ciphertext to the IPFS network, so that the encrypted data can be safely stored in a decentralized network, further enhancing data security and reliability;

[0036] (e) The IPFS system will provide DO with a unique address ,This address serves as the identifier of the ciphertext in the IPFS network, allowing the DO or authorized DU to easily locate and access the encrypted data when needed;

[0037] (f) DO sends SK, IV, Adr and the corresponding access control policy Α to the key management center. KM uses CP-ABE to encrypt the received information according to the access policy to ensure that only users who meet the specific attribute requirements can decrypt and obtain these key information and access the corresponding encrypted data;

[0038] (g) KM will encrypt the symmetric key and initialization vector ciphertext Feedback to DO;

[0039] (h) DO calls the evidence storage contract to upload CK and Adr to the blockchain , using the immutability and transparency of blockchain to provide security for information storage, and using the automated execution of smart contracts to improve the efficiency and operability of the system;

[0040] (i) DU sends an access request by calling the evidence access contract to access the on-chain data;

[0041] (j) DU obtains the encrypted symmetric key that will be recorded on the blockchain ;

[0042] (k) DU submits its attribute information (Attr) and the received encrypted symmetric key (CK) to KM. KM evaluates whether DU has the required access rights based on the access policy embedded in CK and Attr provided by DU;

[0043] (l) If the DU meets the requirements of the access policy, the KM decrypts , and pass the decrypted SK and IV to DU;

[0044] (m) DU sends a request to IPFS based on the address information Adr;

[0045] (n) IPFS returns the ciphertext CT stored in Adr to DU;

[0046] (o) DU uses SK and IV to decrypt CT to obtain the plaintext ;

[0047] (4) Medical device traceability management method based on blockchain;

[0048] (a) All users need to submit an identity authentication application to the Registration Management Center. After successful authentication, the user will be granted a pair of keys for identity authentication and to ensure the encryption security of data exchange;

[0049] (b) Manufacturers must register their products in the blockchain system and provide the necessary compliance and quality assurance information to prove that the products meet industry specifications and regulatory standards. After receiving the order, the logistics provider is responsible for uploading detailed logistics information, including the starting location, destination and current logistics status, to provide verifiable records for each flow node of the medical device in the supply chain. After the transaction is completed, the seller will put the sales data on the chain to record the details of each transaction. Consumers can query the complete traceability information of the medical device on the blockchain through the product's unique identification and name. In addition, if the owner of the medical device resells the product for a second time, the ownership will be transferred on the chain, and the traceability query authority will be changed accordingly;

[0050] (c) To ensure the authenticity of information, all on-chain operations must be judged by smart contracts. ,in is a signature, and ID is the identity of the participant. Only participants who have passed the verification can upload data, and only users who have passed the authentication and have relevant permissions can perform corresponding operations;

[0051] (d) When uploading data, it is necessary to call a smart contract to store it on the Hyperledger Fabric blockchain. For private data, a storage and sharing mechanism is used to achieve storage access. The private data here mainly includes transaction contracts, digital images, videos and other evidence materials after the transaction is completed. Consumers can selectively store them in encrypted form on the blockchain to provide tamper-proof evidence for handling potential transaction disputes. When a transaction dispute occurs, the property owner changes the dispute status, and the regulatory agency can access the encrypted data with authorization to conduct necessary investigations and decisions. , ensuring fair handling of disputes without infringing on privacy. According to the ruling of the regulatory center, if the product does not comply with the regulations, the manufacturer will be notified to recall the relevant products and take measures to protect the rights and interests of consumers.

Claims

1. A medical device traceability method based on blockchain, characterized by: (1) Designed a complete medical device supply chain management process to support user traceability query and transaction evidence storage, using blockchain to ensure data consistency and immutability, and improve data traceability and credibility; (2) The introduction of a proof storage mechanism allows users to store transaction agreements and various credentials in encrypted form during transactions, ensuring that data cannot be tampered with and can be verified without leaking privacy. (3) It protects data through SM4 and CP-ABE hybrid encryption technology and uses IPFS to achieve distributed secure storage. At the same time, it supports sharing encrypted keys and data addresses in a blockchain environment, reducing the transmission risk of plaintext data and enhancing the security of the system.

2. A blockchain-based medical device traceability management mechanism, comprising the following steps: (1) Symbols and definitions: (a) DO: data owner; (b) DU: data requester; (c) MSK: system master key; (d) PK: system public key; (e) SK: SM4 symmetric key; (f) IV: SM4 initialization vector; (g) CT: ciphertext; (h) Adr: the address where the file is stored in IPFS; (i) A: Access strategy; (j) CK: ciphertext of SM4 symmetric key and initialization vector; (k) Attr: requester attribute; (l) ASK: user attribute private key; (m) KM: Key Management Center; (n) RM: Registration Management Center; (2) SM4 and CP-ABE hybrid encryption; (a) Encrypt the data through SM4, use CP-ABE to store the symmetric key and the returned IPFS address in the consortium blockchain, implement encryption operations off-chain, and use smart contracts to complete the ciphertext on-chain operations. CP-ABE is an attribute-based encryption scheme that allows the access control policy of encrypted data to be directly embedded in the encryption process. The following are the four main stages of attribute-based encryption; (b) Setup: Initialization phase, input system security parameters , the system generates a public key and a master key , and use the SM4 algorithm to generate a symmetric key and initialization vector , ; (c) Encrypt: In the encryption phase, the user first uses the SM4 symmetric encryption algorithm to encrypt the data M and generate the ciphertext , the user will generate the symmetric key, initialization vector and access policy Send to the key management center, enter the system public key PK and the above information, and get the key ciphertext ,Finally, a mixed ciphertext is generated and stored on the blockchain ; (d) KenGen: Key generation phase, input the master key and the user's attribute set Attr, and output the user's attribute private key ASK: ; (e) Decrypt: In the decryption process, the data requester DU first uses its attribute private key ASK to decrypt the ciphertext. Decrypt and recover the symmetric key SK and initialization vector IV: Then, the recovered symmetric key SK and initialization vector IV are used to store the ciphertext in the IPFS network. : ; (3) Privacy data storage and sharing mechanism to achieve storage access; (a) All users must submit a request to the RM to obtain the corresponding attribute proof. This process ensures that they can obtain specific identity attributes and are authorized to perform specific activities on the Fabric platform. (b) RM verifies the registration information submitted by the user and returns verification information; (c) DO randomly generates an encryption key SK and an initialization vector IV, and uses the SM4 encryption algorithm to encrypt the file to obtain the ciphertext ,Through this encryption mechanism, even if there is unauthorized access during data transmission or storage, the file content cannot be easily interpreted; (d) DO uploads the encrypted ciphertext to the IPFS network, so that the encrypted data can be safely stored in a decentralized network, further enhancing data security and reliability; (e) The IPFS system will provide DO with a unique address ,This address serves as the identifier of the ciphertext in the IPFS network, allowing the DO or authorized DU to easily locate and access the encrypted data when needed; (f) DO sends SK, IV, Adr and the corresponding access control policy Α to the key management center. KM uses CP-ABE to encrypt the received information according to the access policy to ensure that only users who meet the specific attribute requirements can decrypt and obtain these key information and access the corresponding encrypted data; (g) KM will encrypt the symmetric key and initialization vector ciphertext Feedback to DO; (h) DO calls the evidence storage contract to upload CK and Adr to the blockchain , using the immutability and transparency of blockchain to provide security for information storage, and using the automated execution of smart contracts to improve the efficiency and operability of the system; (i) DU sends an access request by calling the evidence access contract to access the on-chain data; (j) DU obtains the encrypted symmetric key that will be recorded on the blockchain ; (k) DU submits its attribute information (Attr) and the received encrypted symmetric key (CK) to KM. KM evaluates whether DU has the required access rights based on the access policy embedded in CK and Attr provided by DU; (l) If the DU meets the requirements of the access policy, the KM decrypts , and pass the decrypted SK and IV to DU; (m) DU sends a request to IPFS based on the address information Adr; (n) IPFS returns the ciphertext CT stored in Adr to DU; (o) DU uses SK and IV to decrypt CT to obtain the plaintext ; (4) Medical device traceability management method based on blockchain; (a) All users need to submit an identity authentication application to the Registration Management Center. After successful authentication, the user will be granted a pair of keys for identity authentication and to ensure the encryption security of data exchange; (b) Manufacturers must register their products in the blockchain system and provide the necessary compliance and quality assurance information to prove that the products meet industry specifications and regulatory standards. After receiving the order, the logistics provider is responsible for uploading detailed logistics information, including the starting location, destination and current logistics status, to provide verifiable records for each flow node of the medical device in the supply chain. After the transaction is completed, the seller will put the sales data on the chain to record the details of each transaction. Consumers can query the complete traceability information of the medical device on the blockchain through the product's unique identification and name. In addition, if the owner of the medical device resells the product for a second time, the ownership will be transferred on the chain, and the traceability query authority will be changed accordingly; (c) To ensure the authenticity of information, all on-chain operations must be judged by smart contracts. ,in is a signature, and ID is the identity of the participant. Only participants who have passed the verification can upload data, and only users who have passed the authentication and have relevant permissions can perform corresponding operations; (d) When uploading data, it is necessary to call a smart contract to store it on the Hyperledger Fabric blockchain. For private data, a storage and sharing mechanism is used to achieve storage access. The private data here mainly includes transaction contracts, digital images, videos and other evidence materials after the transaction is completed. Consumers can selectively store them in encrypted form on the blockchain to provide tamper-proof evidence for handling potential transaction disputes. When a transaction dispute occurs, the property owner changes the dispute status, and the regulatory agency can access the encrypted data with authorization to conduct necessary investigations and decisions. , ensuring fair handling of disputes without infringing on privacy. According to the ruling of the regulatory center, if the product does not comply with the regulations, the manufacturer will be notified to recall the relevant products and take measures to protect the rights and interests of consumers.

Citation Information

Cited By

  • Supplier contract safety management system and method based on block chain

    CN120258843A

  • Supplier contract security management system and method based on blockchain

    CN120258843B

  • Radiotherapy mold full-process block chain traceability storage method and system

    CN120316087A