CN112613877B - Intelligent contract triggering method and device applied to block chain network and related equipment - Google Patents

Intelligent contract triggering method and device applied to block chain network and related equipment Download PDF

Info

Publication number
CN112613877B
CN112613877B CN202011496316.6A CN202011496316A CN112613877B CN 112613877 B CN112613877 B CN 112613877B CN 202011496316 A CN202011496316 A CN 202011496316A CN 112613877 B CN112613877 B CN 112613877B
Authority
CN
China
Prior art keywords
target
intelligent contract
asset
contract
transaction data
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
CN202011496316.6A
Other languages
Chinese (zh)
Other versions
CN112613877A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011496316.6A priority Critical patent/CN112613877B/en
Publication of CN112613877A publication Critical patent/CN112613877A/en
Application granted granted Critical
Publication of CN112613877B publication Critical patent/CN112613877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures

Abstract

The present disclosure provides an intelligent contract triggering method and apparatus applied to a blockchain network, the blockchain network including a plurality of node devices, each node device storing a blockchain therein, each node device further including at least one intelligent contract therein, and an electronic device and a computer-readable storage medium, the method being applied to a target node device in the blockchain network, the plurality of node devices including the target node device; wherein the method comprises the following steps: acquiring attribute information of target transaction data; acquiring a target intelligent contract matched with the attribute information of the target transaction data from the blockchain network; triggering the target intelligent contract to execute the target intelligent contract against the target transaction data. The technical scheme provided by the embodiment of the disclosure can automatically trigger the target intelligent contract matched with the attribute information of the target transaction data aiming at the target transaction data so as to improve the security and the public trust of the transaction data in the block chain network.

Description

