CN110502218B - Intelligent contract development method, intelligent contract development device, computer equipment and storage medium - Google Patents

Intelligent contract development method, intelligent contract development device, computer equipment and storage medium Download PDF

Info

Publication number
CN110502218B
CN110502218B CN201910790546.4A CN201910790546A CN110502218B CN 110502218 B CN110502218 B CN 110502218B CN 201910790546 A CN201910790546 A CN 201910790546A CN 110502218 B CN110502218 B CN 110502218B
Authority
CN
China
Prior art keywords
contract
intelligent
contracts
modules
development
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
Application number
CN201910790546.4A
Other languages
Chinese (zh)
Other versions
CN110502218A (en
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.)
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanrong Lianyi Information Technology Service 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 Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority to CN201910790546.4A priority Critical patent/CN110502218B/en
Publication of CN110502218A publication Critical patent/CN110502218A/en
Application granted granted Critical
Publication of CN110502218B publication Critical patent/CN110502218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • 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

Abstract

The invention relates to an intelligent contract development method, a device, a computer device and a storage medium, wherein the method comprises the steps of acquiring the existing contract; carrying out modularized processing on the existing contracts according to service requirements to form contract modules; acquiring user requirements; calling a contract module according to the user demand to develop an intelligent contract so as to obtain the intelligent contract; and feeding back the intelligent contract to the terminal. According to the invention, the existing contracts are modularly designed according to service requirements to form the contract modules, and when the intelligent contracts are developed, the contract modules can be called through interfaces corresponding to the contract modules to carry out processes such as expansion and the like, so that the intelligent contracts are formed, the development complexity of the intelligent contracts is reduced, development efficiency is improved for developers, development cost is reduced, and codes with high maintainability are written.

Description

