CN106775619A - Flexible block chain framework - Google Patents
Flexible block chain framework Download PDFInfo
- Publication number
- CN106775619A CN106775619A CN201610996011.9A CN201610996011A CN106775619A CN 106775619 A CN106775619 A CN 106775619A CN 201610996011 A CN201610996011 A CN 201610996011A CN 106775619 A CN106775619 A CN 106775619A
- Authority
- CN
- China
- Prior art keywords
- layer
- chain
- block chain
- contract
- common recognition
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Flexible block chain framework, ground floor daily record common recognition chain, the execution of second layer contract logic, third layer state variation common recognition chain are divided into by block chain, reduce complexity, be increased stability, are improved performance.Ground floor log chain is not revisable, and other chains can all allow to be changed, but still can be known together, being consistent property, if the code of second layer intelligence contract is wrong, may be updated intelligence contract code, recall transaction results according to the data on log chain, and update third layer block chain.
Description
Technical field
The present invention relates to block chain technology.
Background technology
The logical operation of the verification common recognition and intelligent contract of the transaction record of current most of block chains is all performed together,
Program complexity is high, and intelligent contract code error cannot then be changed.
The content of the invention
The purpose of the present invention is a kind of new block chain framework of design, and transaction is ensured with the common recognition of trading order form log chain
Data can not tamper, also can change program error by replacing intelligent contract code.
This programme preferably solves the contradiction of requirement that block chain can not distort and program error.
1st, the technical solution adopted in the present invention is:Flexible block chain framework, ground floor daily record common recognition chain, the are divided into by block chain
Two laminated about logics are performed, third layer state changes common recognition chain, reduce complexity, be increased stability, are improved performance, the following is
Realize flow;
Whether step S1, ground floor daily record common recognition chain receives the order that user's wallet sends, and correctly need to verify order signature, here
Order can be different contracts order, can classify common recognition, to prevent attack from certain expense can be collected to order or using
Family public key authentication, user's wallet only needs to download the contract code for needing to use, and ground floor does not perform contract logic;
Step S2, the second layer performs contract logic, and different contracts can be performed separately, and different contracts arrive first third layer and obtain phase
Close user's last state, whether number, subject matter such as on address mortgage, by after inspection can with execution logic, formation
Result can be transmitted to third layer and be known together;
Step S3, has arrived third layer, all last state changes can be verified uniformity with hash algorithm, after reaching common understanding
Third layer block chain is all write, encryption digital cash, encryption digital asset can also be separated on the different chains of write-in third layer,
Third layer can separately be known together according to contract classification with different chains;
Step S4, the common recognition chain new block of third layer can the newest change of a recording status, Key-Value database tables can be set up
To store all of state value, inquired about when performing contract logic for the second layer.
Ground floor log chain is not revisable, and other chains can all allow to be changed, but still can be known together, and be consistent
Property, if the code of second layer intelligence contract is wrong, intelligence contract code may be updated, recalling transaction according to the data on log chain
As a result, and third layer block chain is updated.
2nd, the head cryptographic Hash for calculating each block can use Mei Keer trees, it is also possible to head Hash is calculated after directly Hash is connected
Value.
3rd, cryptographic Hash or signature verification can be calculated with chips such as FPGA, GPU.
4th, after the second layer has been performed, invalid order is rejected, by remaining valid order or contract note by implementing common recognition algorithm
After be put on the 4th layer of block chain, be available for user's download and inquiry.
Compared with prior art, the beneficial effects of the invention are as follows:
This programme preferably solves the contradiction of requirement that block chain can not distort and program error.With trading order form log chain
Common recognition come ensure transaction data can not tamper, also can change program error by replacing intelligent contract code.
Brief description of the drawings
Fig. 1 is the explanatory diagram of flexible block chain framework.
Specific embodiment
Embodiment 1, with reference to Figure of description 1, this example illustrates flexible block chain framework;
1st, block chain is divided into ground floor daily record common recognition chain, the execution of second layer contract logic, third layer state variation common recognition chain, drop
Low complex degree, increased stability, performance is improved, the following is realizing flow;
Whether step S1, ground floor daily record common recognition chain receives the order that user's wallet sends, and correctly need to verify order signature, here
Order can be different contracts order, can classify common recognition, to prevent attack from certain expense can be collected to order or using
Family public key authentication, user's wallet only needs to download the contract code for needing to use, and ground floor does not perform contract logic,
Here party a subscriber wallet has A, B intelligence contract, sends order Ai, Bj to ground floor log chain, and party b subscriber wallet has B, C, D here
Intelligent contract, sends order Bj+1, Ck, Dn to ground floor log chain,;
Step S2, the second layer performs contract logic, and different contracts can be performed separately, and different contracts arrive first third layer and obtain phase
User's last state is closed, whether number, subject matter such as on public key address mortgage, by can be with execution logic, shape after inspection
Into result can be transmitted to third layer and known together;
Step S3, has arrived third layer, all last state changes can be verified uniformity with hash algorithm, after reaching common understanding
Third layer block chain is all write, encryption digital cash, encryption digital asset can also be separated on the different chains of write-in third layer,
Third layer can separately be known together according to contract classification with different chains;
Step S4, the common recognition chain new block of third layer can the newest change of a recording status, Key-Value database tables can be set up
To store all of state value, inquired about when performing contract logic for the second layer.
Step S5, after the second layer has been performed, remaining valid order or contract note are calculated by implementing common recognition after the invalid order of rejecting
It is put into after method on the 4th layer of block chain, is available for user's download and inquiry;
The ground floor log chain of this programme does not run intelligent contract, and execution efficiency can be increased substantially, and can also use FPGA, GPU
The speed for calculating cryptographic Hash or signature verification is improved Deng chip, ground floor log chain is not revisable, and other chains can all be allowed
Changed, but still can be known together, being consistent property;
If the code error of second layer intelligence contract, can be by updating intelligent contract code, according to the data backtracking on log chain
Transaction results.
Claims (4)
1. flexible block chain framework, it is characterised in that block chain is divided into ground floor daily record common recognition chain, second layer contract logic and is held
Row, third layer state change common recognition chain, reduce complexity, increased stability, performance are improved, the following is realizing flow;
Whether step S1, ground floor daily record common recognition chain receives the order that user's wallet sends, and correctly need to verify order signature, here
Order can be different contracts order, can classify common recognition, to prevent attack from certain expense can be collected to order or using
Family public key authentication, user's wallet only needs to download the contract code for needing to use, and ground floor does not perform contract logic;
Step S2, the second layer performs contract logic, and different contracts can be performed separately, and different contracts arrive first third layer and obtain phase
Close user's last state, whether number, subject matter such as on address mortgage, by after inspection can with execution logic, formation
Result can be transmitted to third layer and be known together;
Step S3, has arrived third layer, all last state changes can be verified uniformity with hash algorithm, after reaching common understanding
Third layer block chain is all write, encryption digital cash, encryption digital asset can also be separated on the different chains of write-in third layer,
Third layer can separately be known together according to contract classification with different chains;
Step S4, the common recognition chain new block of third layer can the newest change of a recording status, Key-Value database tables can be set up
To store all of state value, inquired about when performing contract logic for the second layer;
Ground floor log chain is not revisable, and other chains can all allow to be changed, but still can be known together, being consistent property,
If the code of second layer intelligence contract is wrong, intelligence contract code may be updated, according to the data backtracking transaction knot on log chain
Really, and third layer block chain is updated.
2. flexible block chain framework according to claim 1, it is characterised in that the head cryptographic Hash for calculating each block can be used
Mei Keer trees, it is also possible to head cryptographic Hash is calculated after directly Hash is connected.
3. flexible block chain framework according to claim 1, it is characterised in that Kazakhstan can be calculated with chips such as FPGA, GPU
Uncommon value or signature verification.
4. flexible block chain framework according to claim 1, it is characterised in that after the second layer has been performed, reject invalid order,
Remaining valid order or contract note are put on the 4th layer of block chain after implementing common recognition algorithm, user's download and inquiry is available for.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610996011.9A CN106775619B (en) | 2016-11-12 | 2016-11-12 | Flexible blockchain architecture system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610996011.9A CN106775619B (en) | 2016-11-12 | 2016-11-12 | Flexible blockchain architecture system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106775619A true CN106775619A (en) | 2017-05-31 |
CN106775619B CN106775619B (en) | 2020-05-12 |
Family
ID=58973383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610996011.9A Active CN106775619B (en) | 2016-11-12 | 2016-11-12 | Flexible blockchain architecture system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775619B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107230056A (en) * | 2017-06-28 | 2017-10-03 | 无锡井通网络科技有限公司 | A kind of fast transaction system based on block chain contract |
CN108063758A (en) * | 2017-11-27 | 2018-05-22 | 众安信息技术服务有限公司 | For the node in the signature verification method of block chain network and block chain network |
CN108520307A (en) * | 2018-03-31 | 2018-09-11 | 深圳慧通商务有限公司 | Data processing method and relevant apparatus |
CN108900505A (en) * | 2018-06-28 | 2018-11-27 | 中国科学院软件研究所 | A kind of cluster audit management-control method based on block chain technology |
CN108985934A (en) * | 2018-07-06 | 2018-12-11 | 深圳源码智能科技有限公司 | Block chain amending method and device |
CN110263091A (en) * | 2019-05-20 | 2019-09-20 | 阿里巴巴集团控股有限公司 | In conjunction with code mark and user, the receipt storage method of event type and node |
CN110580624A (en) * | 2018-06-07 | 2019-12-17 | 华为技术有限公司 | Chain code upgrading method and device |
CN111177777A (en) * | 2019-12-20 | 2020-05-19 | 语联网(武汉)信息技术有限公司 | Intelligent contract deployment method and electronic equipment |
CN112184434A (en) * | 2020-09-02 | 2021-01-05 | 上海树图区块链研究院 | Block chain system, data interaction and processing method, node and storage medium |
US11177940B2 (en) | 2017-06-20 | 2021-11-16 | 707 Limited | Method of evidencing existence of digital documents and a system therefor |
WO2022027530A1 (en) * | 2020-08-05 | 2022-02-10 | 西安电子科技大学 | Blockchain-based high-performance tamper-proof database construction method |
WO2023185260A1 (en) * | 2022-03-28 | 2023-10-05 | International Business Machines Corporation | Using smart contracts to manage hyper protect database as the service |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150379510A1 (en) * | 2012-07-10 | 2015-12-31 | Stanley Benjamin Smith | Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain. |
CN105488675A (en) * | 2015-11-25 | 2016-04-13 | 布比(北京)网络技术有限公司 | Distributed shared general ledger construction method of block chain |
CN105809062A (en) * | 2016-03-01 | 2016-07-27 | 布比(北京)网络技术有限公司 | Contract construction and execution methods and apparatuses |
-
2016
- 2016-11-12 CN CN201610996011.9A patent/CN106775619B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150379510A1 (en) * | 2012-07-10 | 2015-12-31 | Stanley Benjamin Smith | Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain. |
CN105488675A (en) * | 2015-11-25 | 2016-04-13 | 布比(北京)网络技术有限公司 | Distributed shared general ledger construction method of block chain |
CN105809062A (en) * | 2016-03-01 | 2016-07-27 | 布比(北京)网络技术有限公司 | Contract construction and execution methods and apparatuses |
Non-Patent Citations (2)
Title |
---|
ETHEREUM: "WhitePaper", 《ETHEREUM/WIKI/WHITE PAPER》 * |
袁勇 等: "区块链技术发展现状与展望", 《自动化学报》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11177940B2 (en) | 2017-06-20 | 2021-11-16 | 707 Limited | Method of evidencing existence of digital documents and a system therefor |
CN107230056B (en) * | 2017-06-28 | 2021-02-26 | 无锡井通网络科技有限公司 | Quick transaction system based on block chain contract |
CN107230056A (en) * | 2017-06-28 | 2017-10-03 | 无锡井通网络科技有限公司 | A kind of fast transaction system based on block chain contract |
CN108063758A (en) * | 2017-11-27 | 2018-05-22 | 众安信息技术服务有限公司 | For the node in the signature verification method of block chain network and block chain network |
CN108520307A (en) * | 2018-03-31 | 2018-09-11 | 深圳慧通商务有限公司 | Data processing method and relevant apparatus |
CN110580624A (en) * | 2018-06-07 | 2019-12-17 | 华为技术有限公司 | Chain code upgrading method and device |
CN110580624B (en) * | 2018-06-07 | 2022-02-18 | 华为技术有限公司 | Chain code upgrading method and device |
CN108900505A (en) * | 2018-06-28 | 2018-11-27 | 中国科学院软件研究所 | A kind of cluster audit management-control method based on block chain technology |
CN108985934A (en) * | 2018-07-06 | 2018-12-11 | 深圳源码智能科技有限公司 | Block chain amending method and device |
CN108985934B (en) * | 2018-07-06 | 2021-12-17 | 深圳源码智能科技有限公司 | Block chain modification method and device |
CN110263091A (en) * | 2019-05-20 | 2019-09-20 | 阿里巴巴集团控股有限公司 | In conjunction with code mark and user, the receipt storage method of event type and node |
CN111177777A (en) * | 2019-12-20 | 2020-05-19 | 语联网(武汉)信息技术有限公司 | Intelligent contract deployment method and electronic equipment |
CN111177777B (en) * | 2019-12-20 | 2022-08-02 | 语联网(武汉)信息技术有限公司 | Intelligent contract deployment method and electronic equipment |
WO2022027530A1 (en) * | 2020-08-05 | 2022-02-10 | 西安电子科技大学 | Blockchain-based high-performance tamper-proof database construction method |
CN112184434A (en) * | 2020-09-02 | 2021-01-05 | 上海树图区块链研究院 | Block chain system, data interaction and processing method, node and storage medium |
WO2023185260A1 (en) * | 2022-03-28 | 2023-10-05 | International Business Machines Corporation | Using smart contracts to manage hyper protect database as the service |
Also Published As
Publication number | Publication date |
---|---|
CN106775619B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775619A (en) | Flexible block chain framework | |
Hamida et al. | Blockchain for enterprise: overview, opportunities and challenges | |
CN107147735B (en) | Distributed account book system based on hierarchical structure | |
CN106097101A (en) | A kind of block chain realizes the management method of financial transaction | |
US11595211B2 (en) | Apparatus and methods for intelligent token-based authentication within a distributed database using hierarchical data files | |
Gkoulalas-Divanis et al. | Modern privacy-preserving record linkage techniques: An overview | |
CN109165224A (en) | A kind of indexing means being directed to keyword key on block chain database | |
CN110390524B (en) | Method and device for processing job data in block chain, electronic equipment and storage medium | |
US20190147553A1 (en) | Storing linked lists of mineral rights transactions in directed acyclic graphs of cryptographic hash pointers | |
CN106788987A (en) | A kind of collage-credit data based on block chain is shared and transaction system | |
JP2019004463A (en) | Method, apparatus and non-transitory computer readable storage medium for transaction execution and validation in blockchain (transaction execution and validation in blockchain) | |
CN106780007A (en) | A kind of collage-credit data is shared and transaction system | |
Hu et al. | Loan default analysis with multiplex graph learning | |
Boakye et al. | Emerging research on blockchain technology in finance; a conveyed evidence of bibliometric-based evaluations | |
CA3015447C (en) | Systems and methods for computing data privacy-utility tradeoff | |
US20210019762A1 (en) | Identity resolution for fraud ring detection | |
WO2016119275A1 (en) | Network account identifying and matching method | |
JP2022546952A (en) | Cryptocurrency transaction analysis method and device | |
CN111010282B (en) | Block chain-based information processing method, related device and storage medium | |
CN108829691A (en) | A kind of rural area electronic commerce date storage method | |
Bharti | A study of emerging areas in adoption of blockchain technology and it’s prospective challenges in India | |
Tubino et al. | Towards a better identification of Bitcoin actors by supervised learning | |
CN103761298B (en) | Distributed-architecture-based entity matching method | |
Syaifuddin et al. | A meta-analysis of big data security: using blockchain for one data governance, case study of local tax big data in Indonesia | |
Rana et al. | Supply chain strategies supported by blockchain technology: open problems and challenges |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210421 Address after: 310000 Room 702, 7th Floor, Building 6, East Software Park, No. 90 Wensan Road, Xihu District, Hangzhou City, Zhejiang Province Patentee after: HANGZHOU FUZAMEI TECHNOLOGY Co.,Ltd. Patentee after: Suzhou Jiaoda Chain Technology Co.,Ltd. Address before: 310012 Huaxing 409, Xueyuan Road 58, Zhejiang, Hangzhou Patentee before: HANGZHOU FUZAMEI TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |