CN108171606A - The distribution method and device of block chain assets - Google Patents
The distribution method and device of block chain assets Download PDFInfo
- Publication number
- CN108171606A CN108171606A CN201810026630.4A CN201810026630A CN108171606A CN 108171606 A CN108171606 A CN 108171606A CN 201810026630 A CN201810026630 A CN 201810026630A CN 108171606 A CN108171606 A CN 108171606A
- Authority
- CN
- China
- Prior art keywords
- asset allocation
- asset
- recipient
- assets
- allocation
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of distribution methods and device of block chain assets, are related to technical field of data processing, can solve the problems, such as that existing block chain assets can not realize a pair of of overabsorption.The method of the present invention mainly includes:Intelligent contract or centralized server receive the asset allocation request that asset allocation requesting party sends, and the asset allocation request includes specific quantity assets and asset allocation requirement;It is linked according to intelligent contract address and asset allocation requirement generation asset allocation link or according to the block chain account address of the centralized server and the asset allocation requirement generation asset allocation;Broadcast the asset allocation link;Asset allocation recipient is received to be asked according to the asset acceptance that the asset allocation chain receives and sends;It requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient according to the asset allocation.The present invention is mainly suitable in the scene based on block chain technology distribution assets.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of distribution method and device of block chain assets.
Background technology
Block chain technology be a kind of decentralization and reside in distributed frame data storage, transmission and prove method,
With data block instead of dependence of the current internet to central server, each node can be led to by point to point network
Letter.However, decentralization is also shortcoming in some aspects, such as can not realize to giving bonus in many ways.Specifically, due to block chain
Assets only support the transmission of point-to-point (i.e. one-to-one), without supporting one-to-many transmission, so when certain user desires to other
When user gives bonus, it can only orient and send one by one, and can not realize more people and rob the mechanism of red packet.Therefore, block chain how is made up
This defect of asset allocation is urgently to be resolved hurrily.
Invention content
In view of this, the distribution method and device of block chain assets provided by the invention, it is existing its object is to solve
The problem of block chain assets can not realize a pair of of overabsorption.
To solve the above-mentioned problems, present invention generally provides following technical solutions:
In a first aspect, the present invention provides a kind of distribution method of block chain assets, the method includes:
Intelligent contract or centralized server receive the asset allocation request that asset allocation requesting party sends, the assets
Distribution request includes specific quantity assets and asset allocation requirement;
According to intelligent contract address and asset allocation requirement generation asset allocation link or according to the centralization
The block chain account address of server and asset allocation requirement generate the asset allocation link;
Broadcast the asset allocation link;
Asset allocation recipient is received to be asked according to the asset acceptance that the asset allocation chain receives and sends;
It requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient according to the asset allocation.
Optionally, the broadcast asset allocation link includes:
Asset allocation link described in recipient's narrowcast in being required according to the asset allocation;
If the distribution number that recipient's range is included is more than the distribution number in the asset allocation requirement,
After reception asset allocation recipient asks according to the asset acceptance that the asset allocation chain receives and sends, the method further includes:
According to the distribution number record desired asset distribution recipient.
Optionally, the broadcast asset allocation link includes:
The asset allocation is linked in the whole network and is broadcasted;
After the asset acceptance request that asset allocation recipient receives and sends according to the asset allocation chain is received, the side
Method further includes:
Record meets the desired asset distribution recipient of recipient's range and distribution number in the asset allocation requirement.
Optionally, it is described to require the specific quantity assets being sequentially allocated to corresponding assets according to the asset allocation
Distribution recipient includes:
Distribution number and the method for salary distribution in being required according to the asset allocation the specific quantity assets divide,
Assets after division are sequentially allocated and distribute recipient to corresponding desired asset.
Optionally, it is described to require the specific quantity assets being sequentially allocated to corresponding assets according to the asset allocation
Distribution recipient includes:
After the asset allocation instruction that the asset allocation requesting party sends is received, being required according to the asset allocation will
The specific quantity assets are sequentially allocated to corresponding asset allocation recipient;
Alternatively, when meeting the distribution opportunity set in the asset allocation requirement, being required according to the asset allocation will
The specific quantity assets are sequentially allocated to corresponding asset allocation recipient.
Second aspect, the present invention provides a kind of distributor of block chain assets, described device is applied to intelligent contract
Side or centralized server side, described device include:
Receiving unit, for receiving the asset allocation request of asset allocation requesting party transmission, the asset allocation request bag
Assets containing specific quantity and asset allocation requirement;
Generation unit, for according to intelligent contract address and the asset allocation requirement generation asset allocation link or
The asset allocation link is generated according to the block chain account address of the centralized server and asset allocation requirement;
Radio unit, for broadcasting the asset allocation link;
The receiving unit is additionally operable to reception asset allocation recipient and is connect according to the assets that the asset allocation chain receives and sends
Receive request;
Allocation unit, for requiring the specific quantity assets being sequentially allocated to corresponding money according to the asset allocation
Production distribution recipient.
Optionally, the radio unit includes:
First broadcast module, for according to asset allocation chain described in recipient's narrowcast in asset allocation requirement
It connects;
Described device further includes:
First recording unit is more than the asset allocation requirement for working as the distribution number that recipient's range is included
In distribution number when, receive asset allocation recipient it is asked according to the asset acceptance that the asset allocation chain receives and sends
Afterwards, according to the distribution number record desired asset distribution recipient.
Optionally, the radio unit includes:
Second broadcast module is broadcasted for the asset allocation to be linked in the whole network;
Described device further includes:
Second recording unit, for being connect in reception asset allocation recipient according to the assets that the asset allocation chain receives and sends
After receiving request, the desired asset distribution that record meets recipient's range and distribution number in the asset allocation requirement receives
Side.
Optionally, the allocation unit, for the specific quantity assets according to the asset allocation require in point
It is divided with number and the method for salary distribution, the assets after division is sequentially allocated and distribute recipient to corresponding desired asset.
Optionally, the allocation unit includes:
First distribution module, for after the asset allocation instruction that the asset allocation requesting party sends is received, according to
The asset allocation requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient;
Second distribution module, for when meeting the distribution opportunity set in the asset allocation requirement, according to the money
The specific quantity assets are sequentially allocated to corresponding asset allocation recipient by production distribution requirement.
The third aspect, the present invention provides a kind of storage medium, the storage medium includes the program of storage, wherein,
Equipment performs the distribution side of block chain assets as described in relation to the first aspect described program controls the storage medium when running where
Method.
Fourth aspect, the present invention provides a kind of distributor of block chain assets, described device include storage medium and
Processor;
The processor is adapted for carrying out each instruction;
The storage medium, suitable for storing a plurality of instruction;
Described instruction is suitable for being loaded by the processor and being performed the distribution side of block chain assets as described in relation to the first aspect
Method.
By above-mentioned technical proposal, technical solution provided by the invention at least has following advantages:
The distribution method and device of block chain assets provided by the invention, can work as asset allocation requesting party needs to other
When assets are distributed in block chain account address, first the asset allocation comprising specific quantity assets and asset allocation requirement can be asked
Being sent to one has the function of the intelligent contract of asset allocation or has the function of the centralized server of asset allocation, Ran Houyou
The intelligence contract or centralized server generate an asset allocation link for other block chain account calls by location, when other
When asset allocation link is called in block chain account address (i.e. asset allocation recipient), intelligent contract or centralized server
It can require this feature quantity assets being sequentially allocated to corresponding asset allocation recipient according to asset allocation, it is achieved thereby that
The function of a pair of of overabsorption.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the distribution method of block chain assets provided in an embodiment of the present invention;
Fig. 2 shows a kind of composition frame charts of the distributor of block chain assets provided in an embodiment of the present invention;
Fig. 3 shows the composition frame chart of the distributor of another block chain assets provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of distribution method of block chain assets, as shown in Figure 1, the method is mainly wrapped
It includes:
101st, intelligent contract or centralized server receive the asset allocation request that asset allocation requesting party sends.
Wherein, the asset allocation request includes specific quantity assets and asset allocation requirement, and asset allocation requires to include
Recipient's range, distribution number, the method for salary distribution (such as being randomly assigned, mean allocation) and distribution opportunity.
When needing using block chain some business of technical finesse, block chain client can be based on block platform chain
Apply for a block chain account (i.e. block chain account address), so as to subsequently through the block chain account address and block platform chain
It communicates.Other account addresses distribution assets (being commonly called as giving bonus) in block chain are desired to when some block chain account address
When, the intelligent contract with asset allocation can be called, is sent to asset allocation request, it will will pass through intelligent contract
The specific quantity asset allocation of distribution is wanted to other block chain account addresses in the block chain account address;Wherein intelligent contract is
Refer to the contract for being capable of implementation of the provisions automatically defined in digital form, in block chain technical field, intelligent contract is refered in particular to based in advance
The computer program that determine event triggering, can not distort, perform automatically.Asset allocation requesting party can also be responsible for distribution money to one
The block chain account address of production sends asset allocation request, by this to be responsible for distributing the block chain account address of assets distributing
Assets give other block chain account addresses, and wherein the block chain account address for being responsible for distributing assets can be centralized server
Block chain account address.
102nd, according to intelligent contract address and asset allocation requirement generation asset allocation link or according to the centralization
The block chain account address of server and asset allocation requirement generate the asset allocation link.
When asset allocation request is sent to the intelligent contract with asset allocation by asset allocation requesting party
Under, it, can be according to intelligent contract address and asset allocation requirement one money of generation after intelligent contract receives asset allocation request
Production distribution link, and asset allocation link is broadcasted, so that other block chain account addresses can be distributed to obtain assets.When
In the case that asset allocation request is sent to the centralized server with asset allocation by asset allocation requesting party, center
It, can be according to the block chain account address of centralized server and asset allocation after change server receives asset allocation request
It is required that one asset allocation link of generation, and asset allocation link is broadcasted, so that other block chain account addresses can
Distribution obtains assets.In addition, in order to allow the user of other block chain account addresses can know be who initiate asset allocation,
When generating asset allocation link, the block chain account address of asset allocation requesting party can be added in.
103rd, the asset allocation link is broadcasted.
Intelligent contract or centralized server generation asset allocation link after, can by the asset allocation link broadcast in
In the whole network, asset allocation can be received by clicking the asset allocation linking request so as to the user of other block chain addresses.
It is referred in above-mentioned steps 101, recipient's range may be included in asset allocation requirement, therefore distribute in broadcast assets
During link, can only by the asset allocation link be broadcast to have the right receive asset allocation block chain account address, and no longer to
Other block chain account address broadcasts.That is, the specific implementation of this step can be will according to the asset allocation
Asset allocation described in the recipient's narrowcast asked links.
104th, asset allocation recipient is received to be asked according to the asset acceptance that the asset allocation chain receives and sends.
After other block chain account addresses receive asset allocation link, user can click the asset allocation chain
It connects, triggering asset allocation recipient (the block chain account address for being clicked asset allocation link) generation asset acceptance request,
Asset acceptance request is sent to the corresponding address of asset allocation link (i.e. intelligent contract address or centralized server
Block chain account address), so that intelligent contract or centralized server are after asset acceptance request is received, carry out assets
Batch operation.
105th, it requires the specific quantity assets being sequentially allocated to connect to corresponding asset allocation according to the asset allocation
Debit.
Receive asset acceptance request after, can according to asset allocation mode and distribution number by specific quantity assets into
Row divides, and division result (i.e. according to certain sequence successively) is distributed to corresponding asset allocation recipient, Ji Jianghua successively
Point result successively distributes to corresponding asset allocation recipient according to certain sequence.Wherein, this sequentially can be random sequence,
The sequence of asset acceptance request can be sent or assets sequence from big to small or from small to large or its
He is sequentially.
The distribution method of block chain assets provided in an embodiment of the present invention, can work as asset allocation requesting party needs to other
When assets are distributed in block chain account address, first the asset allocation comprising specific quantity assets and asset allocation requirement can be asked
Being sent to one has the function of the intelligent contract of asset allocation or has the function of the centralized server of asset allocation, Ran Houyou
The intelligence contract or centralized server generate an asset allocation link for other block chain account calls by location, when other
When asset allocation link is called in block chain account address (i.e. asset allocation recipient), intelligent contract or centralized server
It can require this feature quantity assets being sequentially allocated to corresponding asset allocation recipient according to asset allocation, it is achieved thereby that
The function of a pair of of overabsorption.
Optionally, it is referred in above-mentioned steps 103, when being linked to other block chain account address broadcast asset allocations,
It can be broadcasted according to recipient's range or the whole network is broadcasted.When being broadcasted according to recipient's range, if receiving
The distribution number that square range is included is equal to the distribution number in asset allocation requirement, then sends the assets point of asset acceptance request
Must be just the asset allocation recipient with asset acceptance permission with recipient;If the and distribution that recipient's range is included
Number is more than the distribution number in asset allocation requirement, then the asset allocation recipient for sending asset acceptance request just not necessarily has
Asset acceptance permission, but these asset allocations recipient is the asset acceptance request initiated in the case of equality again, therefore is
It determines the final desired asset distribution recipient with asset acceptance permission, asset allocation recipient can received according to money
After the asset acceptance request that production distribution chain receives and sends, the distribution number record desired asset distribution in being required according to asset allocation
Recipient, distribution number and the method for salary distribution in then being required according to asset allocation specific quantity assets divide, and will draw
Point after assets be sequentially allocated gives corresponding desired asset distribution recipient, so as to fulfill arrive first first asset allocation mechanism.
When carrying out the whole network broadcast, asset allocation can be more than by initiating the number of the asset allocation recipient of asset acceptance request
Distribution number in it is required that, therefore be also required to determine that desired asset distributes recipient.Specifically, asset allocation can received
After recipient asks according to the asset acceptance that the asset allocation chain receives and sends, record meets recipient in asset allocation requirement
The desired asset distribution recipient of range and distribution number, the distribution in then being required according to asset allocation specific quantity assets
Number and the method for salary distribution are divided, and the assets after division are sequentially allocated and distribute recipient to corresponding desired asset.
Optionally, in practical applications, the opportunity of asset allocation can be determined by asset allocation requesting party, can also be given tacit consent to
After desired asset distribution recipient has been determined, just distribute, can also be allocated by other acquiescence opportunitys immediately.Work as opportunity
Periodically, two ways can be divided by asset allocation requesting party:(1) directly by asset allocation ask direction intelligence contract or in
Heart server sends asset allocation instruction, when intelligent contract or centralized server receive the asset allocation requesting party
After the asset allocation instruction of transmission, require the specific quantity assets being sequentially allocated to corresponding money according to the asset allocation
Production distribution recipient;(2) asset allocation requesting party is to intelligent contract or centralized server when sending asset allocation request,
Be set in asset allocation requirement, when meeting the distribution opportunity set in the asset allocation requirement, intelligence is closed distribution opportunity
About or centralized server requires the specific quantity assets being sequentially allocated to corresponding assets according to the asset allocation
Distribute recipient.
Further, according to above method embodiment, an alternative embodiment of the invention additionally provides a kind of block chain money
The distributor of production, described device is applied to intelligent contract side or centralized server side, as shown in Fig. 2, described device master
Including:
Receiving unit 21, for receiving the asset allocation request of asset allocation requesting party transmission, the asset allocation request
Include specific quantity assets and asset allocation requirement;
Generation unit 22, for according to intelligent contract address and the asset allocation requirement generation asset allocation link or
Person generates the asset allocation according to the block chain account address of the centralized server and asset allocation requirement and links;
Radio unit 23, for broadcasting the asset allocation link;
The receiving unit 21 is additionally operable to receive the assets that asset allocation recipient receives and sends according to the asset allocation chain
Receive request;
Allocation unit 24, for requiring the specific quantity assets being sequentially allocated to corresponding according to the asset allocation
Asset allocation recipient.
Optionally, as shown in figure 3, the radio unit 23 includes:
First broadcast module 231, for according to assets point described in recipient's narrowcast in asset allocation requirement
With link;
Described device further includes:
First recording unit 25, will more than the asset allocation for working as the distribution number that recipient's range is included
During distribution number in asking, it is asked according to the asset acceptance that the asset allocation chain receives and sends receiving asset allocation recipient
Afterwards, according to the distribution number record desired asset distribution recipient.
Optionally, as shown in figure 3, the radio unit 23 includes:
Second broadcast module 232, is broadcasted for the asset allocation to be linked in the whole network;
Described device further includes:
Second recording unit 26, for the assets received and sent in reception asset allocation recipient according to the asset allocation chain
After receiving request, the desired asset distribution that record meets recipient's range and distribution number in the asset allocation requirement receives
Side.
Optionally, the allocation unit 24, used in being required according to the asset allocation the specific quantity assets
Distribution number and the method for salary distribution are divided, and the assets after division are sequentially allocated and distribute recipient to corresponding desired asset.
Optionally, as shown in figure 3, the allocation unit 24 includes:
First distribution module 241, for after the asset allocation instruction that the asset allocation requesting party sends is received, root
It requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient according to the asset allocation;
Second distribution module 242, for when meeting the distribution opportunity set in the asset allocation requirement, according to described
Asset allocation requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient.
The distributor of block chain assets provided in an embodiment of the present invention, can work as asset allocation requesting party needs to other
When assets are distributed in block chain account address, first the asset allocation comprising specific quantity assets and asset allocation requirement can be asked
Being sent to one has the function of the intelligent contract of asset allocation or has the function of the centralized server of asset allocation, Ran Houyou
The intelligence contract or centralized server generate an asset allocation link for other block chain account calls by location, when other
When asset allocation link is called in block chain account address (i.e. asset allocation recipient), intelligent contract or centralized server
It can require this feature quantity assets being sequentially allocated to corresponding asset allocation recipient according to asset allocation, it is achieved thereby that
The function of a pair of of overabsorption.
An embodiment of the present invention provides a kind of storage medium, the storage medium includes the program of storage, wherein, described
Equipment performs the distribution method of block chain assets as described above program controls the storage medium when running where.
Storage medium may include the volatile memory in computer-readable medium, random access memory (RAM)
With the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
The instruction stored in storage medium provided in an embodiment of the present invention, can work as asset allocation requesting party needs to other
When assets are distributed in block chain account address, first the asset allocation comprising specific quantity assets and asset allocation requirement can be asked
Being sent to one has the function of the intelligent contract of asset allocation or has the function of the centralized server of asset allocation, Ran Houyou
The intelligence contract or centralized server generate an asset allocation link for other block chain account calls by location, when other
When asset allocation link is called in block chain account address (i.e. asset allocation recipient), intelligent contract or centralized server
It can require this feature quantity assets being sequentially allocated to corresponding asset allocation recipient according to asset allocation, it is achieved thereby that
The function of a pair of of overabsorption.
An embodiment of the present invention provides a kind of distributor of block chain assets, described device includes storage medium and processing
Device;
The processor is adapted for carrying out each instruction;
The storage medium, suitable for storing a plurality of instruction;
Described instruction is suitable for being loaded by the processor and being performed the distribution method of block chain assets as described above.
Comprising kernel in processor, gone in storage medium to transfer corresponding program unit by kernel.Kernel can set one
It is a or more, a pair of of overabsorption of block chain assets is realized by adjusting kernel parameter.
The distributor of block chain assets provided in an embodiment of the present invention, can work as asset allocation requesting party needs to other
When assets are distributed in block chain account address, first the asset allocation comprising specific quantity assets and asset allocation requirement can be asked
Being sent to one has the function of the intelligent contract of asset allocation or has the function of the centralized server of asset allocation, Ran Houyou
The intelligence contract or centralized server generate an asset allocation link for other block chain account calls by location, when other
When asset allocation link is called in block chain account address (i.e. asset allocation recipient), intelligent contract or centralized server
It can require this feature quantity assets being sequentially allocated to corresponding asset allocation recipient according to asset allocation, it is achieved thereby that
The function of a pair of of overabsorption.
Present invention also provides a kind of computer program products, first when being performed on data processing equipment, being adapted for carrying out
The program code of beginningization there are as below methods step:
The asset allocation request that asset allocation requesting party sends is received, the asset allocation request includes specific quantity assets
With asset allocation requirement;
According to intelligent contract address and asset allocation requirement generation asset allocation link or according to centralization service
The block chain account address of device and asset allocation requirement generate the asset allocation link;
Broadcast the asset allocation link;
Asset allocation recipient is received to be asked according to the asset acceptance that the asset allocation chain receives and sends;
It requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient according to the asset allocation.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and
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 instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory
(DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable
Read memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM read-only memory (CD-ROM), the more work(of number
Can CD (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus or it is any its
His non-transmission medium, available for storing the information that can be accessed by a computing device.It is defined according to herein, computer-readable Jie
Matter does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap
Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
Also there are other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or the embodiment in terms of combining software and hardware can be used in the application
Form.It is deposited moreover, the application can be used to can be used in one or more computers for wherein including computer usable program code
The shape of computer program product that storage media is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
It these are only embodiments herein, be not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent replacement,
Improve etc., it should be included within the scope of claims hereof.
Claims (12)
1. a kind of distribution method of block chain assets, which is characterized in that the method includes:
Intelligent contract or centralized server receive the asset allocation request that asset allocation requesting party sends, the asset allocation
Request includes specific quantity assets and asset allocation requirement;
According to intelligent contract address and asset allocation requirement generation asset allocation link or according to the centralization service
The block chain account address of device and asset allocation requirement generate the asset allocation link;
Broadcast the asset allocation link;
Asset allocation recipient is received to be asked according to the asset acceptance that the asset allocation chain receives and sends;
It requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient according to the asset allocation.
2. according to the method described in claim 1, it is characterized in that, the broadcast asset allocation link includes:
Asset allocation link described in recipient's narrowcast in being required according to the asset allocation;
If the distribution number that recipient's range is included is more than the distribution number in the asset allocation requirement, receiving
After asset allocation recipient asks according to the asset acceptance that the asset allocation chain receives and sends, the method further includes:
According to the distribution number record desired asset distribution recipient.
3. according to the method described in claim 1, it is characterized in that, the broadcast asset allocation link includes:
The asset allocation is linked in the whole network and is broadcasted;
After the asset acceptance request that asset allocation recipient receives and sends according to the asset allocation chain is received, the method is also
Including:
Record meets the desired asset distribution recipient of recipient's range and distribution number in the asset allocation requirement.
4. according to the method in claim 2 or 3, which is characterized in that described to be required according to the asset allocation by the spy
Fixed number amount assets are sequentially allocated to be included to corresponding asset allocation recipient:
Distribution number and the method for salary distribution in being required according to the asset allocation the specific quantity assets divide, and will draw
Assets after point are sequentially allocated distributes recipient to corresponding desired asset.
5. according to the method in any one of claims 1 to 3, which is characterized in that described to be required according to the asset allocation
The specific quantity assets are sequentially allocated and are included to corresponding asset allocation recipient:
After the asset allocation instruction that the asset allocation requesting party sends is received, according to asset allocation requirement by described in
Specific quantity assets are sequentially allocated to corresponding asset allocation recipient;
Alternatively, when meeting the distribution opportunity set in the asset allocation requirement, according to asset allocation requirement by described in
Specific quantity assets are sequentially allocated to corresponding asset allocation recipient.
6. a kind of distributor of block chain assets, which is characterized in that described device is applied to intelligent contract side or centralization
Server side, described device include:
Receiving unit, for receiving the asset allocation request of asset allocation requesting party transmission, the asset allocation request includes spy
Fixed number amount assets and asset allocation requirement;
Generation unit, for according to intelligent contract address and the asset allocation requirement generation asset allocation link or according to
The block chain account address of the centralized server and asset allocation requirement generate the asset allocation link;
Radio unit, for broadcasting the asset allocation link;
The receiving unit, being additionally operable to reception asset allocation recipient please according to the asset acceptance that the asset allocation chain receives and sends
It asks;
Allocation unit, for the specific quantity assets to be sequentially allocated to corresponding assets point according to asset allocation requirement
With recipient.
7. device according to claim 6, which is characterized in that the radio unit includes:
First broadcast module, for being linked according to asset allocation described in recipient's narrowcast in asset allocation requirement;
Described device further includes:
First recording unit is more than for working as the distribution number that recipient's range is included in the asset allocation requirement
When distributing number, after the asset acceptance request that asset allocation recipient receives and sends according to the asset allocation chain is received, root
According to the distribution number record desired asset distribution recipient.
8. device according to claim 6, which is characterized in that the radio unit includes:
Second broadcast module is broadcasted for the asset allocation to be linked in the whole network;
Described device further includes:
Second recording unit, for being asked in reception asset allocation recipient according to the asset acceptance that the asset allocation chain receives and sends
After asking, record meets the desired asset distribution recipient of recipient's range and distribution number in the asset allocation requirement.
9. device according to claim 7 or 8, which is characterized in that the allocation unit, for being provided to the specific quantity
Production according to the asset allocation require in distribution number and the method for salary distribution divided, by the assets after division be sequentially allocated to
Corresponding desired asset distributes recipient.
10. the device according to any one of claim 6 to 8, which is characterized in that the allocation unit includes:
First distribution module, for after the asset allocation instruction that the asset allocation requesting party sends is received, according to described
Asset allocation requires the specific quantity assets being sequentially allocated to corresponding asset allocation recipient;
Second distribution module, for when meeting the distribution opportunity set in the asset allocation requirement, being divided according to the assets
With requiring the specific quantity assets being sequentially allocated to corresponding asset allocation recipient.
11. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein, it is run in described program
When control the storage medium where equipment perform claim require block chain assets described in 1 to any one in claim 5
Distribution method.
12. a kind of distributor of block chain assets, which is characterized in that described device includes storage medium and processor;
The processor is adapted for carrying out each instruction;
The storage medium, suitable for storing a plurality of instruction;
Described instruction is suitable for being loaded as the processor and being performed as described in any one in claim 1 to claim 5
The distribution method of block chain assets.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810026630.4A CN108171606A (en) | 2018-01-11 | 2018-01-11 | The distribution method and device of block chain assets |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810026630.4A CN108171606A (en) | 2018-01-11 | 2018-01-11 | The distribution method and device of block chain assets |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108171606A true CN108171606A (en) | 2018-06-15 |
Family
ID=62517977
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810026630.4A Pending CN108171606A (en) | 2018-01-11 | 2018-01-11 | The distribution method and device of block chain assets |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108171606A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108921525A (en) * | 2018-06-29 | 2018-11-30 | 北京金山安全软件有限公司 | Processing method and device for block chain red packet, electronic equipment and medium |
| CN109741052A (en) * | 2019-01-28 | 2019-05-10 | 杭州复杂美科技有限公司 | Red packet processing method, equipment and storage medium |
| CN110012119A (en) * | 2019-03-12 | 2019-07-12 | 广州大学 | A kind of IP address prefix authorization and management method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106327173A (en) * | 2016-08-22 | 2017-01-11 | 布比(北京)网络技术有限公司 | Network payment method and network payment device |
| CN106452884A (en) * | 2016-10-21 | 2017-02-22 | 北京云图科瑞科技有限公司 | A data distribution method and apparatus in a block chain system |
| CN106843774A (en) * | 2017-02-24 | 2017-06-13 | 合肥工业大学 | A kind of mass-rent construction method of the intelligent contract based on block chain |
| US20170330174A1 (en) * | 2016-05-11 | 2017-11-16 | Nasdaq, Inc. | Application framework using blockchain-based asset ownership |
-
2018
- 2018-01-11 CN CN201810026630.4A patent/CN108171606A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170330174A1 (en) * | 2016-05-11 | 2017-11-16 | Nasdaq, Inc. | Application framework using blockchain-based asset ownership |
| CN106327173A (en) * | 2016-08-22 | 2017-01-11 | 布比(北京)网络技术有限公司 | Network payment method and network payment device |
| CN106452884A (en) * | 2016-10-21 | 2017-02-22 | 北京云图科瑞科技有限公司 | A data distribution method and apparatus in a block chain system |
| CN106843774A (en) * | 2017-02-24 | 2017-06-13 | 合肥工业大学 | A kind of mass-rent construction method of the intelligent contract based on block chain |
Non-Patent Citations (1)
| Title |
|---|
| 方乐明: "《21世纪技术官》", 5 July 2017 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108921525A (en) * | 2018-06-29 | 2018-11-30 | 北京金山安全软件有限公司 | Processing method and device for block chain red packet, electronic equipment and medium |
| CN109741052A (en) * | 2019-01-28 | 2019-05-10 | 杭州复杂美科技有限公司 | Red packet processing method, equipment and storage medium |
| CN110012119A (en) * | 2019-03-12 | 2019-07-12 | 广州大学 | A kind of IP address prefix authorization and management method |
| CN110012119B (en) * | 2019-03-12 | 2019-11-01 | 广州大学 | A kind of IP address prefix authorization and management method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20210357997A1 (en) | Benefit allocation method, apparatus, and electronic device | |
| US20130124689A1 (en) | Content delivery using multiple sources over heterogeneous interfaces | |
| WO2021237826A1 (en) | Traffic scheduling method, system and device | |
| CN107105013B (en) | File processing method, server, terminal and system | |
| CN107633358B (en) | Facility site selection and distribution method and device | |
| CN108171606A (en) | The distribution method and device of block chain assets | |
| CN110233741B (en) | Service charging method, device, equipment and storage medium | |
| CN106569892A (en) | Resource scheduling method and device | |
| CN107463593A (en) | Stock reduces method and its equipment | |
| CN108520077A (en) | A kind of method and apparatus avoiding repeated downloads | |
| CN113347249B (en) | Operation loading method, device and equipment | |
| CN106055706A (en) | Cache resource storage method and device | |
| CN104580495B (en) | Network request treating method and apparatus | |
| CN113095936A (en) | Entrusted order processing method, entrusted order processing device, computer equipment and storage medium | |
| CN106534247B (en) | The method and apparatus of list downloading | |
| CN104281587B (en) | A kind of method and device for establishing connection | |
| CN105260402A (en) | Data management method and apparatus | |
| CN103905375B (en) | Data encryption request distribution method and device in concentrating type data encryption system | |
| CN118474801A (en) | Bandwidth resource allocation method, device and non-volatile storage medium | |
| CN117439727A (en) | Resource processing method based on block chain and related equipment | |
| US20200250717A1 (en) | Proof-of-value provenance for data marketplace environment | |
| CN106888244A (en) | A kind of method for processing business and device | |
| CN111832862A (en) | Block chain-based process management method and system | |
| CN112561266A (en) | Service request processing method, device, equipment and storage medium | |
| CN109947843A (en) | The determination method, apparatus and system of time in block chain |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180615 |