CN112631649A - Intelligent contract management method, device, terminal equipment and medium - Google Patents

Intelligent contract management method, device, terminal equipment and medium Download PDF

Info

Publication number
CN112631649A
CN112631649A CN202011577050.8A CN202011577050A CN112631649A CN 112631649 A CN112631649 A CN 112631649A CN 202011577050 A CN202011577050 A CN 202011577050A CN 112631649 A CN112631649 A CN 112631649A
Authority
CN
China
Prior art keywords
intelligent contract
target
target operation
component
acquiring
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
CN202011577050.8A
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.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian 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 Hangzhou Qulian Technology Co Ltd filed Critical Hangzhou Qulian Technology Co Ltd
Priority to CN202011577050.8A priority Critical patent/CN112631649A/en
Publication of CN112631649A publication Critical patent/CN112631649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/75Structural analysis for program understanding

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application is applicable to the technical field of block chains, and particularly relates to an intelligent contract management method, an intelligent contract management device, terminal equipment and a medium. The method comprises the steps of obtaining a list interface of a target intelligent contract component through an interface of intelligent contract management, obtaining a frame form of target operation according to an address list in the list interface, obtaining a form fed back by a user and filled with the content of the target operation in the frame form, calling the target intelligent contract component through the interface of the intelligent contract management, and executing the content in the form, so that the intelligent contract component can be changed or added according to the content of the target operation, the change or addition process of the intelligent contract component is simpler, and the management of the intelligent contract component is facilitated.

Description

