CN111539723A - Block chain transaction recording method, equipment, block chain node and computer medium - Google Patents

Block chain transaction recording method, equipment, block chain node and computer medium Download PDF

Info

Publication number
CN111539723A
CN111539723A CN202010288499.6A CN202010288499A CN111539723A CN 111539723 A CN111539723 A CN 111539723A CN 202010288499 A CN202010288499 A CN 202010288499A CN 111539723 A CN111539723 A CN 111539723A
Authority
CN
China
Prior art keywords
transaction
template
token
buyer
seller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010288499.6A
Other languages
Chinese (zh)
Inventor
缪美芳
刘霁阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Zhefeng Energy Co ltd
Original Assignee
Zhejiang Zhefeng Energy 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 Zhejiang Zhefeng Energy Co ltd filed Critical Zhejiang Zhefeng Energy Co ltd
Priority to CN202010288499.6A priority Critical patent/CN111539723A/en
Publication of CN111539723A publication Critical patent/CN111539723A/en
Pending legal-status Critical Current

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/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention relates to a block chain transaction recording method, equipment, a block chain node and a computer medium, wherein a transaction template is created by a buyer and a seller, and a corresponding transaction rule is formulated according to the transaction module; the block chain of the tree structure receives the transaction rule and carries out transaction according to the transaction rule; and recording the transaction data in a database after the transaction is finished. The cross-chain transaction template and the e-commerce payment transaction template are adopted, VM compiling is not needed, compared with the traditional intelligent contract script, the operation efficiency of the template is higher, the transaction operation speed in the block chain adopting the tree structure is high, the operation is safe, and VM holes do not exist.

Description

Block chain transaction recording method, equipment, block chain node and computer medium
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a block chain transaction recording method, equipment, a block chain node and a computer medium.
Background
The blockchain technique is applied to bitcoin as a decentralized value transfer system. In bitcoin systems, scripting mechanisms are proposed for accomplishing relatively complex types of transactions. However, there are many limitations to implementing more functions by bitcoin scripts. To this end, Ethereum proposed by vitaik burein enables application development based on blockchain technology by introducing smart contracts and EVMs for graph completion and is agreed by the industry as "blockchain 2.0" following bitcoin. However, both bitcoin and ether house are faced with the problems of scalability and transaction delay due to the user and transaction growing too fast. This is mainly due to the single-chain structure in the current blockchain system.
In the related art, due to the reasons mentioned above, many excellent projects lack sufficient flexibility in view of the problems, and the development of a blockchain in the field of internet of things which is a day suitable is also great. In addition, the transaction speed is slow and the security is low based on the conventional blockchain.
Disclosure of Invention
In view of the above, an object of the present invention is to overcome the deficiencies of the prior art, and to provide a method, an apparatus, a blockchain node and a computer medium for recording blockchain transactions, so as to solve the problems of slow transaction speed and low security of blockchain transactions in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme: a blockchain transaction recording method, comprising:
the buyer and the seller create a trading template, and a corresponding trading rule is formulated according to the trading module;
the block chain of the tree structure receives the transaction rule and carries out transaction according to the transaction rule;
and recording the transaction data in a database after the transaction is finished.
Further, before the buyer and the seller create a transaction template and establish transaction rules, the method further includes: setting a safe amount of money, including:
the buyer and the seller mortgage the same Token to ensure the normal end of the transaction and retreat to the respective account after the transaction is ended;
the safe amount of the buyer is larger than the transaction amount, and the safe amount of the seller is smaller than the transaction amount.
Further, the transaction template is provided with a safe payment scene;
and if the Token can not be transferred from the transaction template address after the transaction is sent out, the third party helps to transfer the Token and obtain the reward of the third party through the transaction template address and the signature data.
Further, the buyer and the seller create a transaction template, and set up corresponding transaction rules according to the transaction module, including:
creating a cross-chain trading template; the cross-chain transaction template comprises transaction template addresses generated by wallet addresses of buyers and sellers, buyer branched chains and seller branched chains and block heights locked on the respective branched chains, wherein the transaction template addresses are used for receiving Token transferred by any user;
when the Token is transferred out of the transaction template address, if the block height is within the locking height, signing the transaction template address to obtain signature data;
the two transaction parties verify whether the signature data is correct through a public key provided by the other party, and confirm whether the signature data is a signature of a corresponding cross-link transaction template;
and transferring out the Token in the cross-chain transaction template through signature data provided by the opposite party and signature data of the Token.
Further, the buyer and the seller create a transaction template, and set up corresponding transaction rules according to the transaction module, including:
creating an e-commerce payment transaction template; the E-commerce payment transaction template generates a transaction certificate through transaction information, commodity information and express delivery information of a buyer and a seller, and when the transaction certificate exceeds the validity period, a data provider needs to update the transaction certificate; if the transaction is interrupted or ended, the data provider extracts consumption Token from the corresponding order transaction on the branched chain with the final signature certification;
carrying out transaction in a block chain, and sending signature data to a seller by a buyer in a locking block height or transferring Token into a fund pool, wherein the seller can freely withdraw money after the locking block height;
transferring Token of the transaction fee to a fund pool if the buyer refuses to pay; the transaction fee includes: a transaction amount and a security amount, the security amount being used in a security payment scenario.
Further, the cross-chain trading template is a one-time trading template.
Further, when Token in the cross-chain transaction template is transferred out to its own wallet address, the wallet of the user is required to be in an open state.
The embodiment of the present application provides a blockchain transaction recording device, including:
the creating module is used for creating a trading template by the buyer and the seller and formulating a corresponding trading rule according to the trading module;
the transaction module is used for receiving the transaction rule by the block chain of the tree structure and carrying out transaction according to the transaction rule;
and the recording module is used for recording the transaction data in a database after the transaction is finished.
The embodiment of the present application provides a block link point, include:
at least one processor, and;
a memory communicatively coupled to the processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a blockchain transaction recording method as in any one of the embodiments above.
The embodiment of the present application provides a computer medium, where a computer program is stored on the computer medium, and when the computer program is executed by a processor, the method for recording blockchain transaction according to any of the above embodiments is executed.
By adopting the technical scheme, the invention can achieve the following beneficial effects:
in order to better combine the blockchain with the Internet of things technology, the tree-type blockchain realizes the problems of transaction expansibility and high concurrency which cannot be solved by a single-chain structure through the infinite expansion of branched chains; in addition, the cross-chain transaction template and the e-commerce payment transaction template are not required to be compiled by a VM (virtual machine), the running efficiency of the template is higher than that of a traditional intelligent contract script, and the transaction running speed in the block chain adopting the tree structure is high, safe and free of VM loopholes.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block chain transaction recording method according to the present invention;
FIG. 2 is a schematic diagram illustrating another step of a blockchain transaction recording method according to the present invention;
FIG. 3 is a schematic diagram illustrating another step of a blockchain transaction recording method according to the present invention;
FIG. 4 is a schematic diagram of a blockchain transaction recording device according to the present invention;
fig. 5 is a schematic diagram of a block link point according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. The embodiments of the present invention, and all other embodiments that can be obtained by those skilled in the art without any inventive work, belong to the protection scope of the present invention.
A specific blockchain transaction recording method, apparatus, blockchain node, and computer medium provided in the embodiments of the present application are described below with reference to the accompanying drawings.
As shown in fig. 1, a method for recording a blockchain transaction provided in an embodiment of the present application includes:
s101, a buyer and a seller create a transaction template, and a corresponding transaction rule is formulated according to the transaction template;
s102, the block chain of the tree structure receives the transaction rule and carries out transaction according to the transaction rule;
and S103, recording the transaction data in a database after the transaction is finished.
The working principle of the blockchain transaction recording method is as follows: the buyer and the seller create a trading template, and a corresponding trading rule is formulated according to the trading module; the block chain of the tree structure receives the transaction rule and carries out transaction according to the transaction rule; and recording the transaction data in a database after the transaction is finished.
The tree-shaped structure block chain is also called a tree-shaped block chain, the tree-shaped structure block chain is a multi-tree-shaped block structure with branches as branches and leaves which are continuously generated in a branching mode by taking a main chain as a root, the tree-shaped structure is a main chain and multi-application branch chain, and the problem of transaction expansibility and high concurrency which cannot be solved by a single-chain structure is solved by infinite expansion of the branch chains. The arrangement blocks are stored by adopting a tree structure, and can be forked according to the service type and the data load to form a plurality of branches. The blocks between branches are independent, and the newly added block is only related to the data of the branch. In the case of multiple forking, it can be distributed into multiple forking blocks according to the traffic data traffic, and the resulting scalability and high concurrency are the basic performances required by the IoT system. The multi-branch structure of the tree block chain is composed of a unique safe main chain and a plurality of application branch chains, wherein the safe main chain is used for supporting a whole network consensus mechanism, and the application branch chains are used for actual services. The application branch can provide low-delay transaction confirmation of 2 seconds at least, and the user can specify the transaction urgency and pay the corresponding transaction commission, thereby realizing the low-delay service.
In some embodiments, as shown in fig. 2, the creating a transaction template by the buyer and the seller, and formulating the corresponding transaction rule according to the transaction module includes:
s201, creating a cross-chain trading template; the cross-chain transaction template comprises transaction template addresses generated by wallet addresses of buyers and sellers, buyer branched chains and seller branched chains and block heights locked on the respective branched chains, wherein the transaction template addresses are used for receiving Token transferred by any user;
s202, when the Token is transferred out of the transaction template address, if the block height is within the locking height, signing the transaction template address to obtain signature data;
s203, the two transaction parties verify whether the signature data is correct through a public key provided by the other party, and whether the signature data is a signature of a corresponding cross-link transaction template is confirmed;
and S204, transferring out the Token in the cross-chain transaction template through the signature data provided by the opposite party and the signature data of the opposite party.
The cross-chain transaction in this embodiment may enable a synchronous value exchange between blockchain branches without trust. In practical application, services can be divided according to relevant factors such as service flow, equipment type, space region and the like, and the divided services are dispersed into a plurality of branches. Frequently interacting devices usually hold the same Token branch and perform data transaction in the same Token branch. But the need to interact with other devices holding the Token as a business entity also exists objectively. In this case, the Token exchange between branches can be realized by cross-chain transaction. On one hand, cross-chain transaction can be completed under the condition of no trust, and fairness to both sides is ensured by utilizing the technical principle; on the other hand, cross-chain transaction synchronously enters a block between two branched chains, so that high efficiency and effectiveness are guaranteed. This provides good underlying technical support for applications including decentralized exchanges, Token redemption gateways, etc.
Specifically, the trade rules of the cross-chain trade template are as follows: 1) and creating a transaction template, wherein the transaction template comprises the addresses of the wallets of the two parties and the hash of the two branch chains participating in the transaction, and the block heights locked on the respective branch chains, generating a template address of the transaction by using the data, and if any value of the data is changed, changing the template address. The address can be used for receiving Token entered by any user, but within the locking height, signature data of both parties is needed to complete the process of transferring out Token under the template address. After the lock block is high, the parties involved in the transaction can turn away Token on the branch where they are located. And signing the cross-connection transaction template address to obtain signature data. The two transaction parties can verify whether the signature data is correct through a public key provided by the other party and confirm whether the signature data is a signature of a corresponding cross-chain transaction template. The user with the low locking block is required to send the signature result of the user to the other side. The Token in the cross-linked transaction template can be transferred away through the signature data provided by the other party and the signature data of the user, and the wallet of the user needs to be in an open state at the moment.
In some embodiments, as shown in fig. 3, the creating a transaction template by the buyer and the seller, and formulating the corresponding transaction rule according to the transaction module includes:
s301, establishing an e-commerce payment transaction template; the E-commerce payment transaction template generates a transaction certificate through transaction information, commodity information and express delivery information of a buyer and a seller, and when the transaction certificate exceeds the validity period, a data provider needs to update the transaction certificate; if the transaction is interrupted or ended, the data provider extracts consumption Token from the corresponding order transaction on the branched chain with the final signature certification;
s302, transaction is carried out in a block chain, a buyer in a locking block height sends signature data to a seller, or a Token is transferred to a fund pool, and the seller can freely withdraw money after the locking block height;
s303, if the buyer refuses to pay, transferring the Token of the transaction fee into a fund pool; the transaction fee includes: a transaction amount and a security amount, the security amount being used in a security payment scenario.
Specifically, the transaction rule of the e-commerce payment transaction template is that a transaction certificate is generated through transaction information, commodity information and express delivery information of a buyer and a seller, and a data provider needs to update the transaction certificate whenever the transaction certificate exceeds the validity period. Supposing that the two parties agree to use t as a data settlement period, and after t intervals, the data demand party sends back to the other party by using a signature certificate as a confirmation reply; whenever the transaction is interrupted or ended, the data provider extracts the consumption Token from the chain corresponding to the order transaction with the last signature proof. When the data provider first extracts Token from the order transaction, the demander can then retrieve the remaining Token immediately. If the provider does not transfer the corresponding Token, the requester may also retrieve the Token with a transaction containing a valid proof of transaction that will be broadcast but locked by the packaging node by 3 block height. If no valid transaction identification is included, the block height is locked 2880 from the block where the order was traded. During the locking period, if the data provider has a dispute, the data provider can send the valid transaction of the data provider to preferentially retrieve Token, and the disputed transaction can be discarded.
The transaction flow is that the seller sells the commodity, the buyer buys the commodity, goes to the centralized point-to-point transaction, and the transaction Token for which the buyer refuses to pay enters the fund pool. The transaction fee comprises a transaction amount and a safety amount, the transaction amount and the safety amount can be defined by users, and the safety amount is used in a safety payment scene and is used for dealing with the situation that a seller does not deliver goods after receiving the Token or the buyer maliciously transfers the Token into a fund pool.
Three situations may occur during the transaction: the transaction is normally completed, the buyer is not confirmed after the block height is reached, and the buyer is not satisfied.
When the transaction is completed normally, the buyer is satisfied with the goods, and the confirmation information (signature data) is transmitted to the seller, and the seller performs a withdrawal operation using the signature information.
When the buyer does not confirm the arrival locking speed, the seller does not need to obtain the buyer signature data and cash up directly.
When the buyer is not satisfied, the buyer may transfer Token to the fund pool and the seller may not receive Token.
However, if the buyer intentionally transfers Token into the fund pool, a third party "arbitrating" party may initiate an arbitration template to decide the winner and loser by node voting, and a certain proportion of Token is rewarded to the voter and initiator while Token is transferred to the winner.
Wherein the seller provides the goods, the buyer provides the goods, and the arbitrator initiates the arbitration by any node within the fund allowance withdrawal height.
In some embodiments, the transaction template is provided with a secure payment scenario;
and if the Token can not be transferred from the transaction template address after the transaction is sent out, the third party helps to transfer the Token and obtain the reward of the third party through the transaction template address and the signature data.
Specifically, if one party sends out the transaction and does not turn Token in the "priority packaging height of the trader", then a third party intervenes in the packaging process, and the third party can be a common node or a super node, and can help packaging and obtain a third party packaging reward through the From and To addresses and signature data in the template. The cross-chain trading template is a disposable template, and the code is further upgraded and can be modified into a reusable cross-chain trading template.
For example, both the buyer and seller mortgage the same amount of Token to ensure that the transaction is approximately terminated properly. For example, the price of a commodity S is 100Big, the seller can set the security amount of the mortgage to 10Big, after the template is created, the seller needs to send out the commodity and pay the mortgage of 10Big, at this time, the buyer needs to pay 110Big to purchase the commodity S, after the transaction is finished, the buyer obtains the commodity S and 10Big, and the seller obtains 110 Big.
Preferably, the cross-chain trading template is a one-time trading template. If the code is further upgraded, the code can be modified into a reusable cross-linked transaction template.
Preferably, when Token in the cross-chain transaction template is transferred out to the wallet address, the wallet of the user is required to be in an open state.
As shown in fig. 4, the present application provides a blockchain transaction recording device, including:
the system comprises a creating module 1, a transaction module and a processing module, wherein the creating module is used for creating a transaction template by a buyer and a seller and formulating a corresponding transaction rule according to the transaction module;
the transaction module 2 is used for receiving the transaction rule by the block chain of the tree structure and carrying out transaction according to the transaction rule;
and the recording module 3 is used for recording the transaction data in a database after the transaction is finished.
Specifically, the working principle of the blockchain transaction recording device provided by the application is that the creating module 1 is used for creating a transaction template for buyers and sellers, and making corresponding transaction rules according to the transaction module; the transaction module 2 is used for receiving the transaction rule by the block chain of the tree structure and carrying out transaction according to the transaction rule; the recording module 3 is used for recording the transaction data in the database after the transaction is finished.
The present application provides a block link point, as shown in fig. 5, comprising:
at least one processor, and;
a memory communicatively coupled to the processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the blockchain transaction recording method of any one of the above embodiments.
The present application provides a computer medium having a computer program stored thereon, wherein the computer program is executed by a processor to perform the blockchain transaction recording method according to any of the above embodiments.
In summary, the invention provides a method, a device, a blockchain node and a computer medium for recording blockchain transactions, wherein cross-chain transaction templates and e-commerce payment transaction templates adopted by the method do not need VM compilation, and compared with traditional intelligent contract scripts, the method has the advantages that the operation efficiency of the templates is higher, the transactions in the blockchain adopting a tree structure are fast and safe, and no VM loopholes exist; in addition, for better combining the block chain with the internet of things technology, the tree-shaped block chain realizes the problems of transaction expansibility and high concurrency which cannot be solved by a single-chain structure through the infinite expansion of the branched chain.
It is understood that the embodiments of the method provided above correspond to the embodiments of the method for recording blockchain transaction, and the corresponding specific contents may be referred to each other, which is not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A blockchain transaction recording method, comprising:
the buyer and the seller create a trading template, and a corresponding trading rule is formulated according to the trading module;
the block chain of the tree structure receives the transaction rule and carries out transaction according to the transaction rule;
and recording the transaction data in a database after the transaction is finished.
2. The method of claim 1, wherein before the buyer and the seller create a transaction template and establish transaction rules, the method further comprises: setting a safe amount of money, including:
the buyer and the seller mortgage the same Token to ensure the normal end of the transaction and retreat to the respective account after the transaction is ended;
the safe amount of the buyer is larger than the transaction amount, and the safe amount of the seller is smaller than the transaction amount.
3. The method of claim 1, wherein the transaction template is provided with a secure payment scenario;
and if the Token can not be transferred from the transaction template address after the transaction is sent out, the third party helps to transfer the Token and obtain the reward of the third party through the transaction template address and the signature data.
4. The method of claim 3, wherein the buyer and the seller create a transaction template, and the corresponding transaction rule is formulated according to the transaction module, comprising:
creating a cross-chain trading template; the cross-chain transaction template comprises transaction template addresses generated by wallet addresses of buyers and sellers, buyer branched chains and seller branched chains and block heights locked on the respective branched chains, wherein the transaction template addresses are used for receiving Token transferred by any user;
when the Token is transferred out of the transaction template address, if the block height is within the locking height, signing the transaction template address to obtain signature data;
the two transaction parties verify whether the signature data is correct through a public key provided by the other party, and confirm whether the signature data is a signature of a corresponding cross-link transaction template;
and transferring out the Token in the cross-chain transaction template through signature data provided by the opposite party and signature data of the Token.
5. The method of claim 3, wherein the buyer and the seller create a transaction template, and the corresponding transaction rule is formulated according to the transaction module, comprising:
creating an e-commerce payment transaction template; the E-commerce payment transaction template generates a transaction certificate through transaction information, commodity information and express delivery information of a buyer and a seller, and when the transaction certificate exceeds the validity period, a data provider needs to update the transaction certificate; if the transaction is interrupted or ended, the data provider extracts consumption Token from the corresponding order transaction on the branched chain with the final signature certification;
carrying out transaction in a block chain, and sending signature data to a seller by a buyer in a locking block height or transferring Token into a fund pool, wherein the seller can freely withdraw money after the locking block height;
transferring Token of the transaction fee to a fund pool if the buyer refuses to pay; the transaction fee includes: a transaction amount and a security amount, the security amount being used in a security payment scenario.
6. The method of claim 4,
the cross-chain trading template is a one-time trading template.
7. The method of claim 4,
when Token in the cross-chain transaction template is transferred out to the wallet address of the user, the wallet of the user is required to be in an open state.
8. A blockchain transaction recording device, comprising:
the creating module is used for creating a trading template by the buyer and the seller and formulating a corresponding trading rule according to the trading module;
the transaction module is used for receiving the transaction rule by the block chain of the tree structure and carrying out transaction according to the transaction rule;
and the recording module is used for recording the transaction data in a database after the transaction is finished.
9. A block link point, comprising:
at least one processor, and;
a memory communicatively coupled to the processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the blockchain transaction recording method of any one of claims 1-7.
10. A computer medium, having stored thereon a computer program which, when executed by a processor, performs the blockchain transaction recording method according to any one of claims 1 to 7.
CN202010288499.6A 2020-04-14 2020-04-14 Block chain transaction recording method, equipment, block chain node and computer medium Pending CN111539723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010288499.6A CN111539723A (en) 2020-04-14 2020-04-14 Block chain transaction recording method, equipment, block chain node and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010288499.6A CN111539723A (en) 2020-04-14 2020-04-14 Block chain transaction recording method, equipment, block chain node and computer medium

Publications (1)

Publication Number Publication Date
CN111539723A true CN111539723A (en) 2020-08-14

Family

ID=71952144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010288499.6A Pending CN111539723A (en) 2020-04-14 2020-04-14 Block chain transaction recording method, equipment, block chain node and computer medium

Country Status (1)

Country Link
CN (1) CN111539723A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825350A (en) * 2006-03-22 2006-08-30 古铁锋 Trade prevention (reality and network) fake system using deposit as assuring mode
CN108335174A (en) * 2018-02-07 2018-07-27 阳泉恒跃兴钙业有限公司 Store control system and method, information data processing terminal based on block chain
CN109544157A (en) * 2018-10-25 2019-03-29 腾讯科技(深圳)有限公司 Transaction processing method, device and system
CN109697606A (en) * 2018-09-30 2019-04-30 贝克链区块链技术有限公司 The distributed network and the ecosystem of common recognition agreement are proved based on innovative prestige
CN109886812A (en) * 2019-02-15 2019-06-14 航天恒星科技有限公司 Data transacting system and method based on block chain
CN110019103A (en) * 2018-10-16 2019-07-16 陕西医链区块链集团有限公司 It is a kind of based on block chain across catenary system and across chain implementation method
CN110096905A (en) * 2019-04-28 2019-08-06 杭州秘猿科技有限公司 Using the method, apparatus and electronic equipment of block chain technology secrecy trust assets
CN110245517A (en) * 2019-05-29 2019-09-17 杭州秘猿科技有限公司 A kind of across chain method, apparatus, system and the electronic equipment of block chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825350A (en) * 2006-03-22 2006-08-30 古铁锋 Trade prevention (reality and network) fake system using deposit as assuring mode
CN108335174A (en) * 2018-02-07 2018-07-27 阳泉恒跃兴钙业有限公司 Store control system and method, information data processing terminal based on block chain
CN109697606A (en) * 2018-09-30 2019-04-30 贝克链区块链技术有限公司 The distributed network and the ecosystem of common recognition agreement are proved based on innovative prestige
CN110019103A (en) * 2018-10-16 2019-07-16 陕西医链区块链集团有限公司 It is a kind of based on block chain across catenary system and across chain implementation method
CN109544157A (en) * 2018-10-25 2019-03-29 腾讯科技(深圳)有限公司 Transaction processing method, device and system
CN109886812A (en) * 2019-02-15 2019-06-14 航天恒星科技有限公司 Data transacting system and method based on block chain
CN110096905A (en) * 2019-04-28 2019-08-06 杭州秘猿科技有限公司 Using the method, apparatus and electronic equipment of block chain technology secrecy trust assets
CN110245517A (en) * 2019-05-29 2019-09-17 杭州秘猿科技有限公司 A kind of across chain method, apparatus, system and the electronic equipment of block chain

