Data secrecy system based on block chain

By building a blockchain-based data confidentiality system, generating virtual node data sets and encrypting them for multiple encrypted storage, the problem of insufficient security of data storage is solved and high security and confidentiality of data is achieved.

CN120257322AInactive Publication Date: 2025-07-04CHENYANG FANGGAN CHUANGYAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510381308.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, data storage is insufficient security, there is a risk of data leakage, insufficient access control, and there are security vulnerabilities of third-party service providers, resulting in data being attacked or leaked.

Method used

Build a blockchain-based data confidentiality system, including data publishing module, data storage module, data query module and management module, generate virtual node data sets through the blockchain data platform, and perform multiple encrypted storage and query, and set up access permission databases for authentication.

Benefits of technology

Improve the security and confidentiality of data, and through multiple encryption and random storage, ensure that data is safe and reliable on the blockchain, preventing unauthorized access and leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120257322A_ABST
    Figure CN120257322A_ABST
Patent Text Reader

Abstract

The invention provides a data secrecy system based on a block chain, and relates to the field of data secrecy, the data secrecy system comprises a control center, the control center is connected with a data release module, a data storage module, a data query module and a management module; the data release module is constructed with a block chain data platform and is used for acquiring demand data of a user and generating a virtual node data set, and then acquiring virtual release data according to the virtual node data set; the data storage module is provided with an encryption mechanism and is used for encrypting and storing the virtual release data based on the encryption mechanism to obtain a target virtual code; the data query module is used for querying demand data according to the target virtual code and generating an alarm signal; the management module is used for managing a user according to the alarm signal; according to the invention, the confidentiality of data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data confidentiality, and specifically to a blockchain-based data confidentiality system. Background Art

[0002] Blockchain Blockchain is a block-chain storage, immutable, secure and trustworthy decentralized distributed ledger. It combines technologies such as distributed storage, peer-to-peer transmission, consensus mechanism, and cryptography. By continuously growing data block chains to record transactions and information, it ensures the security and transparency of data; Each data block is linked to the previous block, forming a continuous chain, ensuring the integrity of the transaction history; Smart contract technology makes the blockchain programmable, supporting a wider range of applications; Blockchain has been widely used in fields such as finance, supply chain, healthcare, and real estate; Although still facing scalability and regulatory challenges, it has become a powerful tool to change traditional business and social models and has great potential for the future; In the prior art, there are deficiencies in data storage security. If data is stored on an inadequately protected server, then they may be at risk of being hacked or suffering from data leakage; there are deficiencies in data access control. Without appropriate access control measures, unauthorized personnel may access sensitive data; there are defects in third-party service providers. If third-party service providers are used, then these service providers may have vulnerabilities or security issues, resulting in data being leaked or attacked; Therefore, a blockchain-based data confidentiality system is provided. Summary of the Invention

[0003] To solve the above technical problems, the present invention provides a blockchain-based data confidentiality system; The object of the present invention can be achieved through the following technical solutions: A blockchain-based data confidentiality system includes a control center, and the control center is connected to a data publishing module, a data storage module, a data query module, and a management module; The data publishing module constructs a blockchain data platform for obtaining the demand data of users and generating a virtual node data set, and then obtaining virtual published data according to the virtual node data set; The data publishing module constructs a blockchain data platform for obtaining demand data and generating a virtual node data set, and then obtaining virtual published data according to the virtual node data set; The data storage module is provided with an encryption mechanism for encrypting and storing the virtual published data based on the encryption mechanism to obtain a target virtual code; The data query module is used to query the demand data according to the target virtual code and generate an alarm signal; The management module is used to manage users according to the alarm signal.

[0004] Further, the construction process of the blockchain data platform includes: Obtain the data to be published, denoted as demand data, classify the obtained demand data according to the data type, generate several demand data packets, set corresponding demand data nodes according to the generated several demand data packets, connect the several demand data nodes to generate a data chain, set a data transmission channel, and connect the data chain to the blockchain through the data transmission channel to generate a blockchain data platform.

[0005] Further, the process of generating the virtual node dataset includes: Set block data nodes in the blockchain, randomly number the block data nodes to generate block data node numbers, encrypt the demand data packets corresponding to the demand data nodes on the data chain to generate virtual demand data packets, and generate corresponding demand keys. Associate the demand keys with the corresponding demand data nodes to generate a demand key dataset, and then store the several demand key datasets corresponding to the several demand data nodes on the data chain to generate a key database; Send the virtual demand data packets to the blockchain through the data transmission channel and randomly store them on the corresponding block data nodes of the blockchain. Map the stored block data nodes to the demand data nodes corresponding to the virtual demand data packets to generate a node dataset; Associate the corresponding block data node numbers with the stored virtual demand data packets to generate a virtual node dataset.

[0006] Further, the process of obtaining the virtual published data includes: Encrypt the virtual node dataset corresponding to the block data nodes for the first time to generate a new virtual node dataset, and obtain the corresponding first key; Encrypt the new virtual node dataset for the second time to generate virtual distribution data, and obtain the corresponding second key; Furthermore, associate the first key and the second key with the corresponding block data node numbers to generate a key dataset, and generate a key database from the key datasets corresponding to several block data nodes and store it in the cloud.

[0007] Further, the process of generating the target virtual code includes: The conversion unit converts the virtual distribution data into a corresponding target virtual code according to the block data node number where the virtual distribution data is located. The target virtual code is marked as i011k101h, where i represents the block data node number, k represents the first key corresponding to the block data node number, and h represents the second key corresponding to the block data node number; Preset the corresponding standard target virtual code according to the target virtual code; Generate the corresponding third key according to the target virtual code, and mark it as i-k-h. Then, perform data association storage in the key database according to the block data node number; The blockchain is connected to a user terminal, and an access interface is set on the user terminal; Furthermore, the generation process of the abnormal access includes: Preset an access permission database and store it in the cloud; The access permission database includes several block data node numbers, and each block data node number is associated with a corresponding access name and access code; The access interface is provided with an access name input box and an access code input box; The user inputs the access name and access code, and marks them as the input access name and input access code. Traverse the access name and access code in the access permission database according to the input access name and input access code, and determine whether the input access name and input access code are the same as the access name and access code at the same time. If they are the same, obtain the corresponding block data node number, and then obtain the third key corresponding to the block data node. Obtain the target virtual code corresponding to the block data node code according to the third key; if they are not the same, generate an input abnormal alarm signal; Compare the target virtual code with the standard virtual code; If they are the same, decrypt the target virtual code to obtain the virtual release data corresponding to the target virtual code; If they are not the same, the target virtual code cannot be decrypted, and the corresponding input access name and input access code are used to generate an abnormal access alarm signal.

[0008] Furthermore, the process of querying the demand data includes: Obtain the second key corresponding to the block data node number from the virtual distribution data according to the key data set, decrypt the virtual distribution data according to the second key. If the decryption is successful, obtain the new virtual node data set, and then obtain the first key according to the block data node number and decrypt the new virtual node data. If the decryption is successful, obtain the virtual node data set; otherwise, generate a decryption alarm signal; Obtain the demand data node mapped by the node data set from the virtual node data set according to the block data node number, and transmit it to the corresponding demand data node in the data chain of the blockchain data platform through the data transmission channel. Then, traverse the key database according to the demand node, obtain the corresponding demand key and decrypt the virtual demand data packet. If the decryption is successful, obtain the demand data packet; otherwise, generate a decryption alarm signal; Furthermore, obtain the corresponding demand data according to the data type.

[0009] Further, the process of the management module managing users according to the alarm signal includes: The management module is communicatively connected to a management terminal for sending the alarm signal to the management terminal for management; When an abnormal access alarm signal is received, the management terminal generates "abnormal input" and sends it to the user; When decryption abnormality is received, the access name and access code of the user are obtained, and the user is intercepted.

[0010] Compared with the prior art, the beneficial effects of the present invention are: 1. A blockchain data platform is constructed through the data publishing module, and the demand data is generated into virtual published data and sent to the data storage module; an encryption mechanism is set in the data storage module, and the virtual published data is encrypted and stored based on the encryption mechanism to generate virtual encrypted data and send it to the data query module; the demand data is generated into data nodes to form a data chain and connected to the blockchain through a data transmission channel, and the demand data packet is randomly sent to the corresponding block data node of the blockchain for storage, realizing random storage of data and ensuring data security.

[0011] 2. The data query module queries the demand data according to the encrypted data, and the present invention improves the confidentiality of the data; through the blockchain and the blockchain, and encrypting the demand data multiple times, the demand data is further encrypted, strengthening the data security. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings.

[0013] Figure 1 is the schematic diagram of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings.

[0015] As Figure 1 shown, a blockchain-based data confidentiality system includes a control center, and the control center is connected to a data publishing module, a data storage module, a data query module, and a management module; The data publishing module constructs a blockchain data platform, which is used to obtain the demand data of users and generate a virtual node dataset, and then obtain virtual publishing data according to the virtual node dataset; The data storage module is provided with an encryption mechanism, which is used to encrypt and store the virtual publishing data based on the encryption mechanism to obtain a target virtual code; The data query module is used to query the demand data according to the target virtual code and generate an alarm signal; The management module is used to manage users according to the alarm signal; Among them, the construction process of the blockchain data platform includes: Obtain the data to be published, denoted as demand data, classify the obtained demand data according to the data type, generate several demand data packets, set corresponding demand data nodes according to the generated several demand data packets, connect the several demand data nodes to generate a data chain, set a data transmission channel, and connect the data chain to the blockchain through the data transmission channel to generate a blockchain data platform; Obtain the data storage date corresponding to the demand data node; The demand data includes market research, statistical data, and industry reports; The data type includes data structure, data storage type, data storage size, and data storage date; It should be further noted that in the specific implementation process, the data structure mainly includes arrays, linked lists, trees, graphs, and queues, etc.; the data storage types include relational databases, non-relational databases, data warehouses, graph data tables, time series databases, and in-memory databases, etc.; Among them, the process of generating the virtual node dataset includes: Set block data nodes in the blockchain, randomly number the block data nodes to generate block data node numbers, encrypt the demand data packets corresponding to the demand data nodes on the data chain to generate virtual demand data packets, and generate corresponding demand keys, associate the demand keys with the corresponding demand data nodes to generate a demand key dataset, and then store the several demand key datasets corresponding to several demand data nodes on the data chain to generate a key database; Send the virtual demand data packet to the blockchain through the data transmission channel and randomly store it on the corresponding block data node of the blockchain, map the stored block data node to the demand data node corresponding to the virtual demand data packet to generate a node dataset; Associate the corresponding block data node number with the stored virtual demand data packet to generate a virtual node dataset; In one embodiment, it should be further noted that a virtual node dataset is generated for encrypting the requirement data packet at the first layer. To ensure the security of the requirement data, the virtual node dataset needs to be obtained first when obtaining the requirement data, and then the requirement data can be obtained; Among them, the process of obtaining the virtual published data includes: The virtual node dataset corresponding to the block data node is encrypted for the first time to generate a new virtual node dataset, and the corresponding first key is obtained; The new virtual node dataset is encrypted for the second time to generate virtual distribution data, and the corresponding second key is obtained; Furthermore, the first key and the second key are associated with the corresponding block data node number to generate a key dataset, and the key datasets corresponding to several block data nodes are generated into a key database and stored in the cloud.

[0016] Among them, the process of generating the target virtual code includes: The conversion unit converts the virtual distribution data into the corresponding target virtual code according to the block data node number where the virtual distribution data is located. The target virtual code is marked as i011k101h, where i represents the block data node number, k represents the first key corresponding to the block data node number, and h represents the second key corresponding to the block data node number; A corresponding standard target virtual code is preset according to the target virtual code; A corresponding third key is generated according to the target virtual code and marked as i-k-h. Then, it is stored in the key database according to the block data node number for data association; It should be further noted that in the specific implementation process, if the block data node number is 2, the first key is 23, and the second key is 7, the obtained target virtual code is 201123017, and then the corresponding third key is 2-23-7; The blockchain is connected to a user terminal, and an access interface is set on the user terminal; The process of generating the abnormal access includes: An access permission database is preset and stored in the cloud; The access permission database includes several block data node numbers, and each block data node number is associated with the corresponding access name and access code; The access interface is provided with an access name input box and an access code input box; The user inputs the access name and access code, which are marked as the input access name and input access code. According to the input access name and input access code, traverse the access names and access codes in the access permission database, and determine whether the input access name and input access code are the same as the access name and access code at the same time. If they are the same, obtain the corresponding block data node number, and then obtain the third key corresponding to the block data node. According to the third key, obtain the target virtual code corresponding to the block data node code; if they are not the same, generate an input exception alarm signal. Compare the target virtual code with the standard virtual code; If they are the same, decrypt the target virtual code to obtain the virtual release data corresponding to the target virtual code; If they are not the same, the target virtual code cannot be decrypted, and the corresponding input access name and input access code are used to generate an abnormal access alarm signal.

[0017] Among them, the process of querying the demand data includes: Obtain the second key corresponding to the block data node number from the virtual distribution data according to the key data set, decrypt the virtual distribution data according to the second key. If the decryption is successful, obtain the new virtual node data set, and then obtain the first key according to the block data node number, and decrypt the new virtual node data. If the decryption is successful, obtain the virtual node data set; otherwise, generate a decryption alarm signal; Obtain the demand data node mapped by the node data set from the virtual node data set according to the block data node number, and transmit it through the data transmission channel to the corresponding demand data node in the data chain of the blockchain data platform. Then, traverse the key database according to the demand node, obtain the corresponding demand key and decrypt the virtual demand data packet. If the decryption is successful, obtain the demand data packet; otherwise, generate a decryption alarm signal; Furthermore, obtain the corresponding demand data according to the data type; It should be further noted that in the specific implementation process, through the blockchain and the blockchain, and encrypting the demand data multiple times, the security of the data is strengthened; Among them, the process of the management module managing the user according to the alarm signal includes: The management module is communicatively connected to a management terminal for sending the alarm signal to the management terminal for management; When receiving the abnormal access alarm signal, the management terminal generates "input exception" and sends it to the user; When receiving the decryption exception, obtain the access name and access code of the user and intercept the user; It should be further noted that, in the specific implementation process, the data query module queries the required data according to the encrypted data, which improves the confidentiality of the data; through the blockchain and the blockchain, and encrypting the required data multiple times, and then encrypting the required data, the security of the data is strengthened.

[0018] Working principle: The present invention is a blockchain-based data confidentiality system. A blockchain data platform is constructed through the data publishing module to obtain a virtual node data set, and then virtual published data is generated and sent to the data storage module. An encryption mechanism is set in the data storage module to encrypt and store the virtual published data based on the encryption mechanism, generating a target virtual code and an abnormal access; the data query module queries the required data according to the target virtual code; the management module is used to generate an alarm signal according to the abnormal access.

[0019] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail with reference to the accompanying drawings and specific embodiments; it should be understood that the specific embodiments described herein are only intended to explain the present application, rather than limiting the present application; for those skilled in the art, the present application can be implemented without some of these specific details; the above description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

[0020] The above embodiments are only used to illustrate the technical method of the present invention and not to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical method of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A blockchain-based data confidentiality system, including a control center, characterized in that, The control center is connected to a data publishing module, a data storage module, a data query module, and a management module; The data publishing module constructs a blockchain data platform for obtaining the demand data of users and generating a virtual node data set, and then obtaining virtual publishing data according to the virtual node data set; The data storage module is provided with an encryption mechanism for encrypting and storing the virtual publishing data based on the encryption mechanism to obtain a target virtual code; The data query module is used to query the demand data according to the target virtual code and generate an alarm signal; The management module is used to manage users according to the alarm signal.

2. The data confidentiality system based on blockchain according to claim 1, wherein, The construction process of the blockchain data platform includes: Obtain the data to be published, denoted as demand data, classify the obtained demand data according to the data type, generate several demand data packets, set corresponding demand data nodes according to the generated several demand data packets, connect the several demand data nodes to generate a data chain, set a data transmission channel, and connect the data chain to the blockchain through the data transmission channel to generate a blockchain data platform.

