The content of the invention
In view of this, the embodiment of the invention discloses a kind of digital asset method of commerce and system based on block chain,
During transaction, corresponding block chain is produced, and after closing the transaction, bury in oblivion the block chain produced in process of exchange, entirely
Process of exchange will not be recorded, it is ensured that the information security of transaction participant, and whole process of exchange is simple, time saving.
A kind of digital asset method of commerce based on block chain provided in an embodiment of the present invention, methods described includes:
When receiving the transaction request for carrying transaction qualifications that transaction initiator sends, generating the transaction please
Seek corresponding transaction block;
When detecting counterparty, the corresponding block chain of the counterparty is generated, is that the counterparty divides at random
With public key and receive the dynamic password that the counterparty is set;
Target transaction opponent is determined according to default rule;The target transaction opponent is the conclusion of the business side of this transaction;
After the instruction of closing the transaction is received, the transaction data produced in this process of exchange is wiped, and bury in oblivion described
Block chain.
Optionally, the transaction qualifications include one or more in following rule:
Rule one:The transaction terminates within the default period;
Rule two:The transaction includes the counterparty of predetermined number;
Rule three:During the transaction, the inquiry number of times of each counterparty is less than or equal to default inquiry threshold
Value;
Rule four:During the transaction, the number of times of bidding of each counterparty is less than or equal to default threshold of bidding
Value.
Optionally, target transaction opponent is determined according to default rule, including:
If the counterparty side's only one of which detected, the counterparty detected is defined as target transaction pair
Hand;
Or,
If the counterparty detected is multiple, bid highest counterparty is made to be defined as target transaction opponent;
Or
If the counterparty detected is multiple, the counterparty that the transaction initiator is selected is defined as target transaction
Opponent.
Optionally, in addition to:
The change conditions that the transaction initiator and the target transaction opponent pass through default mode enquiring digital assets.
Optionally, in addition to:
Screening and the user for merchandising and matching;
The relevant information of the transaction is sent to the user matched with the transaction screened.
The embodiment of the present invention additionally provides a kind of digital asset transaction system based on block chain, and the system includes:
Block generation unit, for when the transaction request for carrying transaction qualifications for receiving transaction initiator's transmission
When, generate the corresponding transaction block of the transaction request;
Block chain generation unit, for when detecting counterparty, generating the corresponding block chain of the counterparty, be
The counterparty is randomly assigned public key and receives the dynamic password that the counterparty is set;
Determining unit, for determining target transaction opponent according to default rule;The target transaction opponent hands over for this
Easy conclusion of the business side;
Bury in oblivion unit, for after the instruction of closing the transaction is received, wiping the number of deals produced in this process of exchange
According to, and bury in oblivion the block chain.
Optionally, the transaction qualifications include one or more in following rule:
Rule one:The transaction terminates within the default period;
Rule two:The transaction includes the counterparty of predetermined number;
Rule three:During the transaction, the inquiry number of times of each counterparty is less than or equal to default inquiry threshold
Value;
Rule four:During the transaction, the number of times of bidding of each counterparty is less than or equal to default threshold of bidding
Value.
Optionally, the determining unit, including:
First determination subelement, if for the counterparty side's only one of which detected, by the transaction detected
Opponent is defined as target transaction opponent;
Or including,
Second determination subelement, if the counterparty for detecting is multiple, makees true by bid highest counterparty
It is set to target transaction opponent;
Or including,
3rd determination subelement, if the counterparty for detecting is multiple, the friendship that the transaction initiator is selected
Easy opponent is defined as target transaction opponent.
Optionally, in addition to:
Query unit, is provided for the transaction initiator and the target transaction opponent by default mode enquiring digital
The change conditions of production.
Optionally, in addition to:
Screening unit, for screening and the user for merchandising and matching;
Transmitting element, the use matched with the transaction screened for the relevant information of the transaction to be sent to
Family.
It is raw when receiving the transaction request for carrying transaction qualifications that transaction initiator sends in the present embodiment
Into the corresponding transaction block of the transaction request;When detecting counterparty, the corresponding block chain of the counterparty is generated,
Public key is randomly assigned for the counterparty and receives the dynamic password that the counterparty is set;Determined according to default rule
Target transaction opponent;The target transaction opponent is the conclusion of the business side of transaction;After the instruction of closing the transaction is received, this is wiped
The transaction data produced in process of exchange, and bury in oblivion the block chain.By the method for the present embodiment, for raw in process of exchange
Into this transaction block chain, after closing the transaction, then bury in oblivion the block chain, and wipe all process of exchanges, therefore, one
Denier closing the transaction, anyone can not obtain the trading situation of this transaction, strong security, and whole process of exchange, letter
It is single, time saving.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
With reference to Fig. 1, a kind of stream of digital asset method of commerce based on block chain provided in an embodiment of the present invention is shown
Journey schematic diagram, in the present embodiment, methods described can include:
S101:When receiving the transaction request for carrying transaction qualifications that transaction initiator sends, generation is described
The corresponding transaction block of transaction request;
In the present embodiment, the transaction that transaction initiator initiates can be understood as disposable transaction, and the initiator that merchandises
When initiating transaction request, the transaction of initiation can be defined, specifically, transaction qualifications can include following rule
In one or more:
Rule one:The transaction terminates within the default period;
Rule two:The transaction includes the counterparty of predetermined number;
Rule three:During the transaction, the inquiry number of times of each counterparty is less than or equal to default inquiry threshold
Value;
Rule four:During the transaction, the number of times of bidding of each counterparty is less than or equal to default threshold of bidding
Value.
Illustrate:It is directed to rule one:The time that transaction initiator initiates this fixed transaction of this transaction limits is assumed
For 30 minutes, then the closing the transaction in 30 minutes;It is directed to rule two:The initiator of transaction limits transaction ginseng when merchandising and initiating
With number be assumed to be 10 people, then this transaction only allows 10 counterparties to enter to participate in this and merchandise;It is directed to rule three:
Assuming that each counterparty for participating in this transaction there can be the qualification of 3 inquiries, the friendship for each participating in this transaction is also just said
Easy opponent at most can to 3 other counterparties of system interrogation bid price;It is directed to rule four:Limit each participate in originally
The number of times that the counterparty of secondary transaction bids, the number of times for example bidded can be 3 times.In addition, when transaction is initiated, the hair of transaction
Rise side can also limit this transaction meet more than rule in it is multiple.
In the present embodiment, user is when initiating this transaction, for these regular selections, can be directly to these rule
Then it is configured or according to default type selecting, selection one or more of which rule.
In the present embodiment, after the corresponding block of generation transaction request, that can be looked for push the transaction in system, or also
The transaction can be pushed to targetedly user, specifically, can also include:
The user that screening matches with this transaction;
The relevant information of this transaction is sent to the user matched with this transaction screened.
Illustrate:Assuming that the digital asset of transaction initiator's auction is the corresponding digital asset of second-hand mobile phone, it is then
System can have the user of demand with automatic screening to second-hand mobile phone.
S102:When detecting counterparty, generate the corresponding block chain of the counterparty, be the counterparty with
Machine distributes public key and receives the dynamic password that the counterparty is set;
In the present embodiment, after transaction block generation, into the counterparty of the transaction block, the transaction pair can be generated
Palmistry correspondence block chain.And counterparty enters after the transaction block, what system can be at random distributes public for the counterparty
Key, public key can be understood as the volume that the counterparty participates in this transaction into the account of this transaction or the counterparty
Number;Participating in the counterparty of the transaction oneself can set the dynamic password for participating in this transaction;The public key of counterparty and dynamic
State password matches.When generating public key and dynamic password of the counterparty when this is merchandised, do not terminate in transaction
Before, counterparty can by produce transaction public key and dynamic password at any time into this transaction check trading situation or
Bid.
, in addition it is also necessary to distribute the initiator of transaction public key, and the initiator that merchandises can be with the present embodiment, in addition
Dynamic password corresponding with the public key is set, and before transaction does not terminate, transaction initiator can be close by the public key and dynamic
Code enters the situation that transaction is checked in the transaction.
S103:Target transaction opponent is determined according to default rule;The target transaction opponent is the conclusion of the business side of transaction;
In the present embodiment, participating in the counterparty of this transaction at least includes one, and this transaction can just determine transaction
Conclusion of the business side, only determine that this transaction of the conclusion of the business side of transaction is only effective transaction, for merchandise conclusion of the business side determination, specifically
S103 can include:
If the counterparty side's only one of which detected, the counterparty detected is defined as target transaction pair
Hand;
Or,
If the counterparty detected is multiple, bid highest counterparty is made to be defined as target transaction opponent;
Or
If the counterparty detected is multiple, the counterparty that the transaction initiator is selected is defined as target transaction
Opponent.
Illustrate:If in the exchange hour that transaction initiator limits, the counterparty's only one of which detected, also
It is to say the counterparty's only one of which (side of bidding of transaction) for participating in this transaction, then the counterparty is just target transaction pair
Hand.Or, if transaction initiator initiates transaction, the counterparty participated in business is limited as 1, as long as detecting transaction pair
After hand, and bid, then the counterparty is just target transaction opponent.
If in the exchange hour of restriction, detecting multiple counterparties, that is, detect the side of bidding for participating in this transaction
Including multiple, in the exchange hour of restriction, each counterparty is bidded, when reaching exchange hour, highest of bidding
Counterparty is targeted counterparty;Or, during bid, transaction initiator thinks to have reached at heart
It is expected that can sell, then target transaction opponent can be determined by the initiator that merchandises at any time
If the number that transaction initiator limits the counterparty for participating in this transaction is entered as 8 people when there is 8 counterparties
Enter this transaction after, can be overbid a side turn into target transaction opponent or, during bid, transaction
Initiator thinks to have reached that expection at heart can be sold, then can determine target transaction opponent by the initiator that merchandises at any time.
S104:After the instruction of closing the transaction is received, the transaction data produced in this process of exchange is wiped, and bury in oblivion
The block chain.
In the present embodiment, within the default period, terminate to represent closing the transaction when bidding;Or, when transaction is initiated
Side's selection is closed the trade, and represents closing the transaction.
Illustrate:In the exchange hour of restriction, there are multiple counterparties to take part in bidding for this transaction, then bid
After end, the counterparty of overbid then represents this closing the transaction for target transaction opponent;
Or, after block of merchandising is produced, there is counterparty to enter the transaction block successively, counterparty is to this
The secondary digital asset bidded is bid successively, when the price of a certain position counterparty has reached that transaction initiator is expected at heart, or
Person transaction initiator wants to close the trade as early as possible, then merchandise the autonomous selection target counterparty of initiator, and transaction initiator is true
After this fixed closing the transaction, this closing the transaction.
Or, during transaction, transaction initiator actively abandons this transaction, then it represents that closing the transaction.
In the present embodiment, after system receives the instruction of closing the transaction, the transaction produced in this process of exchange is wiped
Data, and bury in oblivion this transaction block chain.It is also understood that after closing the transaction, the digital asset except retaining this transaction
Outside the variation of fund, remaining vestige is all disposed.Illustrate:After closing the transaction, the transaction entirely merchandised is wiped
Journey, for example:Public key, dynamic password, the bid of counterparty and target transaction opponent for being produced in process of exchange etc.;And bury in oblivion
The block chain produced in process of exchange.But the result that transaction is produced can retain, that is, the digital asset merchandised is by merchandising
Initiator is transferred to target transaction opponent, and the fund of transaction is transferred into transaction initiator, digital asset from target transaction opponent
The process shifted with fund is eliminated, and only exists the result of trade give-ups.
, can be after closing the transaction in the present embodiment, the digital asset that merchandise initiator and transaction conclusion of the business side are traded
With the transfer of fund, that is, the transaction that can enter under line;In addition to this it is possible to which before closing the transaction, merchandise initiator
The digital asset being traded with transaction conclusion of the business side and the transfer of fund.
When the digital asset of transaction initiator can be transferred in the account of target transaction opponent, then merchandise initiator and target
The digital asset of transaction party account can all change.Afterwards, transaction initiator and target transaction opponent can log in certainly at any time
Oneself account, checks the change conditions of digital asset, specifically, also including:
The change conditions that the transaction initiator and the target transaction opponent pass through default mode enquiring digital assets.
In the present embodiment, the default mode can be that transaction initiator and target transaction opponent log in the account of oneself
Family, is inquired about.
It is raw when receiving the transaction request for carrying transaction qualifications that transaction initiator sends in the present embodiment
Into the corresponding transaction block of the transaction request;When detecting counterparty, the corresponding block chain of the counterparty is generated,
Public key is randomly assigned for the counterparty and receives the dynamic password that the counterparty is set;Determined according to default rule
Target transaction opponent;The target transaction opponent is the conclusion of the business side of transaction;After the instruction of closing the transaction is received, this is wiped
The transaction data produced in process of exchange, and bury in oblivion the block chain.By the method for the present embodiment, for raw in process of exchange
Into this transaction block chain, after closing the transaction, then bury in oblivion the block chain, and wipe all process of exchanges, therefore, one
Denier closing the transaction, anyone can not obtain the trading situation of this transaction, strong security, and whole process of exchange, letter
It is single, time saving.
A kind of structure of digital asset transaction system based on block chain provided in an embodiment of the present invention is shown with reference to Fig. 2
Schematic diagram, the system can include:
Block generation unit 201, for when the transaction for carrying transaction qualifications for receiving transaction initiator's transmission
During request, the corresponding transaction block of the transaction request is generated;
Block chain generation unit 202, for when detecting counterparty, generating the corresponding block of the counterparty
Chain, is that the counterparty is randomly assigned public key and receives the dynamic password that the counterparty is set;
Determining unit 203, for determining target transaction opponent according to default rule;The target transaction opponent is this
The conclusion of the business side of transaction;
Bury in oblivion unit 204, for after the instruction of closing the transaction is received, wiping the transaction produced in this process of exchange
Data, and bury in oblivion the block chain.
Optionally, the transaction qualifications include one or more in following rule:
Rule one:The transaction terminates within the default period;
Rule two:The transaction includes the counterparty of predetermined number;
Rule three:During the transaction, the inquiry number of times of each counterparty is less than or equal to default inquiry threshold
Value;
Rule four:During the transaction, the number of times of bidding of each counterparty is less than or equal to default threshold of bidding
Value.
Optionally, the determining unit, including:
First determination subelement, if for the counterparty side's only one of which detected, by the transaction detected
Opponent is defined as target transaction opponent;
Or including,
Second determination subelement, if the counterparty for detecting is multiple, makees true by bid highest counterparty
It is set to target transaction opponent;
Or including,
3rd determination subelement, if the counterparty for detecting is multiple, the friendship that the transaction initiator is selected
Easy opponent is defined as target transaction opponent.
Optionally, in addition to:
Query unit, is provided for the transaction initiator and the target transaction opponent by default mode enquiring digital
The change conditions of production.
Optionally, in addition to:
Screening unit, for screening and the user for merchandising and matching;
Transmitting element, the use matched with the transaction screened for the relevant information of the transaction to be sent to
Family.
It is raw when receiving the transaction request for carrying transaction qualifications that transaction initiator sends in the present embodiment
Into the corresponding transaction block of the transaction request;When detecting counterparty, the corresponding block chain of the counterparty is generated,
Public key is randomly assigned for the counterparty and receives the dynamic password that the counterparty is set;Determined according to default rule
Target transaction opponent;The target transaction opponent is the conclusion of the business side of transaction;After the instruction of closing the transaction is received, this is wiped
The transaction data produced in process of exchange, and bury in oblivion the block chain.By the system of the present embodiment, for raw in process of exchange
Into this transaction block chain, after closing the transaction, then bury in oblivion the block chain, and wipe all process of exchanges, therefore, one
Denier closing the transaction, anyone can not obtain the trading situation of this transaction, strong security, and whole process of exchange, letter
It is single, time saving.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.