Intelligent contract management method, device, terminal equipment and medium
Technical Field
The application belongs to the technical field of block chains, and particularly relates to an intelligent contract management method, an intelligent contract management device, terminal equipment and a medium.
Background
There are many types of blockchains, such as Fabric, ethernet, which in turn provide different types of intelligent contract management engines, intelligent contract languages, and Software Development Kit (SDK) languages, such as Fabric blockchains providing execution engines of a Docker environment, intelligent contracts supporting Go languages, SDKs supporting Go, Java, etc., and ethernet blockchains providing Ethernet Virtual Machine (EVM) execution engines, intelligent contracts supporting solidy, Vyper, etc., and SDKs supporting Go, JavaScript, etc. Therefore, when the intelligent contract is changed or newly added, the parts such as the block chain, the intelligent contract management engine, the intelligent contract language and the SDK language need to be edited one by one, the changing or newly adding process is complex, and the management of the intelligent contract is inconvenient.
Disclosure of Invention
The embodiment of the application provides an intelligent contract management method, an intelligent contract management device, terminal equipment and a medium, and can solve the problem that the existing intelligent contract is inconvenient to manage.
In a first aspect, an embodiment of the present application provides an intelligent contract management method, where the intelligent contract management method includes:
acquiring a list interface of a target intelligent contract component, wherein the list interface is an address list aiming at least one operation of the target intelligent contract component;
acquiring a frame form corresponding to a target operation in the at least one operation according to a list interface of the target intelligent contract component, wherein the frame form is used for filling the content of the target operation;
acquiring an execution form according to the frame form, wherein the execution form is fed back after the user fills the content of the target operation in the frame form;
and calling the target intelligent contract component to execute the content of the target operation in the execution form.
In a second aspect, an embodiment of the present application provides an intelligent contract management apparatus, including:
the interface acquisition module is used for acquiring a list interface of a target intelligent contract component, wherein the list interface is an address list aiming at least one operation of the target intelligent contract component;
a frame form obtaining module, configured to obtain, according to a manifest interface of the target intelligent contract component, a frame form corresponding to a target operation in the at least one operation, where the frame form is used to fill in content of the target operation;
the execution form acquisition module is used for acquiring an execution form according to the frame form, wherein the execution form is a form fed back after the user fills the content of the target operation in the frame form;
and the execution operation module is used for calling the target intelligent contract component and executing the content of the target operation in the execution form.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the intelligent contract management method according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the intelligent contract management method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the intelligent contract management method according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the method comprises the steps of obtaining a list interface of a target intelligent contract component through an interface of intelligent contract management, obtaining a frame form of target operation according to an address list in the list interface, obtaining a form fed back by a user after the content of the target operation is filled in the frame form, calling the target intelligent contract component through the interface of the intelligent contract management, and executing the content in the form, so that the intelligent contract component can be changed or added according to the content of the target operation, the process of changing or adding the intelligent contract component is simpler, and the method is beneficial to the management of the intelligent contract component.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart diagram of an intelligent contract management method provided in the first embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for intelligent contract management provided in an embodiment two of the present application;
fig. 3 is a schematic structural diagram of an intelligent contract management apparatus provided in a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "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 should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The intelligent contract management method provided by the embodiment of the application can be applied to terminal devices such as a palm computer, a desktop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cloud server, a Personal Digital Assistant (PDA) and the like, and the embodiment of the application does not limit the specific types of the terminal devices.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Referring to fig. 1, which is a schematic flowchart of an intelligent contract management method provided in an embodiment of the present application, where the intelligent contract management method is applicable to a terminal device, as shown in the figure, the intelligent contract management method may include the following steps:
and step S101, acquiring a list interface of the target intelligent contract component.
The target intelligent contract component may refer to at least one operation performed on a target resource using a target implementation language under a target blockchain. The inventory interface is an address inventory of a framework for the intelligent contract, namely a concrete representation form of the intelligent contract component in the equipment, and the application program structure of the target intelligent contract component can refer to the address inventory of at least one operation under the target intelligent contract component.
For example, a software development module is used for developing a software development module supporting a Fabric block chain, supporting intelligent contract resources, supporting a Go contract implementation language under Gosdkv1.0.0-beta1 and a Docker execution environment, and supporting an intelligent contract component of the deployment, calling and upgrade operations of the contracts, wherein an Identity identification number (ID) is used for representing the Fabric block chain, the intelligent contract resources, the Gosdkv1.0.0-beta1 and the Go contract implementation language under the Docker execution environment and identification of the name of the deployment, calling and upgrade operations, a "name" is used for representing the name of the Fabric block chain, the intelligent resource, the Gosdkv1.0.0-beta1 and the Gosdv1.0.0-beta 1 under the Docker execution environment, and the name of the deployment, calling and upgrade operations, and a "description" is used for representing the name of the implementation language and the deployment, calling and upgrade operations under the Gosdv1.0.0-beta 1 and the Docker execution environment:
Figure BDA0002863502050000051
Figure BDA0002863502050000061
and step S102, obtaining a frame form corresponding to the target operation in at least one operation according to the list interface of the target intelligent contract component.
The list interface of the target intelligent contract component includes an address list of at least one operation, each operation in the at least one operation corresponds to a frame form, a target operation in the at least one operation is selected according to a user requirement, and a frame form corresponding to the target operation is obtained, where the frame form may refer to a program with a fixed frame or format, the frame form may include a frame for filling content of the target operation, the content of the target operation may refer to information such as specific parameters and configuration for the target operation, and the content of the target operation may be filled according to the user requirement, for example, the target operation is a deployment operation in the example of step S101, the frame form of the deployment operation is as follows, in the example, a compressed packet (byte stream) in a Go contract code tar.gz format needs to be input at validades, that is the content filled by the user, and other contents are not described again, "configName" is used to indicate the name of the frame form, "description" is used to indicate the description of the frame form, "configurations" indicates the frame form:
Figure BDA0002863502050000062
Figure BDA0002863502050000071
optionally, obtaining a frame form corresponding to the target operation in the at least one operation according to the manifest interface of the target intelligent contract component includes:
obtaining a form path of a target operation in at least one operation according to a list interface of a target intelligent contract component, wherein the form path is a path determined according to an implementation way of the target operation;
and obtaining the frame form according to the form path.
The method comprises the steps that at least one operation exists in a list interface of a target intelligent contract component, a user determines the target operation in the at least one operation according to requirements, namely a form path corresponding to the target operation can be determined, and the form path is determined by a corresponding block chain ID, a resource ID, an implementation language ID and an operation ID in the list interface of the intelligent contract component.
For example, referring to the example of step S101 above, when the target operation is a deployment operation, the blockchain ID is fab141, the resource ID is connect, the implementation language ID is gosdk100beta1dockergo14, and the deployment operation ID is deploy, so the form path for the deployment operation can be represented as fab 141/connect/gosdk 100beta1dockergo14/deploy, and a frame form for performing the deployment operation of the smart contract resource using gosdkv1.0.0-beta1 and govr 1.4 language under the blockchain of fabry 1.4.1 version can be uniquely determined according to the form path.
Optionally, after obtaining the frame form corresponding to the target operation in the at least one operation according to the manifest interface of the target intelligent contract component, the method further includes:
and acquiring the content corresponding to the target operation input by the user in the frame form.
The terminal device may interact with a front end (i.e., a user end), the frame form may be output from the terminal device to the front end for display, and the user may input content corresponding to the target operation in the output frame form.
And step S103, acquiring an execution form according to the frame form.
For example, in the above example of step S102, a Go contract code tar.gz format compressed packet (byte stream) is input at validateDes, the input Go contract code tar.gz format compressed packet (byte stream) is one of the contents of the target operation, and the user completes filling in the frame form or the input part to generate the execution form.
Optionally, obtaining the frame form according to the form path includes:
acquiring a mapping table, wherein the mapping table comprises a form path and a frame form corresponding to the form path;
and obtaining the frame form according to the form path and the mapping table.
At least one form path and a frame form corresponding to each form path are stored in the mapping table, and the frame form corresponding to the form path can be obtained in the mapping table according to the form path.
And step S104, calling a target intelligent contract component, and executing the content of the target operation in the execution form.
The list interface of the target intelligent contract component is an address list corresponding to at least one operation executed aiming at the target resource by using the target implementation language under the target block chain, and an execution form is added into the address list, so that the content of the target operation in the execution form can be executed.
Optionally, invoking the target intelligent contract component, and executing the content of the target operation in the execution form includes:
acquiring an address list of target operation according to a list interface of a target intelligent contract component;
and executing the content of the target operation in the execution form according to the address list of the target operation.
The method comprises the steps of obtaining an address list corresponding to a target operation from an address list corresponding to at least one operation in a list interface of a target intelligent contract component, adding an execution form into the address list corresponding to the target operation, realizing the execution of the content of the target operation in the execution form, and avoiding other operations.
Optionally, the address list of the target operation includes: a target block chain, a target resource and a target implementation language for implementing a target operation;
correspondingly, according to the address list of the target operation, executing the content of the target operation in the execution form includes:
and in the target block chain, executing the content of the target operation in the execution form on the target resource by using the target implementation language.
The method includes that a manifest interface of a target intelligent contract component includes a target block chain, a target resource and a target implementation language, a content part of a target operation in the manifest interface of the target execution contract component is empty, the content of the target operation in an execution form is added into the manifest interface to form a complete program, and the execution of the complete program is the content of the target operation in the execution form, that is, the target operation is executed on the target resource by using the target implementation language in the target block chain, for example, referring to the example of step S101, after an execution form of a deployment operation is obtained, the deployment operation is executed on the intelligent contract resource by using the GoSDKv1.0.0-beta1 and the Gov1.4 language under a Docker execution environment under a block chain of a Fabricv1.4.1 version, where the content of the execution deployment operation is the content of the deployment operation in the execution form.
The method comprises the steps of obtaining a list interface of a target intelligent contract component through an interface of intelligent contract management, obtaining a frame form of target operation according to an address list in the list interface, obtaining a form fed back by a user after the content of the target operation is filled in the frame form, calling the target intelligent contract component through the interface of the intelligent contract management, and executing the content in the form, so that the intelligent contract component can be changed or added according to the content of the target operation, the process of changing or adding the intelligent contract component is simpler, and the management of the intelligent contract component is facilitated.
Referring to fig. 2, which is a schematic flowchart of an intelligent contract management method provided in the second embodiment of the present application, where the intelligent contract management method may be used in a terminal device, as shown in the figure, the intelligent contract management method may include the following steps:
step S201, an intelligent contract component list is obtained.
The intelligent contract component list comprises identification information of at least one developed intelligent contract component, the developed intelligent contract components are stored in the terminal equipment, each intelligent contract component corresponds to the identification information representing the intelligent contract component, and when the intelligent contract management method is operated by using the terminal equipment, the identification information of the intelligent contract components in the terminal equipment is scanned to generate the intelligent contract component list.
Step S202, obtaining the identification information selected by the user from the intelligent contract component list, and determining the developed intelligent contract target intelligent contract component corresponding to the identification information.
The terminal device performs data interaction with a front end (namely a user end), the terminal device outputs the generated intelligent contract component list to the front end to be displayed, and a user can know the developed intelligent contract components in the terminal device according to the displayed intelligent contract component list.
In an interface of the front end, a user triggers a selection instruction for selecting the identification information of one intelligent contract component from the intelligent contract component list, and the front end sends the selection instruction to the terminal equipment, namely the selection instruction of the terminal equipment is the identification information of a target intelligent contract component selected by the user from the output intelligent contract component list.
And step S203, acquiring a list interface of the target intelligent contract component according to the identification information of the target intelligent contract component.
After the user selects the identification information of the target intelligent contract component, the target intelligent contract component is found in the terminal device according to the identification information of the target intelligent contract component, and the specific expression form of the target intelligent contract component in the device, that is, the list interface of the target intelligent contract component, has been described in step S101, and is not described herein again.
And step S204, obtaining a frame form corresponding to the target operation in at least one operation according to the list interface of the target intelligent contract component.
Step S205, acquiring an execution form according to the frame form.
And step S206, calling a target intelligent contract component and executing the content of the target operation in the execution form.
The contents of steps S204 to S206 are the same as those of steps S102 to S104, and reference may be made to the description of steps S102 to S104, which is not repeated herein.
When the terminal equipment runs the intelligent contract management method, scanning all intelligent contract components in the terminal equipment to generate an intelligent contract component list, outputting the intelligent contract component list to a front end for display, acquiring a target intelligent contract component selected by a user from the intelligent contract component list displayed by the front end and a target operation selected by the user in at least one operation in a list interface of the target intelligent contract component, acquiring a frame form corresponding to the target operation by the terminal equipment, outputting the frame form to the front end for display, acquiring an execution form fed back after the content of the target operation filled in the frame form by the user, executing the content of the target operation in the execution form according to the list interface of the target intelligent contract component, and realizing the target operation on a target resource by using a target implementation language under a target block chain, the content of the target operation is the content of the target operation in the execution form.
The method and the device have the advantages that the developed intelligent contract components in the terminal equipment are scanned to generate the intelligent contract component list, the intelligent contract component list is output and can be inquired and selected by a user, the use by the user is facilitated, and the user is prevented from selecting the undeveloped intelligent contract components.
Fig. 3 shows a block diagram of an intelligent contract management apparatus provided in the third embodiment of the present application, which corresponds to the intelligent contract management method in the foregoing embodiment, and only shows the relevant parts in the third embodiment of the present application for convenience of description.
Referring to fig. 3, the intelligent contract management apparatus includes:
the interface acquisition module 31 is configured to acquire a manifest interface of a target intelligent contract component, where the manifest interface is an address manifest for at least one operation of the target intelligent contract component;
the frame form acquiring module 32 is configured to acquire a frame form corresponding to a target operation in at least one operation according to a list interface of the target intelligent contract component, where the frame form is used to fill in the content of the target operation;
the execution form obtaining module 33 is configured to obtain an execution form according to the frame form, where the execution form is a form fed back after the user fills the content of the target operation in the frame form;
and the execution operation module 34 is used for calling the target intelligent contract component and executing the content of the target operation in the execution form.
Optionally, the intelligent contract management apparatus further includes:
the intelligent contract component list comprises identification information of at least one developed intelligent contract component;
the identification information acquisition module is used for acquiring identification information selected by a user from the intelligent contract component list and determining a developed intelligent contract target intelligent contract component corresponding to the identification information;
correspondingly, the interface obtaining module 31 is specifically configured to:
and acquiring a list interface of the target intelligent contract component according to the identification information of the target intelligent contract component.
Optionally, the frame form obtaining module 32 includes:
the path acquisition unit is used for acquiring a form path of a target operation in at least one operation according to a list interface of the target intelligent contract component, wherein the form path is determined according to an implementation way of the target operation;
and the frame form acquiring unit is used for acquiring the frame form according to the form path.
Optionally, the frame form obtaining unit is specifically configured to:
acquiring a mapping table, wherein the mapping table comprises a form path and a frame form corresponding to the form path;
and obtaining the frame form according to the form path and the mapping table.
Optionally, the executing operation module 34 includes:
the description acquisition unit is used for acquiring an address list of the target operation according to a list interface of the target intelligent contract component;
and the execution operation unit is used for executing the content of the target operation in the execution form according to the address list of the target operation.
Optionally, the address list of the target operation includes: a target block chain, a target resource and a target implementation language for implementing a target operation;
correspondingly, the execution operation unit is specifically configured to:
and in the target block chain, executing the content of the target operation in the execution form on the target resource by using the target implementation language.
Optionally, the intelligent contract management apparatus further includes:
and the content acquisition module is used for acquiring the content corresponding to the target operation input by the user in the frame form after acquiring the frame form corresponding to the target operation in at least one operation according to the list interface of the target intelligent contract component.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules are based on the same concept as that of the embodiment of the method of the present application, specific functions and technical effects thereof may be specifically referred to a part of the embodiment of the method, and details are not described here.
Fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present application. As shown in fig. 4, the terminal device 4 of this embodiment includes: at least one processor 40 (only one shown in FIG. 4), a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, the steps in any of the various intelligent contract management method embodiments described above being implemented by the processor 40 when the computer program 42 is executed by the processor.
The terminal device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of the terminal device 4, and does not constitute a limitation of the terminal device 4, and may include more or less components than those shown, or combine some components, or different components, such as an input-output device, a network access device, and the like.
The Processor 40 may be a Central Processing Unit (CPU), and the Processor 40 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may in some embodiments be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 41 may be an external storage device of the terminal device 4 in other embodiments, such as a plug-in hard disk provided on the terminal device 4, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 41 may also include both an internal storage unit of the terminal device 4 and an external storage device. The memory 41 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of a computer program. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method of the embodiments described above can be implemented by a computer program, which can be stored in a computer readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code, recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution media. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
When the computer program product runs on the terminal device, the steps in the method embodiments can be implemented when the terminal device executes the computer program product.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An intelligent contract management method, characterized in that the intelligent contract management method comprises:
acquiring a list interface of a target intelligent contract component, wherein the list interface is an address list aiming at least one operation of the target intelligent contract component;
acquiring a frame form corresponding to a target operation in the at least one operation according to the list interface, wherein the frame form is used for filling the content of the target operation;
acquiring an execution form according to the frame form, wherein the execution form is fed back after the user fills the content of the target operation in the frame form;
and calling a list interface of the target intelligent contract component to execute the content of the target operation in the execution form.
2. The intelligent contract management method of claim 1, wherein the intelligent contract management method further comprises:
acquiring an intelligent contract component list, wherein the intelligent contract component list comprises identification information of at least one developed intelligent contract component;
acquiring identification information selected by a user from the intelligent contract component list, and determining the developed intelligent contract corresponding to the identification information as the target intelligent contract component;
correspondingly, the obtaining a manifest interface of the target intelligent contract component comprises:
and acquiring a list interface of the target intelligent contract component according to the identification information of the target intelligent contract component.
3. The intelligent contract management method according to claim 1, wherein the obtaining a frame form corresponding to a target operation in the at least one operation according to the manifest interface of the target intelligent contract component comprises:
obtaining a form path of a target operation in the at least one operation according to a list interface of the target intelligent contract component, wherein the form path is determined according to an implementation way of the target operation;
and acquiring the frame form according to the form path.
4. The intelligent contract management method of claim 3 wherein said obtaining the frame form according to the form path comprises:
acquiring a mapping table, wherein the mapping table comprises the form path and a frame form corresponding to the form path;
and acquiring the frame form according to the form path and the mapping table.
5. The intelligent contract management method of claim 1 wherein said invoking the target intelligent contract component, executing the contents of the target operation in the execution form comprises:
acquiring an address list of the target operation according to a list interface of the target intelligent contract component;
and executing the content of the target operation in the execution form according to the address list of the target operation.
6. The intelligent contract management method of claim 5 wherein the address manifest of the target operation comprises: a target block chain, a target resource, and a target implementation language for implementing the target operation;
correspondingly, the executing the content of the target operation in the execution form according to the address list of the target operation includes:
in the target block chain, executing the content of the target operation in the execution form on the target resource by using the target implementation language.
7. The intelligent contract management method according to any one of claims 1 to 6, further comprising, after obtaining a frame form corresponding to a target operation of the at least one operation according to a manifest interface of the target intelligent contract component:
and acquiring the content corresponding to the target operation input in the frame form by the user.
8. An intelligent contract management apparatus, characterized in that the intelligent contract management apparatus comprises:
the interface acquisition module is used for acquiring a list interface of a target intelligent contract component, wherein the list interface is an address list aiming at least one operation of the target intelligent contract component;
a frame form obtaining module, configured to obtain, according to a manifest interface of the target intelligent contract component, a frame form corresponding to a target operation in the at least one operation, where the frame form is used to fill in content of the target operation;
the execution form acquisition module is used for acquiring an execution form according to the frame form, wherein the execution form is a form fed back after the user fills the content of the target operation in the frame form;
and the execution operation module is used for calling the target intelligent contract component and executing the content of the target operation in the execution form.
9. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the intelligent contract management method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements an intelligent contract management method according to any one of claims 1 to 7.
CN202011577050.8A 2020-12-28 2020-12-28 Intelligent contract management method, device, terminal equipment and medium Pending CN112631649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011577050.8A CN112631649A (en) 2020-12-28 2020-12-28 Intelligent contract management method, device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011577050.8A CN112631649A (en) 2020-12-28 2020-12-28 Intelligent contract management method, device, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN112631649A true CN112631649A (en) 2021-04-09

Family

ID=75326061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011577050.8A Pending CN112631649A (en) 2020-12-28 2020-12-28 Intelligent contract management method, device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN112631649A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110920A (en) * 2021-06-11 2021-07-13 北京百度网讯科技有限公司 Operation method, device, equipment and storage medium of block chain system
CN113254169A (en) * 2021-06-11 2021-08-13 北京百度网讯科技有限公司 Operation method, device, equipment and storage medium of block chain system
CN117235188A (en) * 2023-11-15 2023-12-15 成都三合力通科技有限公司 Data universe sharing system and method based on alliance computing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110920A (en) * 2021-06-11 2021-07-13 北京百度网讯科技有限公司 Operation method, device, equipment and storage medium of block chain system
CN113254169A (en) * 2021-06-11 2021-08-13 北京百度网讯科技有限公司 Operation method, device, equipment and storage medium of block chain system
CN113110920B (en) * 2021-06-11 2021-11-09 北京百度网讯科技有限公司 Operation method, device, equipment and storage medium of block chain system
CN117235188A (en) * 2023-11-15 2023-12-15 成都三合力通科技有限公司 Data universe sharing system and method based on alliance computing
CN117235188B (en) * 2023-11-15 2024-01-30 成都三合力通科技有限公司 Data universe sharing system and method based on alliance computing

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN112631649A (en) Intelligent contract management method, device, terminal equipment and medium
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
CN110109659A (en) A kind of system that realizing front end applications scaffold and server
CN113065656A (en) Rule engine configuration method and device, server and readable storage medium
CN111324396A (en) Block chain intelligent contract execution method, device and equipment
CN109213533B (en) Advertisement SDK dynamic loading method, device and terminal
CN111026634A (en) Interface automation test system, method, device and storage medium
CN109684008A (en) Card rendering method, device, terminal and computer readable storage medium
CN110765067A (en) Data processing method and device
CN114331416A (en) Data processing method and device, electronic equipment and storage medium
CN114895935A (en) Method and device for flashing vehicle ECU, electronic equipment and storage medium
CN111399786A (en) Method and device for generating print file, terminal equipment and storage medium
CN111190750A (en) Data processing method and system
CN112926008B (en) Method, device, electronic equipment and storage medium for generating form page
CN108363574B (en) Front-end customization method and device based on SDK, terminal equipment and storage medium
CN109669678A (en) Template engine integration method, device, electronic equipment and storage medium
CN113760736A (en) Test method, device and system
CN111324395B (en) Calling method, device and computer readable storage medium
CN112947900B (en) Web application development method and device, server and development terminal
CN112364609A (en) Business standing book generation method and device, storage medium and electronic equipment
CN111880786A (en) Multi-application sharing method, system, device, electronic equipment and storage medium
CN111142863A (en) Page generation method and device
CN115934076A (en) Cross-platform client micro-service providing device and method and electronic equipment
CN109299960B (en) Method and device for monitoring advertisement, computer readable storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination