A smart contract privacy protection system based on blockchain

By introducing security testing and data detection modules into the blockchain smart contract system, periodically detecting the on-chain data, the single function and vulnerability of the privacy protection system in the existing technology are solved, and data integrity and security are improved.

CN115022884BActive Publication Date: 2024-12-10FUZHOU QIYUAN INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210471252.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-12-10
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

The existing blockchain-based smart contract privacy protection system has a single function, which is prone to vulnerabilities and affects the effectiveness of privacy protection.

Method used

Combining the security testing module and the data detection module, script detection, virus detection and vulnerability detection units are used to periodically test the on-link data, ensuring data integrity through data retrieval and verification units to prevent the impact of simulated attacks.

Benefits of technology

By regularly detecting and fixing vulnerabilities, ensure the security and integrity of the on-chain data and enhance the overall privacy protection effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115022884B_ABST
    Figure CN115022884B_ABST
Patent Text Reader

Abstract

The present invention discloses a smart contract privacy protection system based on blockchain, including a blockchain data management platform, a security testing module and a data detection module are provided in the database server, the security testing module performs certain security tests on the on-chain data according to the set periodicity, and synchronizes the tested vulnerability data information to the database server, and detects the on-chain data after the attack through the data detection module, and uses the data retrieval unit and the data verification unit to perform integrity detection on the on-chain data in turn to ensure the security of the data and avoid adverse effects caused by simulated attack actions. The present invention uses the security testing module to cooperate with the data detection module to find out whether new vulnerability problems have appeared, and cooperates with the data retrieval unit and the data verification unit in the data retrieval module to ensure the integrity of the on-chain data information, so as to ensure the overall privacy protection effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of network security technology, and more specifically, particularly relates to a smart contract privacy protection system based on blockchain. Background Art

[0002] Blockchain is a term in the field of information technology. In essence, it is a shared database, and the data or information stored in it has the characteristics of "unforgeable", "full traceability", "traceability", "openness and transparency", and "collective maintenance". Based on these characteristics, blockchain technology has laid a solid "trust" foundation and created a reliable "cooperation" mechanism. In the current corporate transaction process, blockchain is often used as the basis for establishing a contract privacy protection system. However, common privacy protection systems generally have a relatively single function. As data continues to be uploaded to the chain, it is easy to generate various new vulnerabilities, which affects the privacy protection effect. Summary of the invention

[0003] The purpose of the present invention is to solve the shortcomings existing in the prior art, and to use the security testing module in conjunction with the data detection module to find out whether new vulnerability problems have occurred, and to cooperate with the data retrieval unit and the data verification unit in the data retrieval module to ensure the integrity of the on-chain data information, so as to ensure the overall privacy protection effect.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] A blockchain-based smart contract privacy protection system includes a blockchain data management platform, a database server, a control terminal, a broadband cluster module, a security test module, a data detection module, an alarm module and a wireless communication module. The blockchain data management platform includes an API interface layer, a Baas service layer, a blockchain data layer, a blockchain network layer and a blockchain consensus layer. The database server is electrically connected to the control terminal through a serial port. The control terminal uploads data to the blockchain data management platform through the database server in cooperation with the wireless communication module.

[0006] The database server is provided with a security testing module and a data detection module, wherein the security testing module includes a script detection unit, a virus detection unit and a vulnerability detection unit, and the data detection module includes a data retrieval unit and a data verification unit. The security testing module performs certain security tests on the on-chain data according to a set periodicity, uses the script detection unit, the virus detection unit and the vulnerability detection unit to perform an attack test on the blockchain data management platform, and synchronizes the tested vulnerability data information to the database server, and detects the on-chain data after the attack through the data detection module, and uses the data retrieval unit and the data verification unit to perform integrity checks on the on-chain data in turn to ensure the security of the data and avoid adverse effects caused by simulated attack actions.

[0007] Preferably, the control terminal includes an alarm module. When the data loss or damage occurs when the uplink data is detected by the data retrieval unit and the data verification unit, the information is synchronized to the control terminal through the database server, and finally an alarm is issued by the alarm module.

[0008] Preferably, the data detection module and the security testing module operate independently of each other, perform periodic security tests and data detection according to staff presets, perform real-time integrity detection on the on-chain data, and cooperate with the attack test result data to achieve the effect of regularly repairing vulnerabilities.

[0009] Preferably, the API interface layer includes a data management interface, the Baas service layer includes an account management unit, the blockchain data layer includes a data block unit, the blockchain network layer includes a privacy protection unit and a permission control unit, and the blockchain consensus layer includes a pos unit and a pool verification pool unit.

[0010] Preferably, the data detection module uses a data retrieval unit to search the control terminal operation records of the on-chain data, retrieves the data block units in the blockchain data layer and the relevant information in the database server, and uses a data verification unit to compare to ensure the integrity of the on-chain data.

[0011] Preferably, the blockchain network layer provides a privacy protection unit to protect the verified user information and contract entry information of the data uploaded to the chain in the database server, and uses the permission control unit to perform encryption processing during the upload process, and decrypts it separately through the blockchain network layer when the contract information needs to be retrieved.

[0012] Preferably, the BaaS service layer is based on the idea of ​​services in the cloud computing architecture and provides blockchain services. The BaaS service is located between the four infrastructure layers of the blockchain, namely the blockchain data layer, blockchain network layer, blockchain consensus layer, and blockchain contract layer, and the API layer, and includes encryption and decryption services and smart contract services.

[0013] Preferably, the database server is configured as a control device based on 5G communication equipment, and both the database server and the control terminal are equipped with a broadband cluster module, which can interact and modify information data in real time according to needs.

[0014] Technical effects and advantages of the present invention:

[0015] The present invention establishes a database server to cooperate with the control terminal to execute the chain-up action, and adds a security test module and a data detection module in the database server. After the data is uploaded to the chain, the staff can set it so that the security test module and the data retrieval module can periodically perform detection actions, and use the script detection unit, the virus detection unit and the vulnerability detection unit to test the data block to find out whether there are new vulnerability problems, and cooperate with the data retrieval unit and the data verification unit in the data retrieval module to ensure the integrity of the uploaded data information, so as to ensure the overall privacy protection effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a system block diagram of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0018] See also Figure 1The present invention provides a blockchain-based smart contract privacy protection system, including a blockchain data management platform, a database server, a control terminal, a broadband cluster module, a security test module, a data detection module, an alarm module and a wireless communication module. The blockchain data management platform includes an API interface layer, a Baas service layer, a blockchain data layer, a blockchain network layer and a blockchain consensus layer. The database server is electrically connected to the control terminal through a serial port, and the control terminal uploads data to the blockchain data management platform through the database server in cooperation with the wireless communication module. The API interface layer includes a data management interface, the Baas service layer includes an account management unit, and the BaaS service layer is based on the idea of ​​services in the cloud computing architecture and provides blockchain services. The BaaS service is located between the four-layer infrastructure layers of the blockchain, such as the blockchain data layer, the blockchain network layer, the blockchain consensus layer, and the blockchain contract layer, and the API layer, and includes encryption and decryption services and smart contract services; the blockchain data layer includes a data block unit, the blockchain network layer includes a privacy protection unit and a permission control unit, and the blockchain consensus layer includes a POS unit and a pool verification pool unit.

[0019] The control terminal includes an alarm module. When the data loss or damage occurs during the detection of the uplink data by using the data retrieval unit and the data verification unit, the information is synchronized to the control terminal through the database server, and finally the alarm module is used to issue an alarm reminder.

[0020] The database server is set as a control device based on 5G communication equipment. Both the database server and the control terminal are equipped with broadband cluster modules, which can interact and modify information data in real time according to needs. The database server is equipped with a security test module and a data detection module, wherein the security test module includes a script detection unit, a virus detection unit and a vulnerability detection unit, and the data detection module includes a data retrieval unit and a data verification unit. The data detection module and the security test module operate independently of each other, and perform periodic security tests and data detection according to the staff's presets, perform real-time integrity detection on the chain data, and cooperate with the attack test result data to achieve the effect of regularly repairing vulnerabilities.