Similar Documents

Publication Publication Date Title
EP3776441B1 (en) Digital asset exchange
Galal et al. Verifiable sealed-bid auction on the ethereum blockchain
JP7264350B2 (en) Methods for Exchange and Valuation of Virtual Currencies
US11899809B2 (en) Proof-of-approval distributed ledger
KR102128476B1 (en) System and method for trading power based on blockchain smart contract
EP4014187A1 (en) System and method of providing a blockchain-based recordation process
CN109886677B (en) Commodity purchasing method and device based on block chain
CN110192216B (en) Computer-implemented method and system
CN110020948B (en) Asset tracing method and device based on block chain and electronic equipment
US20220164791A1 (en) Method for distributing collectables ownership based on blockchain networks and online transaction server using the same
US20190318425A1 (en) Energy future token platform
WO2020233404A1 (en) Transaction system and method, and nodes in transaction system
KR102343432B1 (en) Virtual currency payment system and method on-line and off-line for nodes included in mobile-based blockchain distributed network
WO2020164738A1 (en) Method and system for settling a blockchain transaction
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
CN109447802B (en) Fund management system based on block chain technology
CN109726249B (en) Decentralized chip research and development transaction data storage method and system
CN107909440A (en) A kind of distribution general ledger system transaction synchronization liquidation method and system
CN112258252A (en) Block chain-based data asset value evaluation device and method
CN111986022A (en) Transaction quota processing method and system based on block chain and each node
CN110860090A (en) Game asset transaction method based on block chain
CN111539723A (en) Block chain transaction recording method, equipment, block chain node and computer medium
KR20230031983A (en) Methods and systems for creating, tracking and changing the state of non-divisible tokens
US20220405738A1 (en) System and method for online/offline payment with virtual currency for nodes included in mobile-based blockchain distributed network
CN111522790B (en) IPFS data transaction method, device and equipment based on BigBang Core block chain electronic commerce template

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