CN110287107A - The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium - Google Patents

The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium Download PDF

Info

Publication number
CN110287107A
CN110287107A CN201910445554.5A CN201910445554A CN110287107A CN 110287107 A CN110287107 A CN 110287107A CN 201910445554 A CN201910445554 A CN 201910445554A CN 110287107 A CN110287107 A CN 110287107A
Authority
CN
China
Prior art keywords
data
block chain
intelligent contract
client
chain
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.)
Pending
Application number
CN201910445554.5A
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.)
Danyang Mengka Information Technology Co Ltd
Original Assignee
Danyang Mengka Information Technology Co Ltd
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 Danyang Mengka Information Technology Co Ltd filed Critical Danyang Mengka Information Technology Co Ltd
Priority to CN201910445554.5A priority Critical patent/CN110287107A/en
Publication of CN110287107A publication Critical patent/CN110287107A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3624Software debugging by performing operations on the source code, e.g. via a compiler
    • 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/25Integrating or interfacing systems involving database management systems
    • 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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to block chain processing technique application fields, data processing and the intelligent contract combined debugging integrated approach, system and computer readable storage medium of a kind of block chain are provided, storage medium is stored with computer program, and the above method is realized when computer program is executed by a controller.The data processing of the block chain and intelligent contract combined debugging integrated approach, by building node cluster, the Program Interfaces towards each client are set, the data of client transmissions are written as preset data format by bottom common recognition contract, then across chain information synchronization framework is constructed, data after bottom common recognition contract is write are grouped to obtain multiple user groups according to its corresponding block chain, the point-to-point information transmission of intelligent contract is executed in each user group, different block chains is connected to as carrier using user group, it is docked so that also can freely be realized using the client of intelligent contract with block chain, realize the combined debugging of more public chains.

Description

The data processing of block chain and intelligent contract combined debugging integrated approach, system and meter Calculation machine readable storage medium storing program for executing
Technical field
The present invention relates to block chain processing technique application field, in particular to a kind of computer readable storage medium and it is System, computer-readable recording medium storage have computer program, and the number of block chain is realized when computer program is executed by a controller According to processing and intelligent contract combined debugging integrated approach.
Background technique
Block chain technology due to by based between node and node information exchange realize transaction safety guarantee, It reduces and trusts cost and be used widely.The service of block chain is carried out according to block chain contract, in block chain contract In define the common recognition mechanism etc. of block generation.With the development of intelligent control technology, block chain is also tended to using intelligence Mode realizes automatic contract control, and the working principle of block chain intelligence contract technology is similar to the if- of other computer programs Then sentence, when the condition that one is finished in advance is triggered, intelligent contract executes corresponding contract terms automatically, for reducing Execute the cost of contract.In actual application scenarios, server may deploy a plurality of block chain, this is just needed using debugging Integrated system builds across chain frame, to carry out compatible debugging to multi-tiling chain.But since block chain is a completely new field, Many public affairs chains all construct the virtual machine or even programming language of oneself, and existing block chain contract debugging integrated system is mostly It is absorbed in the debugging of a certain single main chain, has many debugging the integrated system even virtual machines and grammer in ether mill not simultaneous Hold, cannot achieve the combined debugging of more public chains.
Summary of the invention
It is an object of the invention to: avoiding above-mentioned shortcoming in the prior art and provide one kind can be in multi-tiling chain Between carry out data processing, and realize the integrated approach of the combined debugging of block chain intelligence contract.
The purpose of the present invention is achieved through the following technical solutions:
Data processing and the intelligence contract combined debugging integrated approach of block chain are provided, included the following steps:
Cluster construction step constructs node cluster in server end, which is equipped with the journey towards each client Sequence programming interface and multiple public chain interfaces for corresponding to different blocks chain;
Data common recognition step passes through programming in bottom common recognition contract of the node cluster building for formatted data Interface and client are talked with, and the data of client transmissions are written as preset data format;
Data interaction step is constructed in node cluster for realizing across the chain information synchronization framework across chain interaction, to the bottom of through Data after layer common recognition contract is write are grouped to obtain multiple user groups according to its corresponding block chain, in each user The point-to-point information transmission that intelligent contract is executed in group, is connected to different block chains as carrier using user group.
Preferentially, in cluster construction step, node cluster uses expansion aggregated structure, according to sound between each cluster Percentile is ranked up to distribute client's end load between seasonable.
Preferentially, in cluster construction step, including data integration step, use visualized data and client pair Words allow client to migrate and expand modularization intelligent contract.
Preferentially, in data common recognition step, the data of client transmissions is written as preset data format and are referred to: Preset data format is written as with the data that the language of the affiliated block chain of the public affairs chain transmits needs on the public chain of client.
Preferentially, it in data interaction step, is grouped specially according to block chain according to its corresponding language It is grouped.
Preferentially, in data interaction step, grouping specifically uses UUID packet mode, by the uniqueness of UUID visitor The details of the data of family end transmission are stored in the inquiry table for being randomly assigned by UUID and with Form list to clothes out Business device submits data, and UUID and critical field are stored in concordance list for user group interaction.
Preferentially, further include the Formal Verification step executed after data interaction step, construct combinational logic and/or Sequential logic debugs the intelligent contract of client, sounds an alarm prompt if uplink and downlink spilling occurs in intelligence contract.
Preferentially, further include server end debugging step, the document data bank and file persistent layer to server end into The public chain debugging of row intelligence contract, sounds an alarm prompt if receiving spilling feedback.
Data processing and the intelligence contract combined debugging integrated system of a kind of block chain are also provided, the processor of system can Realize data processing and the intelligence contract combined debugging integrated approach of above-mentioned block chain.
A kind of computer readable storage medium is also provided, which is stored with executable computer program, computer It can be realized data processing and the intelligence contract combined debugging integrated approach of above-mentioned block chain when program is executed by a controller.
Beneficial effects of the present invention: the data processing of the block chain and intelligent contract combined debugging integrated approach pass through structure Program Interfaces of the node cluster setting towards each client are built, by bottom common recognition contract the data of client transmissions Be written as preset data format, then construct across chain information synchronization framework, to through bottom common recognition contract write after data by It is grouped to obtain multiple user groups according to its corresponding block chain, the point-to-point of intelligent contract is executed in each user group Information transmission, different block chains is connected to as carrier using user group so that using intelligence contract client also can be free Realization is docked with block chain, realizes the combined debugging of more public chains.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings, but the embodiment in attached drawing is not constituted to any limit of the invention System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings Other attached drawings.
Fig. 1 is the data processing and intelligent contract combined debugging integrated system architecture diagram of the block chain.
Fig. 2 is the data processing of the block chain and the data processing schematic diagram of intelligent contract combined debugging integrated approach.
Specific embodiment
The invention will be further described with the following Examples.
The data processing of the block chain and intelligent contract combined debugging integrated system, as shown in Figure 1, include by client and Server end composition combined debugging hardware configuration, server end realize automation compiling release module, side chain module and Processing across chain synchronization module.In client, user can be with online editing contract, client and server interaction and then completion The data processing of the block chain and intelligent contract combined debugging integrated approach realize the memory virtual machine of different public chains, alliance's chain The functions such as compiling, grammer are proofreaded, grammer is associated, automatic suggestion is repaired.After memory precompile/practical cochain, client can be certainly The dendrogram of the dynamic member variable (members) for generating display contract and interface (interface), helps user to visualize and compiles Journey facilitates newly-built client, deletion, caching editorial intelligence contract.In server end, centralization/decentralization server internal packet Containing document data bank (File DB) and file persistent layer (File Persistence), different public chain debugging demands can be automatic The different server back end of switching, facilitate the contract for calling and storing.
The data processing of the block chain and intelligent contract combined debugging integrated approach pass through the more public chains of following steps realization Combined debugging.
Cluster construction step: node cluster is constructed in server end, which is equipped with the journey towards each client Sequence programming interface and multiple public chain interfaces for corresponding to different blocks chain, node cluster use expansion aggregated structure, Ge Geji Time percentile is ranked up to distribute client's end load according to response between group.Data set is also executed when constructing node cluster At step, uses visualized data and client to talk with, client is allowed to migrate and expand modularization intelligent contract, Realize the visual programming of client.
Data common recognition step: in bottom common recognition contract of the node cluster building for formatted data, pass through programming Interface and client are talked with, and are write on the public chain of client with the data that the language of the affiliated block chain of the public affairs chain transmits needs For preset data format.
Data interaction step is constructed in node cluster for realizing across the chain information synchronization framework across chain interaction, to the bottom of through Data after layer common recognition contract is write are grouped to obtain multiple user groups according to its corresponding block chain, in each user The point-to-point information transmission that intelligent contract is executed in group, is connected to different block chains as carrier using user group.Specifically, pressing Data are grouped using UUID packet mode according to the corresponding language of block chain, by the uniqueness of UUID client The details of the data of transmission are stored in the inquiry table for being randomly assigned by UUID and with Form list to server out Data are submitted, UUID and critical field are stored in concordance list for user group interaction.
It further include Formal Verification step and server end debugging step.In Formal Verification step, building combination is patrolled It collects and/or sequential logic debugs the intelligent contract of client, sounded an alarm if uplink and downlink spilling occurs in intelligence contract Prompt.In server end debugging step, document data bank and file persistent layer to server end carry out the public affairs of intelligent contract Chain debugging sounds an alarm prompt if receiving spilling feedback.Specifically, writing by intelligent contract, collects intelligent contract base The bug of Yu Gonglian debugging is overflowed and is fed back, the convenient automatic suggestion in Formal Verification and our combined debugging module Solution is provided in reparation.
The data processing of the block chain and intelligent contract combined debugging integrated approach lead to more building node clusters and dock client End and server end, realized in such a way that Uniform data format writes data different blocks chain client user group identification and Grouping is connected to different block chains as carrier using the user group after being grouped, so that the client using intelligent contract also can be certainly It is docked by realizing with block chain, realizes the combined debugging of more public affairs chains.
In addition, when by user group to carry across chain function, the function that can be controlled by grouping and permission, Across the chain bearing function for forming alliance's chain, to reach the adjusting of the performance and stability of data.Also, when mass data by with When family group carries out across chain, by constructing new intelligent contract come across the chain task of segment assignments to different sections of user, or across Paging result carrying (paginated results) link can be used in the case of single point user carries excessive in chain information To mitigate the load of single cluster, the combined debugging method of the more public chains of optimization.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected The limitation of range is protected, although explaining in detail referring to preferred embodiment to the present invention, those skilled in the art are answered Work as understanding, it can be with modification or equivalent replacement of the technical solution of the present invention are made, without departing from the reality of technical solution of the present invention Matter and range.

Claims (10)

1. the data processing of block chain and intelligent contract combined debugging integrated approach, which comprises the steps of:
Cluster construction step constructs node cluster in server end, which is equipped with the program towards each client and compiles Journey interface and multiple public chain interfaces for corresponding to different blocks chain;
Data common recognition step passes through programming in bottom common recognition contract of the node cluster building for formatted data Interface and client are talked with, and the data of client transmissions are written as preset data format;
Data interaction step is constructed in the node cluster for realizing across the chain information synchronization framework across chain interaction, to the bottom of through Data after layer common recognition contract is write are grouped to obtain multiple user groups according to its corresponding block chain, in each user The point-to-point information transmission that intelligent contract is executed in group, is connected to different block chains as carrier using user group.
2. the data processing of block chain as described in claim 1 and intelligent contract combined debugging integrated approach, which is characterized in that In the cluster construction step, the node cluster uses expansion aggregated structure, time according to response between each cluster Percentile is ranked up to distribute client's end load.
3. the data processing of block chain as described in claim 1 and intelligent contract combined debugging integrated approach, which is characterized in that In the cluster construction step, including data integration step, it uses visualized data and client to talk with, allows client Modularization intelligent contract is migrated and expanded.
4. the data processing of block chain as described in claim 1 and intelligent contract combined debugging integrated approach, which is characterized in that In data common recognition step, the data of client transmissions are written as preset data format and are referred to: in the public affairs of client Preset data format is written as with the data that the language of the affiliated block chain of the public affairs chain transmits needs on chain.
5. the data processing of block chain as claimed in claim 4 and intelligent contract combined debugging integrated approach, which is characterized in that In the data interaction step, it is grouped according to block chain and is specially grouped according to its corresponding language.
6. the data processing of block chain as claimed in claim 1 or 5 and intelligent contract combined debugging integrated approach, feature exist In in the data interaction step, the grouping specifically uses UUID packet mode, by the uniqueness of UUID client The details of the data of transmission are stored in the inquiry table for being randomly assigned by UUID and with Form list to server out Data are submitted, UUID and critical field are stored in concordance list for user group interaction.
7. the data processing of block chain as described in claim 1 and intelligent contract combined debugging integrated approach, which is characterized in that Further include the Formal Verification step executed after the data interaction step, constructs combinational logic and/or sequential logic pair The intelligent contract of client is debugged, and sounds an alarm prompt if uplink and downlink spilling occurs in intelligence contract.
8. the data processing of block chain as described in claim 1 and intelligent contract combined debugging integrated approach, which is characterized in that It further include server end debugging step, the document data bank and file persistent layer to server end carry out the public chain of intelligent contract Debugging sounds an alarm prompt if receiving spilling feedback.
9. the data processing of block chain and intelligent contract combined debugging integrated system, which is characterized in that the system comprises processing Device, the processor are able to carry out method according to any one of claims 1 to 9.
10. computer readable storage medium is stored with computer program, which is characterized in that the computer program is controlled Device can be realized method according to any one of claims 1 to 9 when executing.
CN201910445554.5A 2019-05-27 2019-05-27 The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium Pending CN110287107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910445554.5A CN110287107A (en) 2019-05-27 2019-05-27 The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910445554.5A CN110287107A (en) 2019-05-27 2019-05-27 The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110287107A true CN110287107A (en) 2019-09-27

Family

ID=68002750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910445554.5A Pending CN110287107A (en) 2019-05-27 2019-05-27 The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110287107A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851127A (en) * 2019-10-28 2020-02-28 杭州趣链科技有限公司 Universal evidence storage method based on block chain
CN111290958A (en) * 2020-02-20 2020-06-16 联动优势(北京)数字科技有限公司 Method and device for debugging intelligent contract
CN111914299A (en) * 2020-08-20 2020-11-10 深圳市腾盟技术有限公司 Method, device and equipment for optimizing predictive machine interface and storage medium
CN116226097A (en) * 2023-05-09 2023-06-06 中航信移动科技有限公司 Block chain data online migration method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106796688A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Permission control method, device and system of block chain and node equipment
CN108763058A (en) * 2018-04-24 2018-11-06 苏州同济区块链研究院有限公司 A kind of block chain evaluation system
CN109194761A (en) * 2018-09-18 2019-01-11 北京工业大学 A kind of acquisition of LORA environment of internet of things data and cochain implementation method based on edge calculations and block chain
CN109347917A (en) * 2018-09-14 2019-02-15 北京沃杰知识产权有限公司 Block chain data common recognition processing method, system, storage medium and electronic equipment
US20190149418A1 (en) * 2017-11-16 2019-05-16 International Business Machines Corporation Clustered application management with a blockchain
CN109783195A (en) * 2019-01-16 2019-05-21 杭州趣链科技有限公司 A kind of real-time adjustment method of intelligent contract based on container

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106796688A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Permission control method, device and system of block chain and node equipment
US20190149418A1 (en) * 2017-11-16 2019-05-16 International Business Machines Corporation Clustered application management with a blockchain
CN108763058A (en) * 2018-04-24 2018-11-06 苏州同济区块链研究院有限公司 A kind of block chain evaluation system
CN109347917A (en) * 2018-09-14 2019-02-15 北京沃杰知识产权有限公司 Block chain data common recognition processing method, system, storage medium and electronic equipment
CN109194761A (en) * 2018-09-18 2019-01-11 北京工业大学 A kind of acquisition of LORA environment of internet of things data and cochain implementation method based on edge calculations and block chain
CN109783195A (en) * 2019-01-16 2019-05-21 杭州趣链科技有限公司 A kind of real-time adjustment method of intelligent contract based on container

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IT技术信息: "ChainIDE 后,中国团队 SDKBOX 再首发 FB Libra 微软开发工 具插件", pages 1 - 3, Retrieved from the Internet <URL:https://www.ssoouu.com/hlw/21890.html> *
刘雄文: "多区块链交易分发和事件处理的***方案", 《计算机科学》, vol. 45, no. 11, pages 580 - 583 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851127A (en) * 2019-10-28 2020-02-28 杭州趣链科技有限公司 Universal evidence storage method based on block chain
CN110851127B (en) * 2019-10-28 2023-10-24 杭州趣链科技有限公司 Universal evidence-storing method based on blockchain
CN111290958A (en) * 2020-02-20 2020-06-16 联动优势(北京)数字科技有限公司 Method and device for debugging intelligent contract
CN111914299A (en) * 2020-08-20 2020-11-10 深圳市腾盟技术有限公司 Method, device and equipment for optimizing predictive machine interface and storage medium
CN116226097A (en) * 2023-05-09 2023-06-06 中航信移动科技有限公司 Block chain data online migration method
CN116226097B (en) * 2023-05-09 2023-07-14 中航信移动科技有限公司 Block chain data online migration method

Similar Documents

Publication Publication Date Title
CN110287107A (en) The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium
CN102262680B (en) Distributed database proxy system based on massive data access requirement
CN110147240A (en) Application program installation method, system and storage medium based on cloud storage
WO2019104916A1 (en) Development role creation method, device and equipment for test case, and storage medium
CN104281906A (en) Process engine achieving method and system in service process
CN103229171A (en) Snapshot based replication
US10747776B2 (en) Replication control using eventually consistent meta-data
US20210224047A1 (en) Workflow engine tool
CN103327080A (en) Method and device for establishing control system of internet of things
CN110838961B (en) General aviation bus message scheduling system
US20160364323A1 (en) Automatic remote execution of an application
CN114756357B (en) Non-blocking distributed planned task scheduling method based on JVM (Java virtual machine)
CN111782201A (en) Method and device for realizing linkage of service codes and layout topological graph
CN112905613A (en) Data bidirectional synchronization method and device for heterogeneous database
CN113377493A (en) Container cloud simulation system and design method thereof
CN111163149A (en) Intelligent contract platform method based on block chain
CN110750445A (en) Method, system and equipment for testing high-availability function of YARN component
WO2016131328A1 (en) Network-element-simulator-based testing method and device
CN109445800A (en) A kind of version automatic deployment method and system based on distributed system
CN109254977A (en) Data creation method, big data air control platform and computer storage medium
CN105975276B (en) Distribution building system and method
US20110087922A1 (en) Test method and tool for master-slave systems on multicore processors
CN109739666A (en) Striding course call method, device, equipment and the storage medium of singleton method
CN111309297B (en) Script development system and method
CN103685350B (en) The synchronous method of storage system and relevant equipment

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240209