CN111522826B - Bid transaction processing method and system based on block chain and relevant nodes - Google Patents

Bid transaction processing method and system based on block chain and relevant nodes Download PDF

Info

Publication number
CN111522826B
CN111522826B CN202010278873.4A CN202010278873A CN111522826B CN 111522826 B CN111522826 B CN 111522826B CN 202010278873 A CN202010278873 A CN 202010278873A CN 111522826 B CN111522826 B CN 111522826B
Authority
CN
China
Prior art keywords
transaction
node
processing
bidding
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010278873.4A
Other languages
Chinese (zh)
Other versions
CN111522826A (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.)
Shanghai Gold Exchange
Original Assignee
Shanghai Gold Exchange
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 Shanghai Gold Exchange filed Critical Shanghai Gold Exchange
Priority to CN202010278873.4A priority Critical patent/CN111522826B/en
Publication of CN111522826A publication Critical patent/CN111522826A/en
Application granted granted Critical
Publication of CN111522826B publication Critical patent/CN111522826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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 provides a block chain-based bidding transaction processing method, a system and all relevant nodes, wherein bidding transaction participant nodes form a block chain network; the bidding transaction processing method comprises a plurality of sets of bidding, wherein one set of bidding comprises the following steps: the competitive price transaction participant node selects a transaction processing node; the transaction initiating node submits a transaction report; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network; the transaction processing node receives a plurality of transaction newspapers; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper; sending a settlement processing request to a blockchain network; the transaction initiating node receives the settlement processing request and performs redemption processing of funds and assets. The technical scheme realizes the efficient, safe and reliable competitive transaction processing.

Description

Bid transaction processing method and system based on block chain and relevant nodes
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and a system for processing a bid transaction based on a blockchain, and each relevant node.
Background
At present, the traditional bidding transaction has the following characteristics: 1) In the traditional centralized transaction, bidding relies on a centralized platform to obtain quotations, bid matching, registration and the like, and the requirements on credit and risk bearing capacity of a transaction center node are high; 2) To realize centralized transaction, the asset is required to be hosted in an asset hosting mechanism, the centralized asset hosting mechanism carries out settlement and transfer of the asset, and the risk and settlement condition of a time point are required to be obtained and risk processing is carried out during transfer; 3) The centralized transaction facility has high requirements on the physical performance of a single point and the physical connection performance of a transactor and a transaction system. Due to the characteristics, the centralized transaction system bears financial market risks, and has the advantages of high running cost, limited capacity and high product and customer expansion cost.
Meanwhile, the traditional bidding transaction is applied to the decentralized blockchain, and the continuous bidding with time priority and price priority has the problems that the price priority is difficult to meet, the physical performance requirement of the transaction on the node is high, and the information feedback is not timely.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a bidding transaction processing method based on a blockchain, which is used for realizing efficient, safe and reliable bidding transaction processing, wherein bidding transaction participant nodes form a blockchain network; the bidding transaction processing method based on the blockchain comprises multiple sets of bidding processing, wherein one set of bidding processing comprises the following steps:
the competitive price transaction participant node selects at least one competitive price transaction participant node as a transaction processing node;
a transaction initiating node in the competitive price transaction participant node submits a transaction report; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network;
the transaction processing node receives a plurality of transaction newspapers sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper; sending a settlement processing request to a blockchain network;
and the transaction initiating node receives a settlement processing request sent by the blockchain network, and performs cash processing on funds and assets according to the settlement request.
The embodiment of the invention also provides a bidding transaction processing method based on the blockchain, which is applied to the bidding transaction initiating node and is used for realizing efficient, safe and reliable bidding transaction processing, wherein bidding transaction participant nodes form a blockchain network; a bid transaction processing node is selected by a bid transaction participant node, the bid transaction processing method comprising:
submitting a transaction newspaper according to the requirements;
according to the transaction report content, checking and freezing the related funds and assets;
transmitting the transaction newspaper to a blockchain network;
receiving a settlement processing request corresponding to a transaction report sent by a blockchain network;
and carrying out cash processing on funds and assets according to the settlement request.
The embodiment of the invention also provides a bidding transaction processing method based on the blockchain, which is applied to the bidding transaction processing nodes and is used for realizing efficient, safe and reliable processing of bidding transactions, wherein bidding transaction participant nodes form a blockchain network; a bid transaction processing node is selected by a bid transaction participant node, the bid transaction processing method comprising:
receiving a plurality of transaction newspapers sent through a blockchain network;
according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper;
The settlement processing request is sent to the blockchain network.
The embodiment of the invention also provides a bidding transaction processing system based on the blockchain, which is used for realizing efficient, safe and reliable bidding transaction processing, wherein bidding transaction participant nodes form a blockchain network; the bid transaction processing system includes:
a transaction initiating node in the competitive price transaction participant nodes is used for submitting a transaction report; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network; receiving a settlement processing request sent by a blockchain network, and performing cash processing on funds and assets according to the settlement request;
at least one transaction processing node selected by the competing transaction participant nodes for receiving a plurality of transaction newspapers transmitted through the blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper; the settlement processing request is sent to the blockchain network.
The embodiment of the invention also provides a bidding transaction initiating node based on the blockchain, which is used for realizing efficient, safe and reliable bidding transaction processing, wherein bidding transaction participant nodes form a blockchain network; a bid transaction processing node is selected by a bid transaction participant node, the bid transaction initiating node comprising:
The first receiving unit is used for submitting a transaction newspaper; receiving a settlement processing request sent by a blockchain network;
the first processing unit is used for checking and freezing the related funds and assets according to the transaction newspaper contents; according to the settlement request, performing cash processing on funds and assets;
and the first sending unit is used for sending the transaction newspaper to the blockchain network.
The embodiment of the invention also provides a bidding transaction processing node based on the blockchain, which is used for realizing efficient, safe and reliable bidding transaction processing, wherein bidding transaction participant nodes form a blockchain network; the bid transaction processing node is selected by a bid transaction participant node, the bid transaction processing node comprising:
the second receiving unit is used for receiving a plurality of transaction newspapers sent by the blockchain network;
the second processing unit is used for carrying out matching and transaction registration processing on all transactions related to the transaction newspaper based on a price quotation priority transaction principle in a preset time period according to a preset transaction time interval;
and the second sending unit is used for sending the settlement processing request to the blockchain network.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the bidding transaction processing method based on the block chain when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the bidding transaction processing method based on the blockchain.
In the bidding transaction processing technical scheme based on the blockchain, the bidding transaction participant nodes form a blockchain network; the blockchain-based bidding transaction processing scheme includes a multiple aggregate bidding process, wherein a single aggregate bidding process includes: the competitive price transaction participant node selects at least one competitive price transaction participant node as a transaction processing node; a transaction initiating node in the competitive price transaction participant node submits a transaction report; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network; the transaction processing node receives a plurality of transaction newspapers sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper; sending a settlement processing request to a blockchain network; the transaction initiating node receives a settlement processing request sent by the blockchain network, and performs cash processing on funds and assets according to the settlement request.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, 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 blockchain-based bidding transaction processing method applied to a system in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a blockchain-based bidding transaction process in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a blockchain-based bid transaction processing method applied to a bid transaction initiation node in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of a blockchain-based bid transaction processing method applied to a bid transaction processing node in accordance with an embodiment of the present invention;
FIG. 5 is a block chain based bid transaction processing system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the structure of an bidding transaction initiating node in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an bidding transaction processing node according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Before describing the scheme provided by the embodiment of the present invention, the technical nouns related to the embodiment of the present invention are first described:
1. blockchain: a technology based on a distributed account book and a consensus mechanism, wherein the distributed account book is used for sharing information among all nodes, and the consensus mechanism is used for confirming and issuing information changes which occur to the distributed account book by the nodes, and the information changes which occur on all nodes of a blockchain have non-tamper property and traceability.
2. Intelligent contract: conventional contracts, the contracts may be subject to a number of problems to be executed. And executing failure problems and third party participation problems. Even further problems may be encountered during execution of the contract.
Smart contracts are a set of digitally defined commitments that include agreements on which contract participants can perform. That is, smart contracts are a set of protocols that automatically perform certain manual tasks. In essence, intelligent contracts correspond to the construction of a contract in a computer system that is readable by all parties. Only when a certain event is triggered, the execution is performed immediately. For example, A pays B for XX, and B gives A the goods.
The smart contracts do not have to be implemented in dependence on the blockchain, but part of the underlying nature of the blockchain determines that the smart contracts are more suitable for implementation on the blockchain. Such as decentralization, tamper resistance of data, high availability, etc. The decentralization can ensure that the whole network backup of the data is not interfered by a third party mechanism, and the data can be tampered without worrying about. Meanwhile, the method is also beneficial to the subsequent audit work. High availability does not present problems such as attacks or other problems with current central services or central storage systems where contracts do not execute. In summary, the best characteristic that blockchains give smart contracts is the "trust mechanism".
Asset transactions on blockchains are an important research direction for blockchain applications. For a long time, two development routes of decentralization transaction and centralization transaction exist in the transaction.
At the present time, centralized transactions are the mainstay of blockchain asset transactions. Whether blockchain digital currency transactions are primarily completed by centralized transactions, various blockchain-based digital asset transactions are also centrally completed, which often require customers to host digital assets to a designated account. The clients submit the trade report to the trade center, the trade is matched by the trade center, and the settlement is transferred. The centralized transaction of the digital asset is not greatly different from the centralized transaction of the traditional asset, and the defects of the traditional centralized transaction such as high system requirements, high credit risk and the like exist, and the technical faults of the exchange lead to the infinite layers of customer loss, the theft of the asset hosted by the exchange, the rolling and running of the exchange and the like.
The decentralization transaction is also more realized on the blockchain, but the current decentralization exchange often has no asset pricing function, and the main function is to provide transactions for transacted intent players. The main transaction protocols of the decentralised exchange include 0x,IDEX,Waves,Loopring,Kyber Network,Decred,Nash exchange and atom dex etc. Wherein 0x relies on a repeater (relay) model to conduct the process of matching orders between two traders. IDEX only supports ethernet ecology tokens, using ethernet as a settlement layer, all content is first updated in its centralized database before it is written into the blockchain. The Waves DEX is deduced from the Waves item. The Waves have their own blockchain and a token (Waves) of the same name, which is part of their decentralized transaction platform. While the Waves order matching engine is open source, order matching is still centralized. The transaction is performed by the matcher (intermediate quotient) and is therefore not performed on the chain.
The traditional bidding transaction has the following characteristics: 1) In the traditional centralized transaction, bidding relies on a centralized platform to obtain quotations, bid matching, registration and the like, and the requirements on credit and risk bearing capacity of a transaction center node are high; 2) To realize centralized transaction, the asset is required to be hosted in an asset hosting mechanism, the centralized asset hosting mechanism carries out settlement and transfer of the asset, and the risk and settlement condition of a time point are required to be obtained and risk processing is carried out during transfer; 3) The centralized transaction facility has high requirements on the physical performance of a single point and the physical connection performance of a transactor and a transaction system. Due to the characteristics, the centralized transaction system bears financial market risks, and has the advantages of high running cost, limited capacity and high product and customer expansion cost. Meanwhile, the traditional competitive price transaction has high requirements on mobility due to more transaction opportunities, and meanwhile, the situation of flash collapse and the like is easy to occur. Many students consider the rationality of traditional bidding, such as one student thinking that multiple aggregate bidding has the opportunity to replace continuous bidding, and become the mainstream mode of asset pricing.
The blockchain technology provides a new idea for realizing the exchange. The blockchain system has the characteristics of consensus mechanism, encryption transmission mechanism, consistency check mechanism and the like, and is based on a distributed account book and has the characteristics of decentralization and trust. With the development of the blockchain, the new generation blockchain has the characteristics of fast transaction achievement, low-cost trusted verification, intelligent contract support and the like. However, the conventional blockchain system supports functions such as distributed accounting, point-to-point transfer, etc., but does not have a mechanism for decentralizing collective bidding transactions, and cannot form a trusted asset price.
In view of the technical problems of the existing service data processing manner, the inventor proposes a bidding transaction processing scheme based on a blockchain, wherein the scheme is a bidding transaction scheme which can be performed on the blockchain in a decentralizing way, and has the following characteristics: the scheme has low requirements on node performance and credit, and does not need to be completed at a node with specific credit or high physical performance; the proposal can complete the trade achievement and price discovery functions of the traded varieties, and can be qualified as the price-setting function of the traded varieties; and thirdly, the scheme can ensure the safety and the reliability of settlement transfer. The blockchain-based bidding transaction processing scheme is described in detail below.
Fig. 1 is a flow chart of a blockchain-based bidding transaction processing method applied to a system according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step 101: the competitive price transaction participant node selects at least one competitive price transaction participant node as a transaction processing node;
step 102: a transaction initiating node in the competitive price transaction participant node submits a transaction report; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network;
step 103: the transaction processing node receives a plurality of transaction newspapers sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper; sending a settlement processing request to a blockchain network;
step 104: and the transaction initiating node receives a settlement processing request sent by the blockchain network, and performs cash processing on funds and assets according to the settlement request.
Compared with the continuous bidding processing scheme in the prior art, the bidding transaction processing method provided by the embodiment of the invention has the beneficial technical effects that:
Compared with the scheme that the bid-dependent centralized platform in the prior art obtains the bid, performs bid matching, registration and the like to finish continuous bid, has higher requirements on credit and risk bearing capacity of a transaction center node, and has higher requirements on physical performance of a single point by a centralized transaction facility, and has higher requirements on physical connection performance of a transactor and a transaction system, the bid transaction processing method based on the blockchain in the embodiment of the invention comprises multiple sets of bid processing, wherein in the process of one set of bid processing, at least one bid transaction participant node is selected as a transaction processing node by the bid transaction participant node, and continuous work of a certain node is not relied on, so that the distributed node performs bid collection, bid matching, registration, settlement and the like, thereby realizing distributed running of the set bid and ensuring efficient, safe and reliable bid transaction.
Compared with the scheme that the centralized transaction is to be realized in the prior art, the asset is required to be hosted in the asset hosting mechanism, the centralized asset hosting mechanism carries out settlement transfer of the asset, and the safety reliability is poor, the scheme provided by the embodiment of the invention obtains the risk and settlement condition of a time point during transfer, the node time of the selected transaction processing node is used as the reference time of one transaction for collective bidding, the risk processing transaction asset and funds are frozen before the transaction, and the safe and reliable performance of bidding transaction processing is ensured.
In addition, the set bidding adopts the bidding price to be in preferential exchange within a specified time period, so that the safe and reliable execution of bidding transaction processing is ensured.
In summary, the competitive price transaction processing method provided by the embodiment of the invention realizes the efficient, safe and reliable competitive price transaction processing.
In particular implementations, blockchains in embodiments of the invention include, but are not limited to, various public, private, and federated chains; the blockchain itself needs to have a consensus mechanism, an encryption mechanism, a consistency check mechanism.
The following describes the steps involved in the embodiment of the present invention in detail with reference to fig. 2.
1. First, the above step 101 is described.
In particular, as shown in fig. 2, the bidding transaction participant nodes on the blockchain selectively generate or designate the transaction processing nodes through an election mechanism, that is, based on a certain consensus mechanism, specifically, the blockchain selects the transaction processing nodes through a consensus algorithm according to the transaction initiating node of the protocol, and the consensus algorithm can be generated through a DPOS consensus algorithm under the private chain environment. Specifically, each transaction participant node may specify one transaction processing node, one transaction processing node or a plurality of transaction processing nodes through comprehensive evaluation on network quality, transaction behaviors of each transaction participant node, and the like.
2. The above step 102 is next described.
In specific implementation, as shown in fig. 2, each transaction initiating node designates an asset account and a fund account, and performs fund verification freezing and asset verification freezing at the same time of quotation, namely, the transaction initiating node submits a transaction report on a blockchain, and locks the related funds and assets according to the contents of the transaction report. The transaction initiating node broadcasts its transaction declaration (transaction declaration) to the blockchain, i.e., the transaction initiating node communicates the transaction declaration to the transaction processing node via the blockchain communication mechanism.
In one embodiment, the transaction statement may include quote price data and its corresponding direction and volume of deals.
When the method is specifically implemented, the transaction newspaper initiated by each transaction initiating node comprises the trading willingness of a plurality of prices, namely quotation price data, and corresponding trading direction and trading volume.
3. The above step 103 is then described.
In one embodiment, the above-mentioned blockchain-based bidding transaction processing method may further include:
after matching and transaction registration processing, the transaction processing node writes the current aggregate bid price data and the transaction amount data into a blockchain ledger and sends the blockchain ledger to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network;
The transaction initiating node receives the current aggregate bid price data and the transaction amount data sent by the blockchain network; or highest bid data and lowest ask data.
In specific implementation, as shown in fig. 2, the transaction processing node performs matching and transaction registration on the transaction according to the time specified by the blockchain, sends a settlement request to the transaction initiating node, and sends the bid price and the transaction amount of the round set, if no transaction is made in the round, the highest bid price and the lowest bid price are sent, the data is safe and transparent, and the safe and reliable processing of the bid transaction is ensured.
In specific implementation, as shown in fig. 2, the transaction processing node gathers all transaction newspapers and matches them, performs bidding processing according to a preset standard set bidding flow, and the bid price in the bidding processing cannot be revoked. If no deal is made, the deal processing node is re-asked to bid and the next round of bidding is performed. After the competitive price transaction processing is completed, the content of the received transaction report is stored in a transaction processing node, funds and assets of a transaction initiating node are transferred according to a preset rule of a basic blockchain, and the transfer result is written into a block by the transaction processing node. The transaction processing node writes the transaction price and the transaction amount into the block at the same time, but if one round of transaction is not completed, the transaction processing node writes the optimal buying price or selling price of the last transaction into the block.
In one embodiment, the above-mentioned blockchain-based bidding transaction processing method may further include:
the transaction processing node sends a plurality of processing receipts to the blockchain network after receiving a plurality of transaction receipts sent by the blockchain network and checking the transaction receipts;
the associated transaction initiating node receives a processing receipt sent over the blockchain network.
When the method is implemented, the transaction processing node sends a processing receipt to the transaction initiating node after receiving the transaction report of the transaction initiating node and checking the transaction report to pass, so that the bidding transaction is ensured to be processed safely and reliably.
The inventors have found a technical problem: the trade interval time is determined according to the target price fluctuation in one day. The calculation formula is Argmax { tau } { [ theta ] e (τ)×ψ e (τ) < Threshold }, to ensure that prices are continuously eligible.
Using analysis of the microstructure technology of the market, assuming the market consists of N information traders and M liquidity providers, it can be demonstrated that aggregate bid balancing exists, which must be satisfied:
where ρ can be considered the profitability of the trader per trade, ψ is the asset price volatility. At this time, the market can be cleared at a balanced price. However, when the unpublished information is large, the asset fluctuation is large, and the trading interest of traders is high, the market cannot form a balanced price. Therefore, in view of the above-described technical problems, the inventors propose that in a plurality of aggregate bids, transaction rounds must be comprehensively formulated according to asset fluctuations, unpublished information situations, and the like. Thus, the formula is taken as: argmax { τ } { θ e (τ)×ψ e (τ)<Threshold}。
That is, in one embodiment, the predetermined transaction time interval is determined based on historical information and market information of the bidding transaction.
When the method is implemented, the transaction is carried out for a plurality of times according to quotation or transaction history, the time interval of each execution is autonomously determined according to the historical information and the referenceable variety pricing, namely, the execution time interval is comprehensively designated by the historical information and market quotation information of the prior transaction, so that the safety and reliability of competitive price transaction processing are improved.
In one embodiment, the predetermined transaction time interval is determined according to the following formula:
Argmax{τ}{θ e (τ)×ψ e (τ)<Threshold}; (2)
where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, which is typically assumed in the application to arrive at Brownian motion of constant intensity, then the unpublished information is θ -e (τ) =λτ, threshold is an empirical value, typically a constant.
In the implementation, the preset transaction time interval is determined according to the formula (2), so that the safety and reliability of competitive bidding transaction processing are further ensured.
4. The above step 104 is next described.
In one embodiment, the above-mentioned blockchain-based bidding transaction processing method may further include:
After the redemption process is finished, the transaction initiating node sends a settlement process finishing receipt to the blockchain network;
and the transaction processing node receives a settlement processing end receipt sent by the blockchain network, and performs blockchain accounting processing according to the settlement processing end receipt.
In specific implementation, as shown in fig. 2, the transaction initiating node performs cash on funds and assets according to a settlement request of the transaction processing node, and sends a settlement end receipt (settlement end receipt) to the transaction processing node after the cash is ended, and the blockchain accounts the generated transaction, so that efficient, safe and reliable processing of bidding transactions is ensured.
An example of which is illustrated in conjunction with fig. 2 to facilitate an understanding of how the present invention may be practiced.
This embodiment illustrates how a matching transaction is implemented in the presence of a transaction processing node-a transaction initiating node.
At T 0 At moment, the block chain selects transaction processing nodes according to the transaction initiating nodes of the protocol through a consensus algorithm, and under the private chain environment, the consensus algorithm can be generated through a DPOS consensus algorithm, so that each transaction participant node can assign one transaction processing node, one transaction processing node or a plurality of transaction processing nodes through comprehensive evaluation of network quality, transaction behaviors of each transaction participant node and the like;
At T 1 At this time, the transaction initiating node broadcasts its transaction declaration to the blockchain, assuming that the transaction object is gold (g), the order format may be as shown in table 1 below:
price of Direction Open flat Quantity of
269(/g) Ask Flat plate 100(g)
268(/g) Ask Flat plate 50(g)
267(/g) Ask Flat plate 20(g)
266(/g) Ask Flat plate 10(g)
265(/g) Ask Flat plate 5(g)
TABLE 1
The record of its assets and funds in the blockchain ledger may be as shown in table 2 below:
funds Asset(s)
300000 1000g
TABLE 2
The node risk check passes, the block chain node locks the funds, the order is broadcast to all block chain nodes, and the transaction processing node receives and replies that the report is successfully received;
at T 2 At the moment, the transaction processing node processes the declaration form and obtains the queue:
queue 1: the buy queue may be as shown in table 3 below:
price of Direction Open flat Quantity of
269 Bid Opening device 100
268 Bid Opening device 200
267 Bid Opening device 500
266 Bid Opening device 900
265 Bid Opening device 1000
TABLE 3 Table 3
Queue 2: the sell queue may be as shown in Table 4 below:
price of Direction Open flat Quantity of
269 Ask Flat plate 1000
268 Ask Flat plate 800
267 Ask Flat plate 600
266 Ask Flat plate 400
265 Ask Flat plate 100
TABLE 4 Table 4
From the above, it can be seen that the buy queue at 267 has 800g buy, 1100g sell. At this point, the transaction processing node sets 267 the reference price, and then equally divides 300g of the open demand to each of the nodes having flat demand.
T 3 At the moment, the transaction processing node sends a settlement request to the transaction initiating node, and sends the matched price to the blockchain node. If there is no deal in this round, the highest bid price and lowest offer are sent.
T 4 At the moment, each node settles and finishes, accounts the blockchain, updates the asset and the fund account and finishes the transaction. And simultaneously calculating the waiting time of the next round according to the fluctuation rate of gold, and preparing to start the next round of bidding.
In summary, the bidding transaction processing scheme has the following advantages: 1) According to the scheme, a blockchain is used as a bottom layer system, the distributed nodes and the central node jointly perform quotation collection, bid matching, registration and other processes, and the distributed nodes (selected bid transaction processing nodes) perform settlement, so that the pressure of the original central node is reduced; 2) The scheme carries out real-time registration and settlement of each round of transaction, and processes risks of each round of transaction; 3) The scheme can realize 7×24 hours operation and obtain matched reference prices.
Based on the same inventive concept, the embodiment of the invention also provides a block chain-based bidding transaction processing method which is applied to bidding transaction initiating nodes, as described in the following embodiment. Since the principle of solving the problem of the bidding transaction processing method applied to the bidding transaction initiating node is similar to that of the bidding transaction processing method applied to the system based on the blockchain, the implementation of the bidding transaction processing method applied to the bidding transaction initiating node can be referred to the implementation of the bidding transaction processing method applied to the system based on the blockchain, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 3 is a schematic diagram of a blockchain-based bidding transaction processing method applied to bidding transaction initiation nodes in an embodiment of the present invention, wherein bidding transaction participant nodes form a blockchain network; the competitive price transaction processing node is selected by the competitive price transaction participant node, and as shown in fig. 3, the competitive price transaction processing method comprises the following steps:
step 201: submitting a transaction newspaper;
step 202: according to the transaction report content, checking and freezing the related funds and assets;
step 203: transmitting the transaction newspaper to a blockchain network;
step 204: receiving a settlement processing request corresponding to a transaction report sent by a blockchain network;
step 205: and carrying out cash processing on funds and assets according to the settlement request.
In one embodiment, the above-mentioned bid transaction processing method applied to the bid transaction initiating node may further include: receiving the current set bid price data and the transaction amount data sent by a block chain network; or highest bid data and lowest ask data.
In one embodiment, the above-mentioned bid transaction processing method applied to the bid transaction initiating node may further include: a processing response piece sent over a blockchain network is received.
In one embodiment, the above-mentioned bid transaction processing method applied to the bid transaction initiating node may further include: after the redemption process is completed, a settlement process end receipt is sent to the blockchain network.
Based on the same inventive concept, the embodiment of the invention also provides a bidding transaction processing method based on the blockchain, which is applied to the bidding transaction processing node, as described in the following embodiment. Since the principle of solving the problem by the bidding transaction processing method applied to the bidding transaction processing node is similar to that of the bidding transaction processing method applied to the system based on the blockchain, the implementation of the bidding transaction processing method applied to the bidding transaction processing node can be referred to the implementation of the bidding transaction processing method applied to the system based on the blockchain, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 4 is a schematic diagram of a blockchain-based bidding transaction processing method applied to bidding transaction processing nodes in an embodiment of the present invention, wherein bidding transaction participant nodes form a blockchain network; the competitive transaction processing node is selected by a competitive transaction participant node, and as shown in fig. 4, the competitive transaction processing method comprises the following steps:
Step 301: receiving a plurality of transaction newspapers sent through a blockchain network;
step 302: according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper;
step 303: the settlement processing request is sent to the blockchain network.
In one embodiment, the above-mentioned bidding transaction processing method applied to the bidding transaction processing node may further include:
after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book;
after matching and transaction registration processing, the collected bid price data and transaction amount data are sent to a blockchain network; or under the condition of no deal at this time, the highest buying price data and the lowest selling price data are sent to the blockchain network.
In one embodiment, the above-mentioned bidding transaction processing method applied to the bidding transaction processing node may further include: after receiving the transaction tickets sent through the blockchain network and verifying the receipt, the transaction tickets are sent to the blockchain network.
In one embodiment, the above-mentioned bidding transaction processing method applied to the bidding transaction processing node may further include:
receiving a settlement processing end receipt sent by a blockchain network;
and carrying out blockchain billing processing according to the settlement processing ending receipt.
In one embodiment, the above-mentioned bidding transaction processing method applied to the bidding transaction processing node may further include: when a plurality of transaction processing nodes are selected in the process of one-time collective bidding processing, the transaction report consistency is checked among the transaction processing nodes.
Based on the same inventive concept, the embodiment of the invention also provides a bidding transaction processing system based on the block chain, as described in the following embodiment. Because the principle of solving the problem of the bidding transaction processing system based on the blockchain is similar to that of the bidding transaction processing method based on the blockchain applied to the system, the implementation of the bidding transaction processing system based on the blockchain can be referred to the implementation of the bidding transaction processing method based on the blockchain applied to the system, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 5 is a schematic diagram of a blockchain-based bidding transaction processing system in accordance with an embodiment of the present invention, wherein bidding transaction participant nodes form a blockchain network; as shown in fig. 5, the competitive bidding transaction processing system includes:
a transaction initiating node 01 in the competitive price transaction participant nodes is used for submitting a transaction report; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network; receiving a settlement processing request sent by a blockchain network, and performing cash processing on funds and assets according to the settlement request;
at least one transaction processing node 02 selected by the competing transaction participant nodes for receiving a plurality of transaction orders transmitted over the blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to transaction newspaper; the settlement processing request is sent to the blockchain network.
In one embodiment, the transaction processing node may be further configured to write the bid price data and the transaction amount data of the current set into the blockchain ledger after the matching and transaction registration processing, and send the data to the blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network;
The transaction initiating node can also be used for receiving the current aggregate bid price data and the transaction amount data sent by the blockchain network; or highest bid data and lowest ask data.
In one embodiment, the transaction processing node may be further configured to send a plurality of processing returns to the blockchain network after receiving a plurality of transaction receipts sent over the blockchain network and after verification passes;
the associated transaction initiating node may also be configured to receive a processing response piece sent over the blockchain network.
In one embodiment, the transaction initiating node may be further configured to send a settlement process end receipt to the blockchain network after the redemption process ends;
the transaction processing node may be further configured to receive a settlement processing end receipt sent over the blockchain network, and perform blockchain billing processing based on the settlement processing end receipt.
In one embodiment, when multiple transaction processing nodes are selected during a collective bidding process, the multiple transaction processing nodes may also be used to verify transaction statement consistency processing among the multiple transaction processing nodes.
In one embodiment, the predetermined transaction time interval may be determined based on historical information and market information of the bidding transaction.
In one embodiment, the preset transaction time interval may be determined according to the following formula:
Argmax{τ}{θ e (τ)×ψ e (τ)<Threshold};
where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
In one embodiment, the transaction statement may include quote price data and its corresponding direction and volume of deals.
Based on the same inventive concept, the embodiment of the invention also provides a bidding transaction initiating node based on the block chain, as described in the following embodiment. Because the principle of solving the problem by the bidding transaction initiating node based on the blockchain is similar to that of the bidding transaction processing method based on the blockchain, which is applied to the system, the implementation of the bidding transaction initiating node based on the blockchain can be referred to the implementation of the bidding transaction processing method based on the blockchain, which is applied to the system, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 6 is a schematic diagram of a bid transaction initiation node in an embodiment of the present invention, wherein the bid transaction participant nodes form a blockchain network; the bid transaction processing node is selected by the bid transaction participant node, as shown in fig. 6, the bid transaction initiating node comprises:
a first receiving unit 011 for submitting a transaction report; receiving a settlement processing request sent by a blockchain network;
a first processing unit 012 for performing a check-freeze process on the funds and assets involved in accordance with the contents of the transaction statement; according to the settlement request, performing cash processing on funds and assets;
the first sending unit 013 is used for sending the transaction report to the blockchain network.
In one embodiment, the first receiving unit 011 may also be configured to receive the current aggregate bid price data and the transaction amount data sent through the blockchain network; or highest bid data and lowest ask data.
In one embodiment, the first receiving unit 011 can also be used to receive processing returns sent over a blockchain network.
In one embodiment, the first sending unit 013 may be further configured to send a settlement process end receipt to the blockchain network after the redemption process ends.
Based on the same inventive concept, the embodiment of the invention also provides a bidding transaction processing node based on the block chain, as described in the following embodiment. Because the principle of solving the problem by the bidding transaction processing node based on the blockchain is similar to that of the bidding transaction processing method based on the blockchain, which is applied to the system, the implementation of the bidding transaction processing node based on the blockchain can be referred to the implementation of the bidding transaction processing method based on the blockchain, which is applied to the system, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 7 is a schematic diagram of a bid transaction processing node in an embodiment of the present invention, wherein the bid transaction participant nodes form a blockchain network; the bid transaction processing node is selected by a bid transaction participant node, as shown in fig. 7, comprising:
a second receiving unit 021 for receiving a plurality of transaction newspapers sent through a blockchain network;
A second processing unit 022, configured to perform matching and transaction registration processing on transactions related to all transaction newspapers based on a price quotation priority transaction principle in a preset time period according to a preset transaction time interval;
a second transmitting unit 023 for transmitting a settlement processing request to the blockchain network.
In one embodiment, the bid transaction processing node may further include: the writing unit is used for writing the bid price data and the transaction amount data of the current set into the blockchain ledger after the matching and transaction registration processing; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book;
the second sending unit 023 may be further configured to send the current aggregate bid price data and the transaction amount data to the blockchain network after the matching and the transaction registration processing; or under the condition of no deal at this time, the highest buying price data and the lowest selling price data are sent to the blockchain network.
In one embodiment, the second sending unit 023 may be further configured to send a plurality of processing returns to the blockchain network after receiving a plurality of transaction reports sent through the blockchain network and after verification passes.
In one embodiment, the second receiving unit 021 may be further configured to receive an end receipt of a settlement process sent through a blockchain network;
the transaction processing node may further include: and the accounting processing unit is used for carrying out blockchain accounting processing according to the accounting processing ending receipt.
In one embodiment, the transaction processing node may further comprise: and the consistency processing unit is used for checking the consistency of the transaction newspaper among the transaction processing nodes when the transaction processing nodes are selected in the process of one-time collective bidding processing.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the bidding transaction processing method based on the block chain when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the bidding transaction processing method based on the blockchain.
Compared with the prior art, the embodiment of the invention provides the technical scheme with the following beneficial technical effects:
1) The centralized exchange depends on the continuous operation of a single point of the central system, once the center fails, the transaction cannot be completed, and the system is fragile. The embodiment of the invention can conduct collective bidding transaction at the decentralised node, does not depend on the continuous work of a certain node, and has stronger robustness.
2) The embodiment of the invention uses the transaction method based on pricing matching, and does not need to sequence each transaction, thereby reducing the dependence of a blockchain transaction system on synchronization and network delay, ensuring that bidding can be implemented, and realizing distributed execution of the transaction, namely ensuring the maximum information of price reaction and ensuring the security of the transaction.
In conclusion, the technical scheme provided by the embodiment of the invention realizes efficient, safe and reliable competitive price transaction processing.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations can be made to the embodiments of the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A bid transaction processing method based on block chain is applied to a system, and is characterized in that the nodes of the bid transaction participants form a block chain network; the bidding transaction processing method based on the blockchain comprises multiple sets of bidding processing, wherein one set of bidding processing comprises the following steps:
in the process of one-time collective bidding processing, the bidding transaction participant node selects at least one bidding transaction participant node as a transaction processing node through the network quality and the transaction behaviors of each transaction participant node, and does not depend on the continuous work of a certain node; the aggregate bidding takes the node time of the selected transaction processing node as the reference time of a transaction;
A transaction initiating node in the competitive price transaction participant node submits a transaction report, and an asset account and a fund account are designated; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network; each transaction report initiated by each transaction initiating node comprises one or more price trading willingness, including quotation price data, corresponding trading direction and trading volume;
the transaction processing node receives a plurality of transaction newspapers sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching, matching and trading registration processing on the transactions related to all transaction newspapers of buyers and sellers, after the processing is completed, storing the received transaction newspapers in a transaction processing node, settling funds and assets of a transaction initiating node according to a basic blockchain preset rule, and writing settlement results into a block by the transaction processing node; sending a settlement processing request to a blockchain network; after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book and transmitting the blockchain account book to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network; if no deal is made, re-requesting the deal processing node to bid and making the next round of bidding;
The transaction initiating node receives a settlement processing request sent by a blockchain network, and performs cash processing on funds and assets according to the settlement processing request; meanwhile, calculating the waiting time of the next round according to the fluctuation rate of the transaction object, and preparing to start the next round of bidding;
the preset transaction time interval is determined according to historical information and market quotation information of competitive price transaction, and is determined according to the following formula: argmax { τ } { θ e (τ)×ψ e (τ) < Threshold }; where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
2. The blockchain-based bidding transaction processing method of claim 1, further comprising:
the transaction processing node sends a plurality of processing receipts to the blockchain network after receiving a plurality of transaction receipts sent by the blockchain network and checking the transaction receipts;
the associated transaction initiating node receives a processing receipt sent over the blockchain network.
3. The blockchain-based bidding transaction processing method of claim 1, further comprising:
after the redemption process is finished, the transaction initiating node sends a settlement process finishing receipt to the blockchain network;
And the transaction processing node receives a settlement processing end receipt sent by the blockchain network, and performs blockchain accounting processing according to the settlement processing end receipt.
4. A bid transaction processing method based on block chain is applied to bid transaction initiating nodes, and is characterized in that the bid transaction participant nodes form a block chain network; a bid transaction processing node is selected by a bid transaction participant node, the bid transaction processing method comprising:
submitting a transaction report according to the requirements, and designating an asset account and a fund account;
according to the transaction report content, checking and freezing the related funds and assets;
transmitting the transaction newspaper to a blockchain network; each transaction report initiated by each transaction initiating node comprises a plurality of price trading willingness, including quotation price data, corresponding trading direction and trading volume;
receiving a settlement processing request corresponding to a transaction report sent by a blockchain network; the settlement processing request is a transaction processing node which receives a plurality of transaction newspapers sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching, matching and trading registration processing on the transactions related to all transaction newspapers of buyers and sellers, after the processing is completed, storing the received transaction newspapers in a transaction processing node, settling funds and assets of a transaction initiating node according to a preset rule of a basic blockchain, writing a settlement result into a block by the transaction processing node, and sending a settlement processing request; after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book and transmitting the blockchain account book to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network; if no deal is made, re-requesting the deal processing node to bid and making the next round of bidding; in the process of one-time collective bidding processing, the bidding transaction participant node selects at least one bidding transaction participant node as a transaction processing node through the network quality and the transaction behaviors of all the transaction participant nodes, and does not depend on the continuous work of a certain node; the aggregate bidding takes the node time of the selected transaction processing node as the reference time of a transaction;
According to the settlement processing request, performing cash processing on funds and assets; meanwhile, calculating the waiting time of the next round according to the fluctuation rate of the transaction object, and preparing to start the next round of bidding;
the preset transaction time interval is determined according to historical information and market quotation information of competitive price transaction, and is determined according to the following formula: argmax { τ } { θ e (τ)×ψ e (τ) < Threshold }; where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
5. A bid transaction processing method based on block chain is applied to bid transaction processing nodes, and is characterized in that the bid transaction participant nodes form a block chain network; the bid transaction processing node is selected by a bid transaction participant node, and the bid transaction processing method comprises the following steps:
receiving a plurality of transaction newspapers sent through a blockchain network; the transaction report forms are submitted for transaction initiating nodes in competitive price transaction participant nodes, and asset accounts and fund accounts are designated; according to the transaction report content, checking and freezing the related funds and assets, and sending out the transaction report; each transaction report initiated by each transaction initiating node comprises one or more price trading willingness, including quotation price data, corresponding trading direction and trading volume;
According to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to a transaction report, after the processing is completed, storing the contents of the received transaction report in a transaction processing node, settling funds and assets of a transaction initiating node according to a preset rule of a basic blockchain, and writing a settlement result into a block by the transaction processing node;
sending a settlement processing request to a blockchain network; after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book and transmitting the blockchain account book to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network; if no deal is made, re-requesting the deal processing node to bid and making the next round of bidding; the transaction initiating node is used for receiving a settlement processing request sent by a blockchain network and carrying out cash processing on funds and assets according to the settlement processing request; meanwhile, calculating the waiting time of the next round according to the fluctuation rate of the transaction object, and preparing to start the next round of bidding; in the process of one-time collective bidding processing, the bidding transaction participant node selects at least one bidding transaction participant node as a transaction processing node through the network quality and the transaction behaviors of all the transaction participant nodes, and does not depend on the continuous work of a certain node; the aggregate bidding takes the node time of the selected transaction processing node as the reference time of a transaction;
The preset transaction time interval is determined according to historical information and market quotation information of competitive price transaction, and is determined according to the following formula: argmax { τ } { θ e (τ)×ψ e (τ) < Threshold }; where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
6. A blockchain-based bidding transaction processing system, characterized in that bidding transaction participant nodes form a blockchain network; the bid transaction processing system includes:
a transaction initiating node in the competitive price transaction participant nodes is used for submitting transaction newspaper and designating an asset account and a fund account; according to the transaction report content, checking and freezing the related funds and assets; transmitting the transaction newspaper to a blockchain network; receiving a settlement processing request sent by a blockchain network, and performing cash processing on funds and assets according to the settlement processing request; meanwhile, calculating the waiting time of the next round according to the fluctuation rate of the transaction object, and preparing to start the next round of bidding; each transaction report initiated by each transaction initiating node comprises one or more price trading willingness, including quotation price data, corresponding trading direction and trading volume;
At least one transaction processing node selected by the bidding transaction participant node through the transaction actions of the network quality and each transaction participant node in the one-time collective bidding processing process is independent of the continuous work of a certain node and is used for receiving a plurality of transaction newspaper sheets sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to a transaction report, after the processing is completed, storing the contents of the received transaction report in a transaction processing node, settling funds and assets of a transaction initiating node according to a preset rule of a basic blockchain, and writing a settlement result into a block by the transaction processing node; sending a settlement processing request to a blockchain network; after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book and transmitting the blockchain account book to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network; if no deal is made, re-requesting the deal processing node to bid and making the next round of bidding; the aggregate bidding takes the node time of the selected transaction processing node as the reference time of a transaction;
The preset transaction time interval is determined according to historical information and market quotation information of competitive price transaction, and is determined according to the following formula: argmax { τ } { θ e (τ)×ψ e (τ) < Threshold }; where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
7. A blockchain-based bidding transaction initiating node, wherein bidding transaction participant nodes form a blockchain network; a bid transaction processing node is selected by a bid transaction participant node, the bid transaction initiating node comprising:
the first receiving unit submits a transaction report and designates an asset account and a fund account; receiving a settlement processing request sent by a blockchain network; the settlement processing request is a transaction processing node which receives a plurality of transaction newspapers sent by a blockchain network; according to a preset transaction time interval, based on a price quotation priority trading principle in a preset time period, carrying out matching and trading registration processing on all transactions related to a transaction report, after the processing is completed, storing the contents of the received transaction report in a transaction processing node, settling funds and assets of a transaction initiating node according to a preset rule of a basic blockchain, writing a settlement result into a block by the transaction processing node, and sending a settlement processing request; after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book and transmitting the blockchain account book to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network; if no deal is made, re-requesting the deal processing node to bid and making the next round of bidding; in the process of one-time collective bidding processing, the bidding transaction participant node selects at least one bidding transaction participant node as a transaction processing node through the network quality and the transaction behaviors of all the transaction participant nodes, and does not depend on the continuous work of a certain node; the aggregate bidding takes the node time of the selected transaction processing node as the reference time of a transaction;
The first processing unit is used for checking and freezing the related funds and assets according to the transaction newspaper contents; according to the settlement processing request, performing cash processing on funds and assets; meanwhile, calculating the waiting time of the next round according to the fluctuation rate of the transaction object, and preparing to start the next round of bidding;
the first sending unit is used for sending the transaction newspaper to the blockchain network; each transaction report initiated by each transaction initiating node comprises a plurality of price trading willingness, including quotation price data, corresponding trading direction and trading volume;
the preset trade time interval is based on biddingThe historical information and market quotation information of the transaction are determined, and the preset transaction time interval is determined according to the following formula: argmax { τ } { θ e (τ)×ψ e (τ) < Threshold }; where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
8. A blockchain-based bidding transaction processing node, wherein bidding transaction participant nodes form a blockchain network; the bid transaction processing node is selected by a bid transaction participant node, the bid transaction processing node comprising:
The second receiving unit is used for receiving a plurality of transaction newspapers sent by the blockchain network; the transaction report forms are submitted for transaction initiating nodes in competitive price transaction participant nodes, and asset accounts and fund accounts are designated; according to the transaction report content, checking and freezing the related funds and assets, and sending out the transaction report; each transaction report initiated by each transaction initiating node comprises a plurality of price trading willingness, including quotation price data, corresponding trading direction and trading volume;
the second processing unit is used for carrying out matching and transaction registration processing on the transactions related to all transaction newspapers based on the price quotation priority transaction principle in a preset time period according to a preset transaction time interval, after the processing is finished, the received transaction newspapers are stored in a transaction processing node, funds and assets of a transaction initiating node are settled according to a preset rule of a basic blockchain, and a settlement result is written into a block by the transaction processing node;
a second transmitting unit for transmitting a settlement processing request to the blockchain network; after matching and transaction registration processing, writing the bid price data and the transaction amount data of the current collection into a blockchain account book and transmitting the blockchain account book to a blockchain network; or under the condition of no transaction at this time, writing the highest buying price data and the lowest selling price data into a blockchain account book, and transmitting the blockchain account book to a blockchain network; if no deal is made, re-requesting the deal processing node to bid and making the next round of bidding; the transaction initiating node is used for receiving a settlement processing request sent by a blockchain network and carrying out cash processing on funds and assets according to the settlement processing request; meanwhile, calculating the waiting time of the next round according to the fluctuation rate of the transaction object, and preparing to start the next round of bidding; in the process of one-time collective bidding processing, the bidding transaction participant node selects at least one bidding transaction participant node as a transaction processing node through the network quality and the transaction behaviors of all the transaction participant nodes, and does not depend on the continuous work of a certain node; the aggregate bidding takes the node time of the selected transaction processing node as the reference time of a transaction;
The preset transaction time interval is determined according to historical information and market quotation information of competitive price transaction, and is determined according to the following formula: argmax { τ } { θ e (τ)×ψ e (τ) < Threshold }; where τ is the transaction time interval; psi phi type e (τ) is an asset transition condition within τ; θ e (τ) is the unpublished information case within τ, and Threshold is an empirical value.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 3 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1 to 3.
CN202010278873.4A 2020-04-10 2020-04-10 Bid transaction processing method and system based on block chain and relevant nodes Active CN111522826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010278873.4A CN111522826B (en) 2020-04-10 2020-04-10 Bid transaction processing method and system based on block chain and relevant nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010278873.4A CN111522826B (en) 2020-04-10 2020-04-10 Bid transaction processing method and system based on block chain and relevant nodes

