CN113805889B - Intelligent contract calling execution method, device, equipment and readable storage medium - Google Patents

Intelligent contract calling execution method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113805889B
CN113805889B CN202110993544.2A CN202110993544A CN113805889B CN 113805889 B CN113805889 B CN 113805889B CN 202110993544 A CN202110993544 A CN 202110993544A CN 113805889 B CN113805889 B CN 113805889B
Authority
CN
China
Prior art keywords
compiling
executed
instruction
precompiled
intelligent contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110993544.2A
Other languages
Chinese (zh)
Other versions
CN113805889A (en
Inventor
唐坤
李成才
邓柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Quality Starker Technology Co Ltd
Original Assignee
Chengdu Quality Starker 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 Chengdu Quality Starker Technology Co Ltd filed Critical Chengdu Quality Starker Technology Co Ltd
Priority to CN202110993544.2A priority Critical patent/CN113805889B/en
Publication of CN113805889A publication Critical patent/CN113805889A/en
Application granted granted Critical
Publication of CN113805889B publication Critical patent/CN113805889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention relates to the technical field of video content analysis, in particular to an intelligent contract calling execution method, an intelligent contract calling execution device, intelligent contract calling execution equipment and a readable storage medium, wherein the intelligent contract calling execution method comprises the following steps: receiving a transaction request; according to the transaction request, calculating a plurality of compiling instructions to be executed; respectively executing precompiled operation on each compiling instruction to be executed in sequence, and after all compiling instructions to be executed are executed, obtaining an executing result, wherein the precompiled operation is to detect an identification code section of the compiling instruction to be executed, and call a corresponding precompiled contract; according to the method, when the compiling instruction compiled by the intelligent contract is executed, the identification code segment in each compiling instruction is detected, the corresponding precompiled contract is called according to the identification code segment, and partial functional steps in the corresponding compiling instruction are executed through the precompiled contract, so that the running speed of the compiling instruction in the virtual machine is increased, and the executing speed of the whole intelligent contract is increased.

Description

Intelligent contract calling execution method, device, equipment and readable storage medium
Technical Field
The invention relates to the technical field of video content analysis, in particular to an intelligent contract calling execution method, an intelligent contract calling execution device, intelligent contract calling execution equipment and a readable storage medium.
Background
The intelligent contract is a computer transaction agreement for executing contract clauses, and intelligent contracts containing different clause codes are adapted to different transaction types in a blockchain network, but the traditional intelligent contract is called and executed, the intelligent contracts are directly sent to a virtual machine for execution after being compiled, the virtual machine directly and sequentially executes the compiled codes, part of clauses in the intelligent contracts are common clauses, and if the intelligent contract needs to be executed on the virtual machine again once every time, the execution efficiency of the intelligent contract is greatly reduced.
Disclosure of Invention
The invention aims to provide an intelligent contract calling execution method, device and equipment and a readable storage medium, so as to solve the problems.
In order to achieve the above purpose, the embodiment of the present application provides the following technical solutions:
in one aspect, an embodiment of the present application provides an intelligent contract invoking execution method, where the method includes: receiving a transaction request, wherein the transaction request is an instruction containing various transaction information; according to the transaction request, calculating a plurality of compiling instructions to be executed; respectively executing precompiled operation on each compiling instruction to be executed in sequence, and after all compiling instructions to be executed are executed, obtaining an executing result, wherein the precompiled operation is to detect an identification code section of the compiling instruction to be executed, and call a corresponding precompiled contract according to the identification code section; and sending the execution result to a man-machine interaction end.
Optionally, the calculating, according to the transaction request, a plurality of compiling instructions to be executed includes:
invoking the transaction request, wherein the transaction request comprises transaction parameters and transaction types;
according to the transaction type, a corresponding intelligent contract is called;
and compiling the corresponding intelligent contract according to the transaction parameters to obtain corresponding compiling codes, wherein the compiling codes comprise a plurality of compiling instructions to be executed.
Optionally, the executing the pre-compiling operation on each compiling instruction to be executed in turn includes:
calling one compiling instruction to be executed, and recording the compiling instruction as a first compiling instruction;
precompiled detection operation: detecting an identification code section of a first compiling instruction, if the identification code section is a precompiled code section, invoking a precompiled contract corresponding to the identification code section of the first compiling instruction, wherein the precompiled contract is used for acquiring target data from a preset storage position, judging the matching of the target data and an intelligent contract, and returning a matching value;
executing instruction operation: executing the first compiling instruction according to the matching value, and recording the first compiling instruction as an executed instruction;
and calling another compiling instruction to be executed, recording the another compiling instruction as a first compiling instruction, and sequentially executing the pre-compiling detection operation and the executing instruction operation until all the compiling instructions to be executed are executed.
In a second aspect, an embodiment of the present application provides an intelligent contract invoking execution apparatus, where the apparatus includes:
the receiving module is used for receiving a transaction request, wherein the transaction request is an instruction containing various transaction information;
the first calculation module is used for calculating a plurality of compiling instructions to be executed according to the transaction request;
the second calculation module is used for respectively executing precompiled operation on each compiling instruction to be executed in sequence, and obtaining an execution result after all compiling instructions to be executed are executed, wherein the precompiled operation is to detect an identification code section of the compiling instruction to be executed, and a corresponding precompiled contract is called according to the identification code section;
and the sending module is used for sending the execution result to the man-machine interaction end.
Optionally, the first computing module includes:
a first retrieving unit, configured to retrieve the transaction request, where the transaction request includes a transaction parameter and a transaction type;
the first computing unit is used for calling the corresponding intelligent contract according to the transaction type;
and the second computing unit is used for compiling the corresponding intelligent contract according to the transaction parameters to obtain corresponding compiled codes, wherein the compiled codes comprise a plurality of compiling instructions to be executed.
Optionally, the second computing module includes:
the first calling unit is used for calling one compiling instruction to be executed and recording the compiling instruction as a first compiling instruction;
the third calculation unit is used for detecting an identification code section of the first compiling instruction, if the identification code section is a precompiled code section, invoking a precompiled contract corresponding to the identification code section of the first compiling instruction, wherein the precompiled contract is used for acquiring target data from a preset storage position, judging the matching property of the target data and the intelligent contract, and returning a matching value;
a fourth calculation unit, configured to execute the first compiled instruction according to the matching value, and record the first compiled instruction as an executed instruction;
and the fifth calculation unit is used for calling another compiling instruction to be executed, recording the another compiling instruction as a first compiling instruction, and sequentially executing the pre-compiling detection operation and the executing instruction operation until the plurality of compiling instructions to be executed are all executed.
In a third aspect, an embodiment of the present application provides an intelligent contract invocation execution device, the device including a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the intelligent contract calling execution method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the smart contract invocation execution method described above.
The beneficial effects of the invention are as follows:
according to the method, when the compiling instructions compiled by the intelligent contracts are executed, the identification code segments in each compiling instruction are detected, the corresponding precompiled contracts are called according to the identification code segments, and partial functional steps in the corresponding compiling instructions are executed through the precompiled contracts, so that the running speed of the compiling instructions in the virtual machine is increased, and the executing speed of the whole intelligent contracts is increased.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an intelligent contract call execution method, according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an intelligent contract invoking execution apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an intelligent contract invoking execution apparatus according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals or letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides an intelligent contract call execution method, which includes steps S1, S2, S3, and S4.
S1, receiving a transaction request, wherein the transaction request is an instruction containing various transaction information, the transaction request can comprise transaction parameters and transaction types, the transaction parameters can be understood as parameters possibly used by an intelligent contract, such as user ID, transaction amount and the like, the transaction types are formulated according to actual demands, such as account transfer demands, demands for buying and selling bonds and the like, different demands and corresponding intelligent contracts;
s2, calculating to obtain a plurality of compiling instructions to be executed according to the transaction request, specifically, the system firstly identifies the transaction type requested by the transaction request, invokes corresponding intelligent contracts on a chain according to the transaction type matching, and then compiles the intelligent contracts, wherein when compiling, the system compiles transaction parameters in the transaction request together with the intelligent contracts, and further obtains a plurality of compiling instructions to be executed;
it should be noted that multiple precompiled contracts are deployed in advance on the chain, and the precompiled contracts are about part of the common functional blocks of the smart contracts, such as identity authority query, balance query, and the like.
S3, respectively executing pre-compiling operation on each compiling instruction to be executed in sequence, and after all compiling instructions to be executed are executed, obtaining an executing result, wherein the pre-compiling operation is to detect an identification code segment of the compiling instruction to be executed, and calling a corresponding pre-compiling contract according to the identification code segment;
when executing each compiling instruction to be executed, a virtual machine in the system firstly detects an identification code segment in the compiling instruction to be executed, the identification code segment is used for identifying whether the compiling instruction can be applied to a precompiled contract or not, and specifically invoking which precompiled contract, for example, when the virtual machine recognizes that the compiling instruction can use a precompiled contract (a precompiled contract for KYC-authentication) through the identification code segment, at the moment, the KYC can be used for fetching relevant data in a server database according to identity information, such as an identity ID, of a transaction initiator in a transaction parameter, and checking whether the relevant data is matched with a transaction type or not (in certain special transactions, the identity of the transaction initiator, such as nationality, and the like are strictly limited), and returning a qualified matching value, and the virtual machine detects the matching value and further judges whether the intelligent contract continues to be executed.
In the description of the above embodiment, it can be seen that a series of operations of KYC are not executed in the virtual machine, and the virtual machine only needs to be identified, and meanwhile, since KYC is a precompiled contract, the running speed of the series of operations is much faster than that of the virtual machine, so that the running speed of the virtual machine running compiling instructions can be significantly accelerated, and the running speed of the intelligent contract can be further accelerated.
And S4, sending the execution result to a man-machine interaction end.
In a specific embodiment of the disclosure, in the step S2, the method may further include:
s21, invoking the transaction request, wherein the transaction request comprises transaction parameters and transaction types;
s22, according to the transaction type, a corresponding intelligent contract is called;
s23, compiling the corresponding intelligent contract according to the transaction parameters to obtain corresponding compiling codes, wherein the compiling codes comprise a plurality of compiling instructions to be executed.
In a specific embodiment of the disclosure, in the step S3, the method may further include:
s31, calling one compiling instruction to be executed, and recording the compiling instruction as a first compiling instruction;
s32, precompiled detection operation: detecting an identification code section of a first compiling instruction, if the identification code section is a precompiled code section, invoking a precompiled contract corresponding to the identification code section of the first compiling instruction, wherein the precompiled contract is used for acquiring target data from a preset storage position, judging the matching of the target data and an intelligent contract, and returning a matching value;
s33, executing instruction operation: executing the first compiling instruction according to the matching value, and recording the first compiling instruction as an executed instruction;
and S34, calling another compiling instruction to be executed, recording the another compiling instruction as a first compiling instruction, and sequentially executing the pre-compiling detection operation and the executing instruction operation until the compiling instructions to be executed are executed.
Example 2
As shown in fig. 2, the present embodiment provides an intelligent contract call execution apparatus, which includes:
a receiving module 71, configured to receive a transaction request, where the transaction request is an instruction containing multiple transaction information;
a first calculating module 72, configured to calculate a plurality of compiling instructions to be executed according to the transaction request;
the second calculating module 73 is configured to execute a precompiled operation on each of the compiling instructions to be executed in sequence, and obtain an execution result after all the compiling instructions to be executed are executed, where the precompiled operation is an identification code section for detecting the compiling instructions to be executed, and call a corresponding precompiled contract according to the identification code section;
and the sending module 74 is used for sending the execution result to the man-machine interaction end.
In one embodiment of the present disclosure, the first computing module 72 includes:
a first retrieving unit 721, configured to retrieve the transaction request, where the transaction request includes a transaction parameter and a transaction type;
a first calculating unit 722, configured to invoke a corresponding smart contract according to the transaction type;
the second computing unit 723 is configured to compile the corresponding smart contract according to the transaction parameters to obtain a corresponding compiled code, where the compiled code includes a plurality of compiling instructions to be executed.
In one embodiment of the present disclosure, the second calculating module 73 includes:
a first invoking unit 731, configured to invoke one of the compiling instructions to be executed, and record the one compiling instruction as a first compiling instruction;
a third calculation unit 732, configured to detect an identification code segment of the first compiling instruction, and if the identification code segment is a precompiled code segment, invoke a precompiled contract corresponding to the identification code segment of the first compiling instruction, where the precompiled contract is configured to obtain target data from a preset storage location, determine a matching property of the target data and the intelligent contract, and return a matching value;
a fourth calculation unit 733 for executing the first compiled instruction according to the matching value and recording the first compiled instruction as an executed instruction;
the fifth calculating unit 734 is configured to invoke another of the compiling instructions to be executed, record the another compiling instruction as a first compiling instruction, and execute the pre-compiling detection operation and the executing instruction operation sequentially until all of the plurality of compiling instructions to be executed are executed.
It should be noted that, regarding the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiments regarding the method, and will not be described in detail herein.
Example 3
Corresponding to the above method embodiments, the present disclosure further provides an intelligent contract call execution apparatus, and an intelligent contract call execution apparatus described below and an intelligent contract call execution method described above may be referred to correspondingly to each other.
FIG. 3 is a block diagram illustrating an intelligent contract call execution device 800, according to an example embodiment. As shown in fig. 3, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
The processor 801 is configured to control overall operation of the electronic device 800 to perform all or part of the steps of the smart contract call execution method described above. The memory 402 is used to store various types of data to support operation on the electronic device 800, which may include, for example, instructions for any application or method operating on the electronic device 800, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near FieldCommunication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the respective communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated ASIC), digital signal processor (DigitalSignal Processor, abbreviated DSP), digital signal processing device (Digital Signal Processing Device, abbreviated DSPD), programmable logic device (Programmable Logic Device, abbreviated PLD), field programmable gate array (Field Programmable Gate Array, abbreviated FPGA), controller, microcontroller, microprocessor, or other electronic components for performing the smart contract call execution method described above.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions that, when executed by a processor, implement the steps of the smart contract call execution method described above. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions executable by the processor 801 of the electronic device 800 to perform the smart contract call execution method described above.
Example 4
Corresponding to the above method embodiments, the present disclosure further provides a readable storage medium, where a readable storage medium described below and an intelligent contract call execution method described above may be referred to correspondingly to each other.
A readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the intelligent contract invocation execution method of the method embodiment described above.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. An intelligent contract call execution method, comprising:
receiving a transaction request, wherein the transaction request is an instruction containing various transaction information;
according to the transaction request, calculating a plurality of compiling instructions to be executed;
respectively executing precompiled operation on each compiling instruction to be executed in sequence, and after all compiling instructions to be executed are executed, obtaining an executing result, wherein the precompiled operation is to detect an identification code section of the compiling instruction to be executed, and call a corresponding precompiled contract according to the identification code section;
the execution result is sent to a man-machine interaction end;
the step of sequentially executing the pre-compiling operation on each compiling instruction to be executed respectively comprises the following steps:
calling one compiling instruction to be executed, and recording the compiling instruction as a first compiling instruction;
precompiled detection operation: detecting an identification code section of a first compiling instruction, if the identification code section is a precompiled code section, invoking a precompiled contract corresponding to the identification code section of the first compiling instruction, wherein the precompiled contract is used for acquiring target data from a preset storage position, judging the matching of the target data and an intelligent contract, and returning a matching value;
executing instruction operation: executing the first compiling instruction according to the matching value, and recording the first compiling instruction as an executed instruction;
and calling another compiling instruction to be executed, recording the another compiling instruction as a first compiling instruction, and sequentially executing the pre-compiling detection operation and the executing instruction operation until all the compiling instructions to be executed are executed.
2. The smart contract invoking execution method of claim 1, wherein the computing a plurality of compiled instructions to be executed from the transaction request comprises:
invoking the transaction request, wherein the transaction request comprises transaction parameters and transaction types;
according to the transaction type, a corresponding intelligent contract is called;
and compiling the corresponding intelligent contract according to the transaction parameters to obtain corresponding compiling codes, wherein the compiling codes comprise a plurality of compiling instructions to be executed.
3. An intelligent contract call execution apparatus, comprising:
the receiving module is used for receiving a transaction request, wherein the transaction request is an instruction containing various transaction information;
the first calculation module is used for calculating a plurality of compiling instructions to be executed according to the transaction request;
the second calculation module is used for respectively executing precompiled operation on each compiling instruction to be executed in sequence, and obtaining an execution result after all compiling instructions to be executed are executed, wherein the precompiled operation is to detect an identification code section of the compiling instruction to be executed, and a corresponding precompiled contract is called according to the identification code section;
the sending module is used for sending the execution result to the man-machine interaction end;
the second computing module includes:
the first calling unit is used for calling one compiling instruction to be executed and recording the compiling instruction as a first compiling instruction;
a third calculation unit for precompiled detection operations: detecting an identification code section of a first compiling instruction, if the identification code section is a precompiled code section, invoking a precompiled contract corresponding to the identification code section of the first compiling instruction, wherein the precompiled contract is used for acquiring target data from a preset storage position, judging the matching of the target data and an intelligent contract, and returning a matching value;
a fourth calculation unit for executing instruction operations: executing the first compiling instruction according to the matching value, and recording the first compiling instruction as an executed instruction;
and the fifth calculation unit is used for calling another compiling instruction to be executed, recording the compiling instruction as a first compiling instruction, and sequentially executing the pre-compiling detection operation and the executing instruction operation until all the compiling instructions to be executed are executed.
4. The smart contract call execution apparatus of claim 3, wherein the first computing module comprises:
a first retrieving unit, configured to retrieve the transaction request, where the transaction request includes a transaction parameter and a transaction type;
the first computing unit is used for calling the corresponding intelligent contract according to the transaction type;
and the second computing unit is used for compiling the corresponding intelligent contract according to the transaction parameters to obtain corresponding compiled codes, wherein the compiled codes comprise a plurality of compiling instructions to be executed.
5. An intelligent contract invocation execution device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the smart contract call execution method of any one of claims 1 to 2 when the computer program is executed.
6. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the smart contract invocation execution method as claimed in any one of claims 1 to 2.
CN202110993544.2A 2021-08-27 2021-08-27 Intelligent contract calling execution method, device, equipment and readable storage medium Active CN113805889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110993544.2A CN113805889B (en) 2021-08-27 2021-08-27 Intelligent contract calling execution method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110993544.2A CN113805889B (en) 2021-08-27 2021-08-27 Intelligent contract calling execution method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113805889A CN113805889A (en) 2021-12-17
CN113805889B true CN113805889B (en) 2023-07-28

Family

ID=78942034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110993544.2A Active CN113805889B (en) 2021-08-27 2021-08-27 Intelligent contract calling execution method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113805889B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976871A (en) * 2018-12-28 2019-07-05 无锡井通网络科技有限公司 Intelligent contract dispositions method, device, electronic equipment and storage medium

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240793A (en) * 2017-05-16 2019-01-18 龙芯中科技术有限公司 Recognition methods, device, electronic equipment and the storage medium of hot-spots
CN107392619B (en) * 2017-07-31 2020-12-29 众安信息技术服务有限公司 Intelligent contract processing method and device
CN109213501B (en) * 2018-09-27 2021-07-30 上海点融信息科技有限责任公司 Method, device and storage medium for installing intelligent contract in block chain network
US10838750B2 (en) * 2019-01-10 2020-11-17 Red Hat, Inc. Combining ahead-of-time compilation and just-in-time compilation to improve application deployment
CN110266644B (en) * 2019-05-20 2021-04-06 创新先进技术有限公司 Receipt storage method and node combining code marking and transaction types
CN110221837A (en) * 2019-05-21 2019-09-10 深圳壹账通智能科技有限公司 Intelligent contract call method, device, equipment and storage medium
CN111061685B (en) * 2019-11-21 2022-07-22 腾讯科技(深圳)有限公司 Log query method and device, node equipment and storage medium
CN111683083B (en) * 2020-06-05 2022-07-08 成都质数斯达克科技有限公司 Block chain user identity authentication method, device, equipment and medium
CN111770202B (en) * 2020-08-31 2021-10-29 支付宝(杭州)信息技术有限公司 Method for executing intelligent contract, block chain node and storage medium
CN111768183B (en) * 2020-08-31 2024-04-19 支付宝(杭州)信息技术有限公司 Method for executing intelligent contract, block chain node and storage medium
CN113872948A (en) * 2020-08-31 2021-12-31 支付宝(杭州)信息技术有限公司 Method for executing intelligent contract, block chain node and node equipment
CN112308716B (en) * 2020-10-28 2024-02-20 深圳前海微众银行股份有限公司 Block chain intelligent contract executing method, device, equipment and computer storage medium
CN112612482A (en) * 2020-12-28 2021-04-06 杭州趣链科技有限公司 Method, device, equipment and storage medium for executing intelligent contract
CN112529711B (en) * 2021-02-07 2021-05-14 腾讯科技(深圳)有限公司 Transaction processing method and device based on block chain virtual machine multiplexing
CN113077260A (en) * 2021-04-13 2021-07-06 支付宝(杭州)信息技术有限公司 Data access method and device based on block chain and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976871A (en) * 2018-12-28 2019-07-05 无锡井通网络科技有限公司 Intelligent contract dispositions method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113805889A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN108958729B (en) Data processing method, device and storage medium
US9245030B2 (en) Analytics based on pipes programming model
CN106294134A (en) The collapse localization method of code and device
CN109284321B (en) Data loading method, device, computing equipment and computer readable storage medium
CN104966190A (en) Network payment method and apparatus
CN114564203A (en) Service operation method and device, electronic equipment and readable medium
CN112559088A (en) Configuration file optimization method, device, server and storage medium
CN110045952B (en) Code calling method and device
KR20180129623A (en) Apparatus for statically analyzing assembly code including assoxiated multi files
CN110838929A (en) System error checking method and system error checking device
CN113805889B (en) Intelligent contract calling execution method, device, equipment and readable storage medium
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN114936368A (en) Java memory Trojan detection method, terminal device and storage medium
CN115481025A (en) Script recording method and device for automatic test, computer equipment and medium
CN110554892A (en) Information acquisition method and device
CN114564206A (en) Data non-empty checking method, device, equipment and readable storage medium
CN113342553A (en) Data acquisition method and device, electronic equipment and storage medium
CN114625372A (en) Automatic component compiling method and device, computer equipment and storage medium
CN110851346B (en) Query statement boundary problem detection method, device, equipment and storage medium
CN112612474A (en) Product transplanting method and device, storage medium and electronic equipment
CN112181407A (en) Service implementation processing method, device, system, electronic equipment and storage medium
CN112256306A (en) Compatibility verification method and device
CN111078522A (en) Method and device for identifying to-be-optimized area of page, electronic equipment and storage medium
CN110659191A (en) Buried point data analysis method and device, computer equipment and storage medium
CN116302847B (en) Dynamic acquisition method and device of abnormal information, computer equipment and medium

Legal Events

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