CN110458708A - Asset allocation method and device competition-based in block chain network - Google Patents

Asset allocation method and device competition-based in block chain network Download PDF

Info

Publication number
CN110458708A
CN110458708A CN201910639417.5A CN201910639417A CN110458708A CN 110458708 A CN110458708 A CN 110458708A CN 201910639417 A CN201910639417 A CN 201910639417A CN 110458708 A CN110458708 A CN 110458708A
Authority
CN
China
Prior art keywords
block chain
assets
asset allocation
competitor
asset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910639417.5A
Other languages
Chinese (zh)
Inventor
邹雪晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910639417.5A priority Critical patent/CN110458708A/en
Publication of CN110458708A publication Critical patent/CN110458708A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Abstract

This specification one or more embodiment provides asset allocation method and device competition-based in a kind of block chain network, this method may include: that asset allocation platform is traded according to the contention requests that assets competitor is initiated for desired asset to block chain submission information update, with information relevant to assets competitor in more new block chain account book;The asset allocation platform is initiated for calling the block chain of asset allocation intelligence contract to trade, the asset allocation intelligence contract is used to choose the corresponding winner of the desired asset from all assets competitors according to the corresponding information of each assets competitor recorded on block chain account book.

Description

Asset allocation method and device competition-based in block chain network
Technical field
This specification one or more embodiment is related to base in block chain technical field more particularly to a kind of block chain network In the asset allocation method and device of competition.
Background technique
Block chain technology (being also referred to as, distributed account book technology) is a kind of distributed data base skill for going neutralisation Art, have decentralization, it is open and clear, can not distort, the various features such as trusted, have suitable for many pairs of data reliabilities In the application scenarios of high demand.
Summary of the invention
In view of this, this specification one or more embodiment provides assets point competition-based in a kind of block chain network Method of completing the square and device.
To achieve the above object, it is as follows to provide technical solution for this specification one or more embodiment:
According to this specification one or more embodiment in a first aspect, proposing in a kind of block chain network based on competition Asset allocation method, comprising:
Asset allocation platform, which is submitted according to the contention requests that assets competitor is initiated for desired asset to block chain, to be believed More New Transaction is ceased, with information relevant to assets competitor in more new block chain account book;
The asset allocation platform initiates the asset allocation for calling the block chain of asset allocation intelligence contract to trade Intelligent contract is used to be competed according to the corresponding information of each assets competitor recorded on block chain account book from all assets The corresponding winner of the desired asset is chosen in person.
According to the second aspect of this specification one or more embodiment, propose in a kind of block chain network based on competition Asset allocation method, comprising:
Block chain node execution information more New Transaction, the information update transaction are competed by asset allocation platform according to assets Person generates for the contention requests that desired asset is initiated, with letter relevant to assets competitor in more new block chain account book Breath;
The block chain node calls asset allocation intelligence contract, and the asset allocation intelligence contract is used for according to block chain The corresponding information of each assets competitor recorded on account book, chooses the desired asset pair from all assets competitors The winner answered.
According to the third aspect of this specification one or more embodiment, propose in a kind of block chain network based on competition Asset allocation device, comprising:
Updating unit, the contention requests for initiating asset allocation platform for desired asset according to assets competitor are to area Block chain submits information update transaction, with information relevant to assets competitor in more new block chain account book;
Unit is initiated, initiates the asset allocation platform for calling the block chain of asset allocation intelligence contract to trade, The asset allocation intelligence contract is used for according to the corresponding information of each assets competitor recorded on block chain account book, from The corresponding winner of the desired asset is chosen in all assets competitors.
According to the fourth aspect of this specification one or more embodiment, propose in a kind of block chain network based on competition Asset allocation device, comprising:
Execution unit makes block chain node execution information more New Transaction, and the information update transaction is by asset allocation platform It is generated according to assets competitor for the contention requests that desired asset is initiated, to be competed in more new block chain account book with assets The relevant information of person;
Call unit, makes the block chain node call asset allocation intelligence contract, and the asset allocation intelligence contract is used According to the corresponding information of each assets competitor recorded on block chain account book, institute is chosen from all assets competitors State the corresponding winner of desired asset.
According to the 5th of this specification one or more embodiment the aspect, a kind of electronic equipment is proposed, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running the executable instruction to realize method as described in relation to the first aspect.
According to the 6th of this specification one or more embodiment the aspect, a kind of computer readable storage medium is proposed, The step of being stored thereon with computer instruction, method as described in relation to the first aspect realized when which is executed by processor.
According to the 7th of this specification one or more embodiment the aspect, a kind of electronic equipment is proposed, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running the executable instruction to realize the method as described in second aspect.
According to the eighth aspect of this specification one or more embodiment, a kind of computer readable storage medium is proposed, It is stored thereon with computer instruction, is realized when which is executed by processor such as the step of second aspect the method.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram for example context that an exemplary embodiment provides.
Fig. 2 is a kind of schematic diagram for conceptual framework that an exemplary embodiment provides.
Fig. 3 is the process of asset allocation method competition-based in a kind of block chain network that an exemplary embodiment provides Figure.
Fig. 4 is a kind of interaction schematic diagram for asset allocation process that an exemplary embodiment provides.
Fig. 5 is the interaction schematic diagram for another asset allocation process that an exemplary embodiment provides.
Fig. 6 is the interaction schematic diagram for another asset allocation process that an exemplary embodiment provides.
Fig. 7 is the stream of asset allocation method competition-based in another block chain network that an exemplary embodiment provides Cheng Tu.
Fig. 8 is a kind of structural schematic diagram for equipment that an exemplary embodiment provides.
Fig. 9 is the frame of asset allocation device competition-based in a kind of block chain network that an exemplary embodiment provides Figure.
Figure 10 is the structural schematic diagram for another equipment that an exemplary embodiment provides.
Figure 11 is asset allocation device competition-based in another block chain network of exemplary embodiment offer Block diagram.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification one or more embodiment.Phase Instead, they are only some aspects phases with the one or more embodiments of as detailed in the attached claim, this specification The example of consistent device and method.
It should be understood that the sequence that might not show and describe according to this specification in other embodiments executes The step of correlation method.In some other embodiments, step included by method can than described in this specification more It is more or less.In addition, single step described in this specification, may be broken down into other embodiments multiple steps into Row description;And multiple steps described in this specification, it may also be merged into single step progress in other embodiments Description.
Fig. 1 is a kind of schematic diagram for example context that an exemplary embodiment provides.As shown in Figure 1, example context 100 permits Perhaps entity participates in block chain network 102.Block chain network 102 can be the block of publicly-owned type, private type or alliance's type Chain network.Example context 100 may include calculating equipment 104,106,108,110,112 and network 114;In one embodiment, Network 114 may include local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN), Internet or combinations thereof, and it is connected to website, user equipment (such as calculating equipment) and back-end system.In one embodiment, may be used Network 114 is accessed in a manner of through wired and or wireless communications.
In some cases, calculate equipment 106,108 can be cloud computing system node (not shown) or each meter Calculating equipment 106,108 can be individual cloud computing system, including by network interconnection and as distributed processing system(DPS) work Multiple stage computers.
In one embodiment, any computing system appropriate can be run by calculating equipment 104~108, can conduct Node in block chain network 102;For example, calculate equipment 104~108 can include but is not limited to server, desktop computer, Laptop, tablet computer calculate equipment and smart phone.In one embodiment, calculating equipment 104~108 can belong to Related entities simultaneously can be used for for realizing corresponding service, such as the service to the transaction between a certain entity or multiple entities It is managed.
In one embodiment, it calculates equipment 104~108 and is stored with the corresponding block chain account book of block chain network 102 respectively. Calculating equipment 104 can be (or comprising) for providing the network server of browser function, which can be based on net Network 114 provides visual information relevant to block chain network 102.In some cases, area can be not involved in by calculating equipment 104 Block verifying, but block chain network 102 is monitored to determine when other nodes (for example may include calculating equipment 106-108) reach At common recognition, and accordingly generate corresponding block chain visible user interface.
In one embodiment, calculate equipment 104 can receive client device (such as calculate equipment 110 or calculate equipment 112) request initiated for block chain visible user interface.In some cases, the node of block chain network 102 can also be with As client device, for example calculates the user of equipment 108 and the browser that operates in calculate in equipment 108 can be used to calculating Equipment 104 sends above-mentioned request.
In response to above-mentioned request, block chain visualization use can be generated based on the block chain account book of storage by calculating equipment 104 Family interface (such as webpage), and the block chain visible user interface of generation is sent to the client device of request.If block Chain network 102 is the block chain network of private type or alliance's type, be can wrap to the request of block chain visible user interface Authorized user message is included, before generating block chain visible user interface and being sent to the client device of request, Ke Yiyou It calculates equipment 104 to verify the authorized user message, and returns to corresponding block chain visual user after being verified Interface.
Block chain visible user interface, which may be displayed on client device, (such as can be displayed in user shown in FIG. 1 In interface 116).When block chain account book updates, the display content of user interface 116 can also update therewith.This Outside, the interaction of user and user interface 116 may cause the request to other users interface, such as display block list, block Details, transaction List Table, Transaction Details, account list, account details, contract list, contract details or user are to block link network Network implements search and the result of page searching etc. of generation.
Fig. 2 is a kind of schematic diagram for conceptual framework that an exemplary embodiment provides.As shown in Fig. 2, the conceptual framework 200 Including physical layer 202, trusteeship service layer 204 and block link network network layers 206.For example, physical layer 202 may include three entities: Entity 1, entity 2 and entity 3, each entity have respective trade managing system 208.
In one embodiment, trusteeship service layer 204 may include the corresponding interface 210 of each transaction management system 208.Example Such as, each transaction management system 208 using agreement (such as hypertext transfer protocol secure (HTTPS) etc.) by network (such as Network 114 in Fig. 1) it is communicated with respective interface 210.In some instances, each interface 210 can provide corresponding Communication connection between trade managing system 208 and block link network network layers 206;More specifically, interface 210 can be with block chain network The block chain network 212 of layer 206 communicates.In some instances, the communication between interface 210 and block link network network layers 206 can be with It is realized using remote procedure call (Remote Procedure Calls, RPCs).In some instances, interface 210 can be with The api interface for accessing block chain network 212 is provided to trade managing system 208.
As described herein, block chain network 212 is provided in the form of peer-to-peer network, which includes multiple nodes 214, these nodes 214 are respectively used to be formed by block chain data the progress persistence of block chain account book 216;Wherein, in Fig. 2 only A block chain account book 216 is shown, but may exist more parts of block chain account books 216 or its copy in block chain network 212, than As each node 214 can safeguard a block chain account book 216 or its copy respectively.
It is noted that transaction (transaction) described in this specification, refers to that user passes through block chain Client creation, and need finally to be distributed to data in the distributed data base of block chain.Wherein, in block chain Transaction, there are points of the transaction of narrow sense and the transaction of broad sense.The transaction of narrow sense refers to the valence that user issues to block chain Value transfer;For example, transaction can be one that user initiates in block chain and turn in traditional bit coin block chain network Account.And the transaction of broad sense refers to the business datum being intended to business that user issues to block chain;For example, operator can To build alliance's chain based on actual business demand, relies on alliance's chain and dispose some other classes unrelated with value Transfer Type in line service (for example, business of renting a house, vehicle scheduling business, settlement of insurance claim business, credit services, medical services etc.), and In this kind of alliance's chain, transaction can be the service message or industry with business intention that user issues in alliance's chain Business request.
Block chain is normally divided into three types: publicly-owned chain (Public Blockchain), privately owned chain (Private ) and alliance's chain (Consortium Blockchain) Blockchain.In addition, there are also a plurality of types of combinations, such as privately owned chain The different combinations such as+alliance chain, alliance's chain+publicly-owned chain.It is publicly-owned chain that wherein decentralization degree is highest.Publicly-owned chain with than Special coin, ether mill are representative, and the participant that publicly-owned chain is added can read data record on chain, participate in business and compete newly Book keeping operation power of block etc..Moreover, each participant's (i.e. node) freely can be added and exit network, and carry out relevant operation.It is private There is chain then on the contrary, the write-in permission of the network is by some tissue or mechanism controls, reading data permission is by organization prescribed.Simply For, privately owned chain can be weak center's system, and participating in node has stringent limitation and less.Such block chain is more It is suitable for using inside particular organization.Alliance's chain is then block chain between publicly-owned chain and privately owned chain, it can be achieved that " part Decentralization ".Each node usually has corresponding physical mechanism or tissue in alliance's chain;Participant is added by authorization Enter network and composition interests correlation alliance, it is common to safeguard the operation of block chain.
Whether publicly-owned chain, privately owned chain or alliance's chain may all provide the function of intelligent contract.Intelligence on block chain Contract is the contract that can be executed by transaction triggering on block catenary system.Intelligent contract can pass through the formal definition of code. By taking ether mill as an example, support user that the logic of some complexity is created and called in the network of ether mill, this is that ether mill is different from The ultimate challenge of bit coin block chain technology.Ether mill is ether mill virtual machine as the core of a programmable block chain (Ethereum Virtual Machine, EVM), each ether mill node can run EVM.EVM is that a figure spirit is complete Virtual machine, it means that the logic of various complexity can be realized by it.User issues in ether mill and calls intelligence to close It is about exactly to be run on EVM.
And in the technical solution of this specification, it can be automatic to realize based on the intelligent contract issued in block chain network Competition of the multiple assets competitor for same desired asset, objectively and fairly chooses winner from assets competitor, so that Winner can obtain desired asset.It is described below with reference to technical solution of the embodiment to this specification.
Fig. 3 is the process of asset allocation method competition-based in a kind of block chain network that an exemplary embodiment provides Figure.As shown in figure 3, this method is applied to asset allocation platform, may comprise steps of:
Step 302, the contention requests that asset allocation platform is initiated according to assets competitor for desired asset are to block Chain submits information update transaction, with information relevant to assets competitor in more new block chain account book.
Asset allocation platform is used to create competitive events for desired asset, and assets competitor is allowed to understand mesh accordingly The relevant information of assets is marked, and desired asset is obtained based on asset allocation platform competition;Certainly, assets competitor can also pass through Other approach know the relevant information of desired asset.For example, each assets competitor can initiate to asset allocation platform respectively Contention requests, and the stock number comprising corresponding assets competitor instruction in contention requests, show that assets competitor wishes to use The default resource of corresponding amount (indicated stock number, or increase indicated stock number on the basis of original stock number) is converted Change desired asset;Alternatively, assets competitor can show that the resource that desired asset is marked is paid in its agreement by contention requests Amount, to obtain desired asset;Alternatively, assets competitor can also express itself for the competing of desired asset by other means Wish is striven, this depends on used competitive way.
Asset allocation platform by submitting information update transaction into block chain network, can in block chain account book with one A or relevant information of multiple assets competitor is updated.For example, the friendship that asset allocation platform can trade in information update Easy remarks or other parts carry information relevant to assets competitor, and information update transaction is by each in block chain network After the common recognition of a block chain node, the account book data of self maintained can be updated respectively by each block chain node, then Since each block chain node is performed both by the transaction of the information update by common recognition, so that account book documented by each block chain node Data are consistent, it is thus regarded that maintaining the unified block chain account book of content, the block between all block chain nodes jointly Information relevant to assets competitor is described in chain account book.
Assets competitor can register corresponding account at asset allocation platform, so that asset allocation platform is receiving respectively When the contention requests that a assets competitor initiates, corresponding registered account can be determined respectively, so that with assets competitor Relevant information is registered as corresponding to registered account in block chain account book, rather than corresponds directly to assets competitor itself Information.As it can be seen that since assets competitor only needs to submit contention requests on line, and information quilt relevant to assets competitor Association can protect the body of assets competitor to registered account so that the true identity of assets competitor will not leak Part privacy.
Desired asset may include any type of object;By in this manual can for the object the right of attribution into Row competition and distribution, thus " assets " are described it as, and this specification does not limit its type.For example, target provides Produce to be the objects such as assets, such as fund, house property, stock, collectibles, integral, discount coupon under the chain except block chain network; Alternatively, desired asset can be the block chain assets in block chain network, such as the above-mentioned fund etc. recorded on block chain account book The voucher of each object.
Step 304, the asset allocation platform is initiated for calling the block chain of asset allocation intelligence contract to trade, described Asset allocation intelligence contract is used for according to the corresponding information of each assets competitor recorded on block chain account book, from all The corresponding winner of the desired asset is chosen in assets competitor.
After intelligent contract creation, it will appear a contract account corresponding with the intelligence contract on block chain, and possess one A specific address, contract code and account storage will be stored in the contract account.The behavior of intelligent contract is by contract code Control, and the account storage of intelligent contract then saves the state of contract.In other words, intelligent contract to generate on block chain Virtual account comprising contract code and account storage (Storage).Correspondingly, asset allocation platform can trade in block chain The address for example can be added the to word traded in block chain in ether mill by the address of middle addition asset allocation intelligence contract Duan Zhong, to show to wish to call the asset allocation intelligence contract.
It trades with above-mentioned information update similar, asset allocation platform is submitted in block chain network for calling money It produces after distributing the block chain transaction of intelligent contract, block chain transaction can be held after common recognition on all block chain nodes Row.Each block chain node can transfer asset allocation intelligence contract, and should by executing after executing above-mentioned block chain transaction The code of asset allocation intelligence contract chooses the asset allocation intelligence contract from all assets competitors winning Person, to obtain above-mentioned desired asset by the winner.Since the code in asset allocation intelligence contract has pre-defined Understand and be recorded in block chain account book, so that the code of asset allocation intelligence contract can not be changed, thus is executing assets point It may insure objectivity and fairness during with intelligent contract, not will receive the interference of external factor, it can be quick, quasi- Really, appropriate winner is chosen automatically.
Block chain node can execute in credible performing environment (Trusted Execution Environment, TEE) The code of asset allocation intelligence contract.TEE is the security extension based on CPU hardware, and the credible execution completely isolated with outside Environment.TEE is the concept proposed by Global Platform earliest, for solving the security isolation of resource in mobile device, is put down Row provides credible and secure performing environment for application program in operating system.For example, the software protection of Intel extends (SGX) etc. The code execution of TEE technology insulation, remote proving, security configuration, the secure storage of data and for executing the credible of code Path.The application program run in TEE is kept safe, as a consequence it is hardly possible to be accessed by third party.
By taking Intel SGX technology as an example.Block chain node, in memory can be with using the processor instruction increased newly in CPU A part of region EPC (Enclave Page Cache, enclosure page cache or enclave page cache) is distributed, EVM is loaded onto In EPC, and by remote proving confirm loaded EVM code it is consistent with the code of EVM at Key Management server (such as than Compared with hash value).After remote proving passes through, block chain node passes through crypto engine MEE (the Memory Encryption in CPU Engine) encryption is carried out to the code of above-mentioned asset allocation intelligence contract to be stored in the EPC.The content encrypted in EPC only has It can be decrypted into after into CPU in plain text.In CPU, operation is carried out to the code of the plaintext, completes implementation procedure.Cause This can make asset allocation intelligence contract in safe and reliable environment by executing the code of asset allocation intelligence contract in TEE In executed, avoid the interference by extraneous factor.
When the selection rule difference defined in the code of asset allocation intelligence contract, recorded on block chain account book with money Producing the relevant information of competitor, there may be differences, to be adapted to used selection rule.It can in asset allocation intelligence contract Can only record can record a variety of selection rules simultaneously in a kind of selection rule or asset allocation intelligence contract, and assets point Clearly desired in the transaction of the block chain of submission the selection rule used can be transferred with platform, so that block chain node is only held The corresponding code of selection rule used is wished in row asset allocation intelligence contract.
Some selection rules are related with the stock number of resource is preset provided by assets competitor, need by assets competitor State that it wishes the default resource by a certain stock number, actively to be used for competitive target assets;Correspondingly, selection rule can be with According to the size relation for the stock number that each assets competitor is stated, winner is determined.Correspondingly, asset allocation platform can To generate above-mentioned information update transaction according to the stock number indicated in the contention requests received, and the information is submitted to block chain More New Transaction, to update corresponding assets competitor corresponding personal resource amount in block chain account book.
The stock number that assets competitor indicates in contention requests can be the updated value of personal resource amount, and asset allocation is flat Platform can be in information update transaction comprising stock number indicated by contention requests, so that the individual money recorded in block chain account book Source amount is updated directly to stock number indicated by the contention requests.Assets competitor can repeatedly initiate contention requests, to realize Multiple update to personal resource amount.What the stock number indicated by the contention requests of rear initiation usually should be above formerly initiating Otherwise stock number indicated by contention requests can not trigger the update to personal resource amount.It is possible to further send out after being set in The difference of stock number indicated by stock number indicated by the contention requests risen and the contention requests formerly initiated is poor not less than default Value, otherwise can not equally trigger the update to personal resource amount.
Resource contention person in addition to the initial value that the stock number that indicates in the contention requests initiated for the first time is personal resource amount, The stock number indicated in the contention requests of subsequent initiation can be value added, so that the personal resource recorded in block chain account book Amount is subsequent constantly accumulative incremental after being set as initial value for the first time.It wherein, can be by asset allocation platform according to contention requests middle finger The stock number shown and the updated value for calculating personal resource amount, and include the updated value in information update transaction;Alternatively, information is more It may include above-mentioned value added in New Transaction, individual calculated according to value added in more new block chain account book by block chain node The updated value of stock number is updated with the personal resource amount for block chain account book record.
If desired asset has the initial resource amount being marked, resource contention person refers in the contention requests of initiation The stock number shown can be value added, so that the personal resource amount recorded in block chain account book is being set as initial resource amount for the first time Afterwards, subsequent constantly accumulative incremental.Similarly with above scheme, the updated value of personal resource amount can be calculated simultaneously by resource allocation platform Be added to information update transaction in, can also information update transaction in directly add value added, with by block chain node according to Value added is updated personal resource amount.
Asset allocation intelligence contract can be provided according to the corresponding individual of each assets competitor recorded on block chain account book Source amount, is chosen for winner for the corresponding assets competitor of maximum personal resource amount;In other words, the corresponding personal resource of winner Amount is greater than other assets competitor.When choosing winner based on personal resource amount, asset allocation intelligence contract may use a variety of Selection rule is exemplified below.
Fig. 4 is a kind of interaction schematic diagram for asset allocation process that an exemplary embodiment provides.As shown in figure 4, assets Assigning process may comprise steps of:
Step 401, assets competitor initiates contention requests to asset allocation platform.
Asset allocation platform can provide a platform website or platform client, allow assets competitor flat based on this Platform website or platform client fill in related content, generate contention requests, and contention requests are sent to resource allocation platform.
Wherein, asset allocation platform can provide account registration service, and each assets competitor is based respectively on Account registration is realized in the service, obtains corresponding virtual account.So, each assets competitor can be respectively in above-mentioned platform Corresponding virtual account is logged on website or platform client, and above-mentioned contention requests are initiated with the identity of the virtual account, and The competition to desired asset is participated in based on the virtual account, avoids the true identity of exposed assets competitor.
Asset allocation platform can provide the relevant information of desired asset on above-mentioned platform website or platform client, Such as the description information and minimum conclusion of the business stock number etc. of desired asset, allow assets competitor to understand desired asset accordingly Stock number indicated by situation, setting contention requests etc..Asset allocation platform can also be in above-mentioned platform website or platform visitor Dependency rule when implementing competition for desired asset is provided on the end of family, for example assets competitor is allowed to carry out personal resource amount Period of update, the number for allowing assets competitor to be updated personal resource amount, when being updated to personal resource amount Minimum increment etc., this specification is limited not to this.Above-mentioned rule can be used for instructing the behavior of assets competitor, For example the amount of assets of appropriate value is added in contention requests;And above-mentioned rule can be used for constraining assets competitor, such as The distribution to desired asset may be ignored or will not influence in the contention requests that inappropriate moment initiates.
The quantity of assets competitor can be one or more.Each assets competitor can be respectively to asset allocation platform Corresponding contention requests are initiated, and each assets competitor one or many may request to initiate to compete to ask to asset allocation It asks, so that one or many updates occur for assets competitor corresponding personal resource amount on block chain account book.
Step 402, asset allocation platform generates information update transaction according to the contention requests that receive, and to block chain network The information update is submitted to trade.
Step 403, block chain node updates personal resource amount.
Assets competitor can add the stock number for desired asset in contention requests.It is assumed that desired asset is minimum Conclusion of the business stock number is Z1, should if assets competitor wishes to compete to obtain the desired asset with stock number Z2 in first time Assets competitor can add stock number Z2 or stock number Z3=Z2-Z1 in contention requests.Similarly, if above-mentioned assets Competitor competes to obtain the desired asset with stock number Z4 in the 2nd hope, then assets competitor can be in contention requests Middle addition stock number Z4 or stock number Z5=Z4-Z2.In short, assets competitor should be according to defined in asset allocation platform Mode sets corresponding stock number in contention requests, to ensure that the personal resource amount on block chain account book is correctly updated.
Correspondingly, asset allocation platform can extract the stock number indicated in contention requests after receiving contention requests, and Accordingly generate information update transaction.The stock number indicated in contention requests can be added directly to information more by asset allocation platform In New Transaction;Alternatively, being added to information more after resource allocation platform can be handled the stock number indicated in contention requests In New Transaction.
For example, when in contention requests including above-mentioned stock number Z2 (or Z4), it can be direct by stock number Z2 (or Z4) It is added in information update transaction;It, can be according to stock number Z3 when in contention requests including above-mentioned stock number Z3 (or Z5) (or Z5) and stock number Z1 (or Z2) calculate stock number Z2 (or Z4), and stock number Z2 (or Z4) is then added to information update In transaction.So, block chain node, can be directly by resource after receiving the information update transaction comprising stock number Z2 (or Z4) Amount Z2 (or Z4) is updated to the personal resource amount in block chain account book.
For another example when in contention requests including above-mentioned stock number Z3 (or Z5), it can be straight by stock number Z3 (or Z5) It connects and is added in information update transaction.So, block chain node is receiving the information update transaction comprising stock number Z3 (or Z5) Afterwards, it is incremented by stock number Z3 (or Z5) on the basis of the personal resource amount that can be recorded originally in block chain account book, such as will be former The personal resource amount Z1 of this record be updated to Z2=Z1+Z3 (or by script record personal resource amount Z2 be updated to Z4=Z2+ Z5), to complete the update to personal resource amount.
The transaction of every information update may include the corresponding stock number of one or more assets competitors, with for one or The corresponding personal resource amount of multiple assets competitor is updated.For example, asset allocation platform can often receive a competition It is just corresponding to generate an information update transaction after request;Alternatively, asset allocation platform can be counted periodically and be had been received by and not The contention requests of processing, and generate an information update transaction.
There may be corresponding stock number renewal time section, asset allocation platforms to receive for desired asset for desired asset Contention requests after, if being not in stock number renewal time section, can refusing to trade by information update, it is corresponding to update Personal resource amount, so that the personal resource amount recorded in block chain account book is all satisfied the period condition, without by assets point It is distinguished with intelligent contract.Alternatively, asset allocation platform is not necessarily to focus on stock number renewal time section, it can be to the institute received There are the contention requests for desired asset to be responded and updated corresponding personal resource amount, it is subsequent by asset allocation intelligence contract The personal resource amount for meeting period condition is screened and handled.
For above-mentioned stock number renewal time section, can be characterized in several ways.For example, the moment can be used Mode, by initial time, end time define the stock number renewal time section.For another example can be using block height Mode defines stock number renewal time section by starting block height, termination block height.
Step 404, asset allocation platform generates asset allocation transaction, and is committed in block chain network.
Other than asset allocation platform, asset allocation transaction can also be submitted from other clients to block chain network, This specification is limited not to this.
Step 405, block chain node reads personal resource amount.
Step 406, block chain node selection winner, record to transaction log.
Asset allocation transaction is for calling asset allocation intelligence contract, and asset allocation intelligence contract is obtained in preset time The corresponding individual of each assets competitor of block chain account book is updated in section (such as above-mentioned stock number renewal time section) Stock number, and the corresponding assets competitor of maximum personal resource amount is chosen for winner.Due to being run on block chain node EVM, and the code of asset allocation intelligence contract executes in EVM, with realize it is above-mentioned for the reading of personal resource amount, to winning The functions such as the selection of person, thus can consider and the operation such as above-mentioned reading, selection is executed by block chain node, to realize money Produce the correlation function for distributing intelligent contract.
As previously mentioned, may include the personal resource amount not being inconsistent normally on block chain account book, for example renewable time is not located In stock number renewal time section in, update number it is undesirable (such as incremental change is too small), these personal resource amounts can't Participate in the selection process of winner.Therefore, above-mentioned maximum personal resource amount refers in all legal personal resource amounts, The maximum personal resource amount of the numerical value of selection, has excluded not being inconsistent personal resource amount normally.
After selecting winner, the information of winner can be recorded in asset allocation friendship by asset allocation intelligence contract In easy transaction log, it can for example be recorded using case mechanism;Correspondingly, asset allocation platform is by monitoring assets point Transaction log with transaction, the information of timely learning winner, and given on foregoing platform website or platform client To show.
In addition, asset allocation platform is after determining that winner is selected, in available block chain account book with all assets Competitor distinguishes relevant information, and is shown to inquiry, to ensure that competition process is transparent, just.For example, asset allocation Platform can be by relative information displaying in the homepage of above-mentioned platform website, so that inquiry can be looked by accessing the platform website See relevant information;Alternatively, asset allocation platform can be looked into this when inquiry initiates inquiry request to asset allocation platform Inquiry person shows relevant information.Wherein, above-mentioned relevant information for example may include all assets competitors (or its register account number) Information, the renewal process of the corresponding individual amount of assets of each assets competitor etc., this specification is limited not to this.
Other than being shown after the completion of assets competition to relevant information in the process, authoritative department pair can also be passed through Competition process is managed.For example, may include the block chain link corresponding to authoritative departments such as notary offices in block chain network Point allows to that the real effectiveness of assets competition process is managed and is notarized accordingly.For another example working as the skill of this specification When art scheme is applied to judicial auction context, above-mentioned asset allocation platform may include judicial auction platform, and block link network May include in network correspond respectively to judicial auction platform, notary offices and the block of law court chain node so that notary offices and Law court can witness auction process jointly;Wherein, above-mentioned block chain network can be alliance's chain, only judicial auction platform, public affairs Card department, law court etc. belong to alliance chain member, and limit the addition of unconnected objects, can further promote judicial auction result Public credibility.
In some cases, especially before the winner of desired asset not yet chooses, assets competitor be may want to It treats it in strict confidence to the personal resource amount of itself, adjusts other assets competitor pointedly Itself corresponding personal resource amount, causes the inequity of competition process.For example, in the license plate auction process that somewhere is held, mesh Mark assets are license plate, assets competitor is the user for participating in license plate auction, asset allocation platform is license plate auction platform, by each User submits contention requests on license plate auction platform, in contention requests comprising auction price set by user;License plate auction is flat Platform is traded by information update, the personal resource amount recorded in block chain account book can be updated to auction price;Then, pass through Asset allocation intelligence contract is called, auction price soprano can be chosen for winner, auction obtains license plate.
In above-mentioned license plate auction process, it should be ensured that can not mutually know the auction valence of other side between user Otherwise lattice do not know that person may pointedly modify the auction price of oneself, to influence the fairness of auction.Although license plate is auctioned Platform can't actively expose the auction price of each user, but since auction price needs to be contained in information update transaction It is committed to block chain, and information update transaction needs to be stored on block chain, it can be by way of inquiring block chain account book Know.For this purpose, can be by being added to auction price (under other scenes, it may be possible to the personal resource amount of other forms) It is close, so that auction price is registered as auction price (corresponding to personal resource amount after encryption) after encryption on block chain account book. So, even if a certain user can view block chain account book, it is only able to view auction after the corresponding encryption of other users Price is exposed without will cause auction price.
And block chain node can intelligently close auction price after encryption and asset allocation after receiving asset allocation transaction Reduction of a fraction supplementary biography enters to run in the credible performing environment on block chain node, and auction price is in credible performing environment after encrypting After being decrypted as the auction price of plaintext, it is provided to asset allocation intelligence contract and is handled, to determine maximum value Auction price, and corresponding user is chosen for winner, so that its auction is obtained corresponding license plate.
The interaction schematic diagram for another asset allocation process that mono- exemplary embodiment of Fig. 5 provides.As shown in figure 5, assets Assigning process may comprise steps of:
Step 501, asset allocation platform generates asset allocation transaction, and is committed in block chain network.
Other than asset allocation platform, asset allocation transaction can also be submitted from other clients to block chain network, This specification is limited not to this.
Step 502, block chain node calls asset allocation intelligence contract, poll block chain account book.
Block chain node calls asset allocation intelligence contract, i.e., the code of asset allocation intelligence contract is executed in EVM, with For being polled for block chain account book, to read the corresponding individual of each assets competitor recorded on block chain account book Stock number.
Step 503, assets competitor initiates contention requests to asset allocation platform.
Step 504, asset allocation platform generates information update transaction according to the contention requests that receive, and to block chain network The information update is submitted to trade.
Step 505, block chain node updates personal resource amount.
As previously mentioned, asset allocation platform can provide a platform website or platform client, so that assets competitor can To fill in related content based on the platform website or platform client, generate contention requests, and contention requests are sent to resource Distribution platform.Wherein, each assets competitor can register to obtain corresponding virtual account respectively, and based on the virtual account ginseng With the competition to desired asset, the true identity of exposed assets competitor is avoided.
By asset allocation transaction be committed to block chain network after, asset allocation platform can open competition immediately request Permission is submitted, so that assets competitor initiates contention requests, thus the personal resource amount recorded on more new block chain account book.When So, in some cases, contention requests can also be committed to asset allocation platform in advance by assets competitor, and asset allocation is flat Platform is just handled these contention requests after submitting asset allocation transaction, for recording on more new block chain account book Personal resource amount.
As previously mentioned, asset allocation platform can provide desired asset on above-mentioned platform website or platform client Relevant information, such as the description information and minimum conclusion of the business stock number etc. of desired asset, understand that assets competitor accordingly Stock number indicated by the case where desired asset, setting contention requests etc..Asset allocation platform can also be in above-mentioned platform net Stand or platform client on provide for desired asset implement competition when dependency rule, such as allow assets competitor to individual Period that stock number is updated, the number for allowing assets competitor to be updated personal resource amount, to personal resource amount Minimum increment etc. when being updated, this specification is limited not to this.Above-mentioned rule can be used for instructing assets competing The behavior for the person of striving, for example add in contention requests the amount of assets of appropriate value;And above-mentioned rule can be used for constraining assets Competitor, for example may be ignored or will not influence in the contention requests that inappropriate moment initiates and desired asset is divided Match.
As previously mentioned, the quantity of assets competitor can be one or more.Each assets competitor can be respectively to money It produces distribution platform and initiates corresponding contention requests, and each assets competitor one or many may request to send out to asset allocation Contention requests are played, so that one or many updates occur for assets competitor corresponding personal resource amount on block chain account book.
As previously mentioned, assets competitor can add the stock number for desired asset in contention requests.It is assumed that target The minimum conclusion of the business stock number of assets is Z1, if assets competitor wished to compete to obtain target money with stock number Z2 in first time It produces, then assets competitor can add stock number Z2 or stock number Z3=Z2-Z1 in contention requests.Similarly, such as The above-mentioned assets competitor of fruit competes to obtain the desired asset with stock number Z4 in the 2nd hope, then assets competitor can be with Stock number Z4 or stock number Z5=Z4-Z2 is added in contention requests.In short, assets competitor should be flat according to asset allocation Mode defined in platform sets corresponding stock number in contention requests, to ensure the personal resource amount quilt on block chain account book It is correct to update.
Correspondingly, asset allocation platform can extract the stock number indicated in contention requests after receiving contention requests, and Accordingly generate information update transaction.The stock number indicated in contention requests can be added directly to information more by asset allocation platform In New Transaction;Alternatively, being added to information more after resource allocation platform can be handled the stock number indicated in contention requests In New Transaction.
For example, when in contention requests including above-mentioned stock number Z2 (or Z4), it can be direct by stock number Z2 (or Z4) It is added in information update transaction;It, can be according to stock number Z3 when in contention requests including above-mentioned stock number Z3 (or Z5) (or Z5) and stock number Z1 (or Z2) calculate stock number Z2 (or Z4), and stock number Z2 (or Z4) is then added to information update In transaction.So, block chain node, can be directly by resource after receiving the information update transaction comprising stock number Z2 (or Z4) Amount Z2 (or Z4) is updated to the personal resource amount in block chain account book.
For another example when in contention requests including above-mentioned stock number Z3 (or Z5), it can be straight by stock number Z3 (or Z5) It connects and is added in information update transaction.So, block chain node is receiving the information update transaction comprising stock number Z3 (or Z5) Afterwards, it is incremented by stock number Z3 (or Z5) on the basis of the personal resource amount that can be recorded originally in block chain account book, such as will be former The personal resource amount Z1 of this record be updated to Z2=Z1+Z3 (or by script record personal resource amount Z2 be updated to Z4=Z2+ Z5), to complete the update to personal resource amount.
The transaction of every information update may include the corresponding stock number of one or more assets competitors, with for one or The corresponding personal resource amount of multiple assets competitor is updated.For example, asset allocation platform can often receive a competition It is just corresponding to generate an information update transaction after request;Alternatively, asset allocation platform can be counted periodically and be had been received by and not The contention requests of processing, and generate an information update transaction.
Step 506, the current maximum personal resource amount of block chain node updates.
After asset allocation intelligence contract is called, the individual for desired asset that is updated on poll block chain account book Stock number, and renewable time should be no earlier than the called moment of asset allocation intelligence contract.As it can be seen that the present embodiment and Fig. 4 institute Show that the difference between embodiment is: first updating personal resource amount in embodiment illustrated in fig. 4 and recall asset allocation intelligence contract, Although there is competition between each assets competitor, competition does not have real-time, can not be according to of other assets competitor Body stock number is adjusted the personal resource amount of itself;And it is a first to call asset allocation intelligence contract to update in the present embodiment again Body stock number, the current maximum personal resource amount that each assets competitor can set according to asset allocation intelligence contract, in real time Itself corresponding personal resource amount is adjusted, to realize the competition in real-time between assets competitor.
During poll block chain account book, inquiry can all monitor on block chain account book asset allocation intelligence contract every time Satisfactory interim maximum personal resource amount is (since the personal resource amount recorded on block chain account book may become subsequent Change, even if thus in inquiry belong to maximum personal resource amount, it is also possible to it is provisional, thus be described as interim maximum individual Stock number), if the interim maximum personal resource amount is greater than current maximum personal resource amount, asset allocation intelligence contract can will Current maximum personal resource amount is updated to the interim maximum personal resource amount inquired, does not otherwise update.Therefore, in asset allocation Intelligent contract is from all personal resource amounts inquired on block chain account book, it can be ensured that the maximum personal resource amount of value It is set to above-mentioned current maximum personal resource amount.
Asset allocation intelligence contract can record the value of current maximum personal resource amount into transaction log, so that money Transaction log can be monitored and obtain the value of current maximum personal resource amount by producing distribution platform.Asset allocation platform can will obtain The value taken informs each assets competitor, for example can be showed in platform website above-mentioned or platform client, so that respectively A assets competitor knows current race condition, and in time by initiating or initiating contention requests again, to the individual of itself Stock number is updated, to realize competition in real-time.Wherein, asset allocation platform can detecte the competition of assets competitor initiation Request can will be after the update especially after the stock number indicated in contention requests is the update of personal resource amount when value Value is compared with current maximum personal resource amount, if value is greater than current maximum personal resource amount after updating, is allowed Corresponding personal resource amount is updated by information update transaction, does not otherwise allow to update, avoids waste block chain storage Resource can also reduce data scanning amount when asset allocation intelligence contract poll block chain account book.
Step 507, block chain node selection winner, record to transaction log.
Desired asset may exist the corresponding competition period, and asset allocation intelligence contract can be in the competition period After, the corresponding assets competitor of final value of current maximum personal resource amount is determined as winner.
Alternatively, after asset allocation intelligence contract is called, whether to current when can determine inquiry block chain account book every time Maximum personal resource amount realizes update, and counts continuous non-update times: if continuous non-update times reach preset times, It may be considered that stopped competition in real-time between assets competitor, poll can be terminated (no matter when the corresponding competition of desired asset Between section whether processing is over), and the corresponding assets competitor of final value of current maximum personal resource amount is determined as winning Person can effectively promote Competitive Efficiency.
As previously mentioned, the information of winner can be recorded in by asset allocation intelligence contract after selecting winner In the transaction log of asset allocation transaction, it can for example be recorded using case mechanism;Correspondingly, asset allocation platform passes through The transaction log of monitoring asset allocation transaction, the information of timely learning winner, and in foregoing platform website or platform It is shown in client.
As previously mentioned, asset allocation platform is after determining that winner is selected, it is in available block chain account book and all Assets competitor distinguishes relevant information, and is shown to inquiry, to ensure that competition process is transparent, just, herein no longer It repeats.
As previously mentioned, can also pass through other than being shown after the completion of assets competition to relevant information in the process Authoritative department is managed competition process.For example, may include corresponding to the authoritative departments such as notary offices in block chain network Block chain node, allow to that the real effectiveness of assets competition process is managed and is notarized accordingly.For another example when this When the technical solution of specification is applied to judicial auction context, above-mentioned asset allocation platform may include judicial auction platform, And may include in block chain network correspond respectively to judicial auction platform, notary offices and the block of law court chain node so that Notary offices and law court can witness auction process jointly;Wherein, above-mentioned block chain network can be alliance's chain, only judicial to clap It sells platform, notary offices, law court etc. and belongs to alliance chain member, and limit the addition of unconnected objects, can further promote the administration of justice The public credibility of auction result.
Although the value that in the embodiment shown in fig. 5, assets competitor can see current maximum personal resource amount becomes Change, but is not intended in block chain account book with the relevant information of plaintext version recording individual stock number.For example, asset allocation is flat Platform can may include the house property to take part in auction on the administration of justice auction platform, assets competition for judicial auction platform, desired asset Person is the user for participating in house property auction, submits contention requests on judicial auction platform by each user, includes in contention requests Auction price set by user;Judicial auction platform is traded by information update, the individual that can will be recorded in block chain account book Stock number is updated to auction price;And asset allocation intelligence contract can personal resource amount to be recorded on poll block chain account book, To which auction price soprano is chosen for winner, auction obtains house property.So, similar with embodiment illustrated in fig. 4, together Sample can in block chain account book auction price after recording of encrypted, and by after the decryption of credible performing environment, by asset allocation Intelligent contract is handled, it is ensured that security reliability.
In the embodiment shown in Fig. 4-6, itself corresponding personal resource amount is actively set by assets competitor, and be based on The value size of personal resource amount determines winner by asset allocation intelligence contract.And in other embodiments, it is therefore possible to use Other assets competition models.For example, the interaction signal for another asset allocation process that mono- exemplary embodiment of Fig. 6 provides Figure.As shown in fig. 6, asset allocation process may comprise steps of:
Step 601, asset allocation platform generates asset allocation transaction, and is committed in block chain network.
Other than asset allocation platform, asset allocation transaction can also be submitted from other clients to block chain network, This specification is limited not to this.
Step 602, block chain node sets conclusion of the business stock number by asset allocation intelligence contract.
According in asset allocation intelligence contract definition or the incoming parameter value of asset allocation transaction, asset allocation intelligence Contract can know the corresponding initial resource amount of desired asset, and the initial resource amount is set as initially taking for conclusion of the business stock number Value.
Step 603, block chain node passes through asset allocation intelligence contract poll block chain account book.
Step 604, block chain node is successively decreased the stock number that strikes a bargain by asset allocation intelligence contract.
Block chain node calls asset allocation intelligence contract, i.e., the code of asset allocation intelligence contract is executed in EVM, with For being polled for block chain account book, to read the corresponding response of each assets competitor recorded on block chain account book Record.
When asset allocation intelligence contract inquires on block chain account book, there are the corresponding response records of any assets competitor When, show that assets competitor accepts the conclusion of the business stock number that asset allocation intelligence contract is currently set;But it if does not inquire It is directed to the response record of desired asset to any assets competitor, then shows that no assets competitor accepts asset allocation and intelligently closes The conclusion of the business stock number about currently set then asset allocation intelligence contract can successively decrease to conclusion of the business stock number, and is based on passing Conclusion of the business stock number after subtracting and poll block chain account book again, until inquiring response record.
Asset allocation intelligence contract can recorde the number for not inquiring response record continuously, when reaching preset times, Asset allocation intelligence contract can be confirmed does not inquire any assets competitor be directed to desired asset response record, and at Stock number is handed over to successively decrease.For example, the preset times can be 1 time or n times, n > 1.It wherein, can in asset allocation intelligence contract It is passed with that can be traded by asset allocation there are predefined decrement or asset allocation platform to asset allocation intelligence contract The value for entering decrement allows asset allocation intelligence contract to be based on the decrement and successively decreases to conclusion of the business stock number.Every time The decrement used when successively decreasing can be identical;Alternatively, the decrement of use can be different with the variation of reduced degree, such as Decrement can be positively correlated with reduced degree, i.e., decrement is bigger when reduced degree is more, in order to be promoted to desired asset Allocative efficiency.
There may be predefined minimum resources amounts or asset allocation platform to pass through in asset allocation intelligence contract Asset allocation, which is traded, is passed to the value of minimum resources amount to asset allocation intelligence contract, so that conclusion of the business stock number reaches the minimum money Just no longer successively decrease after the amount of source.
Step 605, assets competitor initiates contention requests to asset allocation platform.
Step 606, asset allocation platform generates information update transaction according to the contention requests that receive, and to block chain network The information update is submitted to trade.
Step 607, block chain node updates response record.
It, can be by the value for the stock number that strikes a bargain with thing after asset allocation intelligence contract sets every time or updates conclusion of the business stock number Part mechanism is recorded in the transaction log of asset allocation transaction, and asset allocation platform can be obtained most by event monitoring mechanism New conclusion of the business stock number, and inform each assets competitor, it is for example showed on above-mentioned platform website or platform client.
As previously mentioned, asset allocation platform can provide desired asset on above-mentioned platform website or platform client Relevant information, such as description information, initial resource amount and the minimum conclusion of the business stock number of desired asset etc., so that assets competitor can The case where to understand desired asset accordingly.Asset allocation platform can also provide on above-mentioned platform website or platform client Implement dependency rule when competing for desired asset, such as the period etc. for allowing assets competitor to submit contention requests, this Specification is limited not to this.
When conclusion of the business stock number of the assets competitor to desired asset is accepted, competition can be sent to resource allocation platform and asked It asks.Wherein, each assets competitor can register to obtain corresponding virtual account respectively, and be participated in based on the virtual account to mesh The competition for marking assets, avoids the true identity of exposed assets competitor.Wherein, asset allocation transaction is being committed to block link network After network, asset allocation platform can open competition immediately request submission permission so that assets competitor initiate contention requests, from And the response record recorded on more new block chain account book.
As previously mentioned, the quantity of assets competitor can be one or more.Each assets competitor can be respectively to money It produces distribution platform and initiates corresponding contention requests, more early at the time of submitting contention requests, asset allocation platform will be more early in block Corresponding response record is updated on chain account book, and the response record of first update will be read by asset allocation intelligence contract, be used in combination In the corresponding winner of determination.
Similar with embodiment illustrated in fig. 5, asset allocation intelligence contract is first called in the present embodiment, and more new individual provides again Source amount, each assets competitor can submit competition to ask in real time according to the conclusion of the business stock number that asset allocation intelligence contract is set It asks, then submitting the assets competitor of contention requests that there is more maximum probability to compete to desired asset earlier, to compete in assets Competition in real-time is formed between person.
Step 608, block chain node selection winner, record to transaction log.
The response record for desired asset that asset allocation intelligence contract can be recorded on inquiring block chain account book When, and m response record is successively chosen according to the sequence of moment from morning to night is recorded, and the response record being selected is corresponding Assets competitor is confirmed as winner, and wherein m is the quantity of desired asset;In other words, if there is only a desired asset, quilt The response record of selection is the response record for desired asset for being documented to block chain account book earliest, if there is three targets Assets, the response record being selected are that first three is documented to the response record for desired asset of block chain account book.
As previously mentioned, the information of winner can be recorded in by asset allocation intelligence contract after selecting winner In the transaction log of asset allocation transaction, it can for example be recorded using case mechanism;Correspondingly, asset allocation platform passes through The transaction log of monitoring asset allocation transaction, the information of timely learning winner, and in foregoing platform website or platform It is shown in client.
As previously mentioned, asset allocation platform is after determining that winner is selected, it is in available block chain account book and all Assets competitor distinguishes relevant information, and is shown to inquiry, to ensure that competition process is transparent, just, herein no longer It repeats.
As previously mentioned, can also pass through other than being shown after the completion of assets competition to relevant information in the process Authoritative department is managed competition process.For example, may include corresponding to the authoritative departments such as notary offices in block chain network Block chain node, allow to that the real effectiveness of assets competition process is managed and is notarized accordingly.For another example when this When the technical solution of specification is applied to judicial auction context, above-mentioned asset allocation platform may include judicial auction platform, And may include in block chain network correspond respectively to judicial auction platform, notary offices and the block of law court chain node so that Notary offices and law court can witness auction process jointly;Wherein, above-mentioned block chain network can be alliance's chain, only judicial to clap It sells platform, notary offices, law court etc. and belongs to alliance chain member, and limit the addition of unconnected objects, can further promote the administration of justice The public credibility of auction result.
Fig. 7 is the stream of asset allocation method competition-based in another block chain network that an exemplary embodiment provides Cheng Tu.As shown in fig. 7, this method is applied to block chain node, may comprise steps of:
Step 702, block chain node execution information more New Transaction, information update transaction by asset allocation platform according to Contention requests that assets competitor is initiated for desired asset and generate, in more new block chain account book with assets competitor's phase The information of pass.
Asset allocation platform is used to create competitive events for desired asset, and assets competitor is allowed to understand mesh accordingly The relevant information of assets is marked, and desired asset is obtained based on asset allocation platform competition;Certainly, assets competitor can also pass through Other approach know the relevant information of desired asset.For example, each assets competitor can initiate to asset allocation platform respectively Contention requests, and the stock number comprising corresponding assets competitor instruction in contention requests, show that assets competitor wishes to use The default resource of corresponding amount (indicated stock number, or increase indicated stock number on the basis of original stock number) is converted Change desired asset;Alternatively, assets competitor can show that the resource that desired asset is marked is paid in its agreement by contention requests Amount, to obtain desired asset;Alternatively, assets competitor can also express itself for the competing of desired asset by other means Wish is striven, this depends on used competitive way.
Asset allocation platform by submitting information update transaction into block chain network, can in block chain account book with one A or relevant information of multiple assets competitor is updated.For example, the friendship that asset allocation platform can trade in information update Easy remarks or other parts carry information relevant to assets competitor, and information update transaction is by each in block chain network After the common recognition of a block chain node, the account book data of self maintained can be updated respectively by each block chain node, then Since each block chain node is performed both by the transaction of the information update by common recognition, so that account book documented by each block chain node Data are consistent, it is thus regarded that maintaining the unified block chain account book of content, the block between all block chain nodes jointly Information relevant to assets competitor is described in chain account book.
Assets competitor can register corresponding account at asset allocation platform, so that asset allocation platform is receiving respectively When the contention requests that a assets competitor initiates, corresponding registered account can be determined respectively, so that with assets competitor Relevant information is registered as corresponding to registered account in block chain account book, rather than corresponds directly to assets competitor itself Information.As it can be seen that since assets competitor only needs to submit contention requests on line, and information quilt relevant to assets competitor Association can protect the body of assets competitor to registered account so that the true identity of assets competitor will not leak Part privacy.
Desired asset may include any type of object;By in this manual can for the object the right of attribution into Row competition and distribution, thus " assets " are described it as, and this specification does not limit its type.For example, target provides Produce to be the objects such as assets, such as fund, house property, stock, collectibles, integral, discount coupon under the chain except block chain network; Alternatively, desired asset can be the block chain assets in block chain network, such as the above-mentioned fund etc. recorded on block chain account book The voucher of each object.
Step 704, the block chain node calls asset allocation intelligence contract, and the asset allocation intelligence contract is used for root According to the corresponding information of each assets competitor recorded on block chain account book, the mesh is chosen from all assets competitors Mark the corresponding winner of assets.
After intelligent contract creation, it will appear a contract account corresponding with the intelligence contract on block chain, and possess one A specific address, contract code and account storage will be stored in the contract account.The behavior of intelligent contract is by contract code Control, and the account storage of intelligent contract then saves the state of contract.In other words, intelligent contract to generate on block chain The virtual account stored comprising contract code and account.Correspondingly, asset allocation platform can add money in the transaction of block chain Is produced from the address for distributing intelligent contract, can for example be added the address in the to field that block chain is traded in ether mill, with Show to wish to call the asset allocation intelligence contract.
It trades with above-mentioned information update similar, asset allocation platform is submitted in block chain network for calling money It produces after distributing the block chain transaction of intelligent contract, block chain transaction can be held after common recognition on all block chain nodes Row.Each block chain node can transfer asset allocation intelligence contract, and should by executing after executing above-mentioned block chain transaction The code of asset allocation intelligence contract chooses the asset allocation intelligence contract from all assets competitors winning Person, to obtain above-mentioned desired asset by the winner.Since the code in asset allocation intelligence contract has pre-defined Understand and be recorded in block chain account book, so that the code of asset allocation intelligence contract can not be changed, thus is executing assets point It may insure objectivity and fairness during with intelligent contract, not will receive the interference of external factor, it can be quick, quasi- Really, appropriate winner is chosen automatically.
Block chain node can execute the code of asset allocation intelligence contract in TEE.TEE is the peace based on CPU hardware Full extension, and the credible performing environment completely isolated with outside.TEE is the concept proposed by Global Platform earliest, is used In the security isolation for solving resource in mobile device, it is parallel to operating system and credible and secure execution ring is provided for application program Border.For example, the code execution of the TEE technology insulation such as SGX of Intel, remote proving, security configuration, the secure storage of data with And the trusted path for executing code.The application program run in TEE is kept safe, as a consequence it is hardly possible to by third party Access.
By taking Intel SGX technology as an example.Block chain node, in memory can be with using the processor instruction increased newly in CPU A part of region EPC is distributed, EVM is loaded onto EPC, and confirms the code and key pipe of loaded EVM by remote proving The code for managing EVM at server is consistent (such as comparing hash value).After remote proving passes through, block chain node passes through in CPU Crypto engine MEE encryption carried out to the code of above-mentioned asset allocation intelligence contract be stored in the EPC.What is encrypted in EPC is interior Holding can be decrypted into plain text after only entering CPU.In CPU, operation is carried out to the code of the plaintext, completion executed Journey.Therefore, by executing the code of asset allocation intelligence contract in TEE, asset allocation intelligence contract can be made safe and reliable Environment in executed, avoid the interference by extraneous factor.
When the selection rule difference defined in the code of asset allocation intelligence contract, recorded on block chain account book with money Producing the relevant information of competitor, there may be differences, to be adapted to used selection rule.It can in asset allocation intelligence contract Can only record can record a variety of selection rules simultaneously in a kind of selection rule or asset allocation intelligence contract, and assets point Clearly desired in the transaction of the block chain of submission the selection rule used can be transferred with platform, so that block chain node is only held The corresponding code of selection rule used is wished in row asset allocation intelligence contract.
Some selection rules are related with the stock number of resource is preset provided by assets competitor, need by assets competitor State that it wishes the default resource by a certain stock number, actively to be used for competitive target assets;Correspondingly, selection rule can be with According to the size relation for the stock number that each assets competitor is stated, winner is determined.Correspondingly, asset allocation platform can To generate above-mentioned information update transaction according to the stock number indicated in the contention requests received, and the information is submitted to block chain More New Transaction, to update corresponding assets competitor corresponding personal resource amount in block chain account book.
The stock number that assets competitor indicates in contention requests can be the updated value of personal resource amount, and asset allocation is flat Platform can be in information update transaction comprising stock number indicated by contention requests, so that the individual money recorded in block chain account book Source amount is updated directly to stock number indicated by the contention requests.Assets competitor can repeatedly initiate contention requests, to realize Multiple update to personal resource amount.What the stock number indicated by the contention requests of rear initiation usually should be above formerly initiating Otherwise stock number indicated by contention requests can not trigger the update to personal resource amount.It is possible to further send out after being set in The difference of stock number indicated by stock number indicated by the contention requests risen and the contention requests formerly initiated is poor not less than default Value, otherwise can not equally trigger the update to personal resource amount.
Resource contention person in addition to the initial value that the stock number that indicates in the contention requests initiated for the first time is personal resource amount, The stock number indicated in the contention requests of subsequent initiation can be value added, so that the personal resource recorded in block chain account book Amount is subsequent constantly accumulative incremental after being set as initial value for the first time.It wherein, can be by asset allocation platform according to contention requests middle finger The stock number shown and the updated value for calculating personal resource amount, and include the updated value in information update transaction;Alternatively, information is more It may include above-mentioned value added in New Transaction, individual calculated according to value added in more new block chain account book by block chain node The updated value of stock number is updated with the personal resource amount for block chain account book record.
If desired asset has the initial resource amount being marked, resource contention person refers in the contention requests of initiation The stock number shown can be value added, so that the personal resource amount recorded in block chain account book is being set as initial resource amount for the first time Afterwards, subsequent constantly accumulative incremental.Similarly with above scheme, the updated value of personal resource amount can be calculated simultaneously by resource allocation platform Be added to information update transaction in, can also information update transaction in directly add value added, with by block chain node according to Value added is updated personal resource amount.
Asset allocation intelligence contract can be provided according to the corresponding individual of each assets competitor recorded on block chain account book Source amount, is chosen for winner for the corresponding assets competitor of maximum personal resource amount;In other words, the corresponding personal resource of winner Amount is greater than other assets competitor.When choosing winner based on personal resource amount, asset allocation intelligence contract may use a variety of Selection rule.
For example, information update transaction is given birth to by asset allocation platform according to the stock number indicated in the contention requests received At to update corresponding assets competitor corresponding personal resource amount in block chain account book;Wherein, the corresponding individual of winner Stock number is greater than other assets competitor.In one case, asset allocation intelligence contract is available within a preset period of time It is updated to the corresponding personal resource amount of each assets competitor of block chain account book, and maximum personal resource amount is corresponding Assets competitor is chosen for winner, can specifically refer to embodiment as shown in Figure 4.In another case, asset allocation intelligence Energy contract can periodically inquire block chain account book, and the interim maximum personal resource amount in block chain account book is greater than assets When distributing the current maximum personal resource amount that intelligent contract is recorded, current maximum personal resource amount is updated to interim maximum individual Stock number;And asset allocation intelligence contract reaches preset quantity in the continuous non-update cycle of current maximum personal resource amount When, the corresponding assets competitor of final value of current maximum personal resource amount is chosen for winner, it specifically can be with reference to such as Embodiment shown in fig. 5.
For another example information update transaction is receiving any assets competitor for desired asset initiation by asset allocation platform Contention requests generate, remembered with updating any assets competitor in block chain account book to the response of the desired asset Record;Correspondingly, asset allocation intelligence contract can periodically inquire block chain account book, until inquiring for desired asset Response record;When the amount of cycles for not inquiring response record reaches preset quantity, asset allocation intelligence contract successively decreases record The corresponding conclusion of the business stock number of the desired asset;When inquire on block chain account book exist for desired asset response record When, the corresponding assets competitor of the response record inquired is chosen for winner by asset allocation intelligence contract, can specifically be joined Examine embodiment as shown in FIG. 6.
Fig. 8 is a kind of schematic configuration diagram for equipment that an exemplary embodiment provides.Referring to FIG. 8, in hardware view, it should Equipment includes processor 802, internal bus 804, network interface 806, memory 808 and nonvolatile memory 810, is gone back certainly It may include hardware required for other business.Processor 802 reads corresponding computer journey from nonvolatile memory 810 Then sequence is run into memory 808, asset allocation device competition-based in block chain network is formed on logic level.When So, other than software realization mode, other implementations, such as logic is not precluded in this specification one or more embodiment Device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each logic Unit is also possible to hardware or logical device.
Referring to FIG. 9, in Software Implementation, asset allocation device competition-based be can wrap in the block chain network It includes:
Updating unit 901 makes asset allocation platform be directed to the contention requests that desired asset is initiated according to assets competitor Information update transaction is submitted to block chain, with information relevant to assets competitor in more new block chain account book;
Unit 902 is initiated, initiates the asset allocation platform for calling the block chain of asset allocation intelligence contract to hand over Easily, the asset allocation intelligence contract is used for according to the corresponding letter of each assets competitor recorded on block chain account book Breath, chooses the corresponding winner of the desired asset from all assets competitors.
Optionally, there are registered accounts at the asset allocation platform by the assets competitor, described competing with assets The relevant information of the person of striving is registered as corresponding to the registered account in block chain account book.
Optionally, the asset allocation intelligence contract is held in the credible performing environment run on block chain node Row.
Optionally, updating unit 901 is specifically used for:
Make the asset allocation platform generate the information update according to the stock number indicated in the contention requests received to hand over Easily;
The asset allocation platform is set to submit the information update transaction to block chain, to update corresponding assets competitor The corresponding personal resource amount in block chain account book;
Wherein, the corresponding personal resource amount of the winner is greater than other assets competitor.
Optionally, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract obtains each assets competition for being updated to block chain account book within a preset period of time The corresponding personal resource amount of person, and the corresponding assets competitor of maximum personal resource amount is chosen for the winner.
Optionally, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract periodically inquires block chain account book, and the interim maximum in block chain account book When personal resource amount is greater than the current maximum personal resource amount that the asset allocation intelligence contract is recorded, by described current maximum Body stock number is updated to the interim maximum personal resource amount;And the asset allocation intelligence contract is in the current maximum When the continuous non-update cycle of personal resource amount reaches preset quantity, by the final value pair of the current maximum personal resource amount The assets competitor answered is chosen for the winner.
Optionally, the personal resource amount is registered as personal resource amount after encryption in block chain account book.
Optionally, personal resource amount and the asset allocation intelligence contract are passed into and run on block chain link after the encryption In credible performing environment on point;Wherein, personal resource amount is decrypted as institute in the credible performing environment after the encryption After stating personal resource amount, it is provided to the asset allocation intelligence contract.
Optionally, updating unit 901 is specifically used for:
Make the asset allocation platform after receiving the contention requests that any assets competitor initiates for desired asset, to Block chain submits information update transaction, to update any assets competitor in block chain account book to the desired asset Response record;
Wherein, the asset allocation intelligence contract chooses winner, comprising: the asset allocation intelligence contract is periodically Block chain account book is inquired, until inquiring the response record for the desired asset;When the period for not inquiring response record When quantity reaches preset quantity, the asset allocation intelligence contract successively decreases the corresponding conclusion of the business resource of the desired asset of record Amount;When inquiring the response record for existing on block chain account book and being directed to the desired asset, the asset allocation intelligence contract The corresponding assets competitor of the response record inquired is chosen for the winner.
Optionally, further includes:
Acquiring unit 903 makes the asset allocation platform after determining that the winner is selected, and obtains block chain account book In information relevant to all assets competitor difference, to be shown to inquiry.
Optionally, the asset allocation platform includes judicial auction platform;It wherein, include respectively corresponding in block chain network In the judicial auction platform, the block chain node of notary offices and law court.
Figure 10 is a kind of schematic configuration diagram for equipment that an exemplary embodiment provides.Referring to FIG. 10, in hardware view, The equipment includes processor 1002, internal bus 1004, network interface 1006, memory 1008 and nonvolatile memory 1010, it is also possible that hardware required for other business certainly.Processor 1002 is read from nonvolatile memory 1010 Then corresponding computer program is run into memory 1008, money competition-based in block chain network is formed on logic level Produce distributor.Certainly, other than software realization mode, other realizations are not precluded in this specification one or more embodiment Mode, such as logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not It is defined in each logic unit, is also possible to hardware or logical device.
Figure 11 is please referred to, in Software Implementation, asset allocation device competition-based can be in the block chain network Include:
Execution unit 1101 makes block chain node execution information more New Transaction, and the information update transaction is by asset allocation Contention requests that platform is initiated according to assets competitor for desired asset and generate, in more new block chain account book with assets The relevant information of competitor;
Call unit 1102, makes the block chain node call asset allocation intelligence contract, and the asset allocation is intelligently closed About for being selected from all assets competitors according to the corresponding information of each assets competitor recorded on block chain account book Take the corresponding winner of the desired asset.
Optionally, there are registered accounts at the asset allocation platform by the assets competitor, described competing with assets The relevant information of the person of striving is registered as corresponding to the registered account in block chain account book.
Optionally, call unit 1102 is specifically used for:
The block chain node is set to execute the asset allocation intelligence contract in credible performing environment.
Optionally, the information update transaction is by asset allocation platform according to the stock number indicated in the contention requests received And generate, to update corresponding assets competitor corresponding personal resource amount in block chain account book;
Wherein, the corresponding personal resource amount of the winner is greater than other assets competitor.
Optionally, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract obtains each assets competition for being updated to block chain account book within a preset period of time The corresponding personal resource amount of person, and the corresponding assets competitor of maximum personal resource amount is chosen for the winner.
Optionally, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract periodically inquires block chain account book, and the interim maximum in block chain account book When personal resource amount is greater than the current maximum personal resource amount that the asset allocation intelligence contract is recorded, by described current maximum Body stock number is updated to the interim maximum personal resource amount;And the asset allocation intelligence contract is in the current maximum When the continuous non-update cycle of personal resource amount reaches preset quantity, by the final value pair of the current maximum personal resource amount The assets competitor answered is chosen for the winner.
Optionally, the personal resource amount is registered as personal resource amount after encryption in block chain account book.
Optionally, call unit 1102 is specifically used for:
It is passed to the block chain node by personal resource amount after the encryption and the asset allocation intelligence contract respectively In credible performing environment;
Personal resource amount is decrypted after making the block chain node in the credible performing environment to the encryption, obtains To the personal resource amount;
So that the block chain node is executed the asset allocation intelligence contract in the credible performing environment, makes the money It produces distribution intelligent contract and the winner is determined according to the personal resource amount.
Optionally, the information update transaction is receiving any assets competitor for target by the asset allocation platform The contention requests that assets are initiated generate, to update any assets competitor in block chain account book to the desired asset Response record;
Wherein, the asset allocation intelligence contract chooses winner, comprising: the asset allocation intelligence contract is periodically Block chain account book is inquired, until inquiring the response record for the desired asset;When the period for not inquiring response record When quantity reaches preset quantity, the asset allocation intelligence contract successively decreases the corresponding conclusion of the business resource of the desired asset of record Amount;When inquiring the response record for existing on block chain account book and being directed to the desired asset, the asset allocation intelligence contract The corresponding assets competitor of the response record inquired is chosen for the winner.
Optionally, the asset allocation platform includes judicial auction platform;It wherein, include respectively corresponding in block chain network In the judicial auction platform, the block chain node of notary offices and law court.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
In a typical configuration, computer includes one or more processors (CPU), input/output interface, network Interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, based on graphene Storage medium or other magnetic storage devices or any other non-transmission medium, can be used for storing can be accessed by a computing device Information.As defined in this article, computer-readable medium does not include temporary computer readable media (transitory media), Such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
The term that this specification one or more embodiment uses be only merely for for the purpose of describing particular embodiments, and It is not intended to be limiting this specification one or more embodiment.In this specification one or more embodiment and the appended claims Used in the "an" of singular, " described " and "the" be also intended to including most forms, unless context understands earth's surface Show other meanings.It is also understood that term "and/or" used herein refers to and includes one or more associated list Any or all of project may combine.
It will be appreciated that though this specification one or more embodiment may using term first, second, third, etc. come Various information are described, but these information should not necessarily be limited by these terms.These terms are only used to same type of information area each other It separates.For example, the first information can also be referred to as in the case where not departing from this specification one or more scope of embodiments Two information, similarly, the second information can also be referred to as the first information.Depending on context, word as used in this is " such as Fruit " can be construed to " ... when " or " when ... " or " in response to determination ".
The foregoing is merely the preferred embodiments of this specification one or more embodiment, not to limit this theory Bright book one or more embodiment, all within the spirit and principle of this specification one or more embodiment, that is done is any Modification, equivalent replacement, improvement etc. should be included within the scope of the protection of this specification one or more embodiment.

Claims (27)

1. a kind of asset allocation method competition-based in block chain network, comprising:
Asset allocation platform submits information more to block chain according to the contention requests that assets competitor is initiated for desired asset New Transaction, with information relevant to assets competitor in more new block chain account book;
The asset allocation platform is initiated for calling the block chain of asset allocation intelligence contract to trade, the asset allocation intelligence Contract is used for according to the corresponding information of each assets competitor recorded on block chain account book, from all assets competitors Choose the corresponding winner of the desired asset.
2. according to the method described in claim 1, the assets competitor is at the asset allocation platform, there are registered accounts Number, the information relevant to assets competitor is registered as corresponding to the registered account in block chain account book.
3. according to the method described in claim 1, the asset allocation intelligence contract run on it is credible on block chain node It is performed in performing environment.
4. according to the method described in claim 1, the asset allocation platform is sent out according to assets competitor for desired asset The contention requests risen submit information update transaction to block chain, comprising:
The asset allocation platform generates the information update according to the stock number indicated in the contention requests received and trades;
The asset allocation platform submits the information update transaction to block chain, to update corresponding assets competitor in block Corresponding personal resource amount in chain account book;
Wherein, the corresponding personal resource amount of the winner is greater than other assets competitor.
5. according to the method described in claim 4, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract obtains each assets competitor point for being updated to block chain account book within a preset period of time Not corresponding personal resource amount, and the corresponding assets competitor of maximum personal resource amount is chosen for the winner.
6. according to the method described in claim 4, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract periodically inquires block chain account book, and the interim maximum individual in block chain account book When stock number is greater than the current maximum personal resource amount that the asset allocation intelligence contract is recorded, by the current maximum individual money Source amount is updated to the interim maximum personal resource amount;And the asset allocation intelligence contract is in the current maximum individual It is when the continuous non-update cycle of stock number reaches preset quantity, the final value of the current maximum personal resource amount is corresponding Assets competitor is chosen for the winner.
7. according to the method described in claim 4, the personal resource amount is registered as individual after encryption in block chain account book Stock number.
8. according to the method described in claim 7, personal resource amount and the asset allocation intelligence contract are passed after the encryption Enter to run in the credible performing environment on block chain node;Wherein, after the encryption personal resource amount in the credible execution After being decrypted as the personal resource amount in environment, it is provided to the asset allocation intelligence contract.
9. according to the method described in claim 1, the asset allocation platform is sent out according to assets competitor for desired asset The contention requests risen submit information update transaction to block chain, comprising:
The asset allocation platform is after receiving the contention requests that any assets competitor initiates for desired asset, to block chain Information update transaction is submitted, is remembered with updating any assets competitor in block chain account book to the response of the desired asset Record;
Wherein, the asset allocation intelligence contract chooses winner, comprising: the asset allocation intelligence contract is periodically inquired Block chain account book, until inquiring the response record for the desired asset;When the amount of cycles for not inquiring response record When reaching preset quantity, the asset allocation intelligence contract successively decreases the corresponding conclusion of the business stock number of the desired asset of record;When When inquiring the response record for existing on block chain account book and being directed to the desired asset, the asset allocation intelligence contract will be inquired To the corresponding assets competitor of response record be chosen for the winner.
10. according to the method described in claim 1, further include:
The asset allocation platform after determining that the winner is selected, obtain block chain account book in all assets competitors Relevant information respectively, to be shown to inquiry.
11. according to the method described in claim 1, the asset allocation platform includes judicial auction platform;Wherein, block link network It include the block chain node for corresponding respectively to the judicial auction platform, notary offices and law court in network.
12. a kind of asset allocation method competition-based in block chain network, comprising:
Block chain node execution information more New Transaction, the information update transaction is by asset allocation platform according to assets competitor's needle The contention requests that desired asset is initiated are generated, with information relevant to assets competitor in more new block chain account book;
The block chain node calls asset allocation intelligence contract, and the asset allocation intelligence contract is used for according to block chain account book The corresponding information of each assets competitor of upper record, it is corresponding from all assets competitors to choose the desired asset Winner.
13. according to the method for claim 12, there are registered at the asset allocation platform by the assets competitor Account, the information relevant to assets competitor are registered as corresponding to the registered account in block chain account book.
14. according to the method for claim 12, the block chain node calls asset allocation intelligence contract, comprising:
The block chain node executes the asset allocation intelligence contract in credible performing environment.
15. according to the method for claim 12, the information update transaction is by asset allocation platform according to the competition received The stock number that is indicated in request and generate, to update corresponding assets competitor corresponding personal resource in block chain account book Amount;
Wherein, the corresponding personal resource amount of the winner is greater than other assets competitor.
16. according to the method for claim 15, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract obtains each assets competitor point for being updated to block chain account book within a preset period of time Not corresponding personal resource amount, and the corresponding assets competitor of maximum personal resource amount is chosen for the winner.
17. according to the method for claim 15, the asset allocation intelligence contract chooses winner, comprising:
The asset allocation intelligence contract periodically inquires block chain account book, and the interim maximum individual in block chain account book When stock number is greater than the current maximum personal resource amount that the asset allocation intelligence contract is recorded, by the current maximum individual money Source amount is updated to the interim maximum personal resource amount;And the asset allocation intelligence contract is in the current maximum individual It is when the continuous non-update cycle of stock number reaches preset quantity, the final value of the current maximum personal resource amount is corresponding Assets competitor is chosen for the winner.
18. according to the method for claim 15, the personal resource amount is registered as a after encrypting in block chain account book Body stock number.
19. according to the method for claim 18, the block chain node calls asset allocation intelligence contract, comprising:
Personal resource amount after the encryption and the asset allocation intelligence contract are passed to credible hold respectively by the block chain node In row environment;
The block chain node in the credible performing environment to the encryption after personal resource amount be decrypted, obtain described Personal resource amount;
The block chain node executes the asset allocation intelligence contract in the credible performing environment, makes the asset allocation Intelligent contract determines the winner according to the personal resource amount.
20. according to the method for claim 12, information update transaction by the asset allocation platform receive it is any The contention requests that assets competitor initiates for desired asset generate, to update any assets competition in block chain account book Response record of the person to the desired asset;
Wherein, the asset allocation intelligence contract chooses winner, comprising: the asset allocation intelligence contract is periodically inquired Block chain account book, until inquiring the response record for the desired asset;When the amount of cycles for not inquiring response record When reaching preset quantity, the asset allocation intelligence contract successively decreases the corresponding conclusion of the business stock number of the desired asset of record;When When inquiring the response record for existing on block chain account book and being directed to the desired asset, the asset allocation intelligence contract will be inquired To the corresponding assets competitor of response record be chosen for the winner.
21. according to the method for claim 12, the asset allocation platform includes judicial auction platform;Wherein, block chain It include the block chain node for corresponding respectively to the judicial auction platform, notary offices and law court in network.
22. asset allocation device competition-based in a kind of block chain network, comprising:
Updating unit, the contention requests for initiating asset allocation platform for desired asset according to assets competitor are to block chain Information update transaction is submitted, with information relevant to assets competitor in more new block chain account book;
Unit is initiated, initiates the asset allocation platform for calling the block chain of asset allocation intelligence contract to trade, it is described Asset allocation intelligence contract is used for according to the corresponding information of each assets competitor recorded on block chain account book, from all The corresponding winner of the desired asset is chosen in assets competitor.
23. asset allocation device competition-based in a kind of block chain network, comprising:
Execution unit, makes block chain node execution information more New Transaction, the information update transaction by asset allocation platform according to Contention requests that assets competitor is initiated for desired asset and generate, in more new block chain account book with assets competitor's phase The information of pass;
Call unit, makes the block chain node call asset allocation intelligence contract, and the asset allocation intelligence contract is used for root According to the corresponding information of each assets competitor recorded on block chain account book, the mesh is chosen from all assets competitors Mark the corresponding winner of assets.
24. a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running the executable instruction to realize such as side of any of claims 1-11 Method.
25. a kind of computer readable storage medium, is stored thereon with computer instruction, realized such as when which is executed by processor The step of any one of claim 1-11 the method.
26. a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running the executable instruction to realize as described in any one of claim 12-21 Method.
27. a kind of computer readable storage medium, is stored thereon with computer instruction, realized such as when which is executed by processor The step of any one of claim 12-21 the method.
CN201910639417.5A 2019-07-16 2019-07-16 Asset allocation method and device competition-based in block chain network Pending CN110458708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910639417.5A CN110458708A (en) 2019-07-16 2019-07-16 Asset allocation method and device competition-based in block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910639417.5A CN110458708A (en) 2019-07-16 2019-07-16 Asset allocation method and device competition-based in block chain network

Publications (1)

Publication Number Publication Date
CN110458708A true CN110458708A (en) 2019-11-15

Family

ID=68481291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910639417.5A Pending CN110458708A (en) 2019-07-16 2019-07-16 Asset allocation method and device competition-based in block chain network

Country Status (1)

Country Link
CN (1) CN110458708A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274324A (en) * 2020-02-12 2020-06-12 北京元链科技有限公司 Admissibility digital asset transfer method
TWI725698B (en) * 2020-01-07 2021-04-21 臺灣銀行股份有限公司 Judicial sale system of loan collateral and method thereof
CN112862576A (en) * 2021-02-07 2021-05-28 湖南大学 Bidding auction method, system, equipment and storage medium based on block chain
EP3857373B1 (en) * 2019-03-29 2023-03-22 Advanced New Technologies Co., Ltd. Blockchain-based resource allocation method and apparatus

Citations (3)

* 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
CN109146652A (en) * 2018-09-06 2019-01-04 王李琰 A kind of online auction system and system based on block chain technology
CN109711957A (en) * 2019-01-28 2019-05-03 姚承志 Assets cochain

Patent Citations (3)

* 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
CN109146652A (en) * 2018-09-06 2019-01-04 王李琰 A kind of online auction system and system based on block chain technology
CN109711957A (en) * 2019-01-28 2019-05-03 姚承志 Assets cochain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3857373B1 (en) * 2019-03-29 2023-03-22 Advanced New Technologies Co., Ltd. Blockchain-based resource allocation method and apparatus
TWI725698B (en) * 2020-01-07 2021-04-21 臺灣銀行股份有限公司 Judicial sale system of loan collateral and method thereof
CN111274324A (en) * 2020-02-12 2020-06-12 北京元链科技有限公司 Admissibility digital asset transfer method
CN112862576A (en) * 2021-02-07 2021-05-28 湖南大学 Bidding auction method, system, equipment and storage medium based on block chain

Similar Documents

Publication Publication Date Title
JP7385706B2 (en) Method of distributing digital assets registered on blockchain and autonomous computing agent
Bacon et al. Blockchain demystified: a technical and legal introduction to distributed and centralized ledgers
CN108885761B (en) Method for secure point-to-point communication on a blockchain
CN110458708A (en) Asset allocation method and device competition-based in block chain network
CN110473094A (en) Data grant method and device based on block chain
CN110457875A (en) Data grant method and device based on block chain
CN110473096A (en) Data grant method and device based on intelligent contract
CN110494876A (en) For issuing the system and method with track digital token in distributed network node
CN110494877A (en) For issuing the system and method with track digital token in distributed network node
WO2019236471A1 (en) Decentralized safeguard against fraud
WO2022182674A1 (en) Advanced non-fungible token blockchain architecture
CN110009349B (en) Method and device for generating and verifying linkable ring signature in block chain
KR102251161B1 (en) How to manage house scores using smart contracts in a blockchain network
JP2020528178A (en) Systems and methods for blockchain-dependent behavior sets
CN110599348B (en) Method, device, equipment and storage medium for stock right incentive
CN109003185A (en) A kind of method for building up, device, calculating equipment and the storage medium of intelligence contract
CN110557375A (en) k anonymous location privacy protection incentive method based on block chain intelligent contract
Travizano et al. Wibson: A decentralized data marketplace
CN113221191B (en) Block chain-based data evidence storage method, device, equipment and storage medium
WO2023183151A1 (en) Non-fungible token (nft) purchase and transfer system
Bhatia et al. WorkerRep: Building trust on crowdsourcing platform using blockchain
CN112862303B (en) Crowdsourcing quality evaluation system and method based on block chain
Gómez et al. Blockverse: A cloud blockchain-based platform for tracking in affiliate systems
KR102140453B1 (en) Meeting management method and meeting management system using the method
CN115131034A (en) Block chain-based rights and interests digital collection verification method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40017468

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right