Publications (2)

Publication Number Publication Date
CN111522826A CN111522826A (en) 2020-08-11
CN111522826B true CN111522826B (en) 2024-03-12

Family

ID=71902736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010278873.4A Active CN111522826B (en) 2020-04-10 2020-04-10 Bid transaction processing method and system based on block chain and relevant nodes

Country Status (1)

Country Link
CN (1) CN111522826B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112465161A (en) * 2020-11-17 2021-03-09 瑞萨科林(上海)新能源有限公司 Power battery recycling service platform
CN112258252A (en) * 2020-11-23 2021-01-22 国网能源研究院有限公司 Block chain-based data asset value evaluation device and method
CN112446771B (en) * 2020-12-17 2024-04-05 北京金山云网络技术有限公司 Online auction system, online auction method, online auction device and electronic equipment
CN113191861B (en) * 2021-05-06 2023-04-14 杭州复杂美科技有限公司 Auction method, computer device and storage medium
CN113469830A (en) * 2021-06-29 2021-10-01 浙江数秦科技有限公司 Agricultural product bidding trading system based on block chain and growth model
CN114549149A (en) * 2022-04-24 2022-05-27 南方电网数字电网研究院有限公司 Smart grid energy transaction data processing method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454114A (en) * 2017-09-29 2017-12-08 深圳市轱辘车联数据技术有限公司 A kind of auction bidding method, server and readable storage medium storing program for executing
CN108109017A (en) * 2018-01-11 2018-06-01 杭州秘猿科技有限公司 Commodity trading system based on block chain intelligence contract
CN109544160A (en) * 2018-11-20 2019-03-29 杭州呯嘭智能技术有限公司 A kind of transaction authenticity verification methods and system based on block chain and intelligent contract
CN110910135A (en) * 2019-10-29 2020-03-24 腾讯科技(深圳)有限公司 Application resource transfer method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454114A (en) * 2017-09-29 2017-12-08 深圳市轱辘车联数据技术有限公司 A kind of auction bidding method, server and readable storage medium storing program for executing
CN108109017A (en) * 2018-01-11 2018-06-01 杭州秘猿科技有限公司 Commodity trading system based on block chain intelligence contract
CN109544160A (en) * 2018-11-20 2019-03-29 杭州呯嘭智能技术有限公司 A kind of transaction authenticity verification methods and system based on block chain and intelligent contract
CN110910135A (en) * 2019-10-29 2020-03-24 腾讯科技(深圳)有限公司 Application resource transfer method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111522826A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN111522826B (en) Bid transaction processing method and system based on block chain and relevant nodes
US11514522B2 (en) System for physically delivering virtual currencies
JP7162697B2 (en) Crypto Integrated Platform
CN108292403B (en) Digitally encrypted security platform and method and system for same
US20190114706A1 (en) Blockchain oracle for managing loans collateralized by digital assets
CA3082439A1 (en) Incrementally perfected digital asset collateral wallet
CN110691066A (en) Distributed ledger system for anonymous transaction management
CN103250174A (en) A system and method for rapidly calculating risk in an electronic trading exchange
WO2019040712A1 (en) Method and system for a decentralized marketplace auction
US20240106765A1 (en) Activity based electrical computer system request processing architecture
US20220067834A1 (en) Method, system and non-transitory computer-readable recording medium for supporting asset transactions
US20180189880A1 (en) Computer-implemented system and method for clearing a derivative trade involving multiple trading exchanges
CN114282956A (en) Energy transaction method, device, electronic equipment and storage medium
US20120185409A1 (en) Systems and Methods for Securitizing the Revenue Stream of a Product
US20210192517A1 (en) Transaction submission processing over distributed ledger networks
EP4121922A1 (en) Securitization of assets utilizing distributed ledgers &amp; smart meters
Ngo Secure, Distributed Financial Exchanges: Design and Implementation
KR102188444B1 (en) Method for mediating financial transaction based on blockchain and manager server using the same
US20220405738A1 (en) System and method for online/offline payment with virtual currency for nodes included in mobile-based blockchain distributed network
CN115953161A (en) Order transaction payment method, system and storage medium
US20110302070A1 (en) Systems and Methods for Netting of Transactions
RU2683184C2 (en) Software-hardware complex of electronic real estate system and method of data exchange in it
CN114219496A (en) Financial management method and device based on block chain and electronic equipment
CN111091465A (en) Block chain-based bond underwriting group member information verification method and device
Shaik et al. The Derivatives Contract Life Cycle

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