CN108833110A - Digital asset processing method and processing device - Google Patents
Digital asset processing method and processing device Download PDFInfo
- Publication number
- CN108833110A CN108833110A CN201810529307.9A CN201810529307A CN108833110A CN 108833110 A CN108833110 A CN 108833110A CN 201810529307 A CN201810529307 A CN 201810529307A CN 108833110 A CN108833110 A CN 108833110A
- Authority
- CN
- China
- Prior art keywords
- digital asset
- user
- processing request
- condition
- asset processing
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000012544 monitoring process Methods 0.000 claims description 16
- 238000005192 partition Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/321—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
- H04L9/3213—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3242—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/56—Financial cryptography, e.g. electronic payment or e-cash
Abstract
This application discloses a kind of digital asset processing method and processing devices.This method includes receiving the first digital asset processing request of the first user;Judge whether the first digital asset processing request meets the condition of issuing;And request satisfaction to issue condition if it is determined that first digital asset is handled, then preset number assets token is executed to first user according to intelligent contract and issues operation.Present application addresses the lower technical problems of digital asset treatment effeciency in block chain.Method in the application realizes digital asset processing by mutual assistance intelligence contract.
Description
Technical field
This application involves block chain fields, in particular to a kind of digital asset processing method and processing device.
Background technique
By intelligent contract mode, assets or currency are transferred in program, and program runs code, and at some time point
Automatically one condition of verifying, it is that a people be gone also to be to revert to another person that it, which can automatically determine assets, or should be immediately
It is returned to the people or combinations thereof for sending it.At the same time, dispersion account book is also storage and duplication file, makes it have certain peace
Full property and invariance.
Inventors have found that at present for relevant digital asset token, it is lower to the utilization rate of intelligent contract, together
Shi Ruguo cannot achieve the processing of digital asset for privately owned chains such as alliance's chains.
For the lower problem of digital asset treatment effeciency in block chain in the related technology, effective solution is not yet proposed at present
Certainly scheme.
Summary of the invention
The main purpose of the application is to provide a kind of digital asset processing method, with solve digital asset treatment effeciency compared with
Low problem.
To achieve the goals above, according to the one aspect of the application, a kind of digital asset processing method is provided.
Include according to the digital asset processing method of the application:Judge whether the first digital asset processing request meets
Issue condition;And if it is determined that first digital asset processing request, which meets, issues condition, then according to intelligent contract to institute
It states the first user execution preset number assets token and issues operation.
Further, the first digital asset processing for receiving the first user is requested:Receive currency type, the gold of the first user
The assets processing requirement of volume and number;It signs to first digital asset and is forwarded to clothes as the transaction of the first digital asset
Business device end;And the first digital asset of broadcast is traded to the intelligent contract of each node on primary block chain.
Further, judge whether the first digital asset processing request meets the condition of issuing and include:Judge described
The processing request of one digital asset whether meets miner's expense or service charge issues condition;If it is determined that the first digital asset processing
Request, which meets, issues condition, then executes preset number assets token to first user according to intelligent contract and issue operation packet
It includes:If it is determined that the first digital asset processing request meets miner's expense or service charge issues condition, then according to intelligent contract
The digital asset token for executing default workload equivalence to first user issues operation.
Further, judge whether the first digital asset processing request meets the condition of issuing and include:Judge described
Whether the processing request of one digital asset, which meets transaction Hash Round Robin data partition, returns to condition;If it is determined that the first digital asset processing is asked
Satisfaction is asked to issue condition, then issuing operation to first user execution preset number assets token according to intelligent contract includes:
If it is determined that the first digital asset processing request, which meets transaction Hash Round Robin data partition, returns to condition, then according to intelligent contract to described
First user executes digital asset token and is issued to the operation of second user, and is saved in the database of server end.
Further, judge whether the first digital asset processing request meets the condition of issuing and include:Judge described
Whether the preset number assets token returned in the processing request of one digital asset meets wallet address access conditions;If it is determined that institute
It states the first digital asset processing request satisfaction and issues condition, then preset number money is executed to first user according to intelligent contract
Production token issues operation and includes:If it is determined that the preset number assets token returned in the first digital asset processing request is full
Sufficient wallet address access conditions is then issued to the behaviour of second user according to the quantity that intelligent contract distributes preset number assets token
Make, and is saved in the database of server end.
Further, if it is determined that first digital asset processing request, which meets, issues condition, then according to intelligent contract
First user is executed after preset number assets token issues operation and further includes:Monitor whether that receiving second user returns
The digital asset returned handles message;If monitoring receives the digital asset processing message of second user return, according to intelligence
Different scenes in contract handle preset number assets token.
To achieve the goals above, according to the another aspect of the application, a kind of digital asset processing unit is provided.
Include according to the digital asset processing unit of the application:Receiving module, for receiving the first number of the first user
Assets processing request;Judgment module, for judging whether the first digital asset processing request meets the condition of issuing;And it holds
Row module, to judge first digital asset processing request meet issue condition when, then according to intelligent contract to described the
One user executes preset number assets token and issues operation.
Further, the receiving module includes:Receiving unit, signature unit, radio unit, the receiving unit are used
In the assets processing requirement of the currency type of the first user of reception, the amount of money and number;The signature unit, for first number
Word assets signature is simultaneously forwarded to server end as the transaction of the first digital asset;And the radio unit, for broadcasting first
Digital asset is traded to the intelligent contract of each node on primary block chain.
Further, the judgment module includes:It is first judging unit, second judgment unit, third judging unit, described
Execution module includes:First execution unit, the second execution unit, third execution unit, first judging unit, for judging
The first digital asset processing request whether meets miner's expense or service charge issues condition;First execution unit, is used for
When judging that first digital asset processing request meets miner's expense or service charge issues condition, then according to intelligent contract to described
The digital asset token that first user executes default workload equivalence issues operation.The second judgment unit, for judging
State whether the processing request of the first digital asset meets transaction Hash Round Robin data partition return condition;Second execution unit, for judging
When the first digital asset processing request meets transaction Hash Round Robin data partition return condition, then used according to intelligent contract described first
Family executes digital asset token and is issued to the operation of second user, and is saved in the database of server end;The third
Judging unit, for judging whether the preset number assets token returned in the first digital asset processing request meets wallet
Address access conditions;The third execution unit, the present count for judging to return in the first digital asset processing request
When word assets token meets wallet address access conditions, then issued according to the quantity that intelligent contract distributes preset number assets token
To the operation of second user, and it is saved in the database of server end.
Further, device further includes:Processing module, the processing module include:Monitoring unit, processing unit, it is described
Monitoring unit, for monitoring whether that the digital asset for receiving second user return handles message;The processing unit, for supervising
When surveying the digital asset processing message for receiving second user return, then present count is handled according to the different scenes in intelligent contract
Word assets token.
In the embodiment of the present application, by the way of receiving the first digital asset processing request of the first user, by sentencing
Whether the first digital asset processing request of breaking meets the condition of issuing, and has reached and has been held according to intelligent contract to first user
Row preset number assets token issues the purpose of operation, issues to realize the digital asset token secure based on intelligent contract
Technical effect, and then solve the technical problem that digital asset treatment effeciency is lower in block chain.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, so that the application's is other
Feature, objects and advantages become more apparent upon.The illustrative examples attached drawing and its explanation of the application is for explaining the application, not
Constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the digital asset processing method schematic diagram according to the embodiment of the present application;
Fig. 2 is the digital asset processing method schematic diagram according to the application first embodiment;
Fig. 3 is the digital asset processing method schematic diagram according to the application second embodiment;
Fig. 4 is the digital asset processing method schematic diagram according to the application 3rd embodiment;
Fig. 5 is the digital asset processing method schematic diagram according to the application fourth embodiment;
Fig. 6 is the digital asset processing method schematic diagram according to the 5th embodiment of the application;
Fig. 7 is the digital asset processing unit schematic diagram according to the application first embodiment;
Fig. 8 is the digital asset processing unit schematic diagram according to the application second embodiment;
Fig. 9 is the digital asset processing unit schematic diagram according to the application 3rd embodiment;And
Figure 10 is the digital asset processing unit schematic diagram according to the application fourth embodiment;
Figure 11 is the interaction schematic diagram in the digital asset processing method of the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
In this application, term " on ", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outside",
" in ", "vertical", "horizontal", " transverse direction ", the orientation or positional relationship of the instructions such as " longitudinal direction " be orientation based on the figure or
Positional relationship.These terms are not intended to limit indicated dress primarily to better describe the application and embodiment
Set, element or component must have particular orientation, or constructed and operated with particular orientation.
Also, above-mentioned part term is other than it can be used to indicate that orientation or positional relationship, it is also possible to for indicating it
His meaning, such as term " on " also are likely used for indicating certain relations of dependence or connection relationship in some cases.For ability
For the those of ordinary skill of domain, the concrete meaning of these terms in this application can be understood as the case may be.
In addition, term " installation ", " setting ", " being equipped with ", " connection ", " connected ", " socket " shall be understood in a broad sense.For example,
It may be a fixed connection, be detachably connected or monolithic construction;It can be mechanical connection, or electrical connection;It can be direct phase
It even, or indirectly connected through an intermediary, or is two connections internal between device, element or component.
For those of ordinary skills, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in Figure 1, this method includes the following steps, namely S102 to step S106:
Step S102, the first digital asset for receiving the first user handle request;
As long as the first digital asset can be according to assets preset rules can be approve " can gift " user's
Assets can convert to digital asset token with certain rule.
First digital asset can be stored in wallet address, be waited to be processed.
For example, user wants to handle the first digital asset by way of red packet.
Step S104, judges whether the first digital asset processing request meets the condition of issuing;And
Judge whether first digital asset processing request meets the condition of issuing and can be and judges whether have a surplus in wallet
Volume.
For example, judging whether there is the digital asset that can be traded in the wallet address of the first user.
Judge whether the first digital asset processing request meets whether the condition of issuing is also possible to digital asset processing
It is signed.
For example, judging whether the digital asset that can be traded in the wallet address of the first user carried out signature.
Step S106, if it is determined that first digital asset processing request, which meets, issues condition, then according to intelligent contract
Preset number assets token is executed to first user and issues operation.
If meeting condition, need to issue first user execution preset number assets token according to intelligent contract
Operation.It is that can trade for the first user that the preset number assets token occurred at this time, which issues operation, is traded simultaneously
It can broadcast on each node/user to block chain, if those node/users confirm the transaction, intelligence can be passed through
Contract executes preset number assets token to first user and issues operation.In block chain network, user is without undertaking pair
The risks of trust of mutual assistance executing agency directly can realize the mutual assistance agreement between group by intelligent contract, and be automated
It compensates.Meanwhile the disclosure of block chain, transparent, traceable it ensure that all information transparencies can be looked into.
It can be seen from the above description that the application realizes following technical effect:
In the embodiment of the present application, by the way of receiving the first digital asset processing request of the first user, by sentencing
Whether the first digital asset processing request of breaking meets the condition of issuing, and has reached and has been held according to intelligent contract to first user
Row preset number assets token issues the purpose of operation, issues to realize the digital asset token secure based on intelligent contract
Technical effect, and then solve the technical problem that digital asset treatment effeciency is lower in block chain.
According to the embodiment of the present application, it is preferable that as shown in Fig. 2, the first digital asset for receiving the first user handles request
Including:
Step S202 receives the assets processing requirement of the currency type of the first user, the amount of money and number;
Currency type is selected, that is, the type for digital asset token of trading.
Select the amount of money, that is, the amount of money traded.
Selection number, that is, the number traded.
Step S204 signs to first digital asset and is forwarded to server end as the transaction of the first digital asset;
In the wallet of node on server end, that is, block chain.Number can be carried out after signing to first digital asset
Transaction in assets.
Step S206, the first digital asset of broadcast are traded to the intelligent contract of each node on primary block chain.
Each node on block chain, broadcast transaction to intelligent contract are notified by way of broadcast.
According to the embodiment of the present application, it is preferable that as shown in figure 3, judging whether the first digital asset processing request is full
You include at clockwork spring part:
Step S302 judges whether the first digital asset processing request meets miner's expense or service charge issues condition;
Whether the first digital asset processing request of breaking, which meets miner's expense, issues condition.
Whether the first digital asset processing request of breaking, which meets service charge, issues condition.
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to described first
User's execution preset number assets token issues operation and includes:
Step S304, if it is determined that first digital asset processing request meets miner's expense or service charge issues condition,
Operation is then issued according to the digital asset token that intelligent contract executes default workload equivalence to first user.
If met, miner's expense issues condition or service charge issues condition, is held according to intelligent contract to first user
The digital asset token of the default workload equivalence of row issues operation.
For example, taking equivalent digital asset token with mine absence from work without reason is dug.
For example, the digital asset token with service charge equivalence.
As long as the first digital asset can be according to assets preset rules can be approve " can gift " user's
Assets can convert to digital asset token with certain rule.
According to the embodiment of the present application, it is preferable that as shown in figure 4, judging whether the first digital asset processing request is full
You include at clockwork spring part:
Step S402, judges whether the first digital asset processing request meets transaction Hash Round Robin data partition and return to condition;
First digital asset returns to transaction Hash Round Robin data partition and judges whether its return condition meets.
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to described first
User's execution preset number assets token issues operation and includes:
Step S404, if it is determined that first digital asset processing request, which meets transaction Hash Round Robin data partition, returns to condition, then
Digital asset token is executed to first user according to intelligent contract and is issued to the operation of second user, and is saved in service
In the database at device end.
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to described first
User executes digital asset token and is issued to the operation of second user, and is saved in the database of server end.Server
Database, that is, the wallet at end.
For example, red packet is distributed to second user by the first user.Meanwhile intelligent contract is arrived in broadcast transaction on block chain.
According to the embodiment of the present application, it is preferable that as shown in figure 5, judging whether the first digital asset processing request is full
You include at clockwork spring part:
Step S502, judges whether the preset number assets token returned in the first digital asset processing request meets
Wallet address access conditions;
Judge that the preset number assets token returned in the first digital asset processing request meets the access of wallet address
Condition can be, and the preset number assets token returned in digital asset processing request meets the condition of deposit wallet.
Judge that the preset number assets token returned in the first digital asset processing request meets the access of wallet address
Condition can be, and the preset number assets token returned in digital asset processing request meets the condition for using wallet.
For example, the first user gets the digital asset token of the corresponding amount of money award issued to second user.
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to described first
User's execution preset number assets token issues operation and includes:
Step S504, if it is determined that the preset number assets token returned in first digital asset processing request meets
Wallet address access conditions is then issued to the behaviour of second user according to the quantity that intelligent contract distributes preset number assets token
Make, and is saved in the database of server end.
For example, the digital asset token for the corresponding amount of money award that second user is got.
When meeting the condition using wallet or being stored in the condition of wallet, preset number assets can be distributed according to intelligent contract
The quantity of token is issued to the operation of second user, and is saved in the database of server end.
Preferably, if it is determined that first digital asset processing request, which meets, issues condition, then according to intelligent contract pair
First user executes after preset number assets token issues operation:
Monitor whether that the digital asset for receiving second user return handles message;
If monitoring receives the digital asset processing message of second user return, according to the different fields in intelligent contract
Scape handles preset number assets token.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
According to the embodiment of the present application, additionally provide a kind of for implementing the device of above-mentioned digital asset processing method, such as Fig. 7
Shown, which includes:Receiving module 10, the first digital asset for receiving the first user handle request;Judgment module 20,
For judging whether the first digital asset processing request meets the condition of issuing;And execution module 30, it is described to judge
When first digital asset processing request satisfaction issues condition, then preset number money is executed to first user according to intelligent contract
It produces token and issues operation.
The first digital asset can be in the receiving module 10 of the embodiment of the present application can be only according to assets preset rules
If the assets of the user that " can gift " approved can convert to digital asset token with certain rule.
First digital asset can be stored in wallet address, be waited to be processed.
For example, user wants to handle the first digital asset by way of red packet.
Judge whether the first digital asset processing request meets lower clockwork spring in the judgment module 20 of the embodiment of the present application
Part can be judge in wallet whether surplus.
For example, judging whether there is the digital asset that can be traded in the wallet address of the first user.
Judge whether the first digital asset processing request meets whether the condition of issuing is also possible to digital asset processing
It is signed.
For example, judging whether the digital asset that can be traded in the wallet address of the first user carried out signature.
If meeting condition in the execution module 30 of the embodiment of the present application, need to be used according to intelligent contract described first
Family executes preset number assets token and issues operation.The preset number assets token occurred at this time issues operation for the first user
For be that can trade, while trade fair is broadcasted on each node/user to block chain, if those node/users
Confirm the transaction, then preset number assets token can be executed to first user by intelligent contract and issue operation.In area
In block chain network, user is not necessarily to undertake the risks of trust to mutual assistance executing agency, directly can realize group by intelligent contract
Between mutual assistance agreement, and obtain automation compensate.Meanwhile the disclosure of block chain, transparent, traceable it ensure that all information transparencies
It can look into.
According to the embodiment of the present application, it is preferable that as shown in figure 8, the receiving module 10 includes:Receiving unit 101, signature
Unit 102, radio unit 103, the receiving unit 101, for receiving the currency type of the first user, the amount of money and the assets of number
Processing requirement;The signature unit 102 is forwarded for signing to first digital asset and trading as the first digital asset
To server end;And the radio unit 103, it trades for broadcasting the first digital asset to each section on primary block chain
The intelligent contract of point.
Currency type is selected in the receiving unit 101 of the embodiment of the present application, that is, the type for digital asset token of trading.
Select the amount of money, that is, the amount of money traded.
Selection number, that is, the number traded.
In the wallet of node in the signature unit 102 of the embodiment of the present application on server end, that is, block chain.To described
Digital asset transaction can be carried out after one digital asset signature.
Each node on block chain is notified in the radio unit 103 of the embodiment of the present application by way of broadcast, is broadcasted
It trades to intelligent contract.
According to the embodiment of the present application, it is preferable that as shown in figure 9, the judgment module 20 includes:First judging unit 201,
Second judgment unit 202, third judging unit 203, the execution module 30 include:First execution unit 204, second execute list
First 205, third execution unit 206, first judging unit 201, for judging that the first digital asset processing requests to be
It is no meet miner expense or service charge issue condition;First execution unit 204, for judging the first digital asset processing
Request meets miner's expense or service charge when issuing condition, then executes default workload etc. to first user according to intelligent contract
The digital asset token of value issues operation.The second judgment unit 202, for judging the first digital asset processing request
Whether satisfaction transaction Hash Round Robin data partition returns to condition;Second execution unit 205, for judging the first digital asset processing
When request meets transaction Hash Round Robin data partition return condition, then first user is executed under digital asset token according to intelligent contract
It is sent to the operation of second user, and is saved in the database of server end;The third judging unit 203, for judging
Whether the preset number assets token returned in the first digital asset processing request meets wallet address access conditions;It is described
Third execution unit 206, for judging that the preset number assets token returned in the first digital asset processing request meets
When the access conditions of wallet address, then the behaviour of second user is issued to according to the quantity that intelligent contract distributes preset number assets token
Make, and is saved in the database of server end.
First judging unit 201 of the embodiment of the present application interrupts whether the first digital asset processing request meets miner
Expense issues condition.
Whether the first digital asset processing request of breaking, which meets service charge, issues condition.
If meeting miner's expense issues clockwork spring under condition or service charge in first execution unit 204 of the embodiment of the present application
Part then issues operation according to the digital asset token that intelligent contract executes default workload equivalence to first user.
For example, taking equivalent digital asset token with mine absence from work without reason is dug.
For example, the digital asset token with service charge equivalence.
As long as the first digital asset can be according to assets preset rules can be approve " can gift " user's
Assets can convert to digital asset token with certain rule.
The first digital asset return transaction Hash Round Robin data partition judges its return in the second judgment unit 202 of the embodiment of the present application
Whether condition meets.
In second execution unit 205 of the embodiment of the present application if it is determined that under first digital asset processing request satisfaction
Clockwork spring part then executes the operation that digital asset token is issued to second user to first user according to intelligent contract, and
It is saved in the database of server end.Database, that is, wallet of server end.
For example, red packet is distributed to second user by the first user.Meanwhile intelligent contract is arrived in broadcast transaction on block chain.
Judge to return in the first digital asset processing request in the third judging unit 203 of the embodiment of the present application pre-
If digital asset token meets wallet address, access conditions be can be, the preset number money returned in digital asset processing request
Produce the condition that token meets deposit wallet.
Judge that the preset number assets token returned in the first digital asset processing request meets the access of wallet address
Condition can be, and the preset number assets token returned in digital asset processing request meets the condition for using wallet.
For example, the first user gets the digital asset token of the corresponding amount of money award issued to second user.
When meeting the condition using wallet in the third execution unit 206 of the embodiment of the present application or being stored in the condition of wallet,
It can be issued to the operation of second user according to the quantity that intelligent contract distributes preset number assets token, and be saved in service
In the database at device end.
According to the embodiment of the present application, it is preferable that as shown in Figure 10, further include:Processing module 40, the processing module 40 are wrapped
It includes:Monitoring unit 401, processing unit 402, the monitoring unit 401, for monitoring whether to receive the number of second user return
Word assets handle message;The processing unit 402, for monitoring the digital asset processing message for receiving second user return
When, then preset number assets token is handled according to the different scenes in intelligent contract.
Preferably, if it is determined that first digital asset processing request, which meets, issues condition, then according to intelligent contract pair
First user executes after preset number assets token issues operation:
Monitor whether that the digital asset for receiving second user return handles message;
If monitoring receives the digital asset processing message of second user return, according to the different fields in intelligent contract
Scape handles preset number assets token.
As shown in Figure 10, it is related to user, server-side and block chain node.User needs to select after selecting me to give bonus
Currency type, the amount of money, miner is taken and service charge, is sent to server-side after signing to red packet.Block chain node is arrived by broadcast transaction
Intelligent contract.Receive the first digital asset processing request of the first user;Judging the first digital asset processing request is
No satisfaction issues condition;And if it is determined that first digital asset processing request, which meets, issues condition, then according to intelligent conjunction
Preset number assets token about is executed to first user and issues operation.On block chain return transaction Hash Round Robin data partition save to
In database, that is, wallet.User can propagate the page by red packet and be shared with good friend, when good friend or user oneself get red packet
Wallet address (transaction) is returned afterwards and is saved to database.Monitor whether that the digital asset processing for receiving second user return disappears
Breath;If monitoring receives the digital asset processing message of second user return, at the different scenes in intelligent contract
Manage preset number assets token.
Obviously, those skilled in the art should be understood that each module of above-mentioned the application or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the application be not limited to it is any specific
Hardware and software combines.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field
For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair
Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.
Claims (10)
1. a kind of digital asset processing method, which is characterized in that including:
Receive the first digital asset processing request of the first user;
Judge whether the first digital asset processing request meets the condition of issuing;And
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to first user
It executes preset number assets token and issues operation.
2. digital asset processing method according to claim 1, which is characterized in that receive the first number money of the first user
Producing processing request includes:
Receive the assets processing requirement of the currency type of the first user, the amount of money and number;
It signs to first digital asset and is forwarded to server end as the transaction of the first digital asset;And
The first digital asset is broadcasted to trade to the intelligent contract of each node on primary block chain.
3. digital asset processing method according to claim 1, which is characterized in that
Judge whether the first digital asset processing request meets the condition of issuing and include:
Judge whether the first digital asset processing request meets miner's expense or service charge issues condition;
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to first user
Execution preset number assets token issues operation and includes:
If it is determined that the first digital asset processing request meets miner's expense or service charge issues condition, then according to intelligent contract
The digital asset token for executing default workload equivalence to first user issues operation.
4. digital asset processing method according to claim 1, which is characterized in that
Judge whether the first digital asset processing request meets the condition of issuing and include:
Judge whether the first digital asset processing request meets transaction Hash Round Robin data partition and return to condition;
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to first user
Execution preset number assets token issues operation and includes:
If it is determined that the first digital asset processing request, which meets transaction Hash Round Robin data partition, returns to condition, then according to intelligent contract pair
First user executes digital asset token and is issued to the operation of second user, and is saved in the database of server end
In.
5. digital asset processing method according to claim 1, which is characterized in that
Judge whether the first digital asset processing request meets the condition of issuing and include:
Judge whether the preset number assets token returned in the first digital asset processing request meets the access of wallet address
Condition;
If it is determined that the first digital asset processing request, which meets, issues condition, then according to intelligent contract to first user
Execution preset number assets token issues operation and includes:
If it is determined that the preset number assets token returned in the first digital asset processing request meets the access of wallet address
Condition is then issued to the operation of second user according to the quantity that intelligent contract distributes preset number assets token, and is saved in
In the database of server end.
6. digital asset processing method according to claim 1, which is characterized in that if it is determined that first digital asset
Processing request, which meets, issues condition, then executes preset number assets token to first user according to intelligent contract and issue operation
Further include later:
Monitor whether that the digital asset for receiving second user return handles message;
If monitoring receives the digital asset processing message of second user return, at the different scenes in intelligent contract
Manage preset number assets token.
7. a kind of digital asset processing unit, which is characterized in that including:
Receiving module, the first digital asset for receiving the first user handle request;
Judgment module, for judging whether the first digital asset processing request meets the condition of issuing;And
Execution module, when judging that the first digital asset processing request satisfaction issues condition, then according to intelligent contract pair
First user executes preset number assets token and issues operation.
8. digital asset processing unit according to claim 7, which is characterized in that the receiving module
Including:Receiving unit, signature unit, radio unit,
The receiving unit, for receiving the currency type of the first user, the amount of money and the assets processing requirement of number;
The signature unit, for signing to first digital asset and being forwarded to server as the transaction of the first digital asset
End;And
The radio unit is traded for broadcasting the first digital asset to the intelligent contract of each node on primary block chain.
9. digital asset processing unit according to claim 7, which is characterized in that the judgment module includes:First sentences
Disconnected unit, second judgment unit, third judging unit, the execution module include:First execution unit, the second execution unit,
Third execution unit,
First judging unit, for judging whether the first digital asset processing request meets under miner's expense or service charge
Clockwork spring part;
First execution unit, for judging that the first digital asset processing request meets clockwork spring under miner's expense or service charge
When part, then operation is issued according to the digital asset token that intelligent contract executes default workload equivalence to first user.
The second judgment unit is returned for judging whether the first digital asset processing request meets transaction Hash Round Robin data partition
Condition;
Second execution unit returns to condition for judging that the first digital asset processing request meets transaction Hash Round Robin data partition
When, then digital asset token is executed to first user according to intelligent contract and be issued to the operation of second user, and saved
Into the database of server end;
The third judging unit, the preset number assets token for judging to return in the first digital asset processing request
Whether wallet address access conditions is met;
The third execution unit, the preset number assets token for judging to return in the first digital asset processing request
When meeting wallet address access conditions, then second user is issued to according to the quantity that intelligent contract distributes preset number assets token
Operation, and be saved in the database of server end.
10. digital asset processing unit according to claim 7, which is characterized in that further include:Processing module, the place
Managing module includes:Monitoring unit, processing unit,
The monitoring unit, for monitoring whether that the digital asset for receiving second user return handles message;
The processing unit, when for monitoring the digital asset processing message for receiving second user return, then according to intelligent conjunction
Different scenes in about handle preset number assets token.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810529307.9A CN108833110B (en) | 2018-05-27 | 2018-05-27 | Digital asset processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810529307.9A CN108833110B (en) | 2018-05-27 | 2018-05-27 | Digital asset processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108833110A true CN108833110A (en) | 2018-11-16 |
CN108833110B CN108833110B (en) | 2021-12-07 |
Family
ID=64146064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810529307.9A Active CN108833110B (en) | 2018-05-27 | 2018-05-27 | Digital asset processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833110B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743177A (en) * | 2018-12-29 | 2019-05-10 | 湖南大学 | A kind of internet of things data management system based on block chain and shared environment |
WO2019179536A3 (en) * | 2019-07-03 | 2020-04-30 | Alibaba Group Holding Limited | Mutual aid network based on smart contract and blockchain |
CN113537957A (en) * | 2021-07-01 | 2021-10-22 | 北京极智数仓科技有限公司 | Digital asset transaction method, system, storage medium, and digital currency system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014133661A1 (en) * | 2013-02-28 | 2014-09-04 | Apple Inc. | Network-based distribution system supporting transfer of application products |
WO2017145004A1 (en) * | 2016-02-23 | 2017-08-31 | nChain Holdings Limited | Universal tokenisation system for blockchain-based cryptocurrencies |
CN107122993A (en) * | 2017-04-24 | 2017-09-01 | 杭州趣链科技有限公司 | A kind of General integral system based on block chain |
CN107194778A (en) * | 2017-05-25 | 2017-09-22 | 金立彦 | Equipment leasing method and system based on block chain |
CN107240001A (en) * | 2017-06-06 | 2017-10-10 | 北京汇通金财信息科技有限公司 | Transaction method and system for digital assets |
CN107392580A (en) * | 2017-06-26 | 2017-11-24 | 中国人民银行数字货币研究所 | It is a kind of to realize that digital cash exchanges the method and system of deposit based on digital cash |
CN107844978A (en) * | 2017-11-30 | 2018-03-27 | 中链科技有限公司 | A kind of staple commodities transaction processing method and system based on block chain |
CN107945021A (en) * | 2017-12-07 | 2018-04-20 | 杭州趣链科技有限公司 | A kind of digital asset management method based on block chain intelligence contract |
-
2018
- 2018-05-27 CN CN201810529307.9A patent/CN108833110B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014133661A1 (en) * | 2013-02-28 | 2014-09-04 | Apple Inc. | Network-based distribution system supporting transfer of application products |
WO2017145004A1 (en) * | 2016-02-23 | 2017-08-31 | nChain Holdings Limited | Universal tokenisation system for blockchain-based cryptocurrencies |
CN107122993A (en) * | 2017-04-24 | 2017-09-01 | 杭州趣链科技有限公司 | A kind of General integral system based on block chain |
CN107194778A (en) * | 2017-05-25 | 2017-09-22 | 金立彦 | Equipment leasing method and system based on block chain |
CN107240001A (en) * | 2017-06-06 | 2017-10-10 | 北京汇通金财信息科技有限公司 | Transaction method and system for digital assets |
CN107392580A (en) * | 2017-06-26 | 2017-11-24 | 中国人民银行数字货币研究所 | It is a kind of to realize that digital cash exchanges the method and system of deposit based on digital cash |
CN107844978A (en) * | 2017-11-30 | 2018-03-27 | 中链科技有限公司 | A kind of staple commodities transaction processing method and system based on block chain |
CN107945021A (en) * | 2017-12-07 | 2018-04-20 | 杭州趣链科技有限公司 | A kind of digital asset management method based on block chain intelligence contract |
Non-Patent Citations (2)
Title |
---|
LIANG ZHOU: "《Secure Dynamic Authentication of Passive Assets》", 《IEEE》 * |
巴洁如: "《区块链技术的金融行业应用前景及挑战》", 《金融理论与实践》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743177A (en) * | 2018-12-29 | 2019-05-10 | 湖南大学 | A kind of internet of things data management system based on block chain and shared environment |
CN109743177B (en) * | 2018-12-29 | 2021-07-16 | 湖南大学 | Thing networking data management system based on block chain and shared environment |
WO2019179536A3 (en) * | 2019-07-03 | 2020-04-30 | Alibaba Group Holding Limited | Mutual aid network based on smart contract and blockchain |
CN111316597A (en) * | 2019-07-03 | 2020-06-19 | 阿里巴巴集团控股有限公司 | Mutual aid network based on intelligent contract and block chain |
US10783590B1 (en) | 2019-07-03 | 2020-09-22 | Alibaba Group Holding Limited | Mutual aid network based on smart contract and blockchain |
CN113537957A (en) * | 2021-07-01 | 2021-10-22 | 北京极智数仓科技有限公司 | Digital asset transaction method, system, storage medium, and digital currency system |
Also Published As
Publication number | Publication date |
---|---|
CN108833110B (en) | 2021-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11030709B2 (en) | Method and system for automatically creating and assigning assembly labor activities (ALAs) to a bill of materials (BOM) | |
CN103220325B (en) | For the method and system for managing nextport hardware component NextPort in cloud computing environment | |
CN110493007A (en) | A kind of Information Authentication method, apparatus, equipment and storage medium based on block chain | |
CN110473105A (en) | A kind of block chain transaction settlement method, system and relevant device | |
CN104618312B (en) | A kind of remote login methods, devices and systems of M2M application | |
CN109493050A (en) | Transfer process based on the more subchains of block chain main chain adduction row | |
CN109472572A (en) | Contract deployment and transaction based on the more subchains of block chain main chain adduction row | |
CN108833110A (en) | Digital asset processing method and processing device | |
CN103096269B (en) | Bill payment based reminding method and device | |
CN109213857A (en) | A kind of fraud recognition methods and device | |
CN109493052A (en) | Across catenary system contract and its transfer process based on the more subchains of main chain adduction row | |
CN108830710A (en) | Block chain transaction platform and implementation method | |
US20180108087A1 (en) | Method and system for determining market estimates with market based measures | |
CN110400217A (en) | The regular changing process method and device of intelligent contract | |
CN111221649A (en) | Edge resource storage method, access method and device | |
CN109345311A (en) | The method and device that credit is mutually known between different financial institution | |
CN109510758A (en) | Session establishing method, terminal, third-party application server and system | |
Shi et al. | Integration of blockchain and auction models: A survey, some applications, and challenges | |
CN109840766A (en) | A kind of apparatus control method and its relevant device | |
CN109087089A (en) | A kind of method of payment, payment mechanism and terminal device | |
CN111353001B (en) | Method and device for classifying users | |
CN111461687A (en) | Application system of block chain service platform based on terminal equipment and implementation method thereof | |
CN108920975A (en) | Exchange information processing method and device based on block chain | |
CN109858903A (en) | A kind of comment information credibility evaluation method and device based on block chain | |
CN113239255B (en) | Heterogeneous data resource sharing method and device, computer equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100007 A302, building 10, No. 17, houyongkang Hutong, Dongcheng District, Beijing Patentee after: Beijing Easy Yikang Information Technology Co.,Ltd. Address before: 100007 A302, building 10, No. 17, houyongkang Hutong, Dongcheng District, Beijing Patentee before: BEIJING QINGSONGCHOU INFORMATION TECHNOLOGY Co.,Ltd. |