CN115686526A - Intelligent contract generation method and device, electronic equipment and readable storage medium - Google Patents

Intelligent contract generation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115686526A
CN115686526A CN202211318370.0A CN202211318370A CN115686526A CN 115686526 A CN115686526 A CN 115686526A CN 202211318370 A CN202211318370 A CN 202211318370A CN 115686526 A CN115686526 A CN 115686526A
Authority
CN
China
Prior art keywords
generating
contract
intelligent contract
data model
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.)
Pending
Application number
CN202211318370.0A
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN202211318370.0A priority Critical patent/CN115686526A/en
Publication of CN115686526A publication Critical patent/CN115686526A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a method and a device for generating an intelligent contract, electronic equipment and a readable storage medium, and belongs to the technical field of computers. The intelligent contract generation method comprises the following steps: and constructing a business form. And selecting key service fields in the service form. And constructing a block chain data model based on the key service field. And selecting a contract template. And generating a blockchain intelligent contract based on the contract template and the blockchain data model.

Description

Intelligent contract generation method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a method and a device for generating an intelligent contract, electronic equipment and a readable storage medium.
Background
Due to the technical complexity of the blockchain, a blockchain developer needs to master a great deal of technical knowledge and technical language to complete the development of the blockchain application, so that the blockchain development and delivery are very difficult. In particular, in the intelligent contract part, because the current intelligent contract programming languages in the market are relatively numerous, such as a Solidity (contract programming language), a Go (a compiling type and concurrent type developed by Google, and a programming language with a garbage recycling function), and the like, only a few people in the market grasp the language, and the traditional application developers often use languages such as Java (an object-oriented programming language), python (a computer programming language), and the like. The intelligent contracts are often associated with the business models, when the business models are changed, developers need a large amount of time to adjust the intelligent contract models, so that the development cost of the blockchain application is high, and the different developers have different understandings on the intelligent contracts, so that the developed blockchain application quality is different.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for generating an intelligent contract, an electronic device and a readable storage medium, which can solve the problems that the intelligent contract part in a block chain has high requirements on programming languages, so that the intelligent contract is difficult to write and the development cost is high.
In a first aspect, an embodiment of the present application provides a method for generating an intelligent contract, including: and constructing a business form. And selecting key service fields in the service form. And constructing a block chain data model based on the key service field. And selecting a contract template. And generating a blockchain intelligent contract based on the contract template and the blockchain data model.
In a second aspect, an embodiment of the present application provides an apparatus for generating an intelligent contract, including a first building module, a first region selection module, a second building module, a second region selection module, and a generating module. The first construction module is used for constructing the business form. The first selection area module is used for selecting key business fields in the business form. The second building module is used for building a block chain data model based on the key service field. The second region selection module is used for selecting a contract template. The generation module is used for generating the intelligent block chain contract based on the contract template and the block chain data model.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions that can be executed on the processor, and the program or instructions, when executed by the processor, implement the steps of the method for generating an intelligent contract according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the method for generating an intelligent contract according to the first aspect.
In this embodiment, a service form is quickly constructed based on a low-code platform, a cochain field (i.e., a key service field) is dynamically selected based on a drawn service form, and finally an intelligent contract is dynamically generated through an intelligent contract template and the cochain service form field. According to the embodiment, the intelligent contract is generated in a low-code mode, the programming requirement and the development cost of developers are reduced, the development cycle and the development accuracy of the intelligent contract are reduced, the development efficiency of the block chain system is further improved, and the economic benefit is guaranteed.
Drawings
FIG. 1 is a flow chart illustrating a method for generating an intelligent contract according to an embodiment of the present disclosure;
fig. 2 is a block diagram illustrating a structure of an apparatus for generating an intelligent contract according to an embodiment of the present application;
fig. 3 shows a block diagram of an electronic device provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an intelligent contract generation process provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a business form provided by an embodiment of the present application;
FIG. 7 is a diagram illustrating an uplink data model according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating an intelligent contract generation process provided by an embodiment of the present application.
Wherein, the correspondence between the reference numbers and the component names in fig. 2 to 8 is:
100: the generating device of the intelligent contract; 110: a first building block; 120: a first selection module; 130: a second building block; 140: a second selection module; 150: a generation module; 200: a form designer; 202: a business form; 204: a block chain data model; 206: a contract template; 208: an intelligent contract; 210: a, a model; 212: b, model; 214: c, model; 216: contract template A;218: a contract template B;220: a contract template C; :222 business model A;224: a business model B;1000: an electronic device; 1002: a processor; 1004: a memory; 1100: an electronic device; 1101: a radio frequency unit; 1102: a network module; 1103: an audio output unit; 1104: an input unit; 11041: a graphics processor; 11042: a microphone; 1105: a sensor; 1106: a display unit; 11061: a display panel; 1107: a user input unit; 11071: a touch panel; 11072: other input devices; 1108: an interface unit; 1109: a memory; 1110: a processor.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method and apparatus for generating an intelligent contract, the electronic device, and the readable storage medium provided by the embodiments of the present application are described in detail below with reference to fig. 1 to 8 through specific embodiments and application scenarios thereof.
An embodiment of the present application provides a method for generating an intelligent contract, and fig. 1 shows one of the flow diagrams of the method for generating an intelligent contract provided in the embodiment of the present application, and as shown in fig. 1, the method for generating an intelligent contract includes:
and 102, constructing a business form.
And 104, selecting key business fields in the business form.
And 106, constructing a block chain data model based on the key service field.
Step 108, selecting a contract template.
And step 110, generating a block chain intelligent contract based on the contract template and the block chain data model.
In the related technology, developers cannot write intelligent contracts on the basis of not mastering specific programming languages such as Solidity, go and the like.
In this embodiment, the key service field in the core of the service form is extracted as the data model on the chain, and the block chain data model is constructed, so that the problems of inaccurate quality of developed intelligent contracts and dirty data uplink caused by the fact that developers are not familiar with the block chain model can be avoided.
In this embodiment, the contract template needs to be set in advance, and is selected according to the specific situation of the service, and the relevant content in the area chain data model is combined with the contract template to finally generate the block chain intelligent contract.
In this embodiment, an intelligent contract may be generated by combining any data model template and a contract template. The intelligent contract generated by the method not only ensures the accuracy of the contract, but also greatly shortens the development time of the contract. And further, the complexity and the technical difficulty of block chain application development are reduced, and the delivery quality and the delivery efficiency of a block chain system are improved.
In this embodiment, a service form is quickly constructed based on a low-code platform, a cochain field, that is, a key service field, is dynamically selected based on a drawn service form, and finally, an intelligent contract is dynamically generated through an intelligent contract template and a cochain service form field. According to the method and the device, the intelligent contract is generated in a low-code mode, the programming requirement and the development cost of developers are reduced, the development period and the development accuracy of the intelligent contract are reduced, the development efficiency of the block chain system is improved, and the economic benefit is guaranteed.
In some embodiments of the present application, constructing the service form specifically includes:
and constructing a business form by adopting a form designer.
In this embodiment, the business form may be constructed by a form designer, the form designer is constructed in a low-code form, and generating the business form by the low-code form designer is a basis for constructing a low-code intelligent contract, and provides preconditions for subsequently constructing a blockchain data model.
According to the embodiment, the intelligent contract can be quickly constructed in a form designer and contract template mode, and finally the block chain system can be quickly delivered.
In the embodiment, the form designer is adopted to obtain the business form, so that the starting difficulty of generating the intelligent contract is reduced, and even people without programming experience can have the capacity of generating the intelligent contract.
In some embodiments of the present application, before constructing the business form using the form designer, the method further comprises:
and constructing a form designer, wherein a text box, a password box, a hidden field, a multi-line text box, a check box, a radio box, a pull-down selection box and/or a file uploading box are arranged in the form designer.
In this embodiment, the form designer is provided with a text box, a password box, a hidden field, a multi-line text box, a check box, a radio box, a pull-down selection box and/or a file upload box, and the related content is added to the corresponding input box by the above manner, so that a business form in the form of a web page can be generated.
In this embodiment, the constructed form designer can reduce the technical difficulty of generating an intelligent contract, and improve the delivery quality and delivery efficiency of the blockchain system.
In some embodiments of the present application, the business form comprises a web business form.
It can be understood that the business form is mainly responsible for data collection and business presentation functions in the web page. By way of example, the web business form content may include contract name, party A, party B, terms, signature, and/or date. Again by way of example, the web business forms may also include donation forms, production forms, purchase forms, sales forms, and the like.
In this embodiment, the business form generated by the form designer is a web business form, and key business fields in the business form can be extracted more conveniently.
In this embodiment, by setting the specific content of the web service form, a process of constructing a block chain data model by extracting key service fields of a core in the service form as a data model on a chain can be further realized.
In some embodiments of the present application, the method for generating an intelligent contract further comprises:
the blockchain data model supports multiple model storages and/or multiple versions of the same model.
It can be understood that the software system has service variability, and as time increases, the larger the service variation range is, and at this time, the original block chain data model cannot meet the existing service requirements. And the intelligent contract is used as an entrance of the block chain data and manages the data model. For the changed data model, if the data model is changed manually, the difficulty is high, and errors are easy to occur.
In order to solve the above problem, the on-chain data model in this embodiment may support multi-model storage and/or multi-version storage of the same model, that is, version change and trace retention.
In the embodiment, the block chain data model supports storage of multiple models and/or storage of multiple versions of the same model, and when the data model changes, the data model can be changed in a mode of selecting different models or a non-manual mode, so that errors are avoided.
In some embodiments of the present application, the method for generating an intelligent contract further comprises:
when the block chain data model needs to be changed, the block chain intelligent contract is regenerated by selecting from multiple models and/or multiple versions of the same model, replacing the original block chain data model.
In this embodiment, the block chain data model supports storage of multiple models and/or multiple versions of the same model, and when the block chain data model needs to be changed, the block chain data model can be selected from the multiple models and/or the multiple versions of the same model to replace the original block chain data model, and finally, the block chain intelligent contract is regenerated. When the service model changes, the intelligent contract can be quickly adjusted, the development time of block chain application is shortened, and the development cost is reduced.
In some embodiments of the present application, before selecting the contract template, the method further includes:
at least one contract template is established based on the security and business characteristics.
In this embodiment, the contract template may adopt a universal language part code in an intelligent contract implemented by a certain specific programming language identity, go, etc., a user may specifically define a plurality of different contract templates for the security and service of the contract, by presetting a professional contract template, even a developer with low experience can write a high-performance intelligent contract with reliable quality, and at the same time, due to supporting a plurality of contract templates, a plurality of different usage scenarios may be satisfied.
According to the method for generating the intelligent contract, the execution main body can be a device for generating the intelligent contract. The embodiment of the present application takes an example of a method for generating an intelligent contract executed by a generating device of an intelligent contract, and describes a generating device of an intelligent contract provided in the embodiment of the present application.
In some embodiments of the present application, an apparatus for generating an intelligent contract is provided, and fig. 2 shows a block diagram of an apparatus for generating an intelligent contract provided in an embodiment of the present application, and as shown in fig. 2, an apparatus 100 for generating an intelligent contract includes a first building module 110, a first selecting module 120, a second building module 130, a second selecting module 140, and a generating module 150. The first building module 110 is used to build a business form. The first selecting area module 120 is used for selecting key service fields in the service form. The second building module 130 is used for building a block chain data model based on the key business fields. The second selection module 140 is used for selecting a contract template. The generation module 150 is configured to generate a blockchain intelligent contract based on the contract template and the blockchain data model.
In this embodiment, a service form is quickly constructed based on a low-code platform, a cochain field (i.e., a key service field) is dynamically selected based on a drawn service form, and finally an intelligent contract is dynamically generated through an intelligent contract template and the cochain service form field. According to the method and the device, the intelligent contract is generated in a low-code mode, the programming requirement and the development cost of developers are reduced, the development period and the development accuracy of the intelligent contract are reduced, the development efficiency of the block chain system is improved, and the economic benefit is guaranteed.
The generation device of the intelligent contract in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The generation device of the smart contract in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The device for generating an intelligent contract provided in the embodiment of the present application can implement each process implemented by the method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 1000 is further provided in the embodiment of the present application, where the electronic device 1000 includes a processor 1002 and a memory 1004, and the memory 1004 stores a program or an instruction that can be executed on the processor 1002, and when the program or the instruction is executed by the processor 1002, the steps of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, and processor 1110.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Processor 1110 is configured to construct a business form.
A processor 1110 for selecting key service fields in the service form.
A processor 1110 configured to construct a blockchain data model based on the key service fields.
A processor 1110 for selecting a contract template.
A processor 1110 for generating a blockchain intelligent contract based on the contract template and the blockchain data model.
In this embodiment, a service form is quickly constructed based on a low-code platform, a cochain field (i.e., a key service field) is dynamically selected based on a drawn service form, and finally an intelligent contract is dynamically generated through an intelligent contract template and the cochain service form field. According to the embodiment, the intelligent contract is generated in a low-code mode, the programming requirement and the development cost of developers are reduced, the development cycle and the development accuracy of the intelligent contract are reduced, the development efficiency of the block chain system is further improved, and the economic benefit is guaranteed.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, memory 1109 may include volatile memory or nonvolatile memory, or memory 1109 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1109 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned method for generating an intelligent contract, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer readable storage media such as computer read only memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the method for generating an intelligent contract, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing embodiment of the method for generating an intelligent contract, and may achieve the same technical effects, and in order to avoid repetition, details are not described here again.
The specific embodiment is as follows:
in this embodiment, an intelligent contract is generated in a low-code form based on a block chain technology, a service form is quickly constructed based on a low-code platform, a winding field is dynamically selected based on a drawn service form, and finally, the intelligent contract is dynamically generated through an intelligent contract template and the winding service form field.
In this embodiment, based on the form designer, a multi-template multi-version low-code intelligent contract is constructed by combining a business model and a contract template in pairs, as shown in fig. 5, a business form is designed through the form designer 200 to obtain a business form 202, a block chain data model 204 is obtained based on a data model on a business form design chain, and an intelligent contract 208 is generated through the data model on the chain and the contract template 206.
The technical scheme of the embodiment is specifically as follows:
(1) Designing a business form: the Web business form is designed through a form designer according to requirements, the business form is mainly responsible for data acquisition and business display functions in a webpage, and the form designer comprises a text box, a password box, a hidden field, a multi-line text box, a check box, a radio box, a pull-down selection box, a file upload box and the like. The generation of business forms by low-code form designers is the basis for building low-code intelligent contracts. As shown in FIG. 6, the designed business form may comprise a web business form, the web business form contents including contract name, party A, party B, terms, signature, and date. Business forms may also have donation forms, production forms, purchase forms, sales forms, and the like.
(2) Design on-chain data model (i.e. blockchain data model): and based on a business form generated by a low-code designer, extracting key business fields of a core as a data model on the chain, and constructing a block chain data model.
The uplink data model of this embodiment supports not only multi-model storage, but also version changes and notching. As shown in fig. 7, the a model 210, the B model 212 and the C model 214 are supported for storage, and the a model 210, the B model 212 and the C model 214 are all uplink data models, wherein fields and field types are different, and each model can select different fields through a confirmation button. The A model 210 includes a field A having a field type of String, a field B having a field type of Long, and a field C having a field type of Integrg. The B model 212 includes a field A, a field B, a field C, and a field D, the field type of the field A is String, the field type of the field B is Long, the field type of the field C is Integgr, and the field type of the field D is Boolean. The C model 214 includes a field A, a field C, and a field D, the field type of the field A is String, the field type of the field C is Integgr, and the field type of the field D is Boolean.
(3) A contract template is defined, the contract template is a universal language part code in an intelligent contract realized by adopting a certain specific programming language (solid, go and the like), a user can specifically define a plurality of different contract templates according to the safety and the service of the contract, even developers with low experience can write high-performance intelligent contracts with reliable quality by presetting a professional contract template, and meanwhile, the system supports a plurality of contract templates and can meet various different use scenes.
(4) And generating an intelligent contract, and generating the intelligent contract by one key through the combination of any data model template and the contract template. The intelligent contract generated by the method not only ensures the accuracy of the contract, but also greatly shortens the development time of the contract. As shown in fig. 8, contract template a216 and business model a222 may generate an intelligent contract, contract template B218 and business model a222 may generate an intelligent contract, and contract template C220 and business model B224 may generate an intelligent contract.
According to the embodiment, the intelligent contract is generated in a low-code mode, the difficulty of the developer in the hands is greatly reduced, and even people without programming experience can have the capacity of generating the intelligent contract.
The embodiment generates the intelligent contract in a low-code mode, and greatly reduces the development cycle of the intelligent contract.
According to the embodiment, the intelligent contract is generated in a low-code mode, and the accuracy of intelligent contract development is greatly improved.
According to the embodiment, the intelligent contract is generated in a low-code mode, so that the development efficiency of the system is improved, and the economic benefit is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for generating an intelligent contract, comprising:
constructing a business form;
selecting key service fields in the service form;
building a block chain data model based on the key service field;
selecting a contract template;
and generating a blockchain intelligent contract based on the contract template and the blockchain data model.
2. The method for generating an intelligent contract according to claim 1, wherein the building of the business form specifically includes:
and adopting a form designer to construct the business form.
3. The method of generating smart contracts according to claim 2, further comprising, before the building the business form using a form designer:
and constructing the form designer, wherein the form designer is provided with contents such as a text box, a password box, a hidden field, a multi-line text box, a check box, a radio box, a drop-down selection box and/or a file upload box.
4. The method of generating intelligent contracts of claim 1, wherein the business forms comprise web business forms.
5. The method for generating intelligent contracts according to claim 1, wherein the blockchain data model supports multiple model stores and/or multiple version stores of the same model.
6. The method of generating intelligent contracts of claim 5, further comprising:
when the block chain data model needs to be changed, selecting from multiple models and/or multiple versions of the same model, replacing the original block chain data model, and regenerating the block chain intelligent contract.
7. The method for generating intelligent contracts according to any one of claims 1 to 6, characterized by further comprising, before the selecting a contract template:
and establishing at least one contract template according to the safety and the service characteristics.
8. An apparatus for generating an intelligent contract, comprising:
the first construction module is used for constructing a business form;
the first selection area module is used for selecting key service fields in the service form;
the second building module is used for building a block chain data model based on the key service field;
the second selection area module is used for selecting a contract template;
and the generating module is used for generating the intelligent block chain contract based on the contract template and the block chain data model.
9. An electronic device, comprising:
a memory having a program or instructions stored thereon;
a processor for implementing the steps of the method of generating a smart contract of any one of claims 1 to 7 when executing said program or instructions.
10. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of a method of generating a smart contract according to any one of claims 1 to 7.
CN202211318370.0A 2022-10-26 2022-10-26 Intelligent contract generation method and device, electronic equipment and readable storage medium Pending CN115686526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211318370.0A CN115686526A (en) 2022-10-26 2022-10-26 Intelligent contract generation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211318370.0A CN115686526A (en) 2022-10-26 2022-10-26 Intelligent contract generation method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115686526A true CN115686526A (en) 2023-02-03

Family

ID=85098832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211318370.0A Pending CN115686526A (en) 2022-10-26 2022-10-26 Intelligent contract generation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115686526A (en)

Similar Documents

Publication Publication Date Title
CN111177569A (en) Recommendation processing method, device and equipment based on artificial intelligence
US9507480B1 (en) Interface optimization application
US11748557B2 (en) Personalization of content suggestions for document creation
CN110532159A (en) Data decryptor method, apparatus, equipment and computer readable storage medium
KR20160083759A (en) Method for providing an annotation and apparatus thereof
CN108268615B (en) Data processing method, device and system
US20140282369A1 (en) Software application generator
CN113407284A (en) Navigation interface generation method and device, storage medium and electronic equipment
CN112102446A (en) Animation processing method and device and computer readable storage medium
CN111880668A (en) Input display method and device and electronic equipment
US20220284187A1 (en) Language model based writing aid method, device and system
EP3374879A1 (en) Provide interactive content generation for document
CN111626021B (en) Presentation generation method and device
CN112422754A (en) Intelligent voice configuration method and device, terminal equipment and storage medium
CN110990006A (en) Form management system and form generation device
WO2023071956A1 (en) Model training method and apparatus, and electronic device
Schuler et al. Rule-based generation of mobile user interfaces
CN115686526A (en) Intelligent contract generation method and device, electronic equipment and readable storage medium
CN115081423A (en) Document editing method and device, electronic equipment and storage medium
CN114329152A (en) Application program generation method, device, equipment and medium based on browser engine
CN113110829A (en) Multi-UI component library data processing method and device
CN107357926B (en) Webpage processing method and device and electronic equipment
Chen et al. Liferay 6.2 User Interface Development
CN107526599A (en) A kind of method of quick design personal presentation website
Dani JavaScript by Example

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