CN112330453B - Intelligent contract calling method, device, equipment and storage medium based on blockchain - Google Patents

Intelligent contract calling method, device, equipment and storage medium based on blockchain Download PDF

Info

Publication number
CN112330453B
CN112330453B CN202011323252.XA CN202011323252A CN112330453B CN 112330453 B CN112330453 B CN 112330453B CN 202011323252 A CN202011323252 A CN 202011323252A CN 112330453 B CN112330453 B CN 112330453B
Authority
CN
China
Prior art keywords
intelligent contract
program
calling
contract
blockchain
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
CN202011323252.XA
Other languages
Chinese (zh)
Other versions
CN112330453A (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.)
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 CN202011323252.XA priority Critical patent/CN112330453B/en
Publication of CN112330453A publication Critical patent/CN112330453A/en
Application granted granted Critical
Publication of CN112330453B publication Critical patent/CN112330453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an intelligent contract calling method, device, equipment and storage medium based on a blockchain; the intelligent contract calling method based on the block chain comprises the following steps: receiving a call request, and calling a program in an intelligent contract according to the call request; counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information; restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract; generating a transaction to save the calling result of the intelligent contract when the program in the intelligent contract is detected to be called; the application saves the intelligent contract on site to restore the execution environment of the intelligent contract, and automatically runs the call exceeding the limit of the execution step, so that the intelligent contract call is more convenient.

Description

Intelligent contract calling method, device, equipment and storage medium based on blockchain
Technical Field
The application relates to the technical field of logistics, in particular to an intelligent contract calling method, device, equipment and storage medium based on a blockchain.
Background
Blockchain technology, also known as distributed ledger technology, is an emerging technology that is commonly engaged in "accounting" by several computers, together maintaining a complete distributed database. The blockchain technology has the characteristics of decentralization, disclosure transparency, capability of participating in database recording by each computing device and capability of rapidly performing data synchronization among the computing devices, so that the blockchain technology is widely applied in a plurality of fields.
Smart contracts are application technologies that are decentralised by blockchain technology to implement complex functions. The intelligent contracts are compiled by high-level languages, codes which can be identified and executed by the blockchain are generated after the intelligent contracts are compiled by corresponding compilers, and the intelligent contracts are deployed in the blockchain to provide corresponding functions; the execution step of the current single-call intelligent contract exceeds the upper limit and fails to be executed, and a user can only manually modify the code logic of the intelligent contract to reduce the execution step of the single-call intelligent contract; or splitting single operation into multiple operations in the intelligent contract, so that each execution step does not exceed an upper limit; because the intelligent contract is limited by the execution steps of single call, the development difficulty of the intelligent contract is high, and the intelligent contract calling operation is complex.
Disclosure of Invention
The application provides a block chain-based intelligent contract calling method, device, equipment and storage medium, which aim to solve the technical problems that the development difficulty of an intelligent contract is high and the intelligent contract calling operation is complex because the intelligent contract is limited by the execution step of a single call intelligent contract.
In one aspect, the present application provides a blockchain-based intelligent contract invoking method, including the steps of:
Receiving a call request, and calling a program in an intelligent contract according to the call request;
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information;
Restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
Upon detecting that a program in the smart contract is called for completion, a transaction is generated to save the calling results of the smart contract.
In some embodiments of the present application, the receiving a call request, calling a program in a smart contract according to the call request, includes:
Receiving a call request, and determining an intelligent contract corresponding to the call request;
acquiring the state of the intelligent contract, and determining whether a program in the intelligent contract can be called according to the state of the intelligent contract;
if the program in the intelligent contract can not be called, outputting a call failure prompt;
and if the program in the intelligent contract can be called, calling the program in the intelligent contract according to the calling request.
In some embodiments of the present application, the obtaining the state of the smart contract and determining whether the program in the smart contract is callable according to the state of the smart contract includes:
acquiring the state of the intelligent contract, and judging whether the state of the intelligent contract is a field preservation state or not;
if the state of the intelligent contract is a field preservation state, judging that a program in the intelligent contract is not callable;
If the state of the smart contract is not a field save state, then it is determined that a program in the smart contract is callable.
In some embodiments of the present application, the counting the execution steps of the program in the smart contract when the smart contract is called, if the counted execution steps reach a preset upper operation limit, performing a field saving operation to obtain information related to the transaction record, including:
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site saving operation to record the program execution positions and program variable information in the intelligent contracts;
and sorting the program execution position and the program variable information to generate transaction record related information.
In some embodiments of the present application, the restoring the execution environment of the smart contract according to the transaction record related information to continue to call the program in the smart contract includes:
The state of the intelligent contract is adjusted to be a field storage state, and the execution environment of the intelligent contract is restored according to the program execution position and the program variable information corresponding to the transaction record related information;
Restoring the state of the intelligent contract, and zeroing the execution step of the intelligent contract to continuously call the program in the intelligent contract.
In some embodiments of the present application, after restoring the execution environment of the smart contract according to the transaction record related information to continue to call the program in the smart contract, the method includes:
Counting the total calling duration of calling the intelligent contract;
And if the total calling duration exceeds the preset duration, outputting a calling failure prompt, and restoring the state of the intelligent contract.
In some embodiments of the present application, the receiving a call request, calling a program in a smart contract according to the call request, includes:
Receiving a call request and acquiring account information associated with the call request;
authenticating the account information, and determining whether a user corresponding to the account information has intelligent contract calling authority;
and if the user corresponding to the account information has the intelligent contract calling authority, calling a program in the intelligent contract according to the calling request.
In another aspect, the present application provides a blockchain-based intelligent contract invoking device, including:
the request receiving module is used for receiving a calling request and calling a program in the intelligent contract according to the calling request;
The statistics and preservation module is used for counting the execution steps of the program in the intelligent contract when the intelligent contract is called, and if the counted execution steps reach a preset upper operation limit, the on-site preservation operation is executed, so that transaction record related information is obtained;
the environment restoration module is used for restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
and the result saving module is used for generating a transaction to save the calling result of the intelligent contract when detecting that the program in the intelligent contract is called to be completed.
In another aspect, the present application also provides a blockchain-based intelligent contract invoking apparatus, including:
One or more processors;
A memory; and
One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the blockchain-based smart contract invocation method.
In another aspect, the present application also provides a storage medium having stored thereon a computer program to be loaded by a processor to perform the steps of the blockchain-based smart contract invoking method.
According to the technical scheme, a calling request is received, and a program in an intelligent contract is called according to the calling request; counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information; restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract; generating a transaction to save the calling result of the intelligent contract when the program in the intelligent contract is detected to be called; according to the technical scheme, the program in the intelligent contract is called, the execution steps of the program in the intelligent contract are counted when the intelligent contract is called, if the counted execution steps reach the preset upper limit of operation, the intelligent contract is subjected to on-site storage operation so as to lock the intelligent contract and zero the execution steps of the program in the intelligent contract, the execution environment of the intelligent contract is restored, and then the program in the intelligent contract is continuously executed, so that the calling exceeding the limit of the execution steps is automatically operated, and the intelligent contract calling operation is more convenient; in addition, the method ensures that the single execution step of the intelligent contract is not limited, and further reduces the development difficulty of intelligent contract logic.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a scenario for a blockchain-based intelligent contract invocation provided by an embodiment of the present application;
FIG. 2 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in an embodiment of the application;
FIG. 3 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in an embodiment of the present application;
FIG. 4 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in an embodiment of the present application;
FIG. 5 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating one embodiment of a blockchain-based intelligent contract invoking device provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of one embodiment of a blockchain-based intelligent contract invoking device provided in an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be encompassed by the present application.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the present application, the term "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described as "exemplary" in this disclosure is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for purposes of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes have not been described in detail so as not to obscure the description of the application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The embodiment of the application provides a method, a device, equipment and a storage medium for invoking intelligent contracts based on a blockchain, which are respectively described in detail below.
The intelligent contract calling method based on the blockchain is applied to the intelligent contract calling device based on the blockchain, the intelligent contract calling device based on the blockchain is arranged in intelligent contract calling equipment based on the blockchain, one or more processors, a memory and one or more application programs are arranged in the intelligent contract calling equipment based on the blockchain, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to realize the intelligent contract calling method based on the blockchain; the intelligent contract calling device based on the block chain can be a terminal, such as a mobile phone or a tablet computer, and the intelligent contract calling device based on the block chain can also be a server or a service cluster formed by a plurality of servers.
As shown in fig. 1, fig. 1 is a schematic view of a scenario of a blockchain-based intelligent contract call in an embodiment of the present application, where the blockchain-based intelligent contract call scenario includes a blockchain-based intelligent contract call device 100 (a blockchain-based intelligent contract call device is integrated in the blockchain-based intelligent contract call device 100), and a storage medium corresponding to the blockchain-based intelligent contract call is executed in the blockchain-based intelligent contract call device 100 to execute a step of the blockchain-based intelligent contract call.
It may be understood that the blockchain-based intelligent contract invoking device in the scenario of the blockchain-based intelligent contract invoking shown in fig. 1, or the apparatus included in the blockchain-based intelligent contract invoking device, is not limited to the embodiment of the present invention, that is, the number of devices and the type of devices included in the scenario of the blockchain-based intelligent contract invoking device, or the number of apparatuses and the type of apparatuses included in each device, do not affect the overall implementation of the technical solution in the embodiment of the present invention, and may be regarded as equivalent replacement or derivation of the claimed technical solution in the embodiment of the present invention.
The intelligent contract calling device 100 based on the blockchain in the embodiment of the invention is mainly used for:
Receiving a call request, and calling a program in an intelligent contract according to the call request;
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information;
Restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
Upon detecting that a program in the smart contract is called for completion, a transaction is generated to save the calling results of the smart contract.
The blockchain-based intelligent contract invoking device 100 in the embodiment of the present invention may be an independent blockchain-based intelligent contract invoking device, or may be a blockchain-based intelligent contract invoking device network or a blockchain-based intelligent contract invoking device cluster formed by the blockchain-based intelligent contract invoking devices, for example, the blockchain-based intelligent contract invoking device 100 described in the embodiment of the present invention includes, but is not limited to, a computer, a network host, a single network blockchain-based intelligent contract invoking device, a plurality of network blockchain-based intelligent contract invoking devices, or a cloud blockchain-based intelligent contract invoking device formed by a plurality of blockchain-based intelligent contract invoking devices. Wherein the Cloud-based blockchain-based smart contract invoking device is composed of a large number of computer or network blockchain-based smart contract invoking devices based on Cloud Computing (Cloud Computing).
Those skilled in the art will appreciate that the application environment shown in fig. 1 is merely an application scenario with the present application and is not limited to the application scenario with the present application, and other application environments may further include more or less blockchain-based smart contract invoking devices than those shown in fig. 1, or a network connection relationship of the blockchain-based smart contract invoking devices, for example, only 1 blockchain-based smart contract invoking device is shown in fig. 1, and it will be appreciated that the scenario of the blockchain-based smart contract invocation may further include one or more other blockchain-based smart contract invoking devices, which is not limited herein in particular; memory may also be included in the blockchain-based smart contract invoking device 100.
In addition, in the context of the intelligent contract invocation based on the blockchain, the intelligent contract invocation equipment 100 based on the blockchain can be provided with a display device, or the display device is not provided in the intelligent contract invocation equipment 100 based on the blockchain and is in communication connection with the external display device 200, and the display device 200 is used for outputting the execution result of the intelligent contract invocation method based on the blockchain in the intelligent contract invocation equipment based on the blockchain. The blockchain-based smart contract invoking device 100 may access a background database 300 (the background database may be in a local memory of the blockchain-based smart contract invoking device, and the background database may also be disposed in the cloud), where the background database 300 stores information related to the blockchain-based smart contract invocation.
It should be noted that, the schematic view of the scenario of the intelligent contract call based on the blockchain shown in fig. 1 is only an example, and the scenario of the intelligent contract call based on the blockchain described in the embodiment of the present invention is for more clearly describing the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.
Based on the above scenario of intelligent contract invocation based on blockchain, embodiments of a blockchain-based intelligent contract invocation method are presented.
Referring to FIG. 2, FIG. 2 is a flow chart illustrating one embodiment of a blockchain-based intelligent contract invoking method according to an embodiment of the present application, the blockchain-based intelligent contract invoking method comprising steps 201-204:
and 201, receiving a call request, and calling a program in the intelligent contract according to the call request.
The intelligent contract calling method based on the blockchain is applied to intelligent contract calling equipment based on the blockchain, namely node equipment, the type of the intelligent contract calling equipment based on the blockchain is not particularly limited, for example, the intelligent contract calling equipment based on the blockchain can be a terminal or a server, and the terminal is taken as an example in the embodiment.
The terminal receives a calling instruction of the intelligent contract, wherein the calling instruction can be actively triggered by a user, for example, the user clicks a button of 'xxx calling' on a display interface of the terminal, and the calling instruction of the intelligent contract is actively triggered; in addition, the call instruction may be automatically triggered by the terminal, for example, a trigger condition of the call instruction preset in the terminal is: automatically triggering every morning; when the terminal detects that each day is early morning, the terminal automatically triggers the calling instruction of the intelligent contract.
And the terminal receives the calling instruction of the intelligent contract, and the terminal calls the intelligent contract according to the calling method so as to record data by calling the intelligent contract.
And 202, counting the execution steps of the program in the intelligent contract when the intelligent contract is called, and if the counted execution steps reach a preset upper operation limit, executing on-site saving operation to obtain transaction record related information.
When a terminal counts and calls an intelligent contract, counting execution steps of programs in the intelligent contract (the programs in the intelligent contract can be understood as logic codes or coding methods) during the intelligent contract call, if the counted execution steps reach a preset upper operation limit (the preset upper operation limit refers to the upper operation limit of the programs in the intelligent contract, which is preset, the preset upper operation limit can be set according to specific scene setting, terminal performance and the like, for example, the preset upper operation limit can be 100), executing on-site saving operation on the intelligent contract by the terminal, and acquiring on-site saving operation saved intelligent contract execution related information by the terminal, namely, saving the intelligent contract execution related information as transaction record related information by the terminal; specifically, the method comprises the following steps:
(1) Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site saving operation to record program execution positions and program variable information in the intelligent contracts;
(2) And sorting the program execution position and the program variable information to generate transaction record related information.
The terminal counts the execution steps of the program in the intelligent contract (or the execution steps of the intelligent contract method) when the intelligent contract is called, and if the execution steps reach the preset operation upper limit, the terminal executes the on-site saving operation so as to record the program execution position and the program variable information in the intelligent contract; the terminal sorts the program execution position and the program variable information to generate transaction record related information, in this embodiment, when the terminal invokes the execution step of the program in the intelligent contract to the upper limit of the operation, the terminal performs on-site save operation on the intelligent contract to lock the intelligent contract, so as to facilitate the subsequent restoration of the intelligent contract according to the saved transaction record related information, and the execution of the call is continued, specifically:
And 203, restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract.
The terminal restores the execution environment of the intelligent contract according to the transaction record related information, namely, the terminal carries out zero-restoring operation on the execution steps of the program in the intelligent contract so as to facilitate the terminal to continuously call the intelligent contract; specifically, the method comprises the following steps:
(1) The state of the intelligent contract is adjusted to be a field storage state, and the execution environment of the intelligent contract is restored according to the program execution position and the program variable information corresponding to the transaction record related information;
(2) Restoring the state of the intelligent contract, and zeroing the execution step of the intelligent contract to continuously call the program in the intelligent contract.
The terminal adjusts the state of the intelligent contract to be a field storage state so as to prevent other people from calling the intelligent contract, so that the calling is wrong at this time, and further, the terminal restores the execution environment of the intelligent contract according to the program execution position and the program variable information corresponding to the transaction record related information; after the execution of the intelligent contract execution environment is completed, the terminal restores the state of the intelligent contract, so that the intelligent contract is in an offsite storage state, and the terminal returns the execution steps of the intelligent contract to zero so as to continuously call the intelligent contract.
204, Upon detecting that the program in the smart contract is called, generating a transaction to save the calling result of the smart contract.
When the terminal detects that the intelligent contract is completed, the terminal acquires the calling result of the intelligent contract and sorts the calling result to generate a transaction.
In the embodiment of the application, a terminal receives a calling request and calls a program in an intelligent contract according to the calling request; counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information; restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract; generating a transaction to save the calling result of the intelligent contract when the program in the intelligent contract is detected to be called; according to the technical scheme, when the execution step of calling the intelligent contract reaches the preset upper operation limit, the intelligent contract is subjected to field preservation operation, so that the intelligent contract is locked, the execution step of a program in the intelligent contract is zeroed, the execution environment of the intelligent contract is restored, and then the program in the intelligent contract is continuously executed, so that the calling exceeding the limit of the execution step is automatically operated, and the calling operation of the intelligent contract is more convenient; in addition, the method ensures that the single execution step of the intelligent contract is not limited, and further reduces the development difficulty of intelligent contract logic.
Referring to FIG. 3, FIG. 3 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in embodiments of the present application;
In some embodiments of the present application, a blockchain-based intelligent contract invocation method includes steps 301-304:
301, receiving a call request, and determining an intelligent contract corresponding to the call request.
302, Acquiring the state of the intelligent contract, and determining whether a program in the intelligent contract can be called according to the state of the intelligent contract.
The terminal receives the call request, determines an intelligent contract corresponding to the call request, acquires the state of the intelligent contract, and determines whether the intelligent contract can be called or not according to the state of the intelligent contract, and specifically comprises the following steps:
(1) Acquiring the state of the intelligent contract, and judging whether the state of the intelligent contract is a field preservation state or not;
(2) If the state of the intelligent contract is a field preservation state, judging that the program in the intelligent contract can not be called;
(3) And if the state of the intelligent contract is not the field preservation state, judging that the program in the intelligent contract can be called.
That is, the terminal acquires the state of the smart contract, and the terminal judges whether the state of the smart contract is a field save state (the field save state can be understood as a lock state); if the state of the intelligent contract is a field preservation state, the terminal judges that the program in the intelligent contract can not be called; if the state of the intelligent contract is not the field preservation state, the terminal judges that the program in the intelligent contract can be called.
303, If the program in the intelligent contract can not be called, outputting a call failure prompt.
304, If the program in the intelligent contract can be called, calling the program in the intelligent contract according to the calling request.
If the program in the intelligent contract can not be called, the terminal outputs a call failure prompt, and the intelligent contract call of the terminal is ended; if the program in the intelligent contract can be called, the terminal calls the intelligent contract according to the call request.
In this embodiment, when receiving a call request of an intelligent contract, the terminal determines whether the intelligent contract can be called according to the state of the intelligent contract, if the intelligent contract is in a field storage state, that is, it can be determined that other users are calling the intelligent contract, and the terminal determines that the intelligent contract cannot be called at the moment; if the intelligent contract is not in the field preservation state, the terminal calls the intelligent contract according to the call request, so that the intelligent contract is more convenient to call, and meanwhile, the intelligent contract calling error is avoided.
Referring to FIG. 4, FIG. 4 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in an embodiment of the application.
In some embodiments of the present application, a blockchain-based intelligent contract invoking method includes steps 401-402:
And 401, counting the total calling duration of calling the intelligent contract.
The terminal counts the calling total duration of the intelligent contract, wherein the calling total duration can be determined by the time triggered by the current time reducing calling instruction, and the calling total duration can be counted in real time; the terminal compares the total calling time length with preset time length (the preset time length refers to the time length of normal execution of the preset intelligent contract) so as to determine whether the intelligent contract is executed normally, if the total calling time length does not exceed the preset time length, the terminal judges that the intelligent contract is called normally, and the terminal calls the intelligent contract; if the total calling duration exceeds the preset duration, the terminal judges that the intelligent contract calling is abnormal.
And 402, outputting a call failure prompt and restoring the state of the intelligent contract if the total call duration exceeds a preset duration.
If the total calling duration exceeds the preset duration, the terminal judges that the intelligent contract calling is abnormal, and the terminal outputs a calling failure prompt and restores the intelligent contract to an initial state.
The existing intelligent contract sets the upper limit value of the execution step, so that normal execution of the intelligent contract can be guaranteed, in the embodiment, the execution step of the intelligent contract can be zeroed through on-site saving operation, so that the execution step of the intelligent contract can be operated beyond the upper limit, and calling limited by the execution step is automatically operated, so that the intelligent contract calling operation is more convenient, however, if the execution of the intelligent contract is abnormal, according to the on-site saving mode of the intelligent contract, abnormal conditions cannot be found quickly, in the embodiment, in order to avoid abnormal finding delay of the intelligent contract, the preset time length is set, the terminal counts the calling total time length of the intelligent contract, then compares the calling total time length with the preset time length, outputs a calling failure prompt if the calling total time length exceeds the preset time length, and returns the intelligent contract to the initial state, so that abnormal conditions of the intelligent contract calling can be found timely.
Referring to FIG. 5, FIG. 5 is a flow diagram of one embodiment of a blockchain-based intelligent contract invocation method provided in an embodiment of the application.
In some embodiments of the present application, a blockchain-based intelligent contract invoking method includes steps 501-503:
501, receiving a call request and acquiring account information associated with the call request.
The terminal receives the call request, and the terminal acquires account information associated with the call request, wherein the account information comprises a user account number, a user password and the like.
And 502, authenticating the account information and determining whether a user corresponding to the account information has intelligent contract calling authority.
The terminal decrypts the account information by using the public key to obtain a hash value to be verified, the terminal performs the same processing on the pre-registered account information to obtain a standard hash value, the terminal compares the hash value to be verified with the standard hash value, the hash value to be verified is different from the standard hash value, the terminal judges that the user corresponding to the account information does not have intelligent contract calling authority, and if the user corresponding to the account information does not have intelligent contract calling authority, a prompt of calling failure is output; and the hash value to be verified is the same as the standard hash value, and the terminal judges that the user corresponding to the account information has the intelligent contract calling authority.
503, If the user corresponding to the account information has the intelligent contract calling authority, calling the program in the intelligent contract according to the calling request.
If the user corresponding to the account information has the intelligent contract calling authority, the terminal calls the intelligent contract according to the calling request, and in the embodiment, the terminal verifies the user, so that the user can be ensured to have the calling authority, and the intelligent contract calling ensures the safety.
As shown in FIG. 6, FIG. 6 is a schematic diagram of one embodiment of a blockchain-based smart contract invocation apparatus.
In order to better implement the intelligent contract calling method based on the block chain in the embodiment of the application, on the basis of the intelligent contract calling method based on the block chain, the embodiment of the application also provides an intelligent contract calling device based on the block chain, which comprises the following components:
a request receiving module 601, configured to receive a call request, and call a program in an intelligent contract according to the call request;
The statistics and preservation module 602 is configured to count execution steps of a program in the intelligent contract when the intelligent contract is called, and if the counted execution steps reach a preset upper operation limit, perform an on-site preservation operation to obtain transaction record related information;
an environment restoring module 603, configured to restore an execution environment of the smart contract according to the transaction record related information, so as to continuously call a program in the smart contract;
and a result saving module 604, configured to generate a transaction to save the calling result of the smart contract when it is detected that the program in the smart contract is called.
In some embodiments of the present application, the request receiving module 601 includes:
Receiving a call request, and determining an intelligent contract corresponding to the call request;
acquiring the state of the intelligent contract, and determining whether a program in the intelligent contract can be called according to the state of the intelligent contract;
if the program in the intelligent contract can not be called, outputting a call failure prompt;
and if the program in the intelligent contract can be called, calling the program in the intelligent contract according to the calling request.
In some embodiments of the present application, the obtaining the state of the smart contract, and determining whether the program in the smart contract is callable according to the state of the smart contract includes:
acquiring the state of the intelligent contract, and judging whether the state of the intelligent contract is a field preservation state or not;
if the state of the intelligent contract is a field preservation state, judging that a program in the intelligent contract is not callable;
If the state of the smart contract is not a field save state, then it is determined that a program in the smart contract is callable.
In some embodiments of the present application, the statistics holding module 602 includes:
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site saving operation to record the program execution positions and program variable information in the intelligent contracts;
and sorting the program execution position and the program variable information to generate transaction record related information.
In some embodiments of the present application, the environment restoration module 603 includes:
The state of the intelligent contract is adjusted to be a field storage state, and the execution environment of the intelligent contract is restored according to the program execution position and the program variable information corresponding to the transaction record related information;
Restoring the state of the intelligent contract, and zeroing the execution step of the intelligent contract to continuously call the program in the intelligent contract.
In some embodiments of the present application, the intelligent contract calling device based on the blockchain comprises:
Counting the total calling duration of calling the intelligent contract;
And if the total calling duration exceeds the preset duration, outputting a calling failure prompt, and restoring the state of the intelligent contract.
In some embodiments of the present application, the request receiving module 601 includes:
Receiving a call request and acquiring account information associated with the call request;
authenticating the account information, and determining whether a user corresponding to the account information has intelligent contract calling authority;
and if the user corresponding to the account information has the intelligent contract calling authority, calling a program in the intelligent contract according to the calling request.
In the embodiment, the intelligent contract calling device based on the blockchain performs on-site saving operation on the intelligent contract by calling the execution step of the intelligent contract to reach the preset upper limit of operation so as to lock the intelligent contract and zero the execution step of the program in the intelligent contract, restore the execution environment of the intelligent contract, and then continue to execute the program in the intelligent contract, so that the calling exceeding the limit of the execution step is automatically operated, and the intelligent contract calling operation is more convenient; in addition, the method ensures that the single execution step of the intelligent contract is not limited, thereby further reducing the development difficulty of intelligent contract logic
The embodiment of the application also provides a block chain-based intelligent contract calling device, as shown in fig. 7, and fig. 7 is a schematic diagram of an embodiment of the block chain-based intelligent contract calling device provided in the embodiment of the application.
The intelligent contract calling device based on the block chain integrates any intelligent contract calling device based on the block chain, which is provided by the embodiment of the invention, and comprises the following components:
presetting a shooting device;
an acceleration sensor;
One or more processors;
A memory; and
One or more applications, wherein the one or more applications are stored in the memory and configured to perform steps in the blockchain-based smart contract invocation method described in any of the blockchain-based smart contract invocation method embodiments above by the processor.
Specifically, the present invention relates to a method for manufacturing a semiconductor device. The blockchain-based smart contract invoking apparatus may comprise components of a processor 701 of one or more processing cores, a memory 702 of one or more storage media, a power supply 703, and an input unit 704, among others. Those skilled in the art will appreciate that the blockchain-based smart contract invoking device architecture shown in fig. 7 does not constitute a limitation of blockchain-based smart contract invoking devices, and may include more or fewer components than illustrated, or may combine certain components, or may be a different arrangement of components. Wherein:
The processor 701 is a control center of the blockchain-based intelligent contract invoking device, connects respective parts of the entire blockchain-based intelligent contract invoking device using various interfaces and lines, and performs various functions and processes data of the blockchain-based intelligent contract invoking device by running or executing software programs and/or modules stored in the memory 702 and invoking data stored in the memory 702, thereby performing overall monitoring of the blockchain-based intelligent contract invoking device. Optionally, processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
The memory 702 may be used to store software programs and modules, and the processor 701 executes various functional applications and data processing by executing the software programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the store data area may store data created according to the use of blockchain-based intelligent contract invoking devices, and the like. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide access to the memory 702 by the processor 701.
The blockchain-based smart contract invoking apparatus further includes a power supply 703 for supplying power to the respective components, and preferably, the power supply 703 may be logically connected to the processor 701 through a power management system, so that functions of managing charging, discharging, power consumption management, etc. are implemented through the power management system. The power supply 703 may also include one or more of any component, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.
The blockchain-based smart contract invoking apparatus may also include an input unit 704, where the input unit 704 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the blockchain-based smart contract invoking device may further include a display unit or the like, which is not described herein. Specifically, in this embodiment, the processor 701 in the intelligent contract invoking device based on the blockchain loads executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 executes the application programs stored in the memory 702, so as to implement various functions as follows:
Receiving a call request, and calling a program in an intelligent contract according to the call request;
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information;
Restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
Upon detecting that a program in the smart contract is called for completion, a transaction is generated to save the calling results of the smart contract.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions or by controlling associated hardware, which may be stored in a storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a storage medium, which may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like. On which a computer program is stored that is loaded by a processor to perform the steps of any of the blockchain-based smart contract invocation methods provided by embodiments of the present invention. For example, the loading of the computer program by the processor may perform the steps of:
Receiving a call request, and calling a program in an intelligent contract according to the call request;
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information;
Restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
Upon detecting that a program in the smart contract is called for completion, a transaction is generated to save the calling results of the smart contract.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of one embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description of other embodiments, which are not described herein again.
In the implementation, each unit or structure may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit or structure may be referred to the foregoing method embodiments and will not be repeated herein.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The above describes in detail a blockchain-based intelligent contract invoking method provided by the embodiment of the present application, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the above description of the embodiment is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (9)

1. A blockchain-based intelligent contract invoking method, characterized in that the blockchain-based intelligent contract invoking method comprises:
Receiving a call request, and determining an intelligent contract corresponding to the call request;
acquiring the state of the intelligent contract, determining whether programs in the intelligent contract can be called according to the state of the intelligent contract,
If the state of the intelligent contract is not the field preservation state, calling a program in the intelligent contract according to the calling request;
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site storage operation to obtain transaction record related information;
Restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
Counting the total calling duration of calling the intelligent contract;
if the total calling duration exceeds the preset duration, outputting a calling failure prompt, and restoring the state of the intelligent contract;
Upon detecting that a program in the smart contract is called for completion, a transaction is generated to save the calling results of the smart contract.
2. The blockchain-based intelligent contract invoking method of claim 1, comprising:
acquiring the state of the intelligent contract, and determining whether a program in the intelligent contract can be called according to the state of the intelligent contract;
if the program in the intelligent contract can not be called, outputting a call failure prompt;
and if the program in the intelligent contract can be called, calling the program in the intelligent contract according to the calling request.
3. The blockchain-based smart contract invoking method of claim 2, wherein the obtaining the state of the smart contract and determining whether a program in the smart contract is callable based on the state of the smart contract comprises:
acquiring the state of the intelligent contract, and judging whether the state of the intelligent contract is a field preservation state or not;
if the state of the intelligent contract is a field preservation state, judging that a program in the intelligent contract is not callable;
If the state of the smart contract is not a field save state, then it is determined that a program in the smart contract is callable.
4. The intelligent contract invoking method based on blockchain according to claim 1, wherein the counting the execution steps of the program in the intelligent contract when the intelligent contract is invoked, if the counted execution steps reach a preset upper operation limit, executing a field save operation to obtain transaction record related information, comprising:
Counting the execution steps of programs in the intelligent contracts when the intelligent contracts are called, and if the counted execution steps reach a preset upper operation limit, executing on-site saving operation to record the program execution positions and program variable information in the intelligent contracts;
and sorting the program execution position and the program variable information to generate transaction record related information.
5. The blockchain-based smart contract invoking method of claim 1, wherein the restoring the execution environment of the smart contract according to the transaction record related information to continue invoking programs in the smart contract comprises:
The state of the intelligent contract is adjusted to be a field storage state, and the execution environment of the intelligent contract is restored according to the program execution position and the program variable information corresponding to the transaction record related information;
Restoring the state of the intelligent contract, and zeroing the execution step of the intelligent contract to continuously call the program in the intelligent contract.
6. The blockchain-based intelligent contract invoking method according to any of claims 1-5, wherein said receiving a call request, invoking a program in an intelligent contract based on the call request, comprises:
Receiving a call request and acquiring account information associated with the call request;
authenticating the account information, and determining whether a user corresponding to the account information has intelligent contract calling authority;
and if the user corresponding to the account information has the intelligent contract calling authority, calling a program in the intelligent contract according to the calling request.
7. A blockchain-based intelligent contract invoking device, the blockchain-based intelligent contract invoking device comprising:
The request receiving module is used for receiving a calling request and determining an intelligent contract corresponding to the calling request; acquiring the state of the intelligent contract, determining whether a program in the intelligent contract can be called according to the state of the intelligent contract, and calling the program in the intelligent contract according to the calling request if the state of the intelligent contract is not a field preservation state;
The statistics and preservation module is used for counting the execution steps of the program in the intelligent contract when the intelligent contract is called, and if the counted execution steps reach a preset upper operation limit, the on-site preservation operation is executed, so that transaction record related information is obtained;
the environment restoration module is used for restoring the execution environment of the intelligent contract according to the transaction record related information so as to continuously call the program in the intelligent contract;
the result saving module is used for generating a transaction to save the calling result of the intelligent contract when detecting that the program in the intelligent contract is called;
the intelligent contract calling device is used for:
counting the total calling duration of calling the intelligent contract; and if the total calling duration exceeds the preset duration, outputting a calling failure prompt, and restoring the state of the intelligent contract.
8. A blockchain-based intelligent contract invoking device, the blockchain-based intelligent contract invoking device comprising:
One or more processors;
A memory; and
One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the blockchain-based smart contract invocation method of any of claims 1 to 6.
9. A storage medium having stored thereon a computer program to be loaded by a processor to perform the steps in the blockchain-based intelligent contract invocation method of any of claims 1 to 6.
CN202011323252.XA 2020-11-23 2020-11-23 Intelligent contract calling method, device, equipment and storage medium based on blockchain Active CN112330453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011323252.XA CN112330453B (en) 2020-11-23 2020-11-23 Intelligent contract calling method, device, equipment and storage medium based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011323252.XA CN112330453B (en) 2020-11-23 2020-11-23 Intelligent contract calling method, device, equipment and storage medium based on blockchain

Publications (2)

Publication Number Publication Date
CN112330453A CN112330453A (en) 2021-02-05
CN112330453B true CN112330453B (en) 2024-05-10

Family

ID=74322092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011323252.XA Active CN112330453B (en) 2020-11-23 2020-11-23 Intelligent contract calling method, device, equipment and storage medium based on blockchain

Country Status (1)

Country Link
CN (1) CN112330453B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103481668A (en) * 2013-09-17 2014-01-01 珠海艾派克微电子有限公司 Reset method for imaging box chip, imaging box chip and imaging box
CN106598549A (en) * 2016-12-08 2017-04-26 天津米游科技有限公司 Intelligent agreement system based on block chain and implementation method
CN108647946A (en) * 2018-05-16 2018-10-12 深圳市网心科技有限公司 Intelligent contract processing method and system, audiomonitor and storage medium
CN109255251A (en) * 2018-10-31 2019-01-22 安徽中科智链信息科技有限公司 File data based on block chain technology protects system and method
CN109710385A (en) * 2018-12-29 2019-05-03 杭州趣链科技有限公司 A kind of intelligent contract complexity method for limiting based on Java Virtual Machine
CN110147202A (en) * 2019-05-15 2019-08-20 杭州云象网络技术有限公司 A method of reducing block chain intelligence contract code storage volume
KR20190133621A (en) * 2018-05-23 2019-12-03 (주)부치고 A system and its method for storing an exchange value of goods and generating cryptocurrency using blockchain technology
CN110599183A (en) * 2019-06-20 2019-12-20 腾讯科技(深圳)有限公司 Intelligent contract calling method and device and storage medium
CN111340470A (en) * 2020-02-24 2020-06-26 中国工商银行股份有限公司 Block chain transaction processing method, node and contract container
CN111628997A (en) * 2020-05-26 2020-09-04 中国联合网络通信集团有限公司 Attack prevention method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10601665B2 (en) * 2017-07-26 2020-03-24 International Business Machines Corporation Using blockchain smart contracts to manage dynamic data usage requirements
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103481668A (en) * 2013-09-17 2014-01-01 珠海艾派克微电子有限公司 Reset method for imaging box chip, imaging box chip and imaging box
CN106598549A (en) * 2016-12-08 2017-04-26 天津米游科技有限公司 Intelligent agreement system based on block chain and implementation method
CN108647946A (en) * 2018-05-16 2018-10-12 深圳市网心科技有限公司 Intelligent contract processing method and system, audiomonitor and storage medium
KR20190133621A (en) * 2018-05-23 2019-12-03 (주)부치고 A system and its method for storing an exchange value of goods and generating cryptocurrency using blockchain technology
CN109255251A (en) * 2018-10-31 2019-01-22 安徽中科智链信息科技有限公司 File data based on block chain technology protects system and method
CN109710385A (en) * 2018-12-29 2019-05-03 杭州趣链科技有限公司 A kind of intelligent contract complexity method for limiting based on Java Virtual Machine
CN110147202A (en) * 2019-05-15 2019-08-20 杭州云象网络技术有限公司 A method of reducing block chain intelligence contract code storage volume
CN110599183A (en) * 2019-06-20 2019-12-20 腾讯科技(深圳)有限公司 Intelligent contract calling method and device and storage medium
CN111340470A (en) * 2020-02-24 2020-06-26 中国工商银行股份有限公司 Block chain transaction processing method, node and contract container
CN111628997A (en) * 2020-05-26 2020-09-04 中国联合网络通信集团有限公司 Attack prevention method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链的智能合约技术与应用综述;贺海武;延安;陈泽华;;计算机研究与发展;20181115(11);第78-95页 *