Intelligent contract development method, intelligent contract development device, computer equipment and storage medium
Technical Field
The present invention relates to a computer, and more particularly, to an intelligent contract development method, apparatus, computer device, and storage medium.
Background
An intelligent contract is a computer protocol that aims to propagate, verify, or execute contracts in an informative manner. Smart contracts allow trusted transactions to be made without third parties, which transactions are traceable and irreversible. The smart contract is a digitized version of the traditional contract. They are computer programs running on a blockchain database that can execute themselves when the conditions written in their source code are met. The smart contracts, once compiled, can be trusted by the user and the contract terms cannot be changed, so the contract is unalterable.
When intelligent contracts are developed, corresponding contract interfaces are required to be realized, the contract interfaces are biased to the bottom layer, the intelligent contracts are difficult to start, the development complexity is improved, and the development cost is greatly improved.
Therefore, it is necessary to design a new method to reduce the development complexity of the intelligent contract, facilitate the development efficiency of the developer, and reduce the development cost.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an intelligent contract development method, an intelligent contract development device, computer equipment and a storage medium.
In order to achieve the above purpose, the present invention adopts the following technical scheme: an intelligent contract development method, comprising:
acquiring an existing contract;
carrying out modularized processing on the existing contracts according to service requirements to form contract modules;
acquiring user requirements;
calling a contract module according to the user demand to develop an intelligent contract so as to obtain the intelligent contract;
and feeding back the intelligent contract to the terminal.
The further technical scheme is as follows: the modularization processing is carried out on the existing contracts according to service demands to form contract modules, which comprises the following steps:
classifying the existing contracts according to business demands to form initial modules of various contracts;
and designing corresponding interfaces of the initial modules of various contracts to obtain contract modules.
The further technical scheme is as follows: the contract module comprises a public contract module, a business contract module and a private contract module.
The further technical scheme is as follows: the user requirements include development requirements and deployment requirements.
The further technical scheme is as follows: the calling the contract module according to the user requirement to develop the intelligent contract to obtain the processing result comprises the following steps:
calling a corresponding contract module through an interface of the contract module according to the user demand;
and assembling and expanding the contract module corresponding to the call according to the user requirement to obtain a processing result.
The further technical scheme is as follows: after feeding back the intelligent contract to the terminal, the method further comprises the following steps:
making an endorsement policy corresponding to the intelligent contract;
and deploying the intelligent contracts on corresponding nodes of the blockchain according to the endorsement policies corresponding to the intelligent contracts.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, the existing contracts are modularly designed according to service requirements to form the contract modules, and when the intelligent contracts are developed, the contract modules can be called through interfaces corresponding to the contract modules to carry out processes such as expansion and the like, so that the intelligent contracts are formed, the development complexity of the intelligent contracts is reduced, development efficiency is improved for developers, development cost is reduced, and codes with high maintainability are written.
The invention is further described below with reference to the drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of an intelligent contract development method provided by an embodiment of the present invention;
FIG. 2 is a flow chart of an intelligent contract development method according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of an intelligent contract development method according to an embodiment of the present invention;
FIG. 4 is a schematic sub-flowchart of an intelligent contract development method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a smart contract development method according to another embodiment of the present invention;
FIG. 6 is a schematic block diagram of an intelligent contract development apparatus provided by an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a modular unit of the intelligent contract development apparatus provided by an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a development unit of the intelligent contract development apparatus provided by an embodiment of the present invention;
FIG. 9 is a schematic block diagram of an intelligent contract development apparatus provided in another embodiment of the present invention;
fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic application scenario diagram of an intelligent contract development method according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of an intelligent contract development method according to an embodiment of the present invention. The intelligent contract development method is applied to the server. The server interacts with the terminal, and users such as developers, maintainers and the like initiate demands through the terminal, and the server invokes contract modules which are in modularized design to develop and expand so as to form intelligent contracts which are developed according to the development demands of the users and can be normalized to be deployed at corresponding nodes.
Fig. 2 is a flow chart of an intelligent contract development method according to an embodiment of the invention. As shown in fig. 2, the method includes the following steps S110 to S150.
S110, acquiring the existing contract.
In this embodiment, the existing contracts refer to conventional smart contracts, and the server will aggregate all the existing contracts in a database, so as to develop a contract module by using a large number of existing contracts.
S120, carrying out modularization processing on the existing contracts according to service requirements to form contract modules.
In this embodiment, the contract modules include a public contract module, a business contract module and a private contract module, and the contract modules are basic modules of the intelligent contract development process, and are used for developing contracts
In one embodiment, referring to fig. 3, the step S120 may include steps S121 to S122.
S121, classifying the existing contracts according to business requirements to form initial modules of various contracts.
In this embodiment, the initial modules of the various contracts refer to existing contracts divided according to service requirements, typically according to public requirements, service requirements and private requirements. Existing contracts are also developed based on business requirements.
S122, designing corresponding interfaces for the initial modules of various contracts to obtain contract modules.
The initial modules of various contracts are based on the concept of business and have unique business attribute functions, so based on the characteristics, the exclusive interfaces of the initial modules are packaged and opened to the outside, wherein public contracts can realize the access of public resources, business contracts can realize the operation of accounts among organizations, and private contracts can realize the privacy security of the accounts of related organizations. The different initial modules require interfaces that implement the operations of the particular modules, the interface functions being specific based on the services provided by the platform.
S130, obtaining the user requirements.
In this embodiment, the user requirement is a request initiated by the user through the terminal, where the user requirement includes a development requirement and a deployment requirement, and of course, the user requirement may include only the development requirement, or the user requirement may include only the deployment requirement.
S140, calling a contract module according to the user demand to develop the intelligent contract so as to obtain the intelligent contract.
In one embodiment, referring to fig. 4, the step S140 may include steps S141 to S142.
S141, calling a corresponding contract module through an interface of the contract module according to the user demand;
s142, assembling and expanding the contract module corresponding to the call according to the user requirement to obtain a processing result.
Each interface is provided with an access document, and a user can rely on the relevant interfaces of the contract modules in development by only reading the access document through the terminal to know the interface designs of different contract modules, so that the development of intelligent contracts can be easily completed, and the development difficulty is greatly reduced. As with the conventional development of intelligent contracts, developers need to encapsulate the development package of the contract module into a common bottom-layer functional operation interface based on the provided interface, i.e. depending on the development package of the contract module, and the developers can also perform additional expansion according to the service characteristics of the developers, so that the convenience of non-invasive plug-and-play is achieved. Specifically, in the expansion process, a contract module and contract characteristics required to be expanded can be integrated to form an intelligent contract.
S150, feeding back the intelligent contract to the terminal.
And feeding the intelligent contract back to the terminal for the user to review, so that the writing maintainability is facilitated.
In the development process of the intelligent contracts, corresponding intelligent contracts can be strictly distinguished and managed, the difficulty of intelligent contract development is effectively reduced through modularized design, the intelligent contract development efficiency and fault tolerance are greatly improved, and a feasibility scheme is provided for the vigorous popularization of intelligent contract modular design
Based on private and shared characteristics of intelligent contract account book data, the modularized design concept is used for intelligent contracts, modularization distinction of public contracts, business contracts, private contracts and the like is provided, the development difficulty of the intelligent contracts is greatly reduced while the privacy security of user data is ensured, and a good design idea is provided for decoupling of the intelligent contracts and implementation of landing.
According to the intelligent contract development method, the existing contracts are subjected to modularized design according to service requirements to form the contract modules, when the intelligent contracts are developed, the contract modules can be called through interfaces corresponding to the contract modules to carry out processes such as expansion and the like, so that the intelligent contracts are formed, the development complexity of the intelligent contracts is reduced, development efficiency is improved for developers conveniently, development cost is reduced, and codes with high maintainability are written.
Fig. 5 is a flowchart of an intelligent contract development method according to another embodiment of the present invention. As shown in fig. 5, the smart contract development method of the present embodiment includes steps S210 to S270. Steps S210 to S250 are similar to steps S110 to S150 in the above embodiment, and are not described herein. Steps S260 to S270 added in the present embodiment are described in detail below.
S260, making an endorsement policy corresponding to the intelligent contract.
In this embodiment, the endorsement policy refers to the deployment rights of the smart contract.
S270, deploying the intelligent contracts on corresponding nodes of the blockchain according to the endorsement policies corresponding to the intelligent contracts.
In view of the modularity of the contract modules, the contract modules are provided with corresponding endorsement policies. The endorsement policy is capable of determining whether a transaction is properly endorsed, as part of a transaction verification process to determine the validity of the transaction, a transaction containing one or more endorsements from an endorsement node. Thus, the public contract module needs to satisfy the endorsement policy of all endorsement nodes, and the private contract module needs to satisfy the endorsement policy of a specific endorsement node.
When the intelligent contracts are deployed, the contract module document is read, the endorsement strategies of different contract modules are known, the intelligent contracts related to deployment can be installed correctly, and the operation and maintenance cost is greatly reduced. In traditional smart contract development, it is ambiguous whether different nodes have rights to contract deployment due to differences in contract traffic. In this embodiment, an endorsement policy corresponding to the intelligent contract is formulated, which is favorable for specifying the deployment authority of the modularized contract in detail. For example, public contracts can be deployed on all nodes, private contracts can only be deployed on proprietary nodes, i.e. proprietary organization nodes, whereas business contracts need to be deployed on nodes with business relevance, i.e. organization nodes with business relevance. Based on the specification of the endorsement policy, when the intelligent contract is managed, the deployment authority of the contract can be rapidly determined based on the exclusive characteristic of the contract module, and then the relevant deployment operation of the contract is carried out, so that the deployment efficiency of the whole intelligent contract is improved.
Based on private and shared characteristics of intelligent contract account book data, the modularized design concept is used for intelligent contracts, modularization distinction of public contracts, business contracts, private contracts and the like is provided, the development difficulty of the intelligent contracts is greatly reduced while the privacy security of user data is ensured, and a good design idea is provided for decoupling of the intelligent contracts and implementation of landing.
Fig. 6 is a schematic block diagram of an intelligent contract development apparatus 300 provided in an embodiment of the present invention. As shown in fig. 6, the present invention also provides an intelligent contract development apparatus 300 corresponding to the above intelligent contract development method. The smart contract development apparatus 300 includes a unit for performing the above-described smart contract development method, and may be configured in a server.
Specifically, referring to fig. 6, the smart contract development apparatus 300 includes:
a contract acquisition unit 301 for acquiring an existing contract;
a modularization unit 302, configured to perform modularization processing on the existing contracts according to service requirements, so as to form contract modules;
a requirement acquisition unit 303, configured to acquire a user requirement;
the development unit 304 is configured to invoke the contract module according to a user requirement to perform intelligent contract development so as to obtain an intelligent contract;
and a feedback unit 305, configured to feed back the smart contract to the terminal.
In one embodiment, as shown in fig. 7, the modular unit 302 includes:
a dividing subunit 3021, configured to divide existing contracts according to service requirements to form initial modules of various contracts;
the interface design subunit 3022 is configured to perform the design of the corresponding interfaces on the initial modules of the various contracts to obtain the contract modules.
In one embodiment, as shown in fig. 8, the development unit 304 includes:
a calling subunit 3041, configured to call a corresponding contract module through an interface of the contract module according to a user requirement;
and the processing subunit 3042 is configured to assemble and expand the contract module corresponding to the call according to the user requirement, so as to obtain a processing result.
Fig. 7 is a schematic block diagram of an intelligent contract development apparatus 300 according to another embodiment of the present invention. As shown in fig. 7, the smart contract development apparatus 300 of the present embodiment is an addition of the formulation unit 306 and the deployment unit 307 to the above-described embodiments.
The formulation unit 306 is configured to formulate an endorsement policy corresponding to the intelligent contract.
The deployment unit 307 is configured to deploy the intelligent contracts on corresponding nodes of the blockchain according to an endorsement policy corresponding to the intelligent contracts
It should be noted that, as will be clearly understood by those skilled in the art, the specific implementation process of the above-mentioned intelligent contract development apparatus 300 and each unit may refer to the corresponding description in the foregoing method embodiments, and for convenience and brevity of description, the description is omitted here.
The smart contract development apparatus 300 described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a server.
With reference to FIG. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a smart contract development method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a smart contract development method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of a portion of the architecture in connection with the present application and is not intended to limit the computer device 500 to which the present application is applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to implement the steps of:
acquiring an existing contract;
carrying out modularized processing on the existing contracts according to service requirements to form contract modules;
acquiring user requirements;
calling a contract module according to the user demand to develop an intelligent contract so as to obtain the intelligent contract;
and feeding back the intelligent contract to the terminal.
The contract module comprises a public contract module, a business contract module and a private contract module.
The user requirements include development requirements and deployment requirements.
In one embodiment, when the processor 502 performs the modularization processing on the existing contracts according to the service requirements to form the contract module step, the following steps are specifically implemented:
classifying the existing contracts according to business demands to form initial modules of various contracts;
and designing corresponding interfaces of the initial modules of various contracts to obtain contract modules.
In one embodiment, when the processor 502 performs the step of calling the contract module according to the user requirement to perform intelligent contract development to obtain the processing result, the following steps are specifically implemented:
calling a corresponding contract module through an interface of the contract module according to the user demand;
and assembling and expanding the contract module corresponding to the call according to the user requirement to obtain a processing result.
In one embodiment, after implementing the feedback of the smart contract to the terminal step, the processor 502 further implements the steps of:
making an endorsement policy corresponding to the intelligent contract;
and deploying the intelligent contracts on corresponding nodes of the blockchain according to the endorsement policies corresponding to the intelligent contracts.
It should be appreciated that in embodiments of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an existing contract;
carrying out modularized processing on the existing contracts according to service requirements to form contract modules;
acquiring user requirements;
calling a contract module according to the user demand to develop an intelligent contract so as to obtain the intelligent contract;
and feeding back the intelligent contract to the terminal.
The contract module comprises a public contract module, a business contract module and a private contract module.
The user requirements include development requirements and deployment requirements.
In one embodiment, when executing the computer program to implement the modularized processing on the existing contract according to the service requirement, the processor forms a contract module step, specifically implementing the following steps:
classifying the existing contracts according to business demands to form initial modules of various contracts;
and designing corresponding interfaces of the initial modules of various contracts to obtain contract modules.
In one embodiment, when the processor executes the computer program to implement the step of calling the contract module according to the user requirement to perform intelligent contract development to obtain the processing result, the processor specifically implements the following steps:
calling a corresponding contract module through an interface of the contract module according to the user demand;
and assembling and expanding the contract module corresponding to the call according to the user requirement to obtain a processing result.
In one embodiment, the processor, after executing the computer program to effect the feeding back the smart contract to the terminal step, further effects the steps of:
making an endorsement policy corresponding to the intelligent contract;
and deploying the intelligent contracts on corresponding nodes of the blockchain according to the endorsement policies corresponding to the intelligent contracts.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. An intelligent contract development method, characterized by comprising:
acquiring an existing contract;
carrying out modularized processing on the existing contracts according to service requirements to form contract modules;
acquiring user requirements;
calling a contract module according to the user demand to develop an intelligent contract so as to obtain the intelligent contract;
feeding back the intelligent contract to a terminal;
the calling the contract module according to the user requirement to develop the intelligent contract to obtain the processing result comprises the following steps:
calling a corresponding contract module through an interface of the contract module according to the user demand;
assembling and expanding the contract module corresponding to the call according to the user requirement to obtain a processing result;
in the expansion process, the contract module and the contract characteristics needing to be expanded are integrated to form an intelligent contract.
2. The intelligent contract development method according to claim 1, wherein the modularly processing the existing contracts according to business requirements to form contract modules includes:
classifying the existing contracts according to business demands to form initial modules of various contracts;
and designing corresponding interfaces of the initial modules of various contracts to obtain contract modules.
3. The intelligent contract development method according to claim 1, wherein the contract modules include a public contract module, a business contract module, and a private contract module.
4. The smart contract development method of claim 1, wherein the user requirements include development requirements and deployment requirements.
5. The smart contract development method according to any one of claims 1 to 4, characterized in that after the feeding back the smart contract to a terminal, further comprising:
making an endorsement policy corresponding to the intelligent contract;
and deploying the intelligent contracts on corresponding nodes of the blockchain according to the endorsement policies corresponding to the intelligent contracts.
6. Intelligent contract development device, characterized by comprising:
a contract acquisition unit configured to acquire an existing contract;
the modularized unit is used for performing modularized processing on the existing contracts according to service requirements to form contract modules;
the demand acquisition unit is used for acquiring the demand of the user;
the development unit is used for calling the contract module according to the requirements of the user to develop the intelligent contract so as to obtain the intelligent contract;
the feedback unit is used for feeding back the intelligent contract to the terminal;
the modular unit comprises:
the division subunit is used for classifying the existing contracts according to the service demands to form initial modules of various contracts;
the interface design subunit is used for carrying out the design of corresponding interfaces on the initial modules of various contracts so as to obtain contract modules;
the development unit includes:
a calling subunit, configured to call a corresponding contract module through an interface of the contract module according to a user requirement;
the processing subunit is used for assembling and expanding the contract module corresponding to the call according to the user requirement so as to obtain a processing result;
in the expansion process, the contract module and the contract characteristics needing to be expanded are integrated to form an intelligent contract.
7. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-5.
8. A storage medium storing a computer program which, when executed by a processor, performs the method of any one of claims 1 to 5.
CN201910790546.4A 2019-08-26 2019-08-26 Intelligent contract development method, intelligent contract development device, computer equipment and storage medium Active CN110502218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910790546.4A CN110502218B (en) 2019-08-26 2019-08-26 Intelligent contract development method, intelligent contract development device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910790546.4A CN110502218B (en) 2019-08-26 2019-08-26 Intelligent contract development method, intelligent contract development device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110502218A CN110502218A (en) 2019-11-26
CN110502218B true CN110502218B (en) 2023-05-19