Intelligent contract triggering method and device applied to block chain network and related equipment
Technical Field
The present disclosure relates to the field of computer and internet technologies, and in particular, to an intelligent contract triggering method and apparatus, an electronic device, and a computer-readable storage medium for a block chain network.
Background
The block chain technology is also called as distributed ledger technology, and is a distributed internet database technology. A network constructed based on the blockchain technology may be referred to as a blockchain network, where the blockchain network includes network nodes (also referred to as blockchain nodes, hereinafter referred to as nodes), and node devices corresponding to each node store a total number of blockchains. The blockchain network (or blockchain technology) in the related art has the characteristics of decentralization, public transparency, non-tampering, trustiness and the like. Based on these characteristics, the application field of the block chain technology is more and more extensive.
In the related art, it is often necessary to arrange an intelligent contract in a blockchain network to process data in the blockchain network. A conventional smart contract is a piece of code or program deployed at an address in a blockchain, the smart contract has a call address in the chain, and the smart contract can be executed only if a node device actively calls the smart contract through the call address.
However, the above intelligent contract triggering method causes the security performance of uplink data to be low and the public trust to be poor.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure.
Disclosure of Invention
The embodiment of the disclosure provides an intelligent contract triggering method and device, electronic equipment and a computer-readable storage medium applied to a block chain network, which can automatically trigger a target intelligent contract matched with attribute information of target transaction data so as to automatically execute the target intelligent contract aiming at the target transaction data, thereby effectively improving the credibility and the safety of the target transaction data in the block chain network.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
The embodiment of the present disclosure provides an intelligent contract triggering method applied to a blockchain network, where the blockchain network includes a plurality of node devices, each node device stores a blockchain, and each node device further includes at least one intelligent contract, and the method is applied to a target node device in the blockchain network, where the plurality of node devices include the target node device; wherein the method comprises the following steps: acquiring attribute information of target transaction data; acquiring a target intelligent contract matched with the attribute information of the target transaction data from the blockchain network; triggering the target intelligent contract to execute the target intelligent contract against the target transaction data.
The embodiment of the disclosure provides an intelligent contract triggering method applied to a block chain network, wherein the block chain network comprises a plurality of node devices, the node devices comprise consensus node devices, each node device stores a block chain, and each node device further comprises at least one intelligent contract; wherein the method comprises the following steps: detecting target transaction data on the blockchain; broadcasting the target transaction data to the consensus node equipment so that the consensus node equipment can acquire attribute information of the target transaction data; the consensus node equipment acquires a target intelligent contract matched with the attribute information of the target transaction data from the block chain network, and automatically triggers the target intelligent contract to automatically execute the target intelligent contract to perform consensus verification on the target transaction data; acquiring a consensus verification result of each consensus node device in the block chain network, wherein the consensus verification result of the consensus node device comprises that the verification is passed; and if the result of consensus verification is that the number of the verified consensus node devices is larger than a target threshold, the consensus of the blockchain network for the target transaction data passes.
The embodiment of the present disclosure provides an intelligent contract triggering apparatus applied to a blockchain network, where the blockchain network includes a plurality of node devices, each node device stores a blockchain, and each node device further includes at least one intelligent contract, and the intelligent contract triggering apparatus applied to the blockchain network may be applied to a target node device in the blockchain network, where the plurality of node devices of the blockchain network include the target node device; wherein the apparatus comprises: the system comprises an attribute information acquisition module, a target intelligent contract acquisition module and an automatic execution module.
The attribute information acquisition module can be configured to acquire attribute information of target transaction data; the target intelligent contract acquisition module can be configured to acquire a target intelligent contract matched with the attribute information of the target transaction data from the blockchain network; the automatic execution module may be configured to trigger the target intelligent contract to execute the target intelligent contract against the target transaction data.
In some embodiments, the target transaction data is transaction data of a target transaction, the attribute information of the target transaction data includes transaction type information, and the at least one intelligent contract includes an asset issuing intelligent contract; wherein the target intelligent contract obtaining module may include: the asset issuing intelligent contract obtaining unit, the automatic execution module may include: an asset issuance information verification unit.
Wherein the asset issuance intelligent contract acquisition unit may be configured to acquire the asset issuance intelligent contract from the blockchain network if the transaction type information indicates that the target transaction is an asset issuance transaction type; the asset issuance information verification unit may be configured to automatically trigger the asset issuance intelligent contract to verify the asset issuance information in the target transaction data by the asset issuance intelligent contract.
In some embodiments, the target transaction data corresponds to a target transaction, the asset issuance information includes a first blockchain address from which the target transaction was initiated, the first blockchain address being for a quantity of assets to be issued for the target transaction, the asset issuance intelligent contract includes an asset issuance authority verification sub-contract, the asset issuance authority verification sub-contract includes an asset issuance amount control sub-contract; wherein the asset issuance information verification unit may include: the system comprises an asset issuing authority verification subunit, an asset quantity to be issued verification subunit and a first determination subunit.
Wherein the asset issuance authority verification sub-unit may be configured to verify the asset issuance authority of the first blockchain address by the asset issuance authority verification sub-contract; the to-be-issued asset quantity verification subunit may be configured to verify, by the asset issuance quantity control grandchild contract, whether the quantity of the to-be-issued assets is less than or equal to a preset target quantity, if the asset issuance authority of the first blockchain address passes verification; the verification passing first determining subunit may be configured to determine that the target transaction data passes verification if the number of assets to be issued is less than or equal to the preset target number.
In some embodiments, the target transaction data is transaction data for a target transaction, the attribute information of the target transaction data includes transaction type information, and the at least one intelligent contract includes an asset transfer intelligent contract; wherein the target intelligent contract obtaining module may include: the asset transfer intelligent contract acquisition unit, the automatic execution module may include: an asset transfer information verification unit.
Wherein the asset transfer intelligent contract obtaining unit may be configured to obtain the asset transfer intelligent contract from the blockchain network if the transaction type information indicates that the target transaction is an asset transfer transaction type; the asset transfer information verification unit may be configured to automatically trigger the asset transfer smart contract to verify asset transfer information in the target transaction data by the asset transfer smart contract.
In some embodiments, the asset transfer information includes a second blockchain address that initiates the target transaction, the second blockchain address being specific to a quantity of assets to be transferred in the target transaction, the asset transfer intelligence contract includes an asset availability verification subcontract, the asset availability verification subcontract includes an asset transfer amount verification grandchild contract; wherein the asset transfer information verifying unit may include: the asset residual quantity verification subunit, the to-be-transferred asset quantity verification subunit and the verification pass second determination subunit.
Wherein the asset remaining amount verifying sub-unit may be configured to verify whether the asset remaining amount of the second blockchain address is greater than or equal to the number of assets to be transferred by the asset remaining amount verifying sub-contract; the to-be-transferred asset quantity verification subunit may be configured to verify, by an asset transfer quantity verification grandchild contract, whether the quantity of assets to be transferred is within a preset asset transfer range, if the quantity of assets remaining at the second blockchain address is greater than or equal to the quantity of assets to be transferred; the verification passing second determining subunit may be configured to determine that the target transaction data passes verification if the number of the assets to be transferred is within the preset asset transfer range.
In some embodiments, the attribute information of the target transaction data includes transaction type information and business domain information, the at least one intelligent contract includes a target business intelligent contract, and the target business intelligent contract includes the target intelligent contract; wherein the target intelligent contract obtaining module may include: a target service intelligent contract obtaining unit and a target intelligent contract obtaining unit.
The target business intelligent contract obtaining unit may be configured to obtain a target business intelligent contract corresponding to a target supervision entity from the blockchain network if business field information of the target transaction data indicates that the target transaction data includes target business data, and the target business data is supervised by the target supervision entity; the target intelligent contract obtaining unit may be configured to obtain a target intelligent contract matching the transaction type information of the target transaction data from the target business intelligent contract.
In some embodiments, the automatic execution module may include a compliance verification unit and a transaction verification unit.
Wherein the compliance verification unit may be configured to automatically trigger the target business intelligence contract to automatically execute the target business intelligence contract to verify whether the target transaction data is compliant; the transaction verification unit may be configured to automatically trigger the target intelligent contract to execute the target intelligent contract against the target transaction data.
The embodiment of the disclosure provides a consensus device applied to a block chain network, wherein the block chain network comprises a plurality of node devices, the node devices comprise consensus node devices, each node device stores a block chain, and each node device further comprises at least one intelligent contract. The consensus device applied to the blockchain network may include: the device comprises a detection module, a broadcasting module, a consensus verification result acquisition module and a consensus result determination module.
Wherein the detection module may be configured to detect target transaction data on the blockchain; the broadcasting module may be configured to broadcast the target transaction data to the consensus node device, so that the consensus node device obtains attribute information of the target transaction data; the consensus verification module can be configured to obtain a target intelligent contract matched with the attribute information of the target transaction data from the blockchain network by the consensus node equipment, and automatically trigger the target intelligent contract to automatically execute the target intelligent contract to perform consensus verification on the target transaction data; the consensus verification result obtaining module may be configured to obtain consensus verification results of the consensus node devices in the block chain network, where the consensus verification results of the consensus node devices include a pass verification; the consensus result determination module may be configured to pass consensus of the blockchain network for the target transaction data if the consensus verification result is that the number of verified consensus node devices is greater than a target threshold.
An embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement any of the intelligent contract triggering methods applied to the blockchain network.
The embodiment of the disclosure provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the intelligent contract triggering method applied to a block chain network as described in any one of the above.
Embodiments of the present disclosure provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the intelligent contract triggering method applied to the block chain network.
The intelligent contract triggering method and device applied to the block chain network, the electronic equipment and the computer readable storage medium provided by the embodiment of the disclosure automatically match a target intelligent contract matched with the attribute information of target transaction data, and actively trigger the target intelligent contract to process the target transaction data. According to the method and the device, the target intelligent contract is actively called by the target node equipment to realize the processing of the target transaction data, all uplink data or data on the link can be actively and correspondingly processed, the condition that the node equipment refuses to call the intelligent contract is avoided, and the safety and the public confidence of the block link are greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a schematic structural diagram of a computer system provided according to an exemplary embodiment of the present disclosure.
Fig. 2 is a schematic diagram illustrating a computer system applied to a consensus device according to an exemplary embodiment.
Fig. 3 schematically shows a structural schematic diagram of a blockchain network according to an embodiment of the present disclosure.
Fig. 4 schematically shows a Block Structure (Block Structure) according to an embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating an intelligent contract triggering method applied to a blockchain network in accordance with an exemplary embodiment.
Fig. 6 is a schematic diagram illustrating a blockchain network in accordance with an exemplary embodiment.
Fig. 7 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
Fig. 8 is a flowchart of step S31 in fig. 7 in an exemplary embodiment.
Fig. 9 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
Fig. 10 is a flowchart of step S32 in fig. 9 in an exemplary embodiment.
Fig. 11 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
Fig. 12 is a diagram illustrating a consensus structure applied to a blockchain network, according to an example embodiment.
Fig. 13 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
Fig. 14 is a block diagram illustrating an intelligent contract triggering apparatus applied to a blockchain network in accordance with an exemplary embodiment.
Fig. 15 is a block diagram illustrating an intelligent contract triggering apparatus applied to a blockchain network in accordance with an exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The drawings are merely schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus, a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and steps, nor do they necessarily have to be performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of one or more elements/components/etc.; the terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first," "second," and "third," etc. are used merely as labels, and are not limiting on the number of their objects.
The following detailed description of exemplary embodiments of the disclosure refers to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a computer system provided according to an exemplary embodiment of the present disclosure. The system comprises: a number of terminals 120 and a server 140. The server 140 may be a node device on the blockchain 160, and the user may transmit the target transaction data to the server 140 through interaction between the terminal 120 and the server 140 through the communication network, so as to uplink the target transaction data through the server 140. The terminal 120 may be a mobile terminal such as a mobile phone, a game console, a tablet Computer, an electronic book reader, smart glasses, an MP4(moving picture Experts Group Audio Layer IV) player, an intelligent home device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, or the terminal 120 may be a Personal Computer (Personal Computer), such as a laptop Computer and a desktop Computer.
The server 140 may be one server, may be composed of several servers, may be a virtualization platform, and may also be a cloud computing service center. Optionally, in the embodiment of the present application, the server 140 includes a logic server 142 and a blockchain server 144. The logic server 142 is configured to implement logic control of an application program, for example, request processing for target transaction, account resource management, interface content management, and the like, and the blockchain server 144 is used as a part of the blockchain 160, and is configured to implement storage of each target transaction information and/or transaction record, and decision management of an important function, for example, a decision on a transaction request can be implemented.
It should be noted that the logic server 142 and the blockchain server 144 may belong to the same computer device, or the logic server 142 and the blockchain server 144 may belong to different computer devices.
Alternatively, the clients of the applications installed in different terminals 120 are the same, or the clients of the applications installed on two terminals 120 are clients of the same type of application of different control system platforms. Based on different terminal platforms, the specific form of the client of the application program may also be different, for example, the client of the application program may be a mobile phone client, a PC client, or a World Wide Web (Web) client.
Optionally, the system may further include a management device (not shown in fig. 1), which is connected to the server 140 through a communication network. Optionally, the communication network is a wired network or a wireless network.
Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is only illustrative, and the server 140 may be a physical server or may be composed of a plurality of servers, and there may be any number of terminal devices, networks and servers according to actual needs.
In the present disclosure, a user may interact with the server 140 through the terminal 120 to request the blockchain 160 to perform an uplink transaction operation through the server 140, and the blockchain performs the following operations through a target node (which may be the server 140) in the blockchain in response to the uplink request: acquiring attribute information of target transaction data; acquiring a target intelligent contract matched with the attribute information of the target transaction data from the blockchain network; triggering the target intelligent contract to execute the target intelligent contract against the target transaction data. According to the technical scheme, the target intelligent contract matched with the attribute information of the target transaction data is actively triggered when the target transaction data is linked, so that the target transaction data is processed, and the security and the public trust of the linked data in the block chain network are improved.
Referring now to FIG. 2, a block diagram of a computer system 200 suitable for implementing a server or terminal device of the embodiments of the present application is shown. The terminal device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for the operation of the system 200 are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 210 as necessary, so that a computer program read out therefrom is installed into the storage section 208 as necessary.
In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 201.
It should be noted that the computer readable storage medium shown in the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and/or units and/or sub-units described in the embodiments of the present application may be implemented by software, and may also be implemented by hardware. The described modules and/or units and/or sub-units may also be provided in a processor, and may be described as: a processor includes a transmitting unit, an obtaining unit, a determining unit, and a first processing unit. Wherein the names of such modules and/or units and/or sub-units in some cases do not constitute a limitation on the modules and/or units and/or sub-units themselves.
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the apparatus described in the following embodiments; or may be separate and not incorporated into the device. The computer readable storage medium carries one or more programs which, when executed by a device, cause the device to perform functions including: acquiring attribute information of target transaction data; acquiring a target intelligent contract matched with the attribute information of the target transaction data from the blockchain network; triggering the target intelligent contract to execute the target intelligent contract against the target transaction data.
The embodiments of the present disclosure relate to a blockchain technology, and the following description will be directed to a blockchain network, a blockchain, a node, and the like in the blockchain technology.
The embodiment of the disclosure relates to an intelligent contract triggering method applied to a blockchain network, which may be a blockchain network formed by connecting a client, a plurality of nodes (any form of computing devices in an access network, such as servers and terminals) through a network communication form.
The server may be an independent physical server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform, and the like, which is not limited in this disclosure.
The client may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop portable computers, desktop computers, wearable devices, virtual reality devices, smart homes, and the like.
The user can perform data interaction with the blockchain through the client, and the blockchain network system can perform consensus, business processing, recording and the like on data uploaded by the user through nodes.
Taking a distributed blockchain network as an example, referring To fig. 3, fig. 3 is an optional structural schematic diagram of a blockchain network 301 provided in the embodiment of the present disclosure, and is formed by a plurality of nodes 302 (any form of computing devices in an access network, such as servers and terminals) and a client 303, a Peer-To-Peer (P2P) network is formed between the nodes 302, and the P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a blockchain network, any machine, such as a server, a terminal, can join to become a node 302, and the node 302 includes a hardware layer, a middle layer, an operating system layer, and an application layer.
Referring to the functions of each node 302 in the blockchain network 301 shown in fig. 3, the functions involved include:
1) routing, a basic function that node 302 has, is to support communication between nodes 302.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization function to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain network, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
an intelligent contract, a computerized agreement, which can execute the terms of a certain contract, is realized by codes deployed on a shared account and executed when a certain condition is met, and is used for completing automated transaction according to actual business requirement codes, such as inquiring the logistics state of goods purchased by a buyer and transferring the electronic resources of the buyer to the address of a merchant after the buyer signs the goods; of course, the smart contract may be not only a contract for trading but also a contract for business processing of received information. In the related art, usually, a node device actively calls an intelligent contract to process data requesting an uplink blockchain or data already stored on the blockchain, and in the intelligent contract triggering mechanism, there may be a case where the node device refuses to call the intelligent contract, resulting in low public trust of the data in the blockchain. The technical scheme provided by the embodiment has the main improvement points that the target intelligent contract matched with the target transaction data attribute information is actively matched and triggered to process the target transaction data, the condition that the node equipment refuses to call the contract is avoided, and the security during data chaining is improved.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain network are recorded in the blocks.
Referring to fig. 4, fig. 4 is an optional schematic diagram of a Block Structure (Block Structure) provided in the embodiment of the present disclosure, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
In the disclosed embodiment, after the target intelligent contract matched with the attribute information of the target transaction data is automatically triggered by the method of the disclosed embodiment to automatically execute the target intelligent contract for the target transaction data, the target transaction data corresponding to the target transaction may be stored in the target block to complete the target transaction.
According to the technical scheme provided by the embodiment, on one hand, the target intelligent contract matched with the attribute information of the target transaction data is determined, and the target transaction data can be processed in a targeted manner through the target intelligent contract; on the other hand, the intelligent contract is automatically triggered aiming at the target transaction data, so that the condition that the node equipment refuses to call the intelligent contract is avoided, and the public trust and the safety of the target transaction data are improved.
Fig. 5 is a flowchart illustrating an intelligent contract triggering method applied to a blockchain network in accordance with an exemplary embodiment. The method may be performed by a target node device in a blockchain network.
In the blockchain technique, the blockchain network may include a plurality of node devices, each of which may have a full number of blockchains stored therein. As shown in fig. 6, the blockchain network 10 may include a plurality of node devices (e.g., node device 101, node device 102 … node device 150, etc.), which may belong to a national department, an individual, or a business, etc., each of which has a complete blockchain stored therein.
In addition, each node device in the block chain network may also be deployed with at least one intelligent contract (such as intelligent contract 1, intelligent contract 2, and intelligent contract 3 … shown in fig. 6), where the at least one intelligent contract may exist in the node device independently from each other, or may exist in the node device in a hierarchical manner. Where an intelligent contract may be contract content deployed by a piece of code or program on a blockchain, the blockchain network may execute the intelligent contract through a target node device (e.g., node device 101 in fig. 6) to implement processing of target transaction data. The target node device may refer to a common node device of a blockchain network in a common processing process, or may be a transaction processing device of a blockchain in a service transaction processing process for target transaction data (i.e., a node for processing transaction content in a target transaction), which is not limited in this disclosure. It is understood that any node device that processes a target transaction through an intelligent contract in a blockchain network may be a target node device in the embodiments of the present disclosure.
In some embodiments, the target node device may be any electronic device with computing processing capability in a blockchain network, and the electronic device with computing processing capability may be, for example, a server or a terminal device.
In addition, it should be noted that the intelligent contract triggering method provided in the embodiment of the present disclosure may be applied to both the data uplink process and any application scenario that needs to trigger an intelligent contract after the data uplink is finished (i.e. the data is already recorded in the block chain), and the disclosure does not limit this.
The intelligent contract triggering method applied to the blockchain network provided by the embodiment of the disclosure with reference to fig. 5 can include the following steps.
In step S1, attribute information of the target transaction data is acquired.
In some embodiments, the transaction data may refer to data being linked in a blockchain, and may also refer to data already stored in a target blockchain, which is not limited by the present disclosure. It will be appreciated that the target transaction data is transaction data corresponding to a target transaction, which is data used to describe the target transaction.
The attribute information of the target transaction data may refer to information used to describe an abstract characteristic of the target transaction, for example, the attribute information of the target transaction data may include a transaction type, a business field, a transaction name, transaction content information, and the like corresponding to the target transaction to which the target transaction data relates, which is not limited in this disclosure. Wherein the target transaction data may be transaction data of the target transaction.
In some embodiments, the transaction types of the target transaction data may include an asset transfer transaction type, an asset issuance transaction type, and the like.
Where an asset may refer to some electronic resource in a target block chain, this disclosure is not limited thereto.
In step S2, a target intelligent contract matching the attribute information of the target transaction data is obtained from the blockchain network.
The target intelligent contract is an intelligent contract which can be checked or business-processed against the target transaction data. The verification may refer to consensus verification or common service verification, which is not limited by this disclosure. The business processing may refer to business processing of the transaction content related to the target transaction data, for example, specific business processing (for example, business processing for controlling transfer from bank a to bank B) is performed on the target transaction data, and the content of the target intelligent contract is not limited by the present disclosure.
In some embodiments, obtaining the target intelligent contract matching the attribute information of the target transaction data from the blockchain network may refer to matching the attribute information of the target transaction data with the intelligent contract in the blockchain network through a target rule. For example, if the target transaction is indicated as the asset transfer transaction type by the transaction type information according to the attribute information of the target transaction data, the intelligent contract that processes the asset transfer type data may be used as the target intelligent contract. The target rule may be formulated in advance according to the attribute information, which is not limited by the present disclosure.
In step S3, the target intelligent contract is triggered to execute the target intelligent contract against the target transaction data.
In some embodiments, after the target intelligent contract is matched according to the attribute information of the target transaction data, the target intelligent contract can be automatically executed aiming at the target transaction data.
The technical scheme provided by the embodiment can match the target intelligent contract matched with the attribute information of the target transaction data, and automatically trigger the target intelligent contract to process the target transaction data. According to the technical scheme provided by the embodiment, when the intelligent contract needs to be triggered, the target node equipment can automatically execute the target intelligent contract matched with the attribute information of the target transaction data, actively completes verification or related business processing of the target transaction data, and improves the safety and the public trust of the block chain.
Fig. 7 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
In some embodiments, the target transaction data is transaction data of a target transaction, and the at least one intelligent contract in the blockchain network may include an asset issuing intelligent contract that may include contract information that enables verification of asset issuing information in the target transaction.
Referring to fig. 7, the above-described intelligent contract triggering method applied to the blockchain network may include the following procedures.
In step S1, attribute information of target transaction data including transaction type information is acquired.
In step S21, if the transaction type information indicates that the target transaction is an asset issuance transaction type, the asset issuance intelligent contract is obtained from the blockchain network.
In step S31, the asset issuance smart contract is automatically triggered to verify the asset issuance information in the target transaction data by the asset issuance smart contract.
In some embodiments, verification of asset issuance information in a target transaction may be accomplished by the steps shown in FIG. 8.
Fig. 8 is a flowchart of step S31 in fig. 7 in an exemplary embodiment.
In some embodiments, the asset issuance information in the target transaction data may include information relating to the issuance of assets for the target transaction, such as a first blockchain address at which the target transaction was initiated, the first blockchain address being for the quantity of assets to be issued for the target transaction. Wherein the amount of assets to be issued may refer to assets issued by the first blockchain address as rewards to node devices that are billed for the target transaction data.
In some embodiments, the asset issuance intelligent contract may be composed of hierarchical sub-contracts, e.g., the asset issuance intelligent contract may include an asset issuance authority verification sub-contract, the asset issuance authority verification sub-contract may include an asset issuance amount control sub-contract, etc. It will be appreciated that the next level of the asset issuance amount control grandchild contract may also include other contract content, and the disclosure is not limited thereto.
Referring to fig. 8, the above-described step S31 may include the following process.
In step S311, the asset issuance authority of the first blockchain address is verified by the asset issuance authority verification sub-contract.
In some embodiments, if the transaction type information in the attribute information indicates that the transaction type of the target transaction is an asset issuance transaction type, the asset issuance authority verification sub-contract is automatically triggered to verify the asset issuance authority of the first blockchain address. For example, it can be verified whether the first blockchain has the asset issuance authority by the public-private key of the first blockchain address.
In step S312, if the asset issuance authority of the first blockchain address passes the verification, it is verified whether the quantity of the assets to be issued is less than or equal to the preset target quantity through the asset issuance quantity control grandchild contract.
In some embodiments, if the asset issuance authority of the first blockchain is verified, the verification of whether the first blockchain address is less than or equal to the preset number for the number of assets to be issued in the target transaction is continued through the asset issuance volume control grandchild contract. The preset target quantity may refer to a quantity of the assets issued at most per transaction in the asset issuance amount control grandchild contract, which is preset.
In some embodiments, the target node device fails validation of the target transaction data if the asset issuance authority validation of the first blockchain fails.
In step S313, if the number of assets to be issued is less than or equal to the preset target number, it is determined that the target transaction data passes verification.
In some embodiments, if the number of assets to be issued is less than or equal to the preset target number, the target node device passes verification on the target transaction data.
It is understood that the asset issuance smart contract may include not only verification information that can verify the asset issuance information in the target transaction data, but also processing information that can perform business processing for a specific business in the target transaction data (e.g., processing information that deducts a tax for income funds related to the target transaction data). Therefore, after the verification of the asset issuance information for the target transaction data is completed, other contract contents in the asset issuance intelligent contract may also be executed continuously according to other attributes in the target transaction data, which is not limited by the present disclosure.
According to the technical scheme provided by the embodiment, the asset issuing authority of the first block chain address, the asset issuing quantity aiming at the target transaction and the like are verified by automatically triggering the asset issuing intelligent contract, so that the asset issuing behavior of the first block chain is reasonable and legal, and the safety and the public trust of the block chain are improved.
Fig. 9 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
In some embodiments, the target transaction data is transaction data of a target transaction, and the at least one intelligent contract in the blockchain network may include an asset transfer intelligent contract that may enable verification of asset transfer information in the target transaction.
In step S1, attribute information of target transaction data including a transaction type is acquired.
In step S22, if the transaction type information indicates that the target transaction is an asset transfer transaction type, the asset transfer intelligent contract is obtained from the blockchain network.
In step S32, the asset transfer intelligence contract is automatically triggered to validate asset transfer information in the target transaction data by the asset transfer intelligence contract.
In some embodiments, verification of asset transfer information in a target transaction may be accomplished by the steps shown in FIG. 10.
Fig. 10 is a flowchart of step S32 in fig. 9 in an exemplary embodiment.
In some embodiments, the asset transfer information may include information related to the transfer of assets for the target transaction, including, for example, a second blockchain address at which the target transaction was initiated, a quantity of assets to be transferred for the target transaction at the second blockchain address. Wherein the amount of assets to be transferred may refer to assets transferred as rewards to the node that billed for the target transaction data by the second blockchain address.
In some embodiments, the asset transfer smart contracts may be composed of a hierarchy of sub-contracts, e.g., an asset transfer smart contract may include an asset availability verification sub-contract, which may include an asset transfer amount verification grandchild contract. It will be appreciated that the next level of asset transfer amount validation grandchild contracts may also include other contract content, and the disclosure is not limited thereto.
Referring to fig. 10, the above step S32 may include the following process.
In step S321, it is verified whether the remaining amount of assets of the second blockchain address is greater than or equal to the number of assets to be transferred by the asset remaining amount verification sub-contract.
In some embodiments, the asset balance verification self-contract is automatically triggered to verify the balance of assets in the second blockchain address if the target transaction is an asset transfer type transaction.
In step S322, if the remaining amount of assets of the second block chain address is greater than or equal to the amount of assets to be transferred, verifying whether the amount of assets to be transferred is within a preset asset transfer range by using an asset transfer amount verification grandchild contract.
In some embodiments, if the remaining amount of assets of the second blockchain address is greater than or equal to the amount of assets to be transferred (i.e., it is determined that the second blockchain address does have enough assets to perform asset transfer), it is continuously verified whether the amount of assets to be transferred is within the preset transfer asset range by the asset transfer amount verification grandchild contract. The preset transfer asset range may refer to a maximum range of each asset transfer set in advance.
In some embodiments, if the remaining amount of assets of the second blockchain address is less than the amount of assets to be transferred (i.e., it is determined that the second blockchain address does not have sufficient assets to perform the asset transfer), the target node device fails verification for the target transaction.
In step S323, if the number of the assets to be transferred is within the preset asset transfer range, it is determined that the target transaction data passes verification.
In some embodiments, if the number of assets to be transferred is within a preset asset range, the target node device passes verification on the target transaction data.
It is to be understood that the asset transfer intelligent contract may include not only verification information that may enable verification of asset transfer data in the target transaction data, but also processing information that may enable business processing for a specific business in the target transaction data (e.g., processing information that may tax revenue funds involved in the target transaction data). Therefore, after the verification of the asset transfer information for the target transaction data is completed, other contract contents in the asset transfer intelligent contract can be continuously executed according to other attribute information of the target transaction data, which is not limited by the disclosure.
According to the technical scheme provided by the embodiment, the asset surplus of the second block chain address and the quantity of assets to be transferred aiming at the target transaction data are verified through automatically triggering the asset transfer intelligent contract, the legality of the target transaction data is actively verified and supervised, and the safety and the public trust of the block chain are improved.
Fig. 11 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment.
In some embodiments, the blockchain network may be a blockchain network for multiple service domains, i.e., the blockchain may store data of multiple service domains. For example, a blockchain network may store tax business domain data, insurance business domain data, and public security business domain data simultaneously.
For the above situation, the intelligent contracts in the blockchain network may be divided according to the business domain.
In some embodiments, at least one intelligent contract in the blockchain network may include a target business intelligent contract (e.g., an intelligent contract for tax domain data) that includes the target intelligent contract, the attribute information for the target transaction data further including business domain information for the target transaction data.
Referring to fig. 11, the intelligent contract triggering method applied to the block chain network described above may include the following.
In step S1, attribute information of target transaction data including a transaction type is acquired.
Optionally, the attribute information of the target transaction data includes transaction type information and service domain information. At least one intelligent contract comprises a target business intelligent contract comprising the target intelligent contract.
In step S23, if the service domain information of the target transaction data indicates that the target transaction data is target service data, and the target service data is supervised by a target supervising entity, a target service intelligent contract corresponding to the target supervising entity is obtained from the block chain network.
In some embodiments, a target business intelligence contract matching the target transaction data may be obtained from the blockchain network according to the business domain information. For example, if the service domain information of the target transaction data indicates that the target transaction data is target service data (e.g., tax data) which is supervised by a target supervising authority (e.g., tax authority), a target service intelligent contract corresponding to the target supervising authority is obtained from the block chain network. The target business intelligence contract may also include a target intelligence contract that may be divided into an asset issuance intelligence contract and an asset transfer intelligence contract by transaction type.
In step S24, a target intelligent contract matching the transaction type of the target transaction data is obtained from the target business intelligent contract.
In some embodiments, if the asset reward behavior corresponding to the target transaction is asset issued, acquiring an asset issuing intelligent contract from the target service intelligent contract; and if the asset reward behavior corresponding to the target transaction is asset transfer, acquiring an asset transfer intelligent contract from the target service intelligent contract.
In step S33, the target business intelligence contract is automatically triggered to automatically execute the target business intelligence contract to verify whether the target transaction data is in compliance.
In some embodiments, the target transaction data may be subjected to compliance verification according to the regulatory requirements of different regulatory agencies, for example, whether the target transaction data conforms to relevant laws and regulations, whether sensitive words exist in the target transaction data, and the like, which is not limited by the present disclosure.
In step S34, the target intelligent contract is automatically triggered to execute the target intelligent contract against the target transaction data.
In some embodiments, if the transaction type of the target transaction is an asset issuance transaction type, the target intelligent contract is an asset issuance intelligent contract, and the asset issuance intelligent contract is automatically triggered to verify the target transaction data.
In some embodiments, if the transaction type of the target transaction is an asset transfer transaction type, then the target smart contract is an asset transfer smart contract, and then the asset transfer smart contract is automatically triggered to validate the target transaction data.
According to the technical scheme provided by the embodiment, the target business intelligent contract capable of monitoring and processing the target transaction data is determined through the business field information of the target transaction data, the target business intelligent contract is automatically executed aiming at the target transaction data, the transaction content of the target transaction can be processed in a targeted mode, and the monitoring and processing strength and the processing efficiency of the block chain network on the target transaction data are improved.
In some embodiments, the intelligent contract triggering method applied to the blockchain network provided by the embodiments of the present disclosure may be applied to a consensus process of a blockchain. The specific structure and process can be taken from the following examples.
Fig. 12 is a diagram illustrating a consensus structure applied to a blockchain network, according to an example embodiment.
As shown in fig. 12, the node device 101 is a target node device for a target transaction, and at least one intelligent contract (e.g., intelligent contract 1, intelligent contract 2, intelligent contract 3 … intelligent contract N, N being a positive integer) is stored in the target node device 101.
When a transaction request of a target transaction in a blockchain network is detected, the target node device 101 acquires attribute information of target transaction data; the target node apparatus 101 also acquires a target intelligent contract (which may be, for example, an intelligent contract 1) matching attribute information (for example, a transaction type) of the target transaction data from the blockchain network; finally, the target node equipment automatically and actively triggers the target intelligent contract to verify the target transaction data; when the target transaction data passes the verification, the target transaction can be continuously executed.
According to the technical scheme provided by the embodiment, the target intelligent contract matched with the attribute information of the target transaction data is automatically matched in response to the transaction request of the target transaction, and the target intelligent contract is automatically triggered to process the target transaction data. According to the technical scheme provided by the embodiment, when the target transaction occurs, the target node equipment can automatically execute the intelligent contract matched with the attribute information of the target transaction data so as to actively process the target transaction data, and the safety and the public trust of the block chain are improved.
Fig. 13 illustrates an intelligent contract triggering method applied to a blockchain network, according to an example embodiment. It will be appreciated that the method may be performed by a consensus node device.
In some embodiments, the blockchain network may include a plurality of node devices, each node device storing therein a blockchain, each node device further including therein at least one intelligent contract, at which a consensus node device may be determined during consensus processing for a target transaction. The technical scheme provided by the embodiment of the disclosure can be applied to the data uplink process of the block chain.
In the related art, the procedure of block chain data uplink (i.e. stored in the block chain network) includes at least three stages: an acceptance phase, a consensus phase and a storage phase. In the accepting stage, it can be understood that the service data to be uplinked is received by a certain node in the blockchain network, and the node accepts the service data; the common identification stage can be understood as that after the block chain node accepts the service data, other block chain nodes in the block chain network need to participate in common identification processing on the service data, and the service data can enter the storage stage after passing the common identification; the storage stage can be understood as that the block nodes perform uplink processing on the service data passing through the common identification.
In the consensus phase, the consensus node device can perform verification processing on the service data through an intelligent contract arranged in the block chain.
Referring to fig. 13, the intelligent contract triggering method of the application and blockchain network described above may include the following.
In step S01, a target transaction on the blockchain is detected.
In step S02, the target transaction data of the target transaction is broadcasted to the consensus node device, so that the consensus node device obtains the attribute information of the target transaction data of the target transaction.
In some embodiments, the attribute information of the target transaction data may refer to information used to describe an abstract characteristic of the target transaction, for example, the attribute information of the target transaction data may include a transaction type, a business field, a transaction name, transaction content information, and the like related to the target transaction data, which is not limited by this disclosure.
In step S03, the consensus node device obtains a target intelligent contract matching the attribute information of the target transaction data from the blockchain network, and automatically triggers the target intelligent contract to automatically execute the target intelligent contract for the target transaction data.
In some embodiments, when the target transaction is detected to exist in the blockchain, a common node device for the target transaction is determined among a plurality of node devices in the blockchain network, and then the verification process shown in the above step S03 is performed in each of the plurality of common node devices.
Since the process shown in step S03 is similar to that in the above embodiment, the description of this embodiment is omitted.
In step S04, a verification result of each consensus node device in the blockchain network is obtained, where the verification result of the consensus node device includes that the verification is passed.
In step S05, if the verification result is that the number of the identified common node devices that pass the verification is greater than a target threshold, the common of the blockchain network to the target transaction data passes.
In some embodiments, the verification results of all the consensus nodes may be obtained. If the number of devices of the verified consensus node is greater than a preset threshold (e.g., 2/3 consensus node number), the consensus process of the blockchain network for the target transaction is considered to pass. The blockchain network may perform an uplink store operation for target data of the target transaction.
According to the technical scheme provided by the embodiment, when the target transaction is detected, the target intelligent contract matched with the attribute information of the target transaction is automatically triggered in the consensus node so as to actively carry out consensus verification on the target transaction, and the reliability and the safety of the blockchain network are improved.
Fig. 14 is a block diagram illustrating an intelligent contract triggering apparatus applied to a blockchain network in accordance with an exemplary embodiment.
In some embodiments, the blockchain network may include a plurality of node devices, each node device storing a blockchain therein, each node device further including at least one intelligent contract therein, and the apparatus is applied to a target node device in the blockchain network, where the plurality of node devices includes the target node device.
Referring to fig. 14, an intelligent contract triggering apparatus 1400 applied to a blockchain network provided by an embodiment of the present disclosure may include: an attribute information acquisition module 1401, a target intelligent contract acquisition module 1402, and an automatic execution module 1403.
The attribute information obtaining module 1401 may be configured to obtain attribute information of target transaction data; the target intelligent contract obtaining module 1402 may be configured to obtain a target intelligent contract matching the attribute information of the target transaction data from the blockchain network; the automatic execution module 1403 may be configured to trigger the target intelligent contract to execute the target intelligent contract for the target transaction data.
In some embodiments, the target transaction data is transaction data of a target transaction, the attribute information of the target transaction data includes transaction type information, and the at least one intelligent contract includes an asset issuing intelligent contract; the target intelligent contract obtaining module 1402 may include: an asset issuance intelligent contract acquisition unit, the automatic execution module 1403 may include: an asset issuance information verification unit.
Wherein the asset issuance intelligent contract acquisition unit may be configured to acquire the asset issuance intelligent contract from the blockchain network if the transaction type information indicates that the target transaction is an asset issuance transaction type; the asset issuance information verification unit may be configured to automatically trigger the asset issuance intelligent contract to verify the asset issuance information in the target transaction data by the asset issuance intelligent contract.
In some embodiments, the target transaction data corresponds to a target transaction, the asset issuance information includes a first blockchain address from which the target transaction was initiated, the first blockchain address being for a quantity of assets to be issued for the target transaction, the asset issuance intelligent contract includes an asset issuance authority verification sub-contract, the asset issuance authority verification sub-contract includes an asset issuance amount control sub-contract; wherein the asset issuance information verification unit may include: the system comprises an asset issuing authority verification subunit, an asset quantity to be issued verification subunit and a first determination subunit.
Wherein the asset issuance authority verification sub-unit may be configured to verify the asset issuance authority of the first blockchain address by the asset issuance authority verification sub-contract; the to-be-issued asset quantity verification subunit may be configured to verify, by the asset issuance quantity control grandchild contract, whether the quantity of the to-be-issued assets is less than or equal to a preset target quantity, if the asset issuance authority of the first blockchain address passes verification; the verification passing first determining subunit may be configured to determine that the target transaction data passes verification if the number of assets to be issued is less than or equal to the preset target number.
In some embodiments, the target transaction data is transaction data for a target transaction, the attribute information of the target transaction data includes transaction type information, and the at least one intelligent contract includes an asset transfer intelligent contract; the target intelligent contract obtaining module 1402 may include: an asset transfer intelligent contract acquisition unit, the automatic execution module 1403 may include: an asset transfer information verification unit.
Wherein the asset transfer intelligent contract obtaining unit may be configured to obtain the asset transfer intelligent contract from the blockchain network if the transaction type information indicates that the target transaction is an asset transfer transaction type; the asset transfer information verification unit may be configured to automatically trigger the asset transfer smart contract to verify asset transfer information in the target transaction data by the asset transfer smart contract.
In some embodiments, the asset transfer information includes a second blockchain address that initiates the target transaction, the second blockchain address being specific to a quantity of assets to be transferred in the target transaction, the asset transfer intelligence contract includes an asset availability verification subcontract, the asset availability verification subcontract includes an asset transfer amount verification grandchild contract; wherein the asset transfer information verifying unit may include: the asset residual quantity verification subunit, the to-be-transferred asset quantity verification subunit and the verification pass second determination subunit.
Wherein the asset remaining amount verifying sub-unit may be configured to verify whether the asset remaining amount of the second blockchain address is greater than or equal to the number of assets to be transferred by the asset remaining amount verifying sub-contract; the to-be-transferred asset quantity verification subunit may be configured to verify, by an asset transfer quantity verification grandchild contract, whether the quantity of assets to be transferred is within a preset asset transfer range, if the quantity of assets remaining at the second blockchain address is greater than or equal to the quantity of assets to be transferred; the verification passing second determining subunit may be configured to determine that the target transaction data passes verification if the number of the assets to be transferred is within the preset asset transfer range.
In some embodiments, the attribute information of the target transaction data includes transaction type information and business domain information of the target transaction data, the at least one intelligent contract includes a target business intelligent contract, and the target business intelligent contract includes the target intelligent contract; wherein the target intelligent contract obtaining module may include: a target service intelligent contract obtaining unit and a target intelligent contract obtaining unit.
The target business intelligent contract obtaining unit may be configured to obtain a target business intelligent contract corresponding to a target supervision entity from the blockchain network if business field information of the target transaction data indicates that the target transaction data includes target business data, and the target business data is supervised by the target supervision entity; the target intelligent contract obtaining unit may be configured to obtain a target intelligent contract matching the transaction type information of the target transaction data from the target business intelligent contract.
In some embodiments, the automatic execution module may include a compliance verification unit and a transaction verification unit.
Wherein the compliance verification unit may be configured to automatically trigger the target business intelligence contract to automatically execute the target business intelligence contract to verify whether the target transaction data is compliant; the transaction verification unit may be configured to automatically trigger the target intelligent contract to execute the target intelligent contract against the target transaction data.
Fig. 15 is a block diagram illustrating a consensus apparatus applied to a blockchain network according to an example embodiment.
In some embodiments, the blockchain network includes a plurality of node devices, the plurality of node devices includes a common node device, each node device stores a blockchain therein, and each node device further includes at least one intelligent contract therein.
Referring to fig. 15, an apparatus 1500 for consensus applied to a blockchain network provided in an embodiment of the present disclosure may include: a detection module 1501, a broadcast module 1502, a consensus verification module 1503, a consensus verification result acquisition module 1504, and a consensus result determination module 1505.
Wherein the detection module 1501 may be configured to detect target transaction data on the blockchain; the broadcasting module 1502 may be configured to broadcast the target transaction data to the consensus node device, so that the consensus node device obtains attribute information of the target transaction data; the consensus verification module 1503 may be configured to obtain, by the consensus node device, a target intelligent contract matching with the attribute information of the target transaction data from the blockchain network, and automatically trigger the target intelligent contract to automatically perform consensus verification on the target transaction data by the target intelligent contract; the consensus verification result obtaining module 1504 may be configured to obtain consensus verification results of respective consensus node devices in the blockchain network, where the consensus verification results of the consensus node devices include a pass-verification; the consensus determination module 1505 may be configured to pass consensus for the blockchain network for the target transaction data if the consensus verification result is that the number of verified consensus node devices is greater than a target threshold.
Since each functional module of the consensus device 1500 applied to the blockchain network in the example embodiment of the present disclosure corresponds to the step of the example embodiment of the consensus method applied to the blockchain network, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computing device (which may be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, such as one or more of the steps shown in fig. 5.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the disclosure is not limited to the details of construction, the arrangements of the drawings, or the manner of implementation that have been set forth herein, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (12)

1. An intelligent contract triggering method applied to a blockchain network, wherein the blockchain network comprises a plurality of node devices, each node device stores a blockchain, and each node device further comprises at least one intelligent contract, the method is applied to a target node device in the blockchain network, and the plurality of node devices comprise the target node device; wherein the method comprises the following steps:
acquiring attribute information of target transaction data of a target transaction, wherein the attribute information of the target transaction data comprises transaction type information, and the at least one intelligent contract comprises an asset issuing intelligent contract;
if the transaction type information indicates that the target transaction is an asset issuing transaction type, acquiring the asset issuing intelligent contract from the block chain network;
automatically triggering the asset issuance smart contract to validate asset issuance information in the target transaction data by the asset issuance smart contract;
wherein the automatically triggering the asset issuing intelligent contract is used for preventing the target node equipment from refusing to call the calling address of the asset issuing intelligent contract so as to refuse to call the asset issuing intelligent contract.
2. The method of claim 1, wherein the asset issuance information comprises a first blockchain address for initiating the target transaction, the first blockchain address being specific to a quantity of assets to be issued for the target transaction, wherein the asset issuance intelligent contract comprises an asset issuance authority verification sub-contract, the asset issuance authority verification sub-contract comprising an asset issuance quantity control sub-contract; wherein automatically triggering the asset issuance intelligent contract to validate asset issuance information in the target transaction data by the asset issuance intelligent contract comprises:
verifying the asset issuance authority of the first blockchain address by the asset issuance authority verification sub-contract;
if the asset issuing authority of the first block chain address passes verification, verifying whether the quantity of the assets to be issued is less than or equal to a preset target quantity or not through the asset issuing quantity control grandchild contract;
and if the quantity of the assets to be issued is less than or equal to the preset target quantity, determining that the target transaction data passes verification.
3. An intelligent contract triggering method applied to a blockchain network, wherein the blockchain network comprises a plurality of node devices, each node device stores a blockchain, and each node device further comprises at least one intelligent contract, the method is applied to a target node device in the blockchain network, and the plurality of node devices comprise the target node device; wherein the method comprises the following steps:
acquiring attribute information of target transaction data of a target transaction, wherein the attribute information of the target transaction data comprises transaction type information, and the at least one intelligent contract comprises an asset transfer intelligent contract;
if the transaction type information indicates that the target transaction is an asset transfer transaction type, acquiring the asset transfer intelligent contract from the block chain network;
automatically triggering the asset transfer smart contract to validate asset transfer information in the target transaction data by the asset transfer smart contract;
wherein the automatically triggering the asset transfer intelligence contract is configured to prevent the target node device from denying invocation of the invocation address of the asset transfer intelligence contract and thereby denying invocation of the asset transfer intelligence contract.
4. The method of claim 3, wherein the asset transfer information comprises a second blockchain address for initiating the target transaction, the second blockchain address being specific to a quantity of assets to be transferred in the target transaction, the asset transfer intelligence contract comprising an asset availability verification subcontract, the asset availability verification subcontract comprising an asset transfer amount verification grandchild contract; wherein automatically triggering the asset transfer smart contract to validate asset transfer information in the target transaction data by the asset transfer smart contract comprises:
verifying whether the asset residual quantity of the second block chain address is greater than or equal to the quantity of the assets to be transferred through the asset residual quantity verification sub-contract;
if the asset residual quantity of the second block chain address is larger than or equal to the quantity of the assets to be transferred, verifying whether the quantity of the assets to be transferred is within a preset asset transfer range through an asset transfer quantity verification grandchild contract;
and if the number of the assets to be transferred is within the preset asset transfer range, determining that the target transaction data passes verification.
5. An intelligent contract triggering method applied to a blockchain network, wherein the blockchain network comprises a plurality of node devices, each node device stores a blockchain, and each node device further comprises at least one intelligent contract, the method is applied to a target node device in the blockchain network, and the plurality of node devices comprise the target node device; wherein the method comprises the following steps:
acquiring attribute information of target transaction data, wherein the attribute information of the target transaction data comprises transaction type information and service field information, the at least one intelligent contract comprises a target service intelligent contract, and the target service intelligent contract comprises a target intelligent contract;
if the service field information of the target transaction data indicates that the target transaction data comprises target service data, and the target service data is supervised by a target supervision mechanism, acquiring a target service intelligent contract corresponding to the target supervision mechanism from the block chain network; acquiring a target intelligent contract matched with the transaction type information of the target transaction data from the target service intelligent contract;
automatically triggering the target business intelligent contract to automatically execute the target business intelligent contract to verify whether the target transaction data is in compliance; automatically triggering the target intelligent contract to execute the target intelligent contract against the target transaction data;
the target service intelligent contract is automatically triggered, wherein the target service intelligent contract is used for preventing the target node equipment from refusing to call a call address of the target service intelligent contract so as to refuse to call the target service intelligent contract;
wherein the automatically triggering the target intelligent contract is used for avoiding that the target node equipment refuses to call the call address of the target intelligent contract so as to refuse to call the target intelligent contract.
6. An intelligent contract triggering device applied to a blockchain network, wherein the blockchain network comprises a plurality of node devices, each node device stores a blockchain, each node device further comprises at least one intelligent contract, the device is applied to a target node device in the blockchain network, and the plurality of node devices comprise the target node device; wherein the apparatus comprises:
the attribute information acquisition module is configured to acquire attribute information of target transaction data of a target transaction, wherein the attribute information of the target transaction data comprises transaction type information, and the at least one intelligent contract comprises an asset issuing intelligent contract;
a target intelligent contract obtaining module configured to obtain the asset issuing intelligent contract from the block chain network if the transaction type information indicates that the target transaction is an asset issuing transaction type;
an automatic execution module configured to automatically trigger the asset issuance intelligent contract to verify asset issuance information in the target transaction data by the asset issuance intelligent contract;
wherein the automatically triggering the asset issuing intelligent contract is used for preventing the target node equipment from refusing to call the calling address of the asset issuing intelligent contract so as to refuse to call the asset issuing intelligent contract.
7. The apparatus of claim 6, wherein the asset issuance information comprises a first blockchain address for initiating the target transaction, the first blockchain address being specific to a quantity of assets to be issued for the target transaction, wherein the asset issuance intelligent contract comprises an asset issuance authority verification sub-contract, the asset issuance authority verification sub-contract comprising an asset issuance quantity control sub-contract; wherein the automatic execution module comprises:
an asset issuance authority verification sub-unit configured to verify the asset issuance authority of the first blockchain address by the asset issuance authority verification sub-contract;
the verification subunit of the quantity of the assets to be issued is configured to verify whether the quantity of the assets to be issued is less than or equal to a preset target quantity or not through the asset issuance quantity control grandchild contract if the asset issuance authority of the first block chain address passes verification;
and the verification passing first determining subunit is configured to determine that the target transaction data passes verification if the quantity of the assets to be issued is less than or equal to the preset target quantity.
8. An intelligent contract triggering device applied to a blockchain network, wherein the blockchain network comprises a plurality of node devices, each node device stores a blockchain, each node device further comprises at least one intelligent contract, the device is applied to a target node device in the blockchain network, and the plurality of node devices comprise the target node device; wherein the apparatus comprises:
the attribute information acquisition module is configured to acquire attribute information of target transaction data of a target transaction, wherein the attribute information of the target transaction data comprises transaction type information, and the at least one intelligent contract comprises an asset transfer intelligent contract;
a target intelligent contract obtaining module configured to obtain the asset transfer intelligent contract from the block chain network if the transaction type information indicates that the target transaction is an asset transfer transaction type;
an automatic execution module configured to automatically trigger the asset transfer intelligent contract to verify asset transfer information in the target transaction data by the asset transfer intelligent contract;
wherein the automatically triggering the asset transfer intelligence contract is configured to prevent the target node device from denying invocation of the invocation address of the asset transfer intelligence contract and thereby denying invocation of the asset transfer intelligence contract.
9. The apparatus of claim 8, wherein the asset transfer information comprises a second blockchain address for initiating the target transaction, the second blockchain address being specific to a quantity of assets to be transferred in the target transaction, wherein the asset transfer intelligence contract comprises an asset availability verification sub-contract, the asset availability verification sub-contract comprising an asset transfer amount verification grandchild contract; wherein the automatic execution module comprises:
a production surplus verification subunit configured to verify, by the asset surplus verification sub-contract, whether the amount of assets remaining at the second blockchain address is greater than or equal to the number of assets to be transferred;
the verification subunit of the quantity of the assets to be transferred is configured to verify whether the quantity of the assets to be transferred is within a preset asset transfer range through an asset transfer quantity verification grandchild contract if the quantity of the assets to be transferred of the second block chain address is greater than or equal to the quantity of the assets to be transferred;
and the verification passing second determining subunit is configured to determine that the target transaction data passes verification if the number of the assets to be transferred is within the preset asset transfer range.
10. An intelligent contract triggering device applied to a blockchain network, wherein the blockchain network comprises a plurality of node devices, each node device stores a blockchain, each node device further comprises at least one intelligent contract, the device is applied to a target node device in the blockchain network, and the plurality of node devices comprise the target node device; wherein the apparatus comprises:
the attribute information acquisition module is configured to acquire attribute information of target transaction data, the attribute information of the target transaction data comprises transaction type information and service field information, the at least one intelligent contract comprises a target service intelligent contract, and the target service intelligent contract comprises a target intelligent contract;
a target intelligent contract obtaining module configured to obtain a target intelligent contract of a service corresponding to a target supervision mechanism from the block chain network if service field information of the target transaction data indicates that the target transaction data includes target service data, and the target service data is supervised by the target supervision mechanism; acquiring a target intelligent contract matched with the transaction type information of the target transaction data from the target service intelligent contract;
the automatic execution module is configured to automatically trigger the target business intelligent contract so as to automatically execute the target business intelligent contract to verify whether the target transaction data is in compliance; automatically triggering the target intelligent contract to execute the target intelligent contract against the target transaction data;
the target service intelligent contract is automatically triggered, wherein the target service intelligent contract is used for preventing the target node equipment from refusing to call a call address of the target service intelligent contract so as to refuse to call the target service intelligent contract;
wherein the automatically triggering the target intelligent contract is used for avoiding that the target node equipment refuses to call the call address of the target intelligent contract so as to refuse to call the target intelligent contract.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202011496316.6A 2020-12-17 2020-12-17 Intelligent contract triggering method and device applied to block chain network and related equipment Active CN112613877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011496316.6A CN112613877B (en) 2020-12-17 2020-12-17 Intelligent contract triggering method and device applied to block chain network and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011496316.6A CN112613877B (en) 2020-12-17 2020-12-17 Intelligent contract triggering method and device applied to block chain network and related equipment

Publications (2)

Publication Number Publication Date
CN112613877A CN112613877A (en) 2021-04-06
CN112613877B true CN112613877B (en) 2021-12-07

Family

ID=75240818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011496316.6A Active CN112613877B (en) 2020-12-17 2020-12-17 Intelligent contract triggering method and device applied to block chain network and related equipment

Country Status (1)

Country Link
CN (1) CN112613877B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342776B (en) * 2021-05-18 2022-11-15 网易(杭州)网络有限公司 Transaction information migration method, device, equipment and medium based on intelligent contract
CN113269646A (en) * 2021-06-07 2021-08-17 中国电子科技网络信息安全有限公司 Intelligent contract design method for realizing bill asset circulation based on block chain
CN113806801B (en) * 2021-09-15 2023-08-29 网易(杭州)网络有限公司 Transaction information uplink method, device, computer equipment and storage medium
CN114331397B (en) * 2021-12-28 2024-02-13 北京百度网讯科技有限公司 Information processing method, apparatus, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893042A (en) * 2016-03-31 2016-08-24 北京航空航天大学 Intelligent contract implementation method based on block chain
CN108830606A (en) * 2018-05-30 2018-11-16 阿里巴巴集团控股有限公司 The deployment of intelligent contract, executes method and apparatus at calling
CN109146618A (en) * 2018-07-30 2019-01-04 杭州复杂美科技有限公司 A kind of collaborative share method and system, computer equipment and storage medium
CN110223065A (en) * 2019-06-11 2019-09-10 北京艾摩瑞策科技有限公司 Business datum method of commerce and its equipment on a kind of chain
CN110659887A (en) * 2019-08-05 2020-01-07 孟江华 Automatic transaction processing system and method based on block chain
CN111127219A (en) * 2019-11-18 2020-05-08 国网浙江省电力有限公司宁波供电公司 Power insurance claim settlement method and device based on block chain intelligent contracts
CN111523887A (en) * 2020-04-15 2020-08-11 杭州溪塔科技有限公司 Authority control method and device of intelligent contract read-only method and electronic equipment
US10740849B1 (en) * 2017-03-03 2020-08-11 State Farm Mutual Automobile Insurance Company Smart contracts for vehicle events

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025559B (en) * 2017-01-26 2020-09-18 创新先进技术有限公司 Service processing method and device
CN108665953B (en) * 2018-05-08 2020-12-25 北京金山云网络技术有限公司 Prescription execution method, device, equipment and storage medium
CN109146679B (en) * 2018-06-29 2023-11-10 创新先进技术有限公司 Intelligent contract calling method and device based on block chain and electronic equipment
WO2020033832A1 (en) * 2018-08-10 2020-02-13 tZERO Group, Inc. Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
CN110472974A (en) * 2019-07-16 2019-11-19 阿里巴巴集团控股有限公司 Assets transfer method, apparatus and system based on block chain intelligence contract
CN110955448A (en) * 2019-10-11 2020-04-03 平安壹钱包电子商务有限公司 Intelligent contract separation method, contract processing method, apparatus, device and medium
CN110955724A (en) * 2019-11-21 2020-04-03 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, node equipment and storage medium
CN111274597B (en) * 2020-01-23 2023-08-22 腾讯科技(深圳)有限公司 Data processing method and device
CN111309305B (en) * 2020-02-12 2023-06-02 扬州大学 Intelligent contract-oriented code automatic recommendation method, system, computer equipment and storage medium
CN111402055B (en) * 2020-03-19 2022-08-30 合肥工业大学 Decentralized data transaction method based on block chain
CN111309931A (en) * 2020-05-09 2020-06-19 支付宝(杭州)信息技术有限公司 Transaction method and device based on block chain, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893042A (en) * 2016-03-31 2016-08-24 北京航空航天大学 Intelligent contract implementation method based on block chain
US10740849B1 (en) * 2017-03-03 2020-08-11 State Farm Mutual Automobile Insurance Company Smart contracts for vehicle events
CN108830606A (en) * 2018-05-30 2018-11-16 阿里巴巴集团控股有限公司 The deployment of intelligent contract, executes method and apparatus at calling
CN109146618A (en) * 2018-07-30 2019-01-04 杭州复杂美科技有限公司 A kind of collaborative share method and system, computer equipment and storage medium
CN110223065A (en) * 2019-06-11 2019-09-10 北京艾摩瑞策科技有限公司 Business datum method of commerce and its equipment on a kind of chain
CN110659887A (en) * 2019-08-05 2020-01-07 孟江华 Automatic transaction processing system and method based on block chain
CN111127219A (en) * 2019-11-18 2020-05-08 国网浙江省电力有限公司宁波供电公司 Power insurance claim settlement method and device based on block chain intelligent contracts
CN111523887A (en) * 2020-04-15 2020-08-11 杭州溪塔科技有限公司 Authority control method and device of intelligent contract read-only method and electronic equipment

Also Published As

Publication number Publication date
CN112613877A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
US20230360036A1 (en) Blockchain-implemented method and system for access control on remote internet-enabled resources
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN109146490B (en) Block generation method, device and system
WO2019191688A1 (en) Digital asset exchange
US10643208B2 (en) Digital payment system
US20190347655A1 (en) Computer implemented method and system
CN111309745B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN111095863A (en) Block chain based system and method for communicating, storing and processing data over a block chain network
CN114567643B (en) Cross-blockchain data transfer method, device and related equipment
CN112418859A (en) Block chain consensus method and device, electronic equipment and readable storage medium
CN110599264A (en) Card and ticket data processing method and device and electronic equipment
CN110941840B (en) Data processing method, system and terminal
CN111222885B (en) Data processing request endorsement method and device, computer equipment and storage medium
KR20220071241A (en) Computer-implemented systems and methods
CN111882436B (en) Data processing method, device and equipment based on block chain
CN114677138A (en) Data processing method, data processing equipment and computer readable storage medium
CN111008251A (en) Data processing method and equipment
CN112101919B (en) Data processing method and device, electronic equipment and storage medium
CN112837043B (en) Block chain-based data processing method and device and electronic equipment
US20230419285A1 (en) NFT Enforcement Control System
CN115470289A (en) Risk data processing method, device and system
CN117406930A (en) Block chain-based service processing method, device, equipment, medium and product
CN112101919A (en) Data processing method and device, electronic equipment and storage medium
CN117291595A (en) Block chain-based data processing method, device, equipment and readable storage medium
CN117455487A (en) Block chain-based data processing method, device, equipment and readable storage 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40042477

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant