CN116029825B - Block chain transaction method, device and system, electronic equipment and storage medium - Google Patents

Block chain transaction method, device and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN116029825B
CN116029825B CN202211712799.8A CN202211712799A CN116029825B CN 116029825 B CN116029825 B CN 116029825B CN 202211712799 A CN202211712799 A CN 202211712799A CN 116029825 B CN116029825 B CN 116029825B
Authority
CN
China
Prior art keywords
transaction
block
chain
under
intelligent contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211712799.8A
Other languages
Chinese (zh)
Other versions
CN116029825A (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.)
Fat Di Technology Shenzhen Co ltd
Original Assignee
Fat Di 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 Fat Di Technology Shenzhen Co ltd filed Critical Fat Di Technology Shenzhen Co ltd
Priority to CN202211712799.8A priority Critical patent/CN116029825B/en
Publication of CN116029825A publication Critical patent/CN116029825A/en
Application granted granted Critical
Publication of CN116029825B publication Critical patent/CN116029825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a blockchain transaction method, a device, a system, electronic equipment and a storage medium, which are applied to a blockchain node of a blockchain network, wherein an intelligent contract is deployed in the blockchain network in advance, the intelligent contract is used for storing data generated by each transaction participant in the blockchain network, the blockchain node executes the intelligent contract and runs an under-chain transaction engine, and the transaction method comprises the following steps: receiving a transaction request initiated by calling an intelligent contract by any account of a user side, wherein the intelligent contract comprises user data of a user to which the account belongs; the block formed based on the transaction request is discharged after the first preset condition is met; transmitting a transaction request through a memory of the blockchain node and receiving a calculation result of processing the transaction request by an under-chain transaction engine; and the calculation result is written into the intelligent contract and the user data is updated, so that the calculation resource load of the blockchain network is reduced, and meanwhile, the efficiency of processing the transaction request is improved.

Description

Block chain transaction method, device and system, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of blockchains, and particularly relates to a blockchain transaction method, a blockchain transaction device, a blockchain transaction system, electronic equipment and a blockchain storage medium.
Background
The blockchain is a decentralized distributed shared database, and has the characteristics of decentralization, transparent information disclosure, non-tamperable information, high reliability and the like. Each node of the blockchain has a copy of the complete ledger, and any node can view and collate transaction data in real time.
At present, an decentralized transaction platform of a blockchain network receives a transaction instruction initiated by an intelligent contract called by a user, and a blockchain link point completes the transaction and returns a transaction result to the user, so that the computing resource load of the decentralized transaction platform of the blockchain network is large and the transaction processing efficiency is low.
The transaction method of the prior art blockchain has the problems of large load of computing resources and low efficiency of transaction processing.
Disclosure of Invention
The embodiment of the application provides a block chain transaction method, a block chain transaction device, a block chain transaction system, electronic equipment and a storage medium, which can simultaneously solve the problems of high computing resource load and low transaction processing efficiency.
In a first aspect, an embodiment of the present application provides a blockchain transaction method applied to a blockchain node of a blockchain network, where an intelligent contract is pre-deployed in the blockchain network, where the intelligent contract is used to document data generated by each transaction participant in the blockchain network, and the blockchain node executes the intelligent contract and runs an under-chain transaction engine, where the transaction method includes:
Receiving any account of a user terminal to call the intelligent contract to initiate a transaction request, wherein the intelligent contract comprises user data of a user to which the account belongs;
outputting a block after the block formed based on the transaction request meets a first preset condition;
transmitting the transaction request through the memory of the blockchain node and receiving a calculation result of the transaction request processed by the under-chain transaction engine;
writing the calculation result into the intelligent contract and updating the user data.
In one embodiment, the outputting the block after the block formed based on the transaction request meets a first preset condition includes:
writing the transaction request into a corresponding block of the blockchain node in the form of an order event;
and outputting the block after the block meets the first preset condition in the block chain network.
In one embodiment, the first preset condition is that the block performs a first consensus signature validation on the blockchain network.
In one embodiment, the sending the transaction request via the memory of the blockchain node and receiving the calculation result of the transaction request corresponding to the block processed by the under-chain transaction engine includes:
Transmitting order events of the transaction request corresponding to the block to the under-chain transaction engine through the memory of the block chain node;
and receiving a calculation result of matching the order event by the under-chain transaction engine through the memory of the blockchain node, wherein the calculation result meets a second preset condition.
In one embodiment, the second preset condition is that a ratio of a mortgage weight of the under-chain transaction engine for performing second consensus signature validation on the calculation result to a total mortgage weight is greater than or equal to two-thirds.
In one embodiment, the smart contract further includes a function, the function including a callback function and a send block function;
the sending the order event of the transaction request corresponding to the block to the under-chain transaction engine through the memory of the blockchain node includes:
triggering the callback function after the block is blocked;
the sending block function calls the callback function and sends an order event of the transaction request corresponding to the block to a port of the under-chain transaction engine of the memory of the block chain node;
the under-chain transaction engine receives the order event based on the port.
In a second aspect, an embodiment of the present application provides a transaction apparatus for a blockchain, where a blockchain network has a smart contract deployed in advance, the smart contract is used to document data generated by each transaction participant in the blockchain network, and the blockchain node executes the smart contract and runs an under-chain transaction engine, and the transaction apparatus includes:
the first receiving module is used for receiving any account of a user terminal to call the intelligent contract to initiate a transaction request, and the intelligent contract comprises user data of a user to which the account belongs;
the block discharging module is used for discharging blocks after the blocks formed based on the transaction request meet a first preset condition;
the second receiving module is used for sending the transaction request through the memory of the blockchain node and receiving the calculation result of the processing of the transaction request by the under-chain transaction engine;
and the writing updating module is used for writing the calculation result into the intelligent contract and updating the user data.
In a third aspect, embodiments of the present application provide a blockchain transaction system, where the transaction system includes a user side and a blockchain node of a blockchain network;
wherein the blockchain node is configured to perform the method of any of the first aspects above;
The user terminal is configured to: and the intelligent contract is used for calling any account of the user side to initiate a transaction request, comprises user data of a user to which the account belongs, and receives updated user data.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to any one of the first aspects when the processor executes the computer program.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as in any one of the first aspects above.
In a sixth aspect, embodiments of the present application provide a computer program product for, when run on a terminal device, causing the terminal device to perform the method of any one of the first aspects.
It will be appreciated that the advantages of the second to sixth aspects may be referred to in the description of the first aspect, and are not described here.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
the method and the system are applied to the blockchain node of the blockchain network, an intelligent contract is deployed in the blockchain network in advance, the intelligent contract is used for storing data generated by each transaction participant in the blockchain network, the blockchain node executes the intelligent contract and operates an under-chain transaction engine, the intelligent contract is called by any account of a receiving user side to initiate a transaction request, and the intelligent contract comprises user data of a user to which the account belongs; the block formed based on the transaction request is discharged after the first preset condition is met; transmitting a transaction request through a memory of the blockchain node and receiving a calculation result of processing the transaction request by an under-chain transaction engine; and writing the calculation result into the intelligent contract and updating the user data, and transmitting the processing transaction request with the largest calculation resource load on the blockchain network to the under-chain transaction engine for processing through the memory, so that the calculation resource load of the blockchain network is reduced, and meanwhile, the efficiency of processing the transaction request is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a block chain transaction method according to an embodiment of the present application;
FIG. 2 is a block diagram of a block formed based on a transaction request according to an embodiment of the present application after a first preset condition is met;
FIG. 3 is a flowchart illustrating a calculation result of a transaction request corresponding to a transaction engine processing block under a memory receiving chain of a blockchain node according to an embodiment of the present application;
FIG. 4 is a flow chart of sending an order event of a transaction request corresponding to a block to an off-chain transaction engine via a memory of a blockchain node according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
On the centralized transaction platform, the user deposits the digital asset to the centralized transaction platform for escrow. The user sends a transaction request to the centralized transaction platform, the transaction engine of the centralized transaction platform performs matching, and after the matching is successful, the transaction is completed, and updated information is returned to the user. The centralized transaction platform is convenient for industry departments to supervise, but the centralized system of the centralized transaction platform is easy to be subjected to the summation, and the security has challenges.
The blockchain is a decentralized distributed shared database, and has the characteristics of decentralization, transparent information disclosure, non-tamperable information, high reliability and the like. Each node of the blockchain has a copy of the complete ledger, and any node can view and collate transaction data in real time. Based on the blockchain technology, an off-centering transaction platform can be formed, the off-centering transaction platform can realize the transaction platform function through node consensus, block data and intelligent contracts, and the system safety problem of the centering platform is avoided. Wherein the intelligence is in the form of contracts or agreements on the computer system that can be automatically executed if certain conditions are met.
The on-chain transaction refers to a transaction which is performed all the way through the blockchain network, and once the transaction is verified, the transaction is recorded on a public distributed ledger of the blockchain network, and because the on-chain transaction needs to match each transaction in a queue and wait for the common verification of each transaction, the blockchain network synchronously requires all nodes on the blockchain network to complete the data processing of all transaction requests of the current block, and therefore, when the transaction amount is large, the network is blocked, and longer data processing time is required. At present, a user stores assets to a specified intelligent contract on an decentralized trading platform, and the decentralized trading platform provides a trading fund pool according to the assets. The decentralized transaction platform of the blockchain network receives a transaction instruction initiated by an intelligent contract called by a user, and the blockchain node completes the transaction on the chain of the blockchain network and returns a transaction result to the user, so that the decentralized transaction platform of the blockchain network has large computing resource load, low transaction processing efficiency and single transaction mode
The method and the system are applied to the blockchain node of the blockchain network, an intelligent contract is deployed in the blockchain network in advance, the intelligent contract is used for storing data generated by each transaction participant in the blockchain network, the blockchain node executes the intelligent contract and operates an under-chain transaction engine, the intelligent contract is called by any account of a receiving user side to initiate a transaction request, and the intelligent contract comprises user data of a user to which the account belongs; the block formed based on the transaction request is discharged after the first preset condition is met; transmitting a transaction request through a memory of the blockchain node and receiving a calculation result of processing the transaction request by an under-chain transaction engine; and writing the calculation result into the intelligent contract and updating the user data, and transmitting the transaction processing request with the largest calculation resource load on the blockchain network to the under-chain transaction engine for processing through the memory, so that the efficiency of processing the transaction request is improved while the calculation resource load of the blockchain network is reduced.
The technical scheme of the present application is described below by specific examples.
In a first aspect, the present embodiment provides a blockchain transaction method applied to a blockchain node of a blockchain network, in which an intelligent contract is pre-deployed, the intelligent contract is used to store data generated by each transaction participant in the blockchain network, and the blockchain node executes the intelligent contract and runs an under-chain transaction engine. In one embodiment, the blockchain node may be an under-chain server, or may be a cloud server, and when the blockchain node is an under-chain server, the under-chain transaction engine operates in the under-chain server; when the blockchain node is a cloud server, both the under-chain transaction engine and the blockchain node operate in the cloud server. The under-chain transaction engine is software for matching transactions, and is used for matching the transaction requirements of the owners of the digital assets to be transacted with the transaction requirements of the owners of the target transaction assets and automatically executing the transactions, i.e. for matching the transactions.
In one embodiment, the blockchain network is an open-source cosmic (Cosmos) ecological chain, which is subsequently unified with Cosmos), and related transactions are processed in go language and based on the Cosmos SDK, and applications conforming to the interface are written. The Cosmos ecological chain is a modular blockchain technology and supports a cross-chain protocol, and can be used for building a blockchain network consisting of a plurality of nodes called partitions, and the decentralization transaction platform built based on the Cosmos ecological blockchain has higher performance than a traditional common chain blockchain (such as an Ethernet).
As shown in fig. 1, the transaction method of the blockchain provided in this embodiment includes:
s100, any account of the user terminal is received to call the intelligent contract to initiate a transaction request.
In one embodiment, any account at the user end invokes an intelligent contract deployed on the blockchain network and initiates a transaction request to the blockchain network, which any blockchain node detects and receives.
In one embodiment, the intelligence is about an executable program that is disclosed on the blockchain network that can be invoked by a user, and the intelligence is about to be trusted by the user against centralized tampering on the decentralized blockchain network. The intelligent contracts comprise user data of users to which the accounts belong, the user data comprise account information, order state hash values and bin state hash values, and the order state hash values are hash values of order events of transaction requests initiated by any user in the intelligent contracts and are used for subsequently verifying the order states of the transaction requests initiated by the user. The bin state hash value is a hash value of the bin state of any user in the intelligent contract, and is used for subsequently verifying the state of the user before bin change. The account information includes account name, bin category, and number of mortgages. Since the hash map is used to store the key value pair and key aggregation information, in this embodiment, a double hash map, i.e. a key-value hash map method is used, where the first key is an order state hash value of the user, the second key is a bin state hash value of the user, and the third value represents a bin state, the order state hash value is used as the first key in the key value pair to index and store the bin state. Since there are multiple fitting results and various possibilities for the bin state, the bin state hash value is also used as a second key to index the bin state of the user.
In one embodiment, any user needs to register a corresponding transaction account in the blockchain network in advance (e.g., the account described above is the first account, and the user is the first user) before initiating a transaction request, and at the same time, a certain amount of digital assets (e.g., a coins) are stored in the first account, similar to a traditional recharge, i.e., a certain amount of a coins, e.g., 10 a's, are charged into the first account, i.e., information about 10 a's to be charged into the first account is also stored into the smart contract, and these 10 a's are also the asset mortgage amount for subsequent transactions of digital assets.
In one embodiment, after the first user registers for the corresponding first account, if the first user wants to exchange a preset number of a-notes (e.g., 10 a-notes) for B-notes at this time, the first user initiates a transaction request on the blockchain network by invoking an intelligent contract through its first account registered in the blockchain network. Wherein the blockchain node detects a transaction request initiated by any account in the blockchain network based on the intelligent contract in real time, and when the transaction request is detected, the blockchain node receives the transaction request. The above-mentioned coin A and coin B are any kind of tokens (Token) capable of transacting in a blockchain network, such as bitcoin, ethereal coin, EOS coin, etc.
In one embodiment, the smart contract further includes a function including a user initiate order function (BuyOrder) and a cancel order function (CancelOrder), both of which are parameters of the asset type and the asset quantity, depending on the assets the user has stored in the smart contract, the user may initiate an order or cancel an order after the conditions are met. When a user initiates an order or cancels the order, the user only sends the order to the block corresponding to the block chain node through function call writing event function, and the operation processing such as order matching is not performed on the block chain network.
S200, outputting the block formed based on the transaction request after the block meets a first preset condition.
Because the existing off-link transaction processing calculation off-center transaction platform has the risk of robbing a malicious user to attack, and the order event of a transaction request sent by an intelligent contract is an order event of the transaction request directly sent to an off-link server by the intelligent contract, the risk of maliciously tampering the order event in the information transmission process or the transaction request processing process of the off-link server, and the inconsistent risk that the transaction is not blocked and the transaction is processed by the off-link server exist, the validity of the transaction data source cannot be guaranteed, and the validity of the transaction result cannot be guaranteed. Meanwhile, the existing under-chain server pulls transaction data on the chain, and needs to set a full duplex communication protocol (namely WebSocket) based on TCP to monitor the block information and event information on the chain through network service at regular time.
In one embodiment, the block formed based on the transaction request is discharged after meeting the first preset condition, so that the transaction request discharged meets the safety condition, the risk of tampering with the order event caused by the process of directly sending the order event by the intelligent contract is avoided, and the safety of the transaction request discharged is improved.
In one embodiment, as shown in fig. 2, the block formed based on the transaction request is output after the block meets the first preset condition, including:
s210, writing the transaction request into the corresponding block of the block chain node in the form of order event.
In one embodiment, the transaction request is written to the corresponding block of the blockchain node in the form of an order event, i.e., the intelligent contract only sends the order event of the transaction request to the corresponding block of the blockchain node after the transaction request is invoked and initiated by any user, neither order matching nor modification of the relevant asset of the user data is performed at the completion of the transaction. Wherein a chunk includes the chunk's own head hash number (i.e., the head hash value), at least one order event, a timestamp, and the parent hash number (i.e., the parent hash value) of the previous chunk.
In one embodiment, the order event comprises an initiate order event and a cancel order event, wherein after confirming that the number of user assets meets the initiate order requirement, the initiate order event (BuyOrderEvent) is written in a block corresponding to the block link point by the initiate order function, and the initiate order event comprises a user public key address, a user asset type, a user asset number, a target asset type and a target asset number. If the user calls a cancel order function (CancelOrder), the cancel order function checks whether the user data meets the cancel order requirement according to the user signature and the asset mortgage condition, and if so, sends a cancel order event, wherein the cancel order event comprises a user public key address, a user asset type, a user asset number, a target asset type and a target asset number.
In one embodiment, if the cancel order event is in the same block as the initiate order event and out of block, the off-link transaction engine will ignore the user's order at the time of the match; if the order canceling event and the order initiating event are not in the same block, determining to cancel the order or reserve the order which is not settled according to the matching condition of the order.
S220, the block is output after the block meets a first preset condition in the block chain network.
Because the existing on-chain transaction is that the intelligent contract directly blocks the order event of the transaction request and sends the order event to the off-chain server for processing, the risk of tampering the order event exists in the process; meanwhile, the existing on-chain transaction consumes more computing resources to influence the block-out time, and the fixed block-out time (for example, 10 minutes for block-out) of each new block-out cannot meet the high-efficiency requirement of the user.
In one embodiment, since the block is discharged without waiting for the block discharging time after the transaction on the chain is completed or after the fixed block discharging time is met, the block is discharged only after the block meets the first preset condition in the blockchain network, the transaction request of discharging the block can be ensured to meet the safety condition, the block discharging speed is improved at the same time, and the high-efficiency requirement of a user is further met.
In one embodiment, the first preset condition is that the block performs first consensus signature confirmation in the blockchain network, and the block including the order event reaches the first consensus signature confirmation in the blockchain network before the block is discharged, so that the risk of tampering with the order event caused by the process of directly transmitting the order event by the intelligent contract can be avoided, and the safety of the transaction request for discharging the block is improved. Thus, the user can ensure that the own transaction request is a transaction request signed by hash consensus before being sent to the under-chain transaction engine, and ensure that the order event of the transaction request cannot be tampered in the process.
In one embodiment, the first consensus signature validation includes employing a practical Bayesian fault tolerance algorithm (abbreviated as PBFT algorithm, practical Byzantine Fault Tolerance), wherein the PBFT algorithm is a state machine replica algorithm, i.e., the service is modeled as a state machine, the state machines replicate replicas at different nodes of the distributed system, each replica of the state machine preserving the state of the service, and also implementing the operation of the service. It should be noted that, the PBFT algorithm is mainly used for the federation chain, and in this embodiment, the first consensus signature confirmation does not limit a specific consensus algorithm, and selection of the consensus algorithm is performed according to needs, for example, a workload proof algorithm, a rights and interests proof algorithm, and a share authorization proof algorithm are selected.
S300, sending a transaction request through a memory of the blockchain node and receiving a calculation result of processing the transaction request by the under-chain transaction engine.
The prior art is that the intelligent contract directly sends the transaction request to the off-link server through the blockchain network, and the transmission mode has the risks of low transmission efficiency and possibly tampered data sources.
In one embodiment, the blockchain link sends the transaction request of the intelligent contract to the under-chain transaction engine through the memory of the blockchain node, and receives the calculation result of the under-chain transaction engine for processing the transaction request.
In one embodiment, as shown in fig. 3, the calculation result of the transaction request corresponding to the transaction engine processing block under the chain is received through the memory of the blockchain node, including:
s310, the order event of the transaction request corresponding to the block is sent to the under-chain transaction engine through the memory of the block chain node.
In one embodiment, the smart contract further includes a function including a callback function and a send block function.
In one embodiment, as shown in FIG. 4, sending order events of a block-corresponding transaction request to an off-chain transaction engine via the memory of a blockchain node includes:
s311, triggering a callback function after the block is blocked.
In one embodiment, triggering a callback function after a block is blocked out includes:
if the blocks of the block chain network are blocked, the intelligent contract reads the updating state of the user data;
if the user data has been updated, the intelligent contract triggers a callback function.
S312, the sending block function calls a callback function and sends an order event of the transaction request corresponding to the block to a port of an under-chain transaction engine of a memory of the block chain node.
In one embodiment, sending a block function call callback function and sending an order event of a transaction request corresponding to a block to a port of an under-chain transaction engine of a memory of a block chain node comprises:
a sending block function (CommitBlock) of the intelligent contract calls a callback function and calls an order event of a block in a memory of a block chain node;
the under-chain transaction engine carries out cyclic search on event names corresponding to the order events of the outgoing block according to the preset monitoring order events;
if the event name corresponding to the order event in the block of the block read by the off-chain transaction engine is matched with the current data field of the preset monitoring order event, the off-chain transaction engine stores the current data field and reads the content of the order event;
The under-chain transaction engine writes the order event into an array of memory of the blockchain node storing the current data field to form an event record port of the under-chain transaction engine.
In one embodiment, the callback function comprises a callback delay function (callrelay), and the corresponding callback delay function is executed at the end block (EndBlock) stage of the Cosmos blockchain network to send the current block of data to the event record port of the memory of the under-chain transaction engine at the blockchain node.
It should be noted that the event record port is not a physical port, but a software port of the downlink transaction engine in the memory of the blockchain node, so that the downlink transaction engine can receive and transmit data through the software port.
S313, the link transaction engine receives order events based on the port.
In one embodiment, the chain off transaction engine receives order events for blockchain nodes based on the event record port, thereby efficiently acquiring order events and improving the effectiveness of the source of the order events for the transaction request.
In another embodiment, the order event is pulled by the off-chain transaction engine as soon as it is written to the corresponding block and out of the block.
In yet another embodiment, the order event is written into the corresponding block and then sent to the event record port of the under-chain transaction engine via the memory of the blockchain node after being output, and then pulled by the under-chain transaction engine.
S320, the under-chain transaction engine is received through the memory of the blockchain node to match the calculation result of the order event, and the calculation result meets a second preset condition.
In one embodiment, because the matching of the order event is performed in the under-chain transaction engine, and the matching calculation result meeting the second preset condition is received through the memory of the blockchain node, the matching processing speed of the order event is improved, the efficiency of transmitting the calculation result to the intelligent contract is improved, the risk of tampering the calculation result is avoided, and the safety of the calculation result is improved.
In one embodiment, the calculation of the link transaction engine to match the order event satisfies a second predetermined condition.
In one embodiment, receiving, via a memory of the blockchain node, a calculation of the under-chain transaction engine reconciling the order event, the calculation satisfying a second predetermined condition, comprising:
the under-chain transaction engine matches the transaction according to the bin state of the participating transaction user and the order event, for example, the under-chain transaction engine adopts a preset continuous bidirectional auction algorithm to carry out the matching transaction;
if the calculation result of the matching transaction meets a second preset condition, the under-chain transaction engine acquires the calculation result of the matching transaction;
The under-chain transaction engine acquires a transmission port of the intelligent contract in the block chain link point memory and sends a calculation result to the transmission port of the intelligent contract;
the transmission port of the intelligent contract receives the calculation result of the under-chain transaction engine matching the order event through the memory of the blockchain node.
It should be noted that the transmission port is not a physical port, but a software port of the intelligent contract in the memory of the blockchain node, so that the intelligent contract can receive the data of the off-link transaction engine through the software port.
In one embodiment, the second preset condition is that the ratio of the mortgage weight of the under-chain transaction engine for second consensus signature validation of the computed result to the total mortgage weight is greater than or equal to two-thirds.
In one embodiment, the under-chain transaction engine performs a second consensus signature validation on the calculation result, that is, the under-chain transaction engine hashes the calculation result to obtain a sub-hash value corresponding to the header hash value, and encrypts the sub-hash value with the private key to obtain the signature. The under-chain transaction engine hashes the calculation result to obtain a sub-hash value, and the sub-hash value is used for corresponding to Ha Xitou of the block containing the order event, wherein the sub-hash value is generated by encrypting the calculation result by adopting a hash function.
In one embodiment, the calculation result includes a sub-hash value of the block in which the matched calculation result is located, a second consensus signature, a public key of the under-chain transaction engine, and a hash header of the block in which the order event is located, wherein the public key is used to verify that the second consensus signature is valid.
It should be noted that, the mortgage of the under-chain transaction engine refers to a corresponding number of tokens being mortised on the blockchain network, the mortgage is divided into mortgage ratios based on the handling fee of the order event of the user initiating the transaction request, and if the mortgage confirms the operation result of the matching transaction by the second consensus signature, the mortgage is punished. In this embodiment, the particular type of the under-chain transaction engine is not limited, e.g., the under-chain transaction engine is Exchange-Core.
In one embodiment, if the under-chain transaction engine and the blockchain node are both running in the same cloud server, then the memory of the blockchain node is the shared memory of the under-chain transaction engine and the blockchain node.
The existing off-link processing calculation of the off-link transaction platform directly updates the user account information according to the calculation result of the off-link server, and the risk of miscalculation or tampering of design exists. In the embodiment, the weight mortgage mode is adopted to determine the calculation result, the calculation result can be verified and trusted according to the disclosure rule, and the user can also put forward calculation protocols and multiple protocols for the result to the organization for managing the mortgage asset, so that the reliability of the calculation result is improved.
The existing decentralization transaction platform is an automatic market maker (AMM, automated Market Maker) transaction mode based on a liquidity pool, the automatic market maker mode can provide instant exchange service according to a fixed asset price formula set by an intelligent contract, but the transaction mode is single, and meanwhile risks such as robbing and single attack of malicious users exist in the automatic market maker mode. In one embodiment, the under-chain transaction engine adopts the transaction mode of the order book on the basis of having the automatic market makers, so that the under-chain transaction engine has the functions of market price discovery and price setting of users, and can avoid related malicious attacks by selecting a mode of collective bidding and the like according to the needs of the users.
In addition, the decentralized transaction on the traditional public chain such as ethernet based on the job of Work (pop) consensus is limited to the processing capability of the blockchain network, and only the peer-to-peer transaction order mode between users can be used, requiring high commission, while the second consensus signature validation of the decentralized transaction based on the Cosmos blockchain in this embodiment has a significant improvement in the security and processing efficiency due to the use of the job of Proof of interest (PoS) consensus, and can also reduce commission to concentrate the transaction on the product service.
And S400, writing the calculation result into the intelligent contract and updating the user data.
In one embodiment, the under-chain transaction engine synchronously calls a state update function (updatedorderstate) of the intelligent contract according to the address of the intelligent contract, and because the bin state comprises an order state and a fitting balance state of a user, and double hash mapping is adopted, if the matched order event carries out that the mortgage weight confirmed by the second consensus signature exceeds the total mortgage weight of two thirds, the order state is updated to be successful from the to-be-confirmed state, the bin state is also updated simultaneously, and the state update function of the intelligent contract writes the acquired calculation result into the user data of the intelligent contract and updates the user data.
In one embodiment, the function further comprises a store user asset function (Deposit) and a extract user asset function (Withdraw) which are used primarily to check if the user public key address and signature match, if the number of assets is consistent with the history, and to transfer assets to each other between the user data and the smart contract after the Deposit and withdrawal condition is satisfied.
It should be noted that, the smart contract has a mapping key value pair and a storage address balance pair to store the balance state of the user, and the function logic of the smart contract synchronously modifies the balance state of the user according to the update of the bin state after the mortgage weight of the second common signature exceeds the specific gravity threshold (for example, two thirds).
In one embodiment, after the second user registers the corresponding second account, if the first user wants to exchange a preset number of bitcoins (e.g., 1 bitcoin) for ethernet coins at this time, the first user invokes the smart contract to initiate a transaction request on the blockchain network through its first account registered in the blockchain network and to go out after a first signature validation, and the second user wants to exchange a preset number of ethernet coins (e.g., 10 ethernet coins) for 1 bitcoin at this time, the second user invokes the smart contract to initiate a transaction request on the blockchain network through its second account registered in the blockchain network and to go out after a first signature validation. The blockchain node detects the transaction requests initiated by the intelligent contract based on the 2 accounts in the blockchain network in real time, and when the transaction requests are detected, the blockchain node receives the 2 transaction requests. And then the 2 transaction requests are sent to the under-chain transaction engine for matching through the memory of the blockchain node, the under-chain transaction engine obtains a calculation result and completes an order after the second signature confirmation of two-thirds total mortgage weight, the under-chain transaction engine transmits the calculation result to the state updating function of the intelligent contract through the memory of the blockchain, the state updating function is written into the user data of the intelligent contract and updates the user data, the first user obtains 10 Ethernet coins, and the second user obtains 1 bit coin.
In addition, the prior art is that single function computation is completed through the blockchain network often without event division, or the prior art scheme often needs to build different layers on the whole blockchain network to complete the computation function, so that more protocols are required to be introduced or more hardware facilities are built to run special blockchain nodes. In the embodiment, under the condition that the existing function of the blockchain is kept unchanged, interaction between different roles and special events is formed by setting special division processing of contract events, so that a large amount of processing of operation amount can be completed in independently running memory space, and the operation efficiency of the blockchain is improved. That is, the transaction requests which consume a large amount of computing resources and time to match on the chain of the blockchain network and reduce the blockout efficiency of the blockchain nodes are sent to the under-chain transaction engine for centralized processing through the memory of the blockchain nodes, so that the transmission efficiency and the processing efficiency are improved, and the running efficiency of the blockchain network is further improved.
In one embodiment, the embodiment further introduces rewards to realize role competition to further motivate users to improve the operation efficiency.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
The method and the system are applied to the blockchain node of the blockchain network, an intelligent contract is deployed in the blockchain network in advance, the intelligent contract is used for storing data generated by each transaction participant in the blockchain network, the blockchain node executes the intelligent contract and operates an under-chain transaction engine, the intelligent contract is called by any account of a receiving user side to initiate a transaction request, and the intelligent contract comprises user data of a user to which the account belongs; the block formed based on the transaction request is discharged after the first preset condition is met; transmitting a transaction request through a memory of the blockchain node and receiving a calculation result of processing the transaction request by an under-chain transaction engine; and writing the calculation result into the intelligent contract and updating the user data, and transmitting the processing transaction request with the largest calculation resource load on the blockchain network to the under-chain transaction engine for processing through the memory, so that the calculation resource load of the blockchain network is reduced, and meanwhile, the efficiency of processing the transaction request is improved. In addition, because only transaction request related data is stored on the blockchain network and the transaction request related data is not processed, the data update on the blockchain network can realize asynchronous updating of the blockchain network through the downlink transaction engine or the on-chain transmission transaction request related data
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
In a second aspect, as shown in fig. 5, the present embodiment provides a transaction apparatus for a blockchain, in which an intelligent contract is pre-deployed in a blockchain network, the intelligent contract being used for storing data generated by each transaction participant in the blockchain network, and a blockchain node executing the intelligent contract and running an under-chain transaction engine, the transaction apparatus comprising:
the first receiving module 100 is configured to receive a transaction request initiated by calling an intelligent contract by any account of the user side, where the intelligent contract includes user data of a user to whom the account belongs;
the block discharging module 200 is configured to discharge a block formed based on the transaction request after the block meets a first preset condition;
a second receiving module 300, configured to receive, via the memory of the blockchain node, a calculation result of the transaction request processed by the under-chain transaction engine;
the writing update module 400 is configured to write the calculation result into the smart contract and update the user data.
In a third aspect, an embodiment of the present application provides a transaction system for a blockchain, the transaction system including a user side and a blockchain node of a blockchain network;
Wherein the blockchain node is configured to perform the method of any of the above first aspects;
the user terminal is configured to: and the intelligent contract is used for calling any account of the user side to initiate a transaction request, comprises user data of a user to which the account belongs, and receives updated user data.
It should be noted that, because the content of information interaction and execution process between the above devices/modules is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to any one of the first aspects when the processor executes the computer program.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as in any one of the first aspects above.
In a sixth aspect, embodiments of the present application provide a computer program product for, when run on a terminal device, causing the terminal device to perform the method of any one of the first aspects.
It will be appreciated that the advantages of the second to sixth aspects may be referred to in the description of the first aspect, and are not described here.
The transaction method of the blockchain provided by the embodiment of the application can be applied to terminal equipment such as mobile phones, tablet computers, wearable equipment, vehicle-mounted equipment, augmented reality (augmented reality, AR)/Virtual Reality (VR) equipment, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) and the like, and the embodiment of the application does not limit the specific types of the terminal equipment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc.
The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (5)