Family

ID=68589482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910790546.4A Active CN110502218B (en) 2019-08-26 2019-08-26 Intelligent contract development method, intelligent contract development device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110502218B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542435B (en) * 2021-09-15 2021-12-14 支付宝(杭州)信息技术有限公司 User service using method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299587A (en) * 2018-09-11 2019-02-01 平安科技(深圳)有限公司 Algorithm protection method, device, equipment and storage medium based on go language
CN109683869A (en) * 2018-12-29 2019-04-26 北京阿斯特时代科技有限公司 The development approach and device of DAPP
CN109840429A (en) * 2019-01-08 2019-06-04 北京众享比特科技有限公司 Intelligent contract deployment, call method and device
CN109960494A (en) * 2019-04-03 2019-07-02 陕西医链区块链集团有限公司 A kind of block chain application development framework design method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10497037B2 (en) * 2014-03-31 2019-12-03 Monticello Enterprises LLC System and method for managing cryptocurrency payments via the payment request API
US10541886B2 (en) * 2017-05-24 2020-01-21 International Business Machines Corporation Decentralized change management based on peer devices using a blockchain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299587A (en) * 2018-09-11 2019-02-01 平安科技(深圳)有限公司 Algorithm protection method, device, equipment and storage medium based on go language
CN109683869A (en) * 2018-12-29 2019-04-26 北京阿斯特时代科技有限公司 The development approach and device of DAPP
CN109840429A (en) * 2019-01-08 2019-06-04 北京众享比特科技有限公司 Intelligent contract deployment, call method and device
CN109960494A (en) * 2019-04-03 2019-07-02 陕西医链区块链集团有限公司 A kind of block chain application development framework design method

