CN110910085A - Intelligent contract encryption implementation system based on block chain - Google Patents

Intelligent contract encryption implementation system based on block chain Download PDF

Info

Publication number
CN110910085A
CN110910085A CN201911035032.4A CN201911035032A CN110910085A CN 110910085 A CN110910085 A CN 110910085A CN 201911035032 A CN201911035032 A CN 201911035032A CN 110910085 A CN110910085 A CN 110910085A
Authority
CN
China
Prior art keywords
intelligent contract
implementation
interactive communication
block chain
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201911035032.4A
Other languages
Chinese (zh)
Inventor
孙群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201911035032.4A priority Critical patent/CN110910085A/en
Publication of CN110910085A publication Critical patent/CN110910085A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Computing Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of intelligent contract implementation based on a block chain, and discloses an intelligent contract encryption implementation system based on the block chain, which comprises: installing and operating a block database server which is provided with intelligent contract implementation management software and belongs to an intelligent contract execution party, and connecting the block database server to form a block chain network realized based on an intelligent contract; the intelligent contract encryption implementation system further comprises: and the encryption implementation module is used for encrypting the intelligent contract implementation process, and the encryption implementation module encrypts the data written and/or read in the block chain network by adopting an interactive zero-knowledge proof method. The invention solves the technical problem that the inconvenient and open confidential data cannot be protected in the realization process of the current intelligent contract based on the block chain.

Description

Intelligent contract encryption implementation system based on block chain
Technical Field
The invention relates to the technical field of intelligent contract implementation based on a block chain, in particular to an intelligent contract encryption implementation system based on the block chain.
Background
The concept of intelligent contracts was not of great interest in the early days of development because the technology was not satisfactory and the trusted execution environment was lacking, but with the advent of blockchain technology, intelligent contracts were redefined. Blockchain platforms, such as etherhouses, that allow complex programs to be built in addition to digital cryptocurrency, result from the limited programmability of bitcards that is not sufficient for the creation of complex distributed applications. With the development of the intelligent contracts serving as platforms of the Etherns, a set of virtual machines capable of executing the script language with complete pictures is developed, and the fact that various decentralized applications are realized by compiling the intelligent contracts in the Etherns block chain is realized.
With the diversification of blockchain applications, the public chain is no longer a single development category, and the current research has been more inclined towards the alliance chain. Any node in the public chain can freely join or leave the network, such as bitcoin, NXT, etc. Only some or licensed users in a federation chain can join a network, one or a group of companies are generally responsible for providing users with joining privileges, and Etherns now adopt a combination of the two chains. However, in both public chains and alliance chains, transaction data are stored in public accounts, the whole life cycle of the intelligent contract is broadcasted and recorded through the whole network, the blockchain cannot be completely anonymous, and most of real data of financial contract transaction relates to confidentiality and is inconvenient to disclose, so that the real data becomes an important factor for restricting the development of centralized intelligent contracts.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a block chain-based intelligent contract encryption implementation system, which aims to solve the technical problem that confidential data which is inconvenient to disclose cannot be protected in the implementation process of the current block chain-based intelligent contract.
(II) technical scheme
In order to achieve the purpose, the invention provides the following technical scheme:
an intelligent contract encryption implementation system based on a blockchain comprises: a block database server A which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party A, a block database server B which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party B, and a block database server N which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party N;
connecting the block database server A, the block database server B and the block database server N to form a block chain network realized based on an intelligent contract;
the intelligent contract encryption implementation system further comprises: and the encryption implementation module is used for encrypting the intelligent contract implementation process, and the encryption implementation module encrypts the data written and/or read in the block chain network by adopting an interactive zero-knowledge proof method.
Further, before the intelligent contract implementation information is written into the database of the intelligent contract implementation management software, the encryption implementation module automatically executes the following operations:
(1) locking an intelligent contract on a block database server to realize a data input page;
(2) in the binary field F2 mRandomly selecting an elliptic curve Ep(a, b) on the elliptic curve Ep(a, b) randomly selecting a point R as a base point;
(3) popping up a dialog box for interactive communication with an input party on an intelligent contract implementation data input page, wherein the interactive communication dialog box has a traceless communication function, namely all interactive communication contents in the dialog box have no backup record;
(4) prompting the input party to randomly select one in binary field F in a pop-up interactive communication dialog box2 mThe private key k is a unique legal certification key;
the private key k is encrypted based on the attribute of a block database of the block chain network to obtain a private key ciphertext ck, and the private key ciphertext ck is shared in the block chain network;
(5) automatic generation in binary field F in interactive communication dialog2 mAnd K ═ kR is established, the interactive communication dialog disappears in sync.
Further, the encryption implementation module automatically executes the following operations before reading the intelligent contract implementation information in the database of the intelligent contract implementation management software:
(1) locking intelligent contract implementation data in a block chain network;
(2) popping up a dialog box for interactive communication with an access user on a reading page of a block database, wherein the interactive communication dialog box has a traceless communication function, namely all interactive communication contents in the dialog box have no backup record;
(3) prompting an accessing user to randomly select one in binary field F in a pop-up interactive communication dialog box2 mAnd calculating R1R ═ rR, and let R1On an elliptic curve Ep(a, b);
(4) automatic generation in binary field F in interactive communication dialog2 mThe random number b above;
(5) the accessing user is prompted to calculate S ═ r + bk and to enter the calculated data into the interactive communication dialog.
(III) advantageous technical effects
Compared with the prior art, the invention has the following beneficial technical effects:
the invention uses an interactive zero-knowledge proof method to encrypt the data written and/or read in the block chain network through the encryption implementation module, thereby solving the technical problem that the prior intelligent contract based on the block chain cannot protect the confidential data which is inconvenient to be disclosed in the implementation process.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An intelligent contract encryption implementation system based on a blockchain comprises: a block database server A which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party A, a block database server B which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party B, and a block database server N which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party N;
connecting the block database server A, the block database server B and the block database server N to form a block chain network realized based on an intelligent contract;
the intelligent contract encryption implementation system further comprises: the encryption implementation module is used for encrypting the intelligent contract implementation process, and the encryption implementation module encrypts data written and/or read in the block chain network by adopting an interactive zero-knowledge proof method;
the encryption implementation module encrypts and processes the data written and/or read in the block chain network by adopting an interactive zero-knowledge proof method, so that the technical problem that confidential data which are inconvenient to disclose cannot be protected in the implementation process of the current intelligent contract based on the block chain is solved;
further, before the intelligent contract implementation information is written into the database of the intelligent contract implementation management software, the encryption implementation module automatically executes the following operations:
(1) locking an intelligent contract on a block database server to realize a data input page;
(2) in the binary field F2 mRandomly selecting an elliptic curve Ep(a, b) on the elliptic curve Ep(a, b) randomly selecting a point R as a base point;
(3) popping up a dialog box for interactive communication with an input party on an intelligent contract implementation data input page, wherein the interactive communication dialog box has a traceless communication function, namely all interactive communication contents in the dialog box have no backup record;
(4) prompting the input party to randomly select one in binary field F in a pop-up interactive communication dialog box2 mThe private key k is a unique legal certification key;
the private key k is encrypted based on the attribute of a block database of the block chain network to obtain a private key ciphertext ck, and the private key ciphertext ck is shared in the block chain network;
(5) automatic generation in binary field F in interactive communication dialog2 mDisclosure of the aboveKeying K, and ensuring that K is equal to kR, and the interactive communication dialog box disappears synchronously;
further, the encryption implementation module automatically executes the following operations before reading the intelligent contract implementation information in the database of the intelligent contract implementation management software:
(1) locking intelligent contract implementation data in a block chain network;
(2) popping up a dialog box for interactive communication with an access user on a reading page of a block database, wherein the interactive communication dialog box has a traceless communication function, namely all interactive communication contents in the dialog box have no backup record;
(3) prompting an accessing user to randomly select one in binary field F in a pop-up interactive communication dialog box2 mAnd calculating R1R ═ rR, and let R1On an elliptic curve Ep(a, b);
(4) automatic generation in binary field F in interactive communication dialog2 mThe random number b above;
(5) the accessing user is prompted to calculate S ═ r + bk and to enter the calculated data into the interactive communication dialog.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (3)

1. An intelligent contract encryption implementation system based on a block chain is characterized by comprising: a block database server A which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party A, a block database server B which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party B, and a block database server N which is provided with and runs intelligent contract realization management software and belongs to an intelligent contract executing party N;
connecting the block database server A, the block database server B and the block database server N to form a block chain network realized based on an intelligent contract;
the intelligent contract encryption implementation system further comprises: and the encryption implementation module is used for encrypting the intelligent contract implementation process, and the encryption implementation module encrypts the data written and/or read in the block chain network by adopting an interactive zero-knowledge proof method.
2. The intelligent contract encryption implementation system of claim 1, wherein the encryption implementation module automatically performs the following operations before writing the intelligent contract implementation information in the database of the intelligent contract implementation management software:
(1) locking an intelligent contract on a block database server to realize a data input page;
(2) in the binary field F2 mRandomly selecting an elliptic curve Ep(a, b) on the elliptic curve Ep(a, b) randomly selecting a point R as a base point;
(3) popping up a dialog box for interactive communication with an input party on an intelligent contract implementation data input page, wherein the interactive communication dialog box has a traceless communication function, namely all interactive communication contents in the dialog box have no backup record;
(4) prompting an input party to randomize in a pop-up interactive communication dialogSelecting one in binary field F2 mThe private key k is a unique legal certification key;
the private key k is encrypted based on the attribute of a block database of the block chain network to obtain a private key ciphertext ck, and the private key ciphertext ck is shared in the block chain network;
(5) automatic generation in binary field F in interactive communication dialog2 mAnd K ═ kR is established, the interactive communication dialog disappears in sync.
3. The intelligent contract encryption implementation system of claim 2, wherein the encryption implementation module, prior to reading the intelligent contract implementation information in the database of the intelligent contract implementation management software, automatically performs the following operations:
(1) locking intelligent contract implementation data in a block chain network;
(2) popping up a dialog box for interactive communication with an access user on a reading page of a block database, wherein the interactive communication dialog box has a traceless communication function, namely all interactive communication contents in the dialog box have no backup record;
(3) prompting an accessing user to randomly select one in binary field F in a pop-up interactive communication dialog box2 mAnd calculating R1R ═ rR, and let R1On an elliptic curve Ep(a, b);
(4) automatic generation in binary field F in interactive communication dialog2 mThe random number b above;
(5) the accessing user is prompted to calculate S ═ r + bk and to enter the calculated data into the interactive communication dialog.
CN201911035032.4A 2019-10-29 2019-10-29 Intelligent contract encryption implementation system based on block chain Withdrawn CN110910085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911035032.4A CN110910085A (en) 2019-10-29 2019-10-29 Intelligent contract encryption implementation system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911035032.4A CN110910085A (en) 2019-10-29 2019-10-29 Intelligent contract encryption implementation system based on block chain

Publications (1)

Publication Number Publication Date
CN110910085A true CN110910085A (en) 2020-03-24

Family

ID=69816166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911035032.4A Withdrawn CN110910085A (en) 2019-10-29 2019-10-29 Intelligent contract encryption implementation system based on block chain

Country Status (1)

Country Link
CN (1) CN110910085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563274A (en) * 2020-04-30 2020-08-21 城云科技(中国)有限公司 Security guarantee system based on government affair big data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563274A (en) * 2020-04-30 2020-08-21 城云科技(中国)有限公司 Security guarantee system based on government affair big data

Similar Documents

Publication Publication Date Title
CN107425982B (en) Method and block chain for realizing intelligent contract data encryption
TWI694350B (en) Information supervision method and device based on blockchain
CN108830601B (en) Smart city information safe use method and system based on block chain
WO2020082894A1 (en) Blockchain-based data deposit and acquisition methods and devices
TWI727284B (en) Block chain-based privacy transaction method, device and computer equipment, application method based on block chain privacy transaction and computer equipment
US11423473B2 (en) Blockchain-based leasing
CN104506487B (en) The credible execution method of privacy policy under cloud environment
CN113114476B (en) Privacy evidence storing method and device based on contract
CN113420319A (en) Data privacy protection method and system based on block chain and permission contract
CN110061887B (en) Block chain-based traffic statistical method, device and equipment
TW202046212A (en) Blockchain-based leasing method and apparatus
CN111415170A (en) Block chain-based food tracing method and equipment and related storage medium
CN110826084A (en) Block chain-based internet public service system
CN112257085A (en) Bidding processing method, system, equipment and medium based on block chain
CN111625852A (en) Electronic signature method based on document and user private key under hybrid cloud architecture
CN111460420A (en) Method, device and medium for using electronic seal based on block chain
CN115473678A (en) Controllable data sharing method based on SGX and intelligent contract
CN115001730A (en) Role attribute-based access control system and method in distributed scene
CN110910085A (en) Intelligent contract encryption implementation system based on block chain
CN109800601A (en) A kind of internet real-name authentication method based on block chain
CN117009988A (en) Encryption data storage and query method based on blockchain
CN114866289B (en) Privacy credit data security protection method based on alliance chain
CN113901498A (en) Data sharing method, device, equipment and storage medium
CN114329395A (en) Supply chain financial privacy protection method and system based on block chain
CN114547669A (en) Solution for improving experience of purchasing financing products by users

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200324