1. A blockchain transaction method, characterized in that the blockchain node is applied to a blockchain network, an intelligent contract is deployed in the blockchain network in advance, the intelligent contract is used for storing data generated by each transaction participant in the blockchain network, the blockchain node executes the intelligent contract and operates an under-chain transaction engine, the blockchain node is a cloud server, the under-chain transaction engine and the blockchain node are both operated in the cloud server, and the under-chain transaction engine is used for matching transactions, the transaction method comprises:
Receiving any account of a user terminal to call the intelligent contract to initiate a transaction request, wherein the intelligent contract comprises user data of a user to which the account belongs;
outputting a block after the block formed based on the transaction request meets a first preset condition;
transmitting the transaction request through the memory of the blockchain node and receiving a calculation result of the transaction request processed by the under-chain transaction engine;
writing the calculation result into the intelligent contract and updating the user data;
the under-chain transaction engine is provided with a software port in the memory of the blockchain node and is used for receiving and sending data through the software port;
wherein, after the block formed based on the transaction request meets a first preset condition, the block is output, which comprises:
writing the transaction request into a corresponding block of the blockchain node in the form of an order event;
the block is output after the block meets the first preset condition in the block chain network, wherein the first preset condition is that the block performs first consensus signature confirmation in the block chain network;
wherein the sending the transaction request via the memory of the blockchain node and receiving the calculation result of the processing the transaction request by the downlink transaction engine includes:
Transmitting order events of the transaction request corresponding to the block to the under-chain transaction engine through the memory of the block chain node;
receiving a calculation result of matching the order event by the under-chain transaction engine through a memory of the blockchain node, wherein the calculation result meets a second preset condition, and the second preset condition is that the ratio of a mortgage weight for carrying out second consensus signature confirmation on the calculation result by the under-chain transaction engine to the total mortgage weight is more than or equal to two thirds;
the intelligent contract further comprises a function, wherein the function comprises a callback function and a sending block function;
the sending the order event of the transaction request corresponding to the block to the under-chain transaction engine through the memory of the blockchain node includes:
triggering the callback function after the block is blocked;
the sending block function calls the callback function and sends an order event of the transaction request corresponding to the block to a port of the under-chain transaction engine of the memory of the block chain node;
the under-chain transaction engine receives the order event based on the port.
2. A blockchain transaction device, characterized in that an intelligent contract is pre-deployed in a blockchain network, the intelligent contract is used for storing data generated by each transaction participant in the blockchain network, a blockchain node executes the intelligent contract and operates an under-chain transaction engine, the blockchain node is a cloud server, the under-chain transaction engine and the blockchain node are both operated in the cloud server, the under-chain transaction engine is used for matching transactions, the transaction device comprises:
the first receiving module is used for receiving any account of a user terminal to call the intelligent contract to initiate a transaction request, and the intelligent contract comprises user data of a user to which the account belongs;
the block discharging module is used for discharging blocks after the blocks formed based on the transaction request meet a first preset condition;
the second receiving module is used for sending the transaction request through the memory of the blockchain node and receiving the calculation result of the processing of the transaction request by the under-chain transaction engine;
a writing updating module for writing the calculation result into the intelligent contract and updating the user data;
the under-chain transaction engine is provided with a software port in the memory of the blockchain node and is used for receiving and sending data through the software port;
Wherein, go out the piece module, include:
a writing sub-module for writing the transaction request into the corresponding block of the blockchain node in the form of an order event;
the block outputting sub-module is used for outputting blocks after the blocks meet the first preset condition in the block chain network, wherein the first preset condition is that the blocks carry out first consensus signature confirmation in the block chain network;
wherein the second receiving module includes:
the memory sending module is used for sending the order event of the transaction request corresponding to the block to the under-chain transaction engine through the memory of the block chain node;
the memory receiving module is used for receiving a calculation result of matching the order event by the under-chain transaction engine through a memory of the blockchain node, wherein the calculation result meets a second preset condition, and the second preset condition is that the ratio of the mortgage weight for carrying out second consensus signature confirmation on the calculation result by the under-chain transaction engine to the total mortgage weight is more than or equal to two thirds;
the intelligent contract further comprises a function, wherein the function comprises a callback function and a sending block function;
The memory sending module comprises:
the triggering module is used for triggering the callback function after the block is blocked;
the calling module is used for calling the callback function by the sending block function and sending the order event of the transaction request corresponding to the block to the port of the under-chain transaction engine of the memory of the block chain node;
and the port receiving module is used for receiving the order event by the under-chain transaction engine based on the port.
3. A transaction system of a blockchain, which is characterized by comprising a user side and a blockchain node of a blockchain network;
wherein the blockchain node is configured to perform the method of claim 1;
the user terminal is configured to: and the intelligent contract is used for calling any account of the user side to initiate a transaction request, comprises user data of a user to which the account belongs, and receives updated user data.
4. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of claim 1 when executing the computer program.
5. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of claim 1.
CN202211712799.8A 2022-12-29 2022-12-29 Block chain transaction method, device and system, electronic equipment and storage medium Active CN116029825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211712799.8A CN116029825B (en) 2022-12-29 2022-12-29 Block chain transaction method, device and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211712799.8A CN116029825B (en) 2022-12-29 2022-12-29 Block chain transaction method, device and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116029825A CN116029825A (en) 2023-04-28
CN116029825B true CN116029825B (en) 2024-02-02

Family

ID=86080751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211712799.8A Active CN116029825B (en) 2022-12-29 2022-12-29 Block chain transaction method, device and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116029825B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116258580B (en) * 2023-05-16 2023-07-14 吉牛云(吉林)农业科技集团有限公司 Mortgage loan data storage method and system based on block chain technology of Internet of things

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111325533A (en) * 2019-12-31 2020-06-23 深圳大学 Decentralized transaction method, decentralized transaction system and computer equipment
CN111541785A (en) * 2020-07-08 2020-08-14 支付宝(杭州)信息技术有限公司 Block chain data processing method and device based on cloud computing
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
KR102174375B1 (en) * 2020-02-19 2020-11-04 (주)미디어스퀘어 Private blockchain system including dual blockchain structure and method of operation thereof
CN112465320A (en) * 2020-11-18 2021-03-09 国网江苏省电力有限公司盐城供电分公司 Virtual power plant transaction management method based on block chain technology
CN112712420A (en) * 2021-03-29 2021-04-27 国网电子商务有限公司 Green certificate transaction system based on block chain
CN112740250A (en) * 2019-12-31 2021-04-30 深圳市网心科技有限公司 Block chain-based digital currency transaction method, device and system
CN113706313A (en) * 2020-05-22 2021-11-26 腾讯科技(深圳)有限公司 Financing method, system and computer readable storage medium based on block chain
CN114358929A (en) * 2021-11-30 2022-04-15 国网浙江省电力有限公司嘉兴供电公司 Distributed energy centralized transaction method and system based on block chain
CN114971625A (en) * 2022-04-11 2022-08-30 吕志星 Microgrid green electricity transaction system based on block chain technology and data storage and settlement method
CN115239443A (en) * 2022-09-23 2022-10-25 北京百度网讯科技有限公司 Transaction matching method, device, equipment and medium based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11695544B2 (en) * 2019-09-17 2023-07-04 Carrier Corporation Method and system to execute and record transactions for a key in a blockchain

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
CN111325533A (en) * 2019-12-31 2020-06-23 深圳大学 Decentralized transaction method, decentralized transaction system and computer equipment
CN112740250A (en) * 2019-12-31 2021-04-30 深圳市网心科技有限公司 Block chain-based digital currency transaction method, device and system
KR102174375B1 (en) * 2020-02-19 2020-11-04 (주)미디어스퀘어 Private blockchain system including dual blockchain structure and method of operation thereof
CN113706313A (en) * 2020-05-22 2021-11-26 腾讯科技(深圳)有限公司 Financing method, system and computer readable storage medium based on block chain
CN111541785A (en) * 2020-07-08 2020-08-14 支付宝(杭州)信息技术有限公司 Block chain data processing method and device based on cloud computing
CN112465320A (en) * 2020-11-18 2021-03-09 国网江苏省电力有限公司盐城供电分公司 Virtual power plant transaction management method based on block chain technology
CN112712420A (en) * 2021-03-29 2021-04-27 国网电子商务有限公司 Green certificate transaction system based on block chain
CN114358929A (en) * 2021-11-30 2022-04-15 国网浙江省电力有限公司嘉兴供电公司 Distributed energy centralized transaction method and system based on block chain
CN114971625A (en) * 2022-04-11 2022-08-30 吕志星 Microgrid green electricity transaction system based on block chain technology and data storage and settlement method
CN115239443A (en) * 2022-09-23 2022-10-25 北京百度网讯科技有限公司 Transaction matching method, device, equipment and medium based on block chain

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BPlloT: A light-weighted blockchain-based platform for industrial loT;LI BAI,等;《IEEE Access》;第7卷;第58381-58393页 *
Chin-Ling Chen, 等.Enterprise data sharing with privacy-preserved based on hyperledger fabric blockchain in lloT's application.《Sensors》.2022,第22卷(第3期),第1-23页. *
区块链的数据管理技术综述;张志威, 等;《软件学报》;第31卷(第9期);第2903-2925页 *
区块链隐私安全与链上链下数据协同技术;陈沛然;《中国优秀硕士学位论文全文数据库 (信息科技辑)》(第1期);第I138-211页 *

Also Published As

Publication number Publication date
CN116029825A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US11880809B2 (en) Blockchain cross-chain non-fungible token exchange
US10986177B2 (en) Systems and methods of self-forking blockchain protocol
WO2020207090A1 (en) Blockchain-based data processing system and method, computing device and storage medium
CN110363665B (en) Credit right data processing method, device, equipment and medium
JP2023184749A (en) Method of distributing block chain-registered digital asset, and autonomous computation agent
EP3594884A1 (en) Electronic bill management method, device, and storage medium
KR20200091882A (en) Incremental digital asset collateral wallet
WO2020023850A1 (en) Blockchain-based asset transfer method and apparatus, and electronic device
CN110033377B (en) Asset sorting method and device based on block chain and electronic equipment
US20220230175A1 (en) Method to be executed by computer system, and computer system
KR101936759B1 (en) Apparatus and Method for KYC using KYC blockchain
CN107358524B (en) Method for leveling funds among multiple account management lines in same currency
CN110659887A (en) Automatic transaction processing system and method based on block chain
EP3631742A1 (en) Smart contract for copy trading
CN113421156A (en) Asset management method and device based on block chain and electronic equipment
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
CN116029825B (en) Block chain transaction method, device and system, electronic equipment and storage medium
WO2018192931A1 (en) Delivery versus payment mechanism
CN110163691A (en) Invoice creation method and device, electronic equipment based on block chain
CN104537563B (en) A kind of quota data processing method and server
CN110427389B (en) Data processing and inquiring method for blockchain digital currency
TWI646487B (en) Smart contract executing system with permission rating and avoid duplication and method thereof
CN108876339B (en) E-pet transaction method and device based on certificate
KR102634677B1 (en) Method for exchanging asset between compatible blockchain networks
CN112819464B (en) Intelligent contract processing method, processing device, terminal equipment and 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
GR01 Patent grant
GR01 Patent grant