Also Published As

Publication number Publication date
CN110502218A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
WO2021109735A1 (en) Cross-chain-network-based resource processing method, and device
US11704303B2 (en) Method and system for processing transactions in a blockchain network
US20050262501A1 (en) Software distribution method and system supporting configuration management
US10268565B2 (en) Validation of containers
CN109146679A (en) Intelligent contract call method and device, electronic equipment based on block chain
WO2019219306A1 (en) Identifying faults in a blockchain ordering service
WO2020211483A1 (en) Method and apparatus for storing and executing smart contract in blockchain, and electronic device
US20070005320A1 (en) Model-based configuration management
CN110400217B (en) Rule change processing method and device for intelligent contract
WO2022134186A1 (en) Smart contract calling method and apparatus for blockchains, server, and storage medium
CN114189525B (en) Service request method and device and electronic equipment
WO2021136233A1 (en) Service upgrading method, device and system
CN111598575A (en) Business process control method and device, electronic equipment and readable storage medium
US20200394162A1 (en) Operation management method for distributed ledger system, operation management system for distributed ledger system, and operation management program for distributed ledger system
CN110502218B (en) Intelligent contract development method, intelligent contract development device, computer equipment and storage medium
CN110737425B (en) Method and device for establishing application program of charging platform system
CN110955469A (en) Method and device for online transaction by X86 platform distributed batch call
CN113315750B (en) Kafka message issuing method, device and storage medium
CN110046086A (en) Expected data generation method and device and electronic equipment for test
EP3918750B1 (en) Turing-complete smart contracts for cryptocurrencies
CN111782336A (en) Cloud migration method and device of hybrid cloud and computer-storable medium
CN111324645B (en) Block chain data processing method and device
WO2002023332A2 (en) Extensible software development using asynchronous messaging
CN115018499A (en) Block chain-based digital certificate issuing method, device and system
US20210342530A1 (en) Framework for Managing Natural Language Processing Tools

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