Medical beauty data privacy security sharing and tracing method and system based on block chain

By combining blockchain technology and hash chains, public-private key pairs are generated and medical aesthetic data is encrypted, solving the problems of privacy and security protection and sharing of medical aesthetic data, realizing secure data sharing and traceability, and improving privacy and security.

CN121664526APending Publication Date: 2026-03-13BEIJING DAYOU SHUNTIAN BIOTECHNOLOGY CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-11
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing technologies for medical aesthetics data protection suffer from risks of data leakage and insufficient privacy protection, and medical aesthetics companies cannot achieve secure data sharing among themselves.

Method used

A blockchain-based method for sharing and tracing medical aesthetic data privacy is adopted. Through the collaborative work of the management center and the blockchain, a public-private key pair is generated. The medical aesthetic privacy data is encrypted using a hash chain and multiple hash operations are performed within a time window to achieve secure data sharing and traceability.

Benefits of technology

Effectively protect the privacy and security of medical aesthetic data, prevent data leakage, and at the same time realize the secure sharing and traceability of medical aesthetic data, ensure the credibility of the behavior of data sharing users, and improve the privacy and security of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121664526A_ABST
    Figure CN121664526A_ABST
Patent Text Reader

Abstract

The invention discloses a medical beauty data privacy security sharing and tracing method and system based on a block chain, and relates to the technical field of privacy protection. The method comprises the steps that a management center sends a data sharing request containing medical beauty sharing request data to a block chain; the block chain generates a public and private key pair and a hash chain for each data sharing user; the block chain sends the hash chain and the public and private key pair to a data sharing user; the block chain receives and stores the encrypted medical beauty privacy data and the encrypted time window uploaded by the shared user; the block chain receives a medical beauty private data query request of a query user and finds out a private key corresponding to the queried user, and decrypts an encryption time window uploaded by the to-be-queried user through the private key to obtain the encryption time window; the block chain finds out the hash token of the queried user; and the block chain encrypts the hash token and the encrypted medical beauty privacy data and then sends the encrypted hash token and encrypted medical beauty privacy data to a query user. According to the method, the medical beauty data can be safely shared while the privacy security of the medical beauty data is protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of privacy protection technology, specifically relating to a blockchain-based method and system for the secure sharing and traceability of medical aesthetic data privacy. Background Technology

[0002] With the popularization of the Internet and the arrival of the digital age, especially with the leakage of medical aesthetic data, it may cause serious losses to individuals and businesses. Therefore, the privacy and security protection of medical aesthetic data has become an urgent issue to be addressed.

[0003] Currently, the most common way to protect the privacy and security of medical aesthetic data is through the medical aesthetic record information system established by medical aesthetic companies. However, this method still faces problems such as data leakage risks and insufficient privacy protection. Moreover, since the systems of medical aesthetic companies are mostly independent, it is impossible to achieve secure sharing of medical aesthetic data between medical aesthetic companies.

[0004] Therefore, how to provide an effective solution to achieve secure sharing of medical aesthetic data while protecting the privacy and security of medical aesthetic data has become an urgent problem to be solved in existing technologies. Summary of the Invention

[0005] The purpose of this invention is to provide a blockchain-based method and system for sharing and tracing medical aesthetic data with privacy and security, in order to solve the aforementioned problems existing in the prior art.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: In a first aspect, the present invention provides a blockchain-based method for sharing and tracing medical aesthetic data with privacy and security, applied to a blockchain-based system for sharing and tracing medical aesthetic data with privacy and security. The blockchain-based system includes a management center and a blockchain, comprising: The management center obtains medical aesthetics sharing request data uploaded by at least one data sharing user collected by the distributed data acquisition device. The medical aesthetics sharing request data includes user identity information, medical aesthetics privacy data, and sharing time. The management center sends a data sharing request to the blockchain, and the data sharing request includes the medical aesthetics sharing request data; The blockchain generates a public-private key pair for each data sharing user and performs multiple hash operations on the sharing time corresponding to each data sharing user according to the time window to obtain a hash chain corresponding to each data sharing user. The blockchain sends the hash chain and public-private key pair to the corresponding data sharing users through the management center. This allows each data sharing user to divide their medical aesthetic privacy data to be shared into multiple data blocks and then encrypt each data block using a hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, thus obtaining the encrypted medical aesthetic privacy data of the data sharing user. The blockchain receives and stores encrypted medical aesthetic privacy data uploaded by shared users, as well as the encryption time window. The encryption time window is the data encrypted within the corresponding time window when the shared user encrypts its data block using the corresponding public key. The blockchain receives a query request for medical aesthetic privacy data uploaded by the querying user, and the medical aesthetic privacy data query request carries the user identity information of the queried user; The blockchain finds the private key corresponding to the user's identity information based on the user's identity information, and then uses the found private key to decrypt the encrypted time window uploaded by the user to obtain the encrypted time window of the data block corresponding to the user. The blockchain retrieves a hash token from the hash chain corresponding to the queried user that matches the encryption time window of the data block corresponding to the queried user. The blockchain sends the hash token and the encrypted medical aesthetic privacy data corresponding to the queried user to the queried user after encrypting them with the public key corresponding to the queried user. The queried user can then decrypt the encrypted hash token and the encrypted medical aesthetic privacy data based on the corresponding private key, and use the decrypted hash token to decrypt the decrypted encrypted medical aesthetic privacy data.

[0007] In one possible design, the management center updates the frequency of data collection from the distributed data collection device based on the amount of medical aesthetics privacy data collected from the medical aesthetics sharing request data in the most recent multiple collections from the distributed data collection device.

[0008] In one possible design, the blockchain generates a public-private key pair for each data-sharing user, including: The blockchain verifies the identity information of each user in the medical aesthetics sharing request data, and generates a public-private key pair for each data sharing user after the verification is successful.

[0009] In one possible design, after the blockchain verifies the identity information of each user in the medical aesthetics sharing request data, the method further includes: Blockchain verifies whether the data-sharing user corresponding to each user's identity information has data-sharing permissions; After the data sharing permission is verified, the blockchain calculates the credibility of the data sharing behavior of the data sharing user corresponding to each user's identity information based on the historical sharing behavior data of the data sharing user corresponding to each user's identity information. The blockchain determines whether to generate a public-private key pair for each data-sharing user based on the credibility of the data-sharing behavior corresponding to each user's identity information.

[0010] In one possible design, historical sharing behavior data includes historical sharing frequency, historical sharing data volume, historical sharing security information, and / or historical sharing timeliness information.

[0011] In one possible design, the blockchain generates a public-private key pair for each data-sharing user and performs multiple hash operations on the sharing time corresponding to each data-sharing user according to a time window, including: The blockchain selects a target blockchain node from the candidate blockchain nodes, generates a public-private key pair for each data sharing user through the target blockchain node, and performs multiple hash operations on the sharing time corresponding to each data sharing user according to the time window through the target blockchain node; The blockchain sends the hash chain and public / private key pairs to the corresponding data-sharing users through the management center, including: The blockchain sends the hash chain and public / private key pair to the corresponding data-sharing user through the management center via the target blockchain node.

[0012] In one possible design, the blockchain selects a target blockchain node from candidate blockchain nodes, including: The blockchain performs security verification on candidate blockchain nodes; The trust level of at least one candidate blockchain node after the blockchain computing security verification is passed, and the candidate blockchain node with the highest trust level is selected as the target blockchain node from the at least one candidate blockchain node.

[0013] In one possible design, each data block is encrypted using a hash token corresponding to one of the time windows of the shared time in the corresponding hash chain, including: The remainder is obtained by dividing the number of data blocks by the number of time windows in the corresponding hash chain, and then encrypting each data block using the hash token corresponding to the time window whose sorting position in the corresponding hash chain is the same as the remainder.

[0014] Secondly, this invention provides a blockchain-based medical aesthetics data privacy and security sharing and traceability system, comprising: a management center and a blockchain, wherein the management center is used to acquire medical aesthetics sharing request data uploaded by at least one data sharing user collected by distributed data acquisition devices, the medical aesthetics sharing request data including user identity information, medical aesthetics privacy data, and sharing time; and Send a data sharing request to the blockchain, the data sharing request including the medical aesthetics sharing request data; The blockchain is used to generate public-private key pairs for each data sharing user, and to perform multiple hash operations on the sharing time corresponding to each data sharing user according to the time window to obtain a hash chain corresponding to each data sharing user. The hash chain and public / private key pair are sent to the corresponding data sharing users through the management center. Each data sharing user then divides the medical aesthetic privacy data to be shared into multiple data blocks and encrypts each data block using a hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, thus obtaining the encrypted medical aesthetic privacy data of the data sharing user. Receive and store encrypted medical aesthetic privacy data uploaded by shared users, as well as the encryption time window. The encryption time window is the data encrypted within the corresponding time window when the shared user encrypts its data block using the corresponding public key. Receive medical aesthetic privacy data query requests uploaded by query users, wherein the medical aesthetic privacy data query requests carry the user identity information of the queried user; Based on the user identity information of the queried user, find the private key corresponding to the user identity information of the queried user, and use the found private key to decrypt the encrypted time window uploaded by the queried user to obtain the encrypted time window of the data block corresponding to the queried user. Based on the encryption time window of the data block corresponding to the queried user, find the hash token that matches the encryption time window of the data block corresponding to the queried user from the hash chain; and The hash token and the encrypted medical aesthetic privacy data corresponding to the queried user are encrypted using the public key corresponding to the queried user and then sent to the queried user. The queried user can then decrypt the encrypted hash token and the encrypted medical aesthetic privacy data using the corresponding private key, and then use the decrypted hash token to decrypt the decrypted encrypted medical aesthetic privacy data.

[0015] Beneficial effects: This invention establishes a data collection mechanism to gather medical aesthetic sharing requests from users. Based on blockchain technology and a hash chain, it encrypts the medical aesthetic privacy data to be shared, effectively protecting the privacy and security of medical aesthetic data and preventing its leakage. Simultaneously, it designs a blockchain-based encrypted sharing mechanism for medical aesthetic privacy data, achieving secure sharing of medical aesthetic data. Thus, it enables secure sharing of medical aesthetic data while protecting its privacy.

[0016] Furthermore, a credibility mechanism is introduced to ensure the credibility of data sharing users' sharing behavior and to differentiate the credibility of shared data.

[0017] Furthermore, when encrypting data, the hash token of the selected time window is determined to encrypt the data block based on the number of data blocks and the number of time windows in the corresponding hash chain, thereby improving the algorithm encryption process and further enhancing the privacy and security of medical aesthetic data. Attached Figure Description

[0018] Figure 1 A flowchart illustrating the blockchain-based method for sharing and tracing medical aesthetic data with privacy and security, provided in this application embodiment; Figure 2 This is a block diagram of a blockchain-based medical aesthetics data privacy and security sharing and traceability system provided in an embodiment of this application. Detailed Implementation

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in conjunction with the accompanying drawings and descriptions of the embodiments or the prior art. Obviously, the following description of the structure of the accompanying drawings is only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.

[0020] It should be understood that although the terms first, second, etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit, without departing from the scope of the exemplary embodiments of the invention.

[0021] It should be understood that the term "and / or" that may appear in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, and A and B exist simultaneously. The term " / and" that may appear in this document describes another relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this document generally indicates that the related objects before and after it are in an "or" relationship.

[0022] To protect the privacy and security of medical aesthetic data, this application provides a blockchain-based method and system for sharing and tracing medical aesthetic data with privacy and security. This blockchain-based method and system can achieve secure sharing of medical aesthetic data while protecting its privacy and security.

[0023] The blockchain-based method for sharing and tracing medical aesthetic data privacy and security provided in this application embodiment can be applied to a blockchain-based medical aesthetic data privacy and security sharing and traceability system, which includes a management center and a blockchain.

[0024] The following will provide a detailed description of the blockchain-based method for sharing and tracing medical aesthetic data privacy and security, as provided in the embodiments of this application.

[0025] like Figure 1 The diagram shown is a flowchart of a blockchain-based method for sharing and tracing medical aesthetic data privacy and security, provided in the first aspect of the embodiments of this application. This blockchain-based method for sharing and tracing medical aesthetic data privacy and security may include, but is not limited to, the following steps S101-S109.

[0026] Step S101. The management center obtains medical aesthetics sharing request data uploaded by at least one data sharing user collected by the distributed data acquisition device.

[0027] The distributed data acquisition device can be the backend terminal device of an authenticated data sharing user (such as a medical aesthetics company). The medical aesthetics sharing request data may include, but is not limited to, user identity information, medical aesthetics privacy data, and sharing time, where sharing time refers to the time period during which the medical aesthetics privacy data is allowed to be shared.

[0028] In one or more embodiments, when the management center obtains medical aesthetics sharing request data from the distributed data acquisition device, it can update the frequency of data acquisition from the distributed data acquisition device based on the amount of medical aesthetics privacy data collected from the medical aesthetics sharing request data in the most recent multiple times. For example, when the amount of medical aesthetics privacy data collected from the distributed data acquisition device in the most recent multiple times increases, the frequency of data acquisition from the distributed data acquisition device can be appropriately increased; when the amount of medical aesthetics privacy data collected from the distributed data acquisition device in the most recent multiple times decreases, the frequency of data acquisition from the distributed data acquisition device can be appropriately decreased. This can reduce unnecessary data acquisition operations and improve the utilization rate of computing resources.

[0029] Step S102. The management center sends a data sharing request to the blockchain, which includes medical aesthetics sharing request data.

[0030] Step S103. The blockchain generates a public-private key pair for each data sharing user and performs multiple hash operations on the sharing time corresponding to each data sharing user according to the time window to obtain a hash chain corresponding to each data sharing user.

[0031] When performing multiple hash operations on the sharing time corresponding to each data-sharing user according to time windows, blockchain can divide the sharing time of each user into multiple time windows, for example, six time windows. Then, multiple hash operations can be performed on the start time of the sharing time, each hash operation yielding a hash value (i.e., a hash token). These multiple hash values ​​are then combined sequentially to form a hash chain. For example, if the sharing time is divided into six time windows, six hash operations can be performed on the start time of the sharing time to obtain six hash values, which are then combined sequentially to form a hash chain.

[0032] In one or more embodiments, when the blockchain generates a public-private key pair for each data-sharing user, it can verify the identity information of each user in the medical aesthetics sharing request data, and generate a public-private key pair for each data-sharing user after successful verification. This ensures that all subsequently shared medical aesthetics privacy data is permitted data.

[0033] In one or more embodiments, after verifying the identity information of each user in the medical aesthetics sharing request data, the blockchain can also verify whether the data sharing user corresponding to each user's identity information has data sharing permissions. After the data sharing permissions are verified, based on the historical sharing behavior data of the data sharing user corresponding to each user's identity information, the blockchain calculates the credibility of the sharing behavior of the data sharing user corresponding to each user's identity information. Finally, based on the credibility of the sharing behavior of the data sharing user corresponding to each user's identity information, it determines whether to generate a public-private key pair for each data sharing user. If the credibility of the sharing behavior of the data sharing user corresponding to the user's identity information is higher than a preset trust threshold, it indicates that the sharing behavior of the data sharing user corresponding to the user's identity information is credible, and a public-private key pair is generated for the sharing user. Otherwise, it is determined that the sharing behavior of the data sharing user corresponding to the user's identity information is untrustworthy, and a public-private key pair is not generated for the sharing user.

[0034] The historical sharing behavior data may include, but is not limited to, historical sharing frequency, historical sharing data volume, historical sharing security information (i.e., security information of historical sharing data) and / or historical sharing timeliness information.

[0035] In one or more embodiments, when the blockchain generates a public-private key pair for each data sharing user and performs multiple hash operations on the sharing time corresponding to each data sharing user according to a time window, it can first select a target blockchain node from the candidate blockchain nodes, generate a public-private key pair for each data sharing user through the target blockchain node, and perform multiple hash operations on the sharing time corresponding to each data sharing user according to a time window through the target blockchain node.

[0036] When selecting a target blockchain node from candidate blockchain nodes, a suitable blockchain node can be chosen based on the network status and / or resource distribution of each blockchain in the blockchain. Alternatively, the candidate blockchain nodes can be first security verified, and then the trust level of at least one candidate blockchain node that has passed the security verification can be calculated. The candidate blockchain node with the highest trust level can then be selected as the target blockchain node.

[0037] Step S104. The blockchain sends the hash chain and public-private key pair to the corresponding data sharing users through the management center, so that each data sharing user can divide the medical aesthetic privacy data to be shared into multiple data blocks, and encrypt each data block by using the hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, so as to obtain the encrypted medical aesthetic privacy data of the data sharing user.

[0038] If the blockchain selects a target blockchain node from the candidate blockchain nodes to generate a public-private key pair and perform a hash operation, the hash chain and the public-private key pair can be sent to the corresponding data sharing user through the management center via the target blockchain node.

[0039] After receiving the hash chain and public / private keys, each data sharing user can divide their medical aesthetic privacy data to be shared into multiple data blocks. Then, they can encrypt each data block using a hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, thus obtaining the encrypted medical aesthetic privacy data of the data sharing user.

[0040] In one or more embodiments, when encrypting each data block using a hash token corresponding to one of the time windows in the corresponding hash chain that shares the same time, the number of the plurality of data blocks can be divided by the number of time windows in the corresponding hash chain, and the remainder can be obtained. Then, each data block is encrypted using a hash token corresponding to the time window in the corresponding hash chain whose sorting position is the same as the remainder. Example A user divides their shared medical aesthetic privacy data into 10 data blocks. Since the number of time windows in the hash chain is 6, the number of data blocks (10) can be divided by the number of time windows (6) in the corresponding hash chain, and the remainder is 4. Then, each data block is encrypted using the 4th hash token in the corresponding hash chain.

[0041] Step S105. The blockchain receives and stores encrypted medical aesthetic privacy data and encrypted time windows uploaded by the shared user.

[0042] The encryption time window refers to the data encrypted within the time window corresponding to when a shared user encrypts their data block using the corresponding public key.

[0043] Step S106. The blockchain receives the query request for medical aesthetic privacy data uploaded by the user.

[0044] Among them, the medical aesthetics privacy data query request carries the user identity information of the user being queried.

[0045] Step S107. The blockchain finds the private key corresponding to the user identity information of the queried user based on the user identity information of the queried user, and decrypts the encrypted time window uploaded by the queried user using the found private key to obtain the encrypted time window of the data block corresponding to the queried user.

[0046] Step S108. The blockchain searches for a hash token that matches the encryption time window of the data block corresponding to the queried user from the hash chain corresponding to the queried user.

[0047] Step S109. The blockchain sends the hash token and the encrypted medical aesthetic privacy data corresponding to the queried user to the queried user after encrypting them with the public key corresponding to the queried user. The queried user can then decrypt the encrypted hash token and the encrypted medical aesthetic privacy data based on the corresponding private key, and use the decrypted hash token to decrypt the decrypted encrypted medical aesthetic privacy data.

[0048] This invention provides a blockchain-based method for secure sharing and traceability of medical aesthetic data. By establishing a data collection mechanism to gather medical aesthetic sharing request data from users, and encrypting the medical aesthetic privacy data to be shared using blockchain technology and a hash chain, it effectively protects the privacy and security of medical aesthetic data and prevents data leakage. Simultaneously, it designs a blockchain-based encrypted medical aesthetic privacy data sharing mechanism to achieve secure sharing of medical aesthetic data, thus enabling secure sharing while protecting data privacy. Furthermore, a trust mechanism is introduced to ensure the credibility of users' sharing behavior and differentiate the trustworthiness of shared data. Moreover, during data encryption, the hash token for the selected time window is determined based on the number of data blocks and the number of time windows in the corresponding hash chain, thereby improving the encryption algorithm and further enhancing the privacy and security of medical aesthetic data, facilitating practical application and promotion.