Also Published As

Publication number Publication date
CN112330453A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN111030936B (en) Current-limiting control method and device for network access and computer-readable storage medium
CN107948744B (en) Interface detection method, interface detection device, and computer-readable storage medium
CN109831419A (en) The determination method and device of shell program authority
CN109325349A (en) A kind of method for managing security, terminal device and computer readable storage medium
CN111988302A (en) Method, system, terminal and storage medium for detecting rebound program
CN108052407A (en) A kind of application crash means of defence, device, equipment and storage medium
US20150312362A1 (en) Method and apparatus for sending delivery notification of network application-related product
CN112330453B (en) Intelligent contract calling method, device, equipment and storage medium based on blockchain
CN107526955B (en) Screen-off unlocking method and device
CN111723163B (en) Information processing method, device and system
CN115190044B (en) Device connection state checking method, device and storage medium
CN114661515B (en) Alarm information convergence method and device, electronic equipment and storage medium
CN112835906B (en) Block chain-based data management method, device, system, equipment and medium
CN114585035B (en) Voice call method, device and computer readable storage medium
CN112560112B (en) Block chain based information shielding method, device, equipment and readable storage medium
CN107957942B (en) SQL script fault repairing method and terminal thereof
CN112579702B (en) Block chain-based shielding information management method, block chain-based shielding information management device, block chain-based shielding information management equipment and storage medium
CN115801685B (en) Application service current limiting method, device, equipment and storage medium
CN115697876A (en) Method for remotely restoring at least one peripheral device of a people conveyor system, remote monitoring unit and remote monitoring system
CN109145528A (en) A kind of calling hold-up interception method of mobile terminal and photographic device
CN114070659B (en) Equipment locking method and device and terminal equipment
CN115102924B (en) Cluster address switching method and device, computer equipment and storage medium
CN110505345B (en) Terminal unlocking mode switching management method, terminal and switching server
CN117477724A (en) Connection method, device, electronic apparatus, and readable storage medium
JP7069551B2 (en) Information processing equipment and information processing method

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