CN109542421B - Modularization block chain intelligence contract - Google Patents
Modularization block chain intelligence contract Download PDFInfo
- Publication number
- CN109542421B CN109542421B CN201811341763.7A CN201811341763A CN109542421B CN 109542421 B CN109542421 B CN 109542421B CN 201811341763 A CN201811341763 A CN 201811341763A CN 109542421 B CN109542421 B CN 109542421B
- Authority
- CN
- China
- Prior art keywords
- intelligent contract
- template
- new
- user
- block 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.)
- Active
Links
- 230000000007 visual effect Effects 0.000 claims abstract description 6
- 238000012986 modification Methods 0.000 claims abstract description 4
- 230000004048 modification Effects 0.000 claims abstract description 4
- 238000007726 management method Methods 0.000 claims description 10
- 238000012550 audit Methods 0.000 claims description 6
- 238000013461 design Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 3
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Human Computer Interaction (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a modularized block chain intelligent contract, which comprises an intelligent contract template, wherein a user issues a new intelligent contract by using the intelligent contract template, and the method comprises the following steps: a user selects an intelligent contract template through a visual editing interface; after a template is selected, a new intelligent contract is created and enters an intelligent contract editing interface; adding and deleting components or modifying component parameters by a user; after the modification is finished, storing a new intelligent contract; clicking to issue a new intelligent contract, compiling the intelligent contract of the final version by the system, and issuing the intelligent contract to the block chain; after the new intelligent contract is successfully issued, the user needs to pay the use cost of the intelligent contract template, and if the new intelligent contract is not successfully issued, no cost needs to be paid. The invention utilizes the template to carry out visual editing operation on the intelligent contract, provides a framed intelligent contract compiling mode, simplifies the compiling difficulty of the intelligent contract and improves the correctness, the safety and the high efficiency of the compiling of the intelligent contract.
Description
Technical Field
The invention relates to the technical field of intelligent contracts, in particular to a modular block chain intelligent contract.
Background
After the term of the intelligent contract is proposed for the first time, the intelligent contract is applied to a blockchain system by an Ethernet for the first time, so that a great deal of attention is drawn, and the intelligent contract based on the blockchain technology not only can exert the advantages of the intelligent contract in the aspect of cost efficiency, but also can avoid the interference of malicious behaviors on the normal execution of the contract. The smart contract is written into the block chain in a digital form, and the characteristics of the block chain technology ensure that the whole processes of storage, reading and execution are transparent, traceable and not easy to modify. Meanwhile, a set of state machine system is constructed by the block chain self-contained consensus algorithm, so that the intelligent contract can run efficiently.
However, the current intelligent contract for the block chain has certain limitations: for example, the realization of the intelligent contract generally utilizes a programming language to compile the intelligent contract, the qualified intelligent contract can be compiled only by having the professional intelligent contract programming capability, errors are easy to occur, and the intelligent contract is not suitable for common users; the intelligent contracts are kept in the blocks as one transaction after being compiled, namely the intelligent contracts become a stack of binary codes after being compiled, readability is lacked, new transactions are generated each time the intelligent contracts are executed, the block size is rapidly expanded, and commercial application of the block chain technology is greatly inhibited.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides a modular blockchain intelligent contract.
In order to achieve the purpose, the invention adopts the following technical scheme:
a modular blockchain intelligent contract, which comprises an intelligent contract template, wherein the intelligent contract template is developed, designed and issued in a blockchain system by professional technicians and can be freely selected by users, and the users issue new intelligent contracts by using the intelligent contract template, and the method comprises the following steps:
(1.1) selecting an intelligent contract template by a user through a visual editing interface;
(1.2) creating a new intelligent contract after selecting the template, and entering an intelligent contract editing interface;
(1.3) adding and deleting components or modifying component parameters by a user;
(1.4) storing the new intelligent contract after the modification is finished;
(1.5) clicking to release a new intelligent contract, compiling the intelligent contract of the final version by the system according to the intelligent contract template and the corresponding component parameters, and releasing the intelligent contract to the block chain;
and (1.6) after the new intelligent contract is successfully issued, the user needs to pay the use cost of the intelligent contract template, and if the new intelligent contract is not successfully issued, no cost needs to be paid.
Preferably, the component parameters in step 1.3 include: text, options, message subscriptions, and conditional execution.
Preferably, in step 1.5, after the user issues the intelligent contract, the system checks the intelligent security and integrity of the intelligent contract.
Preferably, in step 1.5, after the new intelligent contract is issued to the blockchain, a query version of the new intelligent contract is generated at the same time, the query version link is stored in the intelligent contract, and the check code of the query version is maintained on the intelligent contract.
Preferably, in step 1.6, the system further provides a free intelligent contract template, and if the user selects the free intelligent contract template, the user is prompted to pay 0 fee after issuing a new intelligent contract successfully.
Preferably, the system is further provided with an intelligent contract module management container, and the intelligent contract module management container is used by the following steps:
(6.1) after designing an intelligent contract module, professional technical developers submit the intelligent contract module to a block chain technical team for technical verification;
(6.2) after the audit is passed, hanging the audit result into a corresponding classification index;
and (6.3) simultaneously associating the collection accounts of the professional technical developers.
Preferably, if the issued intelligent contract template is not used by people for a long time, the system automatically puts the intelligent contract template off shelf and eliminates the intelligent contract template.
Preferably, a common user can initiate an intelligent contract of the customized template through the intelligent contract template management container, so that the two parties do not need to meet each other, and development, design and cooperation can be directly performed.
Compared with the prior art, the invention provides a modular block chain intelligent contract, which has the following beneficial effects: the intelligent contract with the modularized block chain utilizes the template to carry out visual editing operation on the intelligent contract, provides a framed intelligent contract compiling mode, greatly simplifies the compiling difficulty of the intelligent contract, improves the correctness, the safety and the high efficiency of compiling the intelligent contract, and enables a common user to conveniently publish the intelligent contract.
The parts which are not involved in the device are the same as or can be realized by adopting the prior art, and the device has the advantages of simple structure and convenient operation.
Drawings
Fig. 1 is a schematic structural diagram of a modular blockchain intelligent contract according to the present invention;
FIG. 2 is a flowchart of issuing new intelligent contracts using intelligent contract templates according to embodiment 1 of the present invention;
fig. 3 is a flow chart of the usage of the intelligent contract module management container according to embodiment 2 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in 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.
Example 1
As shown in fig. 1-2, a modular blockchain intelligent contract, comprising an intelligent contract template, wherein the intelligent contract template is developed, designed and issued in a blockchain system by professional technicians and can be freely selected by users, and the users issue new intelligent contracts by using the intelligent contract template, comprising the following steps:
(1.1) selecting an intelligent contract template by a user through a visual editing interface;
(1.2) creating a new intelligent contract after selecting the template, and entering an intelligent contract editing interface;
(1.3) adding and deleting components or modifying component parameters by a user;
(1.4) storing the new intelligent contract after the modification is finished;
(1.5) clicking to release a new intelligent contract, compiling the intelligent contract of the final version by the system according to the intelligent contract template and the corresponding component parameters, and releasing the intelligent contract to the block chain;
and (1.6) after the new intelligent contract is successfully issued, the user needs to pay the use cost of the intelligent contract template, and if the new intelligent contract is not successfully issued, no cost needs to be paid.
Further, the component parameters in step 1.3 include: text, options, message subscription and conditional execution, and customization of component parameters is achieved.
Further, in step 1.5, after the user issues the intelligent contract, the system checks the intelligent security and completeness of the intelligent contract.
Further, in step 1.5, after the new intelligent contract is issued to the blockchain, a query version of the new intelligent contract is generated at the same time, the query version link is stored in the intelligent contract, and the check code of the query version is maintained on the intelligent contract.
Further, in step 1.6, the system also provides a free intelligent contract template, and if the user selects the free intelligent contract template, the user is prompted to pay 0 fee after issuing a new intelligent contract successfully.
Example 2
As shown in fig. 3, the system is further provided with an intelligent contract module management container, and the intelligent contract module management container is used in the following steps:
(6.1) after designing an intelligent contract module, professional technical developers submit the intelligent contract module to a block chain technical team for technical verification;
(6.2) after the audit is passed, hanging the audit result into a corresponding classification index;
and (6.3) simultaneously associating the collection accounts of the professional technical developers.
The intelligent contract template can be dynamically installed on a block chain to realize dynamic loading and unloading of the intelligent contract template, the system is provided with an incentive mechanism of the intelligent contract template, more professional technical developers are encouraged to participate in design of the intelligent contract template in a fee collection mode, the intelligent contract template developed by the professionals is more reliable in safety and integrity, the developers are finally responsible for paying for the safety of the intelligent contract template, and in addition, the technicians are encouraged to develop a plurality of universal templates to serve as safe free templates for users to use.
Furthermore, if the issued intelligent contract template is not used by people for a long time, the system automatically puts the intelligent contract template off shelf and eliminates the intelligent contract template.
Furthermore, a common user can initiate an intelligent contract of the customized template through the intelligent contract template management container, so that the two parties do not need to meet each other, and development, design and cooperation can be directly carried out.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (1)
1. A modular blockchain intelligent contract, characterized by: the intelligent contract template is developed, designed and issued in a block chain system by professional technicians and can be freely selected by a user, and the user issues a new intelligent contract by using the intelligent contract template, and the intelligent contract template comprises the following steps: (1.1) selecting an intelligent contract template by a user through a visual editing interface; (1.2) creating a new intelligent contract after selecting the template, and entering an intelligent contract editing interface; (1.3) adding and deleting components or modifying component parameters by a user; (1.4) storing the new intelligent contract after the modification is finished; (1.5) clicking to release a new intelligent contract, compiling the intelligent contract of the final version by the system according to the intelligent contract template and the corresponding component parameters, and releasing the intelligent contract to the block chain; (1.6) after the new intelligent contract is successfully issued, the user needs to pay the use fee of the intelligent contract template, if the new intelligent contract is not successfully issued, no fee needs to be paid, and the component parameters in the step 1.3 comprise: text, options, message subscription and conditional execution, in step 1.5, after a user issues an intelligent contract, the system checks the intelligent security and completeness of the intelligent contract, in step 1.6, the system also provides a free intelligent contract template, if the user selects the free intelligent contract template, and after a new intelligent contract is successfully issued, the system prompts payment of 0 fee, and the system is further provided with an intelligent contract module management container, and the intelligent contract module management container is used in the following steps: (6.1) after designing an intelligent contract module, professional technical developers submit the intelligent contract module to a block chain technical team for technical verification; (6.2) after the audit is passed, hanging the audit result into a corresponding classification index; (6.3) and simultaneously associating with the collection account of professional technical developers, if the issued intelligent contract template is not used by people for a long time, the system automatically eliminates the intelligent contract template, common users can initiate the intelligent contract of the customized template through an intelligent contract template management container, so that the two parties do not need to meet each other, and development and design cooperation can be directly carried out, and the system is characterized in that: in the step 1.5, after the new intelligent contract is issued to the block chain, the query version of the new intelligent contract is generated at the same time, the query version link is stored in the intelligent contract, and the check code of the query version is maintained on the intelligent contract.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811341763.7A CN109542421B (en) | 2018-11-12 | 2018-11-12 | Modularization block chain intelligence contract |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811341763.7A CN109542421B (en) | 2018-11-12 | 2018-11-12 | Modularization block chain intelligence contract |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109542421A CN109542421A (en) | 2019-03-29 |
CN109542421B true CN109542421B (en) | 2021-09-07 |
Family
ID=65847006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811341763.7A Active CN109542421B (en) | 2018-11-12 | 2018-11-12 | Modularization block chain intelligence contract |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542421B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110097464B (en) * | 2019-04-10 | 2021-09-14 | 北京京东尚科信息技术有限公司 | Intelligent contract generation method and device, electronic equipment and storage medium |
CN110061873A (en) * | 2019-04-18 | 2019-07-26 | 北京共识数信科技有限公司 | A kind of block chain visualization node organization configuring management method |
CN110109972A (en) * | 2019-04-24 | 2019-08-09 | 杭州宇链科技有限公司 | A kind of public good donation platform based on block chain |
CN110097364A (en) * | 2019-04-30 | 2019-08-06 | 翟红鹰 | Block chain intelligence contract modularization generation method, system, terminal and storage medium |
CN110308962B (en) * | 2019-07-04 | 2022-08-23 | 明链科技(深圳)有限公司 | Method, electronic device, and medium for managing block chain network |
CN110532115B (en) * | 2019-09-04 | 2021-03-05 | 北京海益同展信息科技有限公司 | System, method and apparatus for developing smart contracts |
CN110688428B (en) * | 2019-09-24 | 2021-01-26 | 北京海益同展信息科技有限公司 | Method and device for issuing intelligent contracts |
CN110751561A (en) * | 2019-10-24 | 2020-02-04 | 支付宝(杭州)信息技术有限公司 | Credit contract creating method and device |
CN110990879B (en) * | 2019-11-08 | 2022-03-18 | 中国电子科技网络信息安全有限公司 | Data evidence storing method based on block chain |
CN112835567A (en) * | 2019-11-25 | 2021-05-25 | 北京天德科技有限公司 | Visual intelligent contract development system based on natural language |
CN111163149B (en) * | 2019-12-25 | 2022-11-29 | 江苏众享金联科技有限公司 | Intelligent contract platform method based on block chain |
CN111459504B (en) * | 2020-03-30 | 2023-07-04 | 百度国际科技(深圳)有限公司 | Intelligent contract processing method, device, equipment and storage medium |
CN111427555B (en) * | 2020-03-30 | 2023-08-29 | 中科全维科技(苏州)有限公司 | Lightweight intelligent contract framework and contract development method |
CN111506579B (en) * | 2020-05-28 | 2022-09-20 | 支付宝(杭州)信息技术有限公司 | Method, program and equipment for generating intelligent contract code |
CN112015399A (en) * | 2020-08-31 | 2020-12-01 | 京东数字科技控股股份有限公司 | Data processing method and device for generating intelligent contract |
CN112347359A (en) * | 2020-11-12 | 2021-02-09 | 北京沃东天骏信息技术有限公司 | Template recommendation method, device, system and medium for customized template library |
CN112596754B (en) * | 2021-03-01 | 2021-07-02 | 腾讯科技(深圳)有限公司 | Block chain intelligent contract deployment method and device |
CN113191750B (en) * | 2021-04-15 | 2023-07-07 | 福建工程学院 | Block chain network safe transaction system and method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104391710B (en) * | 2014-12-15 | 2018-09-21 | 北京奇虎科技有限公司 | It eliminates the template generation method of class game and eliminates class game device |
US9849364B2 (en) * | 2016-02-02 | 2017-12-26 | Bao Tran | Smart device |
KR101849917B1 (en) * | 2016-10-13 | 2018-05-31 | 주식회사 코인플러그 | Method for providing certificate service based on smart contract and server using the same |
CN106651303B (en) * | 2016-12-02 | 2020-05-26 | 北京轻信科技有限公司 | Intelligent contract processing method and system based on template |
CN106681739B (en) * | 2017-01-11 | 2020-06-19 | 杭州云象网络技术有限公司 | Automatic intelligent contract generation method |
CN107103405B (en) * | 2017-03-22 | 2021-03-19 | 暨南大学 | Crowdsourcing system based on block chain technology and construction method thereof |
-
2018
- 2018-11-12 CN CN201811341763.7A patent/CN109542421B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109542421A (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542421B (en) | Modularization block chain intelligence contract | |
Bassett | Framing software reuse: lessons from the real world | |
Hoover et al. | Simulation: a problem-solving approach | |
CN102810057B (en) | A kind of method of log | |
CN102033743B (en) | System and method for expanding model driving development capability by applying plug-in | |
US20090271214A1 (en) | Rules engine framework | |
CN107943469A (en) | A kind of dissemination method and device of intelligence contract | |
WO1996032675A9 (en) | Automated enforcement of behavior in application program | |
Van Assche et al. | Information systems development: a rule-based approach | |
CN103309904A (en) | Method and device for generating data warehouse ETL (Extraction, Transformation and Loading) codes | |
Cho | Quality programming: developing and testing software with statistical quality control | |
CN111880784B (en) | SIMSCRIPT language-oriented discrete event simulation graphical modeling method | |
CN108416580A (en) | Account checking method, account checking apparatus and electronic equipment | |
CN103325032A (en) | Data processing method and device | |
Dori | Object-process methodology applied to modeling credit card transactions | |
Garrido | Practical process simulation using object-oriented techniques and C++ | |
CN115878097B (en) | Method and system for creating timing task | |
CN108182059A (en) | A kind of processing method and processing device of software code | |
Wen | Research and design of ERP system for small and medium-sized enterprises under great intelligence mobile cloud | |
Jacobson | Formalizing Use-Case Modeling | |
Guduric et al. | A comparison between relational and operational QVT mappings | |
Zhu et al. | A supporting tool for syntactic analysis of SOFL formal specifications and automatic generation of functional scenarios | |
Braganca | Methodological approaches and techniques for model driven development of software product lines | |
CN110489109A (en) | The method and device of code reuse | |
Chaurasia et al. | Mobile Based Electricity Bill Deposit System through UML |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240415 Address after: 433000, No. 15 Xianyuan Avenue, Xiantao City, Hubei Province Patentee after: Hu Zhensheng Country or region after: China Address before: No. 1202, No. 12, Keji South 12th Road, Yuehai street, Shenzhen City, Guangdong Province Patentee before: QUARK CHAIN TECHNOLOGY (SHENZHEN) Co.,Ltd. Country or region before: China |