3. A data confidentiality system based on blockchain according to claim 2, characterized in that, The generation process of the virtual node data set includes: Set block data nodes in the blockchain and randomly number the block data nodes to generate block data node numbers. Encrypt the demand data packets corresponding to the demand data nodes on the data chain to generate virtual demand data packets, and generate corresponding demand keys. Associate the demand keys with the corresponding demand data nodes to generate a demand key data set. Then store the several demand key data sets corresponding to the several demand data nodes on the data chain to generate a key database; Send the virtual demand data packets to the blockchain through the data transmission channel and randomly store them on the corresponding block data nodes of the blockchain. Map the stored block data nodes to the demand data nodes corresponding to the virtual demand data packets to generate a node data set; Associate the corresponding block data node numbers with the stored virtual demand data packets to generate a virtual node data set.

4. A data confidentiality system based on blockchain according to claim 3, characterized in that, The process of obtaining the virtual publishing data includes: Encrypt the virtual node data set corresponding to the block data node for the first time to generate a new virtual node data set, and obtain the corresponding first key; Encrypt the new virtual node data set for the second time to generate virtual distribution data, and obtain the corresponding second key; Furthermore, associate the first key and the second key with the corresponding block data node numbers to generate a key data set, and generate a key database from the key data sets corresponding to several block data nodes and store it in the cloud.

5. The data confidentiality system based on blockchain according to claim 4, characterized in that, The process of generating the target virtual code includes: The conversion unit converts the virtual distribution data into a corresponding target virtual code according to the block data node number where the virtual distribution data is located. The target virtual code is marked as i011k101h, where i represents the block data node number, k represents the first key corresponding to the block data node number, and h represents the second key corresponding to the block data node number; Preset a corresponding standard target virtual code according to the target virtual code; Generate the corresponding third key according to the target virtual code, and mark it as i-k-h. Then, store the data associated with the block data node number in the key database according to the block data node number. The blockchain is connected to a user terminal, and an access interface is set on the user terminal.

6. The data confidentiality system based on blockchain according to claim 5, characterized in that, The generation process of the abnormal access includes: Preset an access permission database and store it in the cloud. The access permission database includes several block data node numbers, and each block data node number is associated with a corresponding access name and access code. The access interface is provided with an access name input box and an access code input box. The user inputs the access name and access code, and marks them as the input access name and input access code. Traverse the access name and access code in the access permission database according to the input access name and input access code, and determine whether the input access name and input access code are the same as the access name and access code at the same time. If they are the same, obtain the corresponding block data node number, and then obtain the third key corresponding to the block data node. Obtain the target virtual code corresponding to the block data node code according to the third key. If they are not the same, generate an input abnormal alarm signal. Compare the target virtual code with the standard virtual code. If they are the same, decrypt the target virtual code to obtain the virtual release data corresponding to the target virtual code. If they are not the same, the target virtual code cannot be decrypted, and the corresponding input access name and input access code are used to generate an abnormal access alarm signal.

7. The data confidentiality system based on blockchain according to claim 6, wherein The process of querying the demand data includes: Obtain the second key corresponding to the block data node number according to the key data set for the virtual distribution data, and decrypt the virtual distribution data according to the second key. If the decryption is successful, obtain a new virtual node data set. Then, obtain the first key according to the block data node number and decrypt the new virtual node data. If the decryption is successful, obtain the virtual node data set; otherwise, generate a decryption alarm signal. Obtain the demand data node mapped by the node data set according to the block data node number for the virtual node data set, and transmit it to the corresponding demand data node in the data chain of the blockchain data platform through the data transmission channel. Then, traverse the key database according to the demand node, obtain the corresponding demand key and decrypt the virtual demand data packet. If the decryption is successful, obtain the demand data packet; otherwise, generate a decryption alarm signal. Then, obtain the corresponding demand data according to the data type.

8. A data confidentiality system based on blockchain according to claim 7, characterized in that, The process of the management module managing the user according to the alarm signal includes: The management module is communicatively connected to a management terminal for sending the alarm signal to the management terminal for management. When receiving the abnormal access alarm signal, the management terminal generates "input abnormal" and sends it to the user. When receiving the decryption exception, obtain the access name and access code of the user and intercept the user.