[0049] Please see Figure 2 The second aspect of this application provides a blockchain-based medical aesthetics data privacy and security sharing and traceability system. This system includes a management center and a blockchain. The management center is used to acquire medical aesthetics sharing request data uploaded by at least one data sharing user, collected by a distributed data acquisition device. The medical aesthetics sharing request data includes user identity information, medical aesthetics privacy data, and sharing time. Send a data sharing request to the blockchain, the data sharing request including the medical aesthetics sharing request data; The blockchain is used to generate public-private key pairs for each data sharing user, and to perform multiple hash operations on the sharing time corresponding to each data sharing user according to the time window to obtain a hash chain corresponding to each data sharing user. The hash chain and public / private key pair are sent to the corresponding data sharing users through the management center. Each data sharing user then divides the medical aesthetic privacy data to be shared into multiple data blocks and encrypts each data block using a hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, thus obtaining the encrypted medical aesthetic privacy data of the data sharing user. Receive and store encrypted medical aesthetic privacy data uploaded by shared users, as well as the encryption time window. The encryption time window is the data encrypted within the corresponding time window when the shared user encrypts its data block using the corresponding public key. Receive medical aesthetic privacy data query requests uploaded by query users, wherein the medical aesthetic privacy data query requests carry the user identity information of the queried user; Based on the user identity information of the queried user, find the private key corresponding to the user identity information of the queried user, and use the found private key to decrypt the encrypted time window uploaded by the queried user to obtain the encrypted time window of the data block corresponding to the queried user. Based on the encryption time window of the data block corresponding to the queried user, find the hash token that matches the encryption time window of the data block corresponding to the queried user from the hash chain; and The hash token and the encrypted medical aesthetic privacy data corresponding to the queried user are encrypted using the public key corresponding to the queried user and then sent to the queried user. The queried user can then decrypt the encrypted hash token and the encrypted medical aesthetic privacy data using the corresponding private key, and then use the decrypted hash token to decrypt the decrypted encrypted medical aesthetic privacy data.

[0050] The working process, working details and technical effects of the blockchain-based medical aesthetics data privacy and security sharing and traceability system provided in the second aspect of this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.

[0051] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A blockchain-based method for sharing and tracing medical aesthetic data privacy and security, applied to a blockchain-based medical aesthetic data privacy and security sharing and traceability system, wherein the blockchain-based medical aesthetic data privacy and security sharing and traceability system includes a management center and a blockchain, characterized in that, The method includes: The management center obtains medical aesthetics sharing request data uploaded by at least one data sharing user collected by the distributed data acquisition device. The medical aesthetics sharing request data includes user identity information, medical aesthetics privacy data, and sharing time. The management center sends a data sharing request to the blockchain, and the data sharing request includes the medical aesthetics sharing request data; The blockchain generates a public-private key pair for each data sharing user and performs multiple hash operations on the sharing time corresponding to each data sharing user according to the time window to obtain a hash chain corresponding to each data sharing user. The blockchain sends the hash chain and public-private key pair to the corresponding data sharing users through the management center. This allows each data sharing user to divide their medical aesthetic privacy data to be shared into multiple data blocks and then encrypt each data block using a hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, thus obtaining the encrypted medical aesthetic privacy data of the data sharing user. The blockchain receives and stores encrypted medical aesthetic privacy data uploaded by shared users, as well as the encryption time window. The encryption time window is the data encrypted within the corresponding time window when the shared user encrypts its data block using the corresponding public key. The blockchain receives a query request for medical aesthetic privacy data uploaded by the querying user, and the medical aesthetic privacy data query request carries the user identity information of the queried user; The blockchain finds the private key corresponding to the user's identity information based on the user's identity information, and then uses the found private key to decrypt the encrypted time window uploaded by the user to obtain the encrypted time window of the data block corresponding to the user. The blockchain retrieves a hash token from the hash chain corresponding to the queried user that matches the encryption time window of the data block corresponding to the queried user. The blockchain sends the hash token and the encrypted medical aesthetic privacy data corresponding to the queried user to the queried user after encrypting them with the public key corresponding to the queried user. The queried user can then decrypt the encrypted hash token and the encrypted medical aesthetic privacy data based on the corresponding private key, and use the decrypted hash token to decrypt the decrypted encrypted medical aesthetic privacy data.

2. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 1, characterized in that, Based on the amount of medical aesthetics privacy data collected from the distributed data acquisition device in recent multiple medical aesthetics sharing request data, the management center updates the frequency of data collection from the distributed data acquisition device.

3. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 1, characterized in that, The blockchain generates public-private key pairs for each data-sharing user, including: The blockchain verifies the identity information of each user in the medical aesthetics sharing request data, and generates a public-private key pair for each data sharing user after the verification is successful.

4. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 3, characterized in that, After the blockchain verifies the identity information of each user in the medical aesthetics sharing request data, the method further includes: Blockchain verifies whether the data-sharing user corresponding to each user's identity information has data-sharing permissions; After the data sharing permission is verified, the blockchain calculates the credibility of the data sharing behavior of the data sharing user corresponding to each user's identity information based on the historical sharing behavior data of the data sharing user corresponding to each user's identity information. The blockchain determines whether to generate a public-private key pair for each data-sharing user based on the credibility of the data-sharing behavior corresponding to each user's identity information.

5. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 4, characterized in that, Historical sharing behavior data includes historical sharing frequency, historical sharing data volume, historical sharing security information, and / or historical sharing timeliness information.

6. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 1, characterized in that, The blockchain generates a public-private key pair for each data-sharing user and performs multiple hash operations on the sharing time corresponding to each data-sharing user according to a time window, including: The blockchain selects a target blockchain node from the candidate blockchain nodes, generates a public-private key pair for each data sharing user through the target blockchain node, and performs multiple hash operations on the sharing time corresponding to each data sharing user according to the time window through the target blockchain node; The blockchain sends the hash chain and public / private key pairs to the corresponding data-sharing users through the management center, including: The blockchain sends the hash chain and public / private key pair to the corresponding data-sharing user through the management center via the target blockchain node.

7. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 6, characterized in that, The blockchain selects a target blockchain node from candidate blockchain nodes, including: The blockchain performs security verification on candidate blockchain nodes; The trust level of at least one candidate blockchain node after the blockchain computing security verification is passed, and the candidate blockchain node with the highest trust level is selected as the target blockchain node from the at least one candidate blockchain node.

8. The blockchain-based method for sharing and tracing medical aesthetic data privacy and security according to claim 1, characterized in that, Each data block is encrypted using a hash token corresponding to one of the time windows of the shared time in the corresponding hash chain, including: The remainder is obtained by dividing the number of data blocks by the number of time windows in the corresponding hash chain, and then encrypting each data block using the hash token corresponding to the time window whose sorting position in the corresponding hash chain is the same as the remainder.

9. A blockchain-based system for sharing and tracing medical aesthetic data with privacy and security, characterized in that, include: The management center and blockchain are used to acquire medical aesthetics sharing request data uploaded by at least one data sharing user collected by the distributed data acquisition device. The medical aesthetics sharing request data includes user identity information, medical aesthetics privacy data and sharing time. as well as Send a data sharing request to the blockchain, the data sharing request including the medical aesthetics sharing request data; The blockchain is used to generate public-private key pairs for each data sharing user, and to perform multiple hash operations on the sharing time corresponding to each data sharing user according to the time window to obtain a hash chain corresponding to each data sharing user. The hash chain and public / private key pair are sent to the corresponding data sharing users through the management center. Each data sharing user then divides the medical aesthetic privacy data to be shared into multiple data blocks and encrypts each data block using a hash token corresponding to one of the time windows of the sharing time in the corresponding hash chain, thus obtaining the encrypted medical aesthetic privacy data of the data sharing user. Receive and store encrypted medical aesthetic privacy data uploaded by shared users, as well as the encryption time window. The encryption time window is the data encrypted within the corresponding time window when the shared user encrypts its data block using the corresponding public key. Receive medical aesthetic privacy data query requests uploaded by query users, wherein the medical aesthetic privacy data query requests carry the user identity information of the queried user; Based on the user identity information of the queried user, find the private key corresponding to the user identity information of the queried user, and use the found private key to decrypt the encrypted time window uploaded by the queried user to obtain the encrypted time window of the data block corresponding to the queried user. Based on the encryption time window of the data block corresponding to the queried user, find the hash token that matches the encryption time window of the data block corresponding to the queried user from the hash chain corresponding to the queried user. as well as The hash token and the encrypted medical aesthetic privacy data corresponding to the queried user are encrypted using the public key corresponding to the queried user and then sent to the queried user. The queried user can then decrypt the encrypted hash token and the encrypted medical aesthetic privacy data using the corresponding private key, and then use the decrypted hash token to decrypt the decrypted encrypted medical aesthetic privacy data.

Citation Information

Patent Citations

  • Data sharing method and system based on blockchain

    CN112995224A

  • Medical beauty data management method and device based on block chain

    CN113326534A

  • Encrypted information processing method and device

    CN114629661A

  • Medical data sharing method and system based on block chain

    CN115811422A

  • Privacy protection cross-chain data sharing and verification tracing method and system based on multi-chain relay

    CN115865336A