[0021] The security testing module performs certain security tests on the on-chain data at a set periodicity, uses the script detection unit, virus detection unit and vulnerability detection unit to conduct attack tests on the blockchain data management platform, and synchronizes the tested vulnerability data information to the database server. It also uses the data detection module to detect the on-chain data after the attack, and uses the data retrieval unit and data verification unit to perform integrity checks on the on-chain data in turn to ensure the security of the data and avoid adverse effects caused by simulated attack actions.

[0022] The data detection module uses the data retrieval unit to search the control terminal operation records of the on-chain data, retrieves the data block unit in the blockchain data layer and the relevant information in the database server, and uses the data verification unit to compare to ensure the integrity of the on-chain data. The blockchain network layer provides a privacy protection unit to protect the verified user information and contract entry information of the on-chain data in the database server, and uses the permission control unit to encrypt the data during the on-chain process, and decrypts it separately through the blockchain network layer when the contract information needs to be retrieved.

[0023] Finally, it should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A blockchain-based smart contract privacy protection system, comprising a blockchain data management platform, a database server, a control terminal, a broadband cluster module, a security testing module, a data detection module, an alarm module and a wireless communication module, characterized in that: The blockchain data management platform includes an API interface layer, a Baas service layer, a blockchain data layer, a blockchain network layer and a blockchain consensus layer. The database server is electrically connected to the control terminal through a serial port. The control terminal uploads data to the blockchain data management platform through the database server in cooperation with a wireless communication module. The database server is provided with a security testing module and a data detection module, wherein the security testing module includes a script detection unit, a virus detection unit and a vulnerability detection unit, and the data detection module includes a data retrieval unit and a data verification unit. The security testing module performs certain security tests on the on-chain data according to the set periodicity, uses the script detection unit, the virus detection unit and the vulnerability detection unit to perform attack tests on the blockchain data management platform, and synchronizes the tested vulnerability data information to the database server, and uses the data detection module to detect the on-chain data after the attack, and uses the data retrieval unit and the data verification unit to perform integrity tests on the on-chain data in turn, to ensure the security of the data and avoid adverse effects caused by simulated attack actions; The control terminal includes an alarm module. When the data loss or damage occurs when the on-chain data is detected by the data retrieval unit and the data verification unit, the information is synchronized to the control terminal through the database server, and finally the alarm module is used to give an alarm reminder; the data detection module and the security test module operate independently of each other, and perform periodic security tests and data detection according to the staff's preset, perform real-time integrity detection on the on-chain data, and cooperate with the attack test result data to achieve the effect of regularly repairing vulnerabilities; the API interface layer includes a data management interface, the Baas service layer includes an account management unit, the blockchain data layer includes a data block unit, the blockchain network layer includes a privacy protection unit and a permission control unit, and the blockchain consensus layer includes a pos unit and a pool verification pool unit; the data detection module uses the data retrieval unit to search the control terminal operation record of the on-chain data, retrieves and retrieves the data block unit in the blockchain data layer and the relevant information in the database server, and uses the data verification unit to compare to ensure the integrity of the on-chain data.

2. According to claim 1, a blockchain-based smart contract privacy protection system is characterized by: The blockchain network layer provides a privacy protection unit to protect the verified user information and contract entry information of the chained data in the database server, and uses the authority control unit to perform encryption processing during the chaining process, and decrypts it separately through the blockchain network layer when the contract information needs to be retrieved.

3. According to claim 2, a blockchain-based smart contract privacy protection system is characterized by: The Baas service layer is based on the idea of ​​services in the cloud computing architecture and provides blockchain services. The Baas service layer is located between the four infrastructure layers of the blockchain data layer, the blockchain network layer, the blockchain consensus layer, and the blockchain contract layer and the API layer, and includes encryption and decryption services and smart contract services.

4. According to claim 3, a blockchain-based smart contract privacy protection system is characterized by: The database server is configured as a control device based on 5G communication equipment. Both the database server and the control terminal are equipped with broadband cluster modules, which can interact and modify information data in real time according to needs.