[go: up one dir, main page]

CN108833110B - Digital asset processing method and device - Google Patents

Digital asset processing method and device Download PDF

Info

Publication number
CN108833110B
CN108833110B CN201810529307.9A CN201810529307A CN108833110B CN 108833110 B CN108833110 B CN 108833110B CN 201810529307 A CN201810529307 A CN 201810529307A CN 108833110 B CN108833110 B CN 108833110B
Authority
CN
China
Prior art keywords
digital asset
processing request
user
issuing
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810529307.9A
Other languages
Chinese (zh)
Other versions
CN108833110A (en
Inventor
李汐
张行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Easy Yikang Information Technology Co ltd
Original Assignee
Beijing Qingsongchou Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qingsongchou Information Technology Co ltd filed Critical Beijing Qingsongchou Information Technology Co ltd
Priority to CN201810529307.9A priority Critical patent/CN108833110B/en
Publication of CN108833110A publication Critical patent/CN108833110A/en
Application granted granted Critical
Publication of CN108833110B publication Critical patent/CN108833110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/321Cryptographic 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/3213Cryptographic 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3236Cryptographic 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/3242Cryptographic 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a digital asset processing method and device. The method includes receiving a first digital asset processing request of a first user; judging whether the first digital asset processing request meets an issuing condition or not; and if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract. The method and the device solve the technical problem that the processing efficiency of the digital assets in the block chain is low. The method realizes digital asset processing through a mutual-aid intelligent contract.

Description

Digital asset processing method and device
Technical Field
The present application relates to the field of block chains, and in particular, to a digital asset processing method and apparatus.
Background
By intelligent contract means, assets or money is transferred into the program, the program runs code, and at some point in time automatically verifies a condition that will automatically determine whether the asset should go to one person or return to another person, or should be returned immediately to the person who sent it, or a combination thereof. Meanwhile, the scattered account book is also a storage and copy file, so that the file has certain safety and invariance.
The inventor finds that the related digital asset token has low utilization rate of intelligent contracts at present, and meanwhile, if the processing of the digital asset cannot be realized by aiming at a private chain such as a alliance chain.
Aiming at the problem of low digital asset processing efficiency in a block chain in the related technology, no effective solution is provided at present.
Disclosure of Invention
The present application mainly aims to provide a digital asset processing method to solve the problem of low digital asset processing efficiency.
To achieve the above object, according to one aspect of the present application, there is provided a digital asset processing method.
The digital asset processing method according to the present application includes: judging whether the first digital asset processing request meets an issuing condition or not; and if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract.
Further, receiving a first digital asset processing request of a first user includes: receiving the asset processing requirements of the currency, the amount and the number of people of a first user; signing the first digital asset and forwarding the first digital asset as a first digital asset transaction to a server side; and broadcasting the first digital asset transaction to the smart contracts of the respective nodes on the native blockchain.
Further, the determining whether the first digital asset processing request satisfies an issue condition includes: judging whether the first digital asset processing request meets mining cost or service cost issuing conditions or not; if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps: and if the first digital asset processing request is judged to meet the mining expense or service expense issuing condition, executing digital asset token issuing operation with preset workload equivalence on the first user according to an intelligent contract.
Further, the determining whether the first digital asset processing request satisfies an issue condition includes: judging whether the first digital asset processing request meets a transaction hash address return condition; if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps: and if the first digital asset processing request meets the transaction hash address return condition, executing the operation of issuing the digital asset token to the second user on the first user according to the intelligent contract, and storing the operation into a database of a server side.
Further, the determining whether the first digital asset processing request satisfies an issue condition includes: judging whether a preset digital asset token returned by the first digital asset processing request meets a wallet address access condition or not; if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps: and if the preset digital asset tokens returned in the first digital asset processing request meet the wallet address access condition, distributing the number of the preset digital asset tokens to a second user according to the intelligent contract, and storing the number of the preset digital asset tokens in a database of a server side.
Further, if it is determined that the first digital asset processing request meets the issuing condition, after performing a preset digital asset token issuing operation on the first user according to the intelligent contract, the method further includes: monitoring whether a digital asset processing message returned by a second user is received; and if the monitoring receives a digital asset processing message returned by the second user, processing the preset digital asset token according to different scenes in the intelligent contract.
To achieve the above object, according to another aspect of the present application, there is provided a digital asset processing device.
The digital asset processing device according to the present application includes: a receiving module for receiving a first digital asset processing request of a first user; the judging module is used for judging whether the first digital asset processing request meets an issuing condition or not; and the execution module is used for executing preset digital asset token issuing operation on the first user according to the intelligent contract when the first digital asset processing request meets the issuing condition.
Further, the receiving module includes: the system comprises a receiving unit, a signature unit and a broadcasting unit, wherein the receiving unit is used for receiving the asset processing requirements of the currency, the amount and the number of people of a first user; the signature unit is used for signing the first digital asset and forwarding the first digital asset as a first digital asset transaction to a server; and the broadcasting unit is used for broadcasting the first digital asset transaction to the intelligent contracts of the nodes on the native block chain.
Further, the judging module comprises: the first judging unit, the second judging unit, the third judging unit and the executing module comprise: the first judgment unit is used for judging whether the first digital asset processing request meets the condition of sending mining cost or service cost; and the first execution unit is used for executing digital asset token issuing operation with preset workload equivalent to the first user according to an intelligent contract when the first digital asset processing request is judged to meet the mining cost or service cost issuing condition. The second judging unit is used for judging whether the first digital asset processing request meets a transaction hash address return condition; the second execution unit is used for executing the operation of issuing the digital asset token to the second user to the first user according to the intelligent contract when the first digital asset processing request meets the transaction hash address return condition and storing the operation into a database of the server side; the third judging unit is used for judging whether the preset digital asset token returned by the first digital asset processing request meets the wallet address access condition or not; and the third execution unit is configured to, when it is determined that the preset digital asset tokens returned in the first digital asset processing request satisfy the wallet address access condition, issue the number of the preset digital asset tokens to a second user according to the smart contract allocation, and store the number of the preset digital asset tokens in a database at the server side.
Further, the apparatus further comprises: a processing module, the processing module comprising: the monitoring unit is used for monitoring whether a digital asset processing message returned by a second user is received or not; and the processing unit is used for processing the preset digital asset token according to different scenes in the intelligent contract when monitoring that the digital asset processing message returned by the second user is received.
In the embodiment of the application, a mode of receiving a first digital asset processing request of a first user is adopted, and whether the first digital asset processing request meets an issuing condition is judged, so that the purpose of executing a preset digital asset token issuing operation on the first user according to an intelligent contract is achieved, the technical effect of safe issuing of the digital asset token based on the intelligent contract is achieved, and the technical problem of low digital asset processing efficiency in a block chain is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic diagram of a digital asset processing method according to an embodiment of the application;
FIG. 2 is a schematic diagram of a digital asset processing method according to a first embodiment of the present application;
FIG. 3 is a schematic diagram of a digital asset processing method according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of a digital asset processing method according to a third embodiment of the present application;
FIG. 5 is a schematic diagram of a digital asset processing method according to a fourth embodiment of the present application;
FIG. 6 is a schematic diagram of a digital asset processing method according to a fifth embodiment of the present application;
FIG. 7 is a schematic diagram of a digital asset processing device according to a first embodiment of the present application;
FIG. 8 is a schematic view of a digital asset processing device according to a second embodiment of the present application;
FIG. 9 is a schematic view of a digital asset processing device according to a third embodiment of the present application; and
FIG. 10 is a schematic view of a digital asset processing device according to a fourth embodiment of the present application;
fig. 11 is a schematic diagram of interaction in a digital asset processing method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
As shown in fig. 1, the method includes steps S102 to S106 as follows:
step S102, receiving a first digital asset processing request of a first user;
the first digital asset may be a digital asset token that may be redeemed with a rule according to an asset pre-set rule as long as the user's approved asset may be "gifted".
The first digital asset may be deposited in a wallet address, awaiting processing.
For example, a user may want to process a first digital asset in a red envelope.
Step S104, judging whether the first digital asset processing request meets an issuing condition; and
the determining whether the first digital asset processing request satisfies an issuance condition may be determining whether a balance is in a wallet.
For example, it is determined whether the first user has a digital asset available for transaction in the wallet address.
The determination of whether the first digital asset processing request satisfies the issue condition may also be whether the digital asset processing is signed.
For example, it is determined whether a digital asset available for transaction in the wallet address of the first user is signed.
And step S106, if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract.
And if the conditions are met, executing preset digital asset token issuing operation on the first user according to the intelligent contract. The preset digital asset token issuing operation generated at the moment is a transaction available for the first user, meanwhile, the transaction is broadcasted to each node/user on the blockchain, and if the nodes/users confirm the transaction, the preset digital asset token issuing operation can be executed on the first user through an intelligent contract. On the block chain network, users do not need to bear trust risks to mutual aid execution mechanisms, mutual aid agreements among groups can be directly realized through intelligent contracts, and automatic benefits are obtained. Meanwhile, the block chain is open, transparent and traceable, so that all information is transparent and searchable.
From the above description, it can be seen that the following technical effects are achieved by the present application:
in the embodiment of the application, a mode of receiving a first digital asset processing request of a first user is adopted, and whether the first digital asset processing request meets an issuing condition is judged, so that the purpose of executing a preset digital asset token issuing operation on the first user according to an intelligent contract is achieved, the technical effect of safe issuing of the digital asset token based on the intelligent contract is achieved, and the technical problem of low digital asset processing efficiency in a block chain is solved.
According to an embodiment of the present application, preferably, as shown in fig. 2, receiving the first digital asset processing request of the first user includes:
step S202, receiving the money type, the amount and the number of people of the first user;
the currency, i.e., the type of transaction digital asset token, is selected.
The amount of the selection, i.e., the amount of the transaction.
The number of selected people, i.e. the number of trades.
Step S204, the first digital asset is signed and transmitted to a server end as a first digital asset transaction;
the server side, i.e., the wallet of the node on the blockchain. And carrying out digital asset transaction after signing the first digital asset.
In step S206, a first digital asset transaction is broadcast to the intelligent contracts of the nodes on the native blockchain.
And informing each node on the block chain in a broadcasting mode, and broadcasting the transaction to the intelligent contract.
According to an embodiment of the present application, preferably, as shown in fig. 3, the determining whether the first digital asset processing request meets an issue condition includes:
step S302, judging whether the first digital asset processing request meets the condition of sending mining cost or service cost;
and judging whether the first digital asset processing request meets the condition of sending the miner cost.
And judging whether the first digital asset processing request meets a service charge issuing condition or not.
If the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps:
step S304, if the first digital asset processing request is judged to meet the mining expense or service expense issuing condition, executing digital asset token issuing operation with preset workload equivalent to the first user according to an intelligent contract.
And if the mining expense issuing condition or the service expense issuing condition is met, executing digital asset token issuing operation with preset workload equivalence on the first user according to an intelligent contract.
For example, a digital asset token equivalent to a mine digging spaciousness fee.
Such as a digital asset token that is equivalent to a service fee.
The first digital asset may be a digital asset token that may be redeemed with a rule according to an asset pre-set rule as long as the user's approved asset may be "gifted".
According to the embodiment of the present application, preferably, as shown in fig. 4, the determining whether the first digital asset processing request meets the issue condition includes:
step S402, judging whether the first digital asset processing request meets the transaction Hash address returning condition;
the first digital asset returns the transaction hash address to judge whether the return condition is satisfied.
If the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps:
step S404, if the first digital asset processing request is judged to meet the transaction Hash address returning condition, the operation of issuing the digital asset token to the second user is executed to the first user according to the intelligent contract, and the digital asset token is stored in a database of the server side.
And if the first digital asset processing request meets the issuing condition, executing the operation of issuing the digital asset token to the second user for the first user according to the intelligent contract, and storing the operation into a database of the server side. The database at the server side is the wallet.
For example, a first user distributes a red envelope to a second user. At the same time, the transaction is broadcast over the blockchain to the smart contract.
According to the embodiment of the present application, preferably, as shown in fig. 5, the determining whether the first digital asset processing request meets the issue condition includes:
step S502, judging whether the preset digital asset token returned in the first digital asset processing request meets the access condition of the wallet address;
the determination that the preset digital asset token returned in the first digital asset processing request satisfies the wallet address access condition may be that the preset digital asset token returned in the digital asset processing request satisfies a wallet crediting condition.
Determining that the preset digital asset token returned in the first digital asset processing request satisfies a wallet address access condition may be that the preset digital asset token returned in the digital asset processing request satisfies a wallet use condition.
For example, the first user receives a digital asset token issued to the second user for a corresponding award amount.
If the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps:
step S504, if it is determined that the preset digital asset tokens returned in the first digital asset processing request satisfy the wallet address access condition, issuing the number of the preset digital asset tokens to the operation of the second user according to the smart contract allocation, and storing the number of the preset digital asset tokens in the database of the server.
Such as a digital asset token for the corresponding award amount received by the second user.
When the conditions of using the wallet or the conditions of saving the wallet are met, the number of the preset digital asset tokens can be distributed according to the smart contract, transmitted to the second user, and stored in a database at the server side.
Preferably, if it is determined that the first digital asset processing request meets the issuing condition, after performing a preset digital asset token issuing operation on the first user according to an intelligent contract, the method further includes:
monitoring whether a digital asset processing message returned by a second user is received;
and if the monitoring receives a digital asset processing message returned by the second user, processing the preset digital asset token according to different scenes in the intelligent contract.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
According to an embodiment of the present application, there is also provided an apparatus for implementing the above-mentioned digital asset processing method, as shown in fig. 7, the apparatus including: a receiving module 10, configured to receive a first digital asset processing request of a first user; a judging module 20, configured to judge whether the first digital asset processing request meets an issuing condition; and the execution module 30 is configured to execute a preset digital asset token issuing operation on the first user according to the intelligent contract when it is determined that the first digital asset processing request meets an issuing condition.
The first digital asset in the receiving module 10 of the embodiment of the present application may be an asset that can be exchanged with a digital asset token according to a preset asset rule as long as the approved asset that can be "given" to the user can be exchanged with a certain rule.
The first digital asset may be deposited in a wallet address, awaiting processing.
For example, a user may want to process a first digital asset in a red envelope.
The determining module 20 of the embodiment of the present application may determine whether the first digital asset processing request satisfies the issue condition, that is, whether there is a balance in the wallet.
For example, it is determined whether the first user has a digital asset available for transaction in the wallet address.
The determination of whether the first digital asset processing request satisfies the issue condition may also be whether the digital asset processing is signed.
For example, it is determined whether a digital asset available for transaction in the wallet address of the first user is signed.
In the execution module 30 of the embodiment of the present application, if the condition is satisfied, a preset digital asset token issuing operation needs to be executed on the first user according to an intelligent contract. The preset digital asset token issuing operation generated at the moment is a transaction available for the first user, meanwhile, the transaction is broadcasted to each node/user on the blockchain, and if the nodes/users confirm the transaction, the preset digital asset token issuing operation can be executed on the first user through an intelligent contract. On the block chain network, users do not need to bear trust risks to mutual aid execution mechanisms, mutual aid agreements among groups can be directly realized through intelligent contracts, and automatic benefits are obtained. Meanwhile, the block chain is open, transparent and traceable, so that all information is transparent and searchable.
According to the embodiment of the present application, preferably, as shown in fig. 8, the receiving module 10 includes: the system comprises a receiving unit 101, a signature unit 102 and a broadcasting unit 103, wherein the receiving unit 101 is used for receiving the asset processing requirements of the currency, the amount and the number of people of a first user; the signature unit 102 is configured to sign the first digital asset and forward the signed first digital asset to a server as a first digital asset transaction; and the broadcasting unit 103 is configured to broadcast the first digital asset transaction to the smart contracts of the nodes on the native blockchain.
The currency, i.e., the type of the transaction digital asset token, is selected in the receiving unit 101 of the embodiments of the present application.
The amount of the selection, i.e., the amount of the transaction.
The number of selected people, i.e. the number of trades.
In the signature unit 102 of the embodiment of the present application, the server side is the wallet of the node on the blockchain. And carrying out digital asset transaction after signing the first digital asset.
In the broadcast unit 103 of the embodiment of the present application, each node on the block chain is notified in a broadcast manner, and a transaction is broadcast to an intelligent contract.
According to the embodiment of the present application, preferably, as shown in fig. 9, the determining module 20 includes: the first determining unit 201, the second determining unit 202, the third determining unit 203, and the executing module 30 include: a first execution unit 204, a second execution unit 205, and a third execution unit 206, where the first determination unit 201 is configured to determine whether the first digital asset processing request meets a condition of issuing mining cost or service cost; the first execution unit 204 is configured to, when it is determined that the first digital asset processing request meets a mining fee or service fee issuing condition, execute a digital asset token issuing operation with a preset workload equivalent to the first user according to an intelligent contract. The second determining unit 202 is configured to determine whether the first digital asset processing request meets a transaction hash address return condition; the second executing unit 205 is configured to, when it is determined that the first digital asset processing request meets the transaction hash address return condition, execute, according to the smart contract, an operation of issuing a digital asset token to a second user to the first user, and store the operation in a database at the server side; the third judging unit 203 is configured to judge whether a preset digital asset token returned in the first digital asset processing request meets a wallet address access condition; the third executing unit 206 is configured to, when it is determined that the preset digital asset tokens returned in the first digital asset processing request satisfy the wallet address access condition, allocate the number of the preset digital asset tokens to the second user according to the smart contract, and send the number of the preset digital asset tokens to the second user, and store the number of the preset digital asset tokens in a database at the server side.
The first determining unit 201 of the embodiment of the application interrupts whether the first digital asset processing request meets the condition of sending the miner fee.
And judging whether the first digital asset processing request meets a service charge issuing condition or not.
In the first execution unit 204 of the embodiment of the present application, if the mining fee issuing condition or the service fee issuing condition is satisfied, a digital asset token issuing operation with a preset workload equivalent is executed on the first user according to an intelligent contract.
For example, a digital asset token equivalent to a mine digging spaciousness fee.
Such as a digital asset token that is equivalent to a service fee.
The first digital asset may be a digital asset token that may be redeemed with a rule according to an asset pre-set rule as long as the user's approved asset may be "gifted".
In the second determining unit 202 of the embodiment of the present application, the first digital asset returns the transaction hash address to determine whether the return condition is satisfied.
In the second execution unit 205 of the embodiment of the present application, if it is determined that the first digital asset processing request meets the issue condition, the operation of issuing the digital asset token to the second user is executed on the first user according to the intelligent contract, and the operation is stored in the database of the server. The database at the server side is the wallet.
For example, a first user distributes a red envelope to a second user. At the same time, the transaction is broadcast over the blockchain to the smart contract.
The third determining unit 203 of the embodiment of the present application may determine that the preset digital asset token returned in the first digital asset processing request satisfies the wallet address access condition, that the preset digital asset token returned in the digital asset processing request satisfies the wallet deposit condition.
Determining that the preset digital asset token returned in the first digital asset processing request satisfies a wallet address access condition may be that the preset digital asset token returned in the digital asset processing request satisfies a wallet use condition.
For example, the first user receives a digital asset token issued to the second user for a corresponding award amount.
In the third execution unit 206 of the embodiment of the present application, when the conditions for using the wallet or the conditions for depositing the wallet are satisfied, the number of the preset digital asset tokens may be allocated according to the smart contract, and the operation may be issued to the second user, and the operation may be stored in the database on the server side.
According to the embodiment of the present application, as shown in fig. 10, it is preferable that: a processing module 40, said processing module 40 comprising: the system comprises a monitoring unit 401 and a processing unit 402, wherein the monitoring unit 401 is used for monitoring whether a digital asset processing message returned by a second user is received; the processing unit 402 is configured to, when monitoring that a digital asset processing message returned by a second user is received, process a preset digital asset token according to different scenes in the smart contract.
Preferably, if it is determined that the first digital asset processing request meets the issuing condition, after performing a preset digital asset token issuing operation on the first user according to an intelligent contract, the method further includes:
monitoring whether a digital asset processing message returned by a second user is received;
and if the monitoring receives a digital asset processing message returned by the second user, processing the preset digital asset token according to different scenes in the intelligent contract.
As shown in fig. 10, involving a user, a server, and a blockchain node. After selecting the red packet, the user needs to select currency, money, miner fee and service fee, and signs the red packet and sends the red packet to the server. Intelligent contracts are traded to blockchain nodes by broadcast. Receiving a first digital asset processing request of a first user; judging whether the first digital asset processing request meets an issuing condition or not; and if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract. The transaction hash address is returned on the blockchain and saved to the database, i.e., the wallet. The user can share the red envelope with the friend through the red envelope propagation page, and when the friend or the user obtains the red envelope, the friend returns to a wallet address (transaction) and stores the wallet address to the database. Monitoring whether a digital asset processing message returned by a second user is received; and if the monitoring receives a digital asset processing message returned by the second user, processing the preset digital asset token according to different scenes in the intelligent contract.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (9)

1. A digital asset processing method, comprising:
receiving a first digital asset processing request of a first user;
judging whether the first digital asset processing request meets an issuing condition or not; and
if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to an intelligent contract;
judging whether the first digital asset processing request meets the issuing condition comprises the following steps:
judging whether a preset digital asset token returned by the first digital asset processing request meets a wallet address access condition or not;
if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps:
and if the preset digital asset token returned by the first digital asset processing request meets the wallet address access condition, executing the operation of distributing the preset digital asset token and issuing the preset digital asset token to the second user according to the intelligent contract, and storing the operation into a database of the server side.
2. The digital asset processing method according to claim 1, wherein receiving a first digital asset processing request from a first user comprises:
receiving the asset processing requirements of the currency, the amount and the number of people of a first user;
signing the first digital asset and forwarding the first digital asset as a first digital asset transaction to a server side; and
broadcasting the first digital asset transaction to each node on the native blockchain.
3. The digital asset processing method according to claim 1,
judging whether the first digital asset processing request meets the issuing condition comprises the following steps:
judging whether the first digital asset processing request meets mining cost or service cost issuing conditions or not;
if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps:
and if the first digital asset processing request is judged to meet the mining expense or service expense issuing condition, executing digital asset token issuing operation equivalent to the preset workload to the first user according to an intelligent contract.
4. The digital asset processing method according to claim 1,
judging whether the first digital asset processing request meets the issuing condition comprises the following steps:
judging whether the first digital asset processing request meets a transaction hash address return condition;
if the first digital asset processing request is judged to meet the issuing condition, executing preset digital asset token issuing operation on the first user according to the intelligent contract comprises the following steps:
and if the first digital asset processing request meets the transaction hash address return condition, executing the operation of issuing the digital asset token to the second user on the first user according to the intelligent contract, and storing the issued digital asset token in a database of a server side.
5. The method of claim 1, wherein if the first digital asset processing request is determined to satisfy the issuing condition, after performing a preset digital asset token issuing operation on the first user according to a smart contract, further comprising:
monitoring whether a digital asset processing message returned by a second user is received;
and if the monitoring receives a digital asset processing message returned by the second user, processing the preset digital asset token according to different scenes in the intelligent contract.
6. A digital asset processing device, comprising:
a receiving module for receiving a first digital asset processing request of a first user;
the judging module is used for judging whether the first digital asset processing request meets an issuing condition or not; and
the execution module is used for executing preset digital asset token issuing operation on the first user according to the intelligent contract when the first digital asset processing request meets the issuing condition;
the judgment module comprises a third judgment unit, and the third judgment unit is used for judging whether a preset digital asset token returned in the first digital asset processing request meets a wallet address access condition or not;
the execution module comprises a third execution unit, and the third execution unit is used for distributing the preset digital asset token according to the intelligent contract to issue to the operation of the second user when judging that the preset digital asset token returned in the first digital asset processing request meets the access condition of the wallet address, and storing the operation in the database of the server side.
7. The digital asset processing device according to claim 6, wherein said receiving module comprises: a receiving unit, a signature unit, a broadcasting unit,
the receiving unit is used for receiving the asset processing requirements of the currency, the amount and the number of people of the first user;
the signature unit is used for signing the first digital asset and forwarding the first digital asset as a first digital asset transaction to a server; and
the broadcast unit is configured to broadcast a first digital asset transaction to each node in the native blockchain.
8. The digital asset processing device according to claim 6, wherein said determining module comprises: the first judging unit, the second judging unit and the executing module comprise: a first execution unit, a second execution unit,
the first judging unit is used for judging whether the first digital asset processing request meets the condition of sending mining expenses or service expenses;
the first execution unit is used for executing a digital asset token issuing operation equivalent to a preset workload on the first user according to an intelligent contract when the first digital asset processing request meets the mining expense or service expense issuing condition;
the second judging unit is used for judging whether the first digital asset processing request meets a transaction hash address return condition;
and the second execution unit is used for executing the operation of issuing the digital asset token to the second user on the first user according to the intelligent contract when the first digital asset processing request meets the transaction hash address return condition and storing the issued digital asset token in a database of the server side.
9. The digital asset processing device according to claim 6, further comprising: a processing module, the processing module comprising: a monitoring unit and a processing unit, wherein,
the monitoring unit is used for monitoring whether a digital asset processing message returned by a second user is received;
and the processing unit is used for processing the preset digital asset token according to different scenes in the intelligent contract when monitoring that the digital asset processing message returned by the second user is received.
CN201810529307.9A 2018-05-27 2018-05-27 Digital asset processing method and device Active CN108833110B (en)

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 CN108833110A (en) 2018-11-16
CN108833110B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743177B (en) * 2018-12-29 2021-07-16 湖南大学 An IoT data management system based on blockchain and shared environment
SG11202002553VA (en) * 2019-07-03 2020-04-29 Alibaba Group Holding Ltd Mutual aid network based on smart contract and blockchain
CN113537957B (en) * 2021-07-01 2024-10-25 北京极智数仓科技有限公司 Digital asset transaction method, system, storage medium, and digital money system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140244801A1 (en) * 2013-02-28 2014-08-28 Apple Inc. Network-based distribution system supporting transfer of application products
MX2018010048A (en) * 2016-02-23 2019-01-21 Nchain Holdings Ltd 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
CN107240001B (en) * 2017-06-06 2020-12-04 北京汇通金财信息科技有限公司 A digital asset transaction method and system
CN107392580B (en) * 2017-06-26 2020-10-09 中国人民银行数字货币研究所 A method and system for realizing digital currency exchange deposit based on digital currency
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

Also Published As

Publication number Publication date
CN108833110A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN110645983B (en) Path planning method, device and system for unmanned vehicle
CN109522362A (en) Incomplete markets synchronous method, system and equipment based on block chain data
KR102254809B1 (en) Distributed computing resources sharing system and computing apparatus thereof providing reward based on block chain
CN108833110B (en) Digital asset processing method and device
CN108805627B (en) Media resource allocation method, device, system, medium and equipment
CN109547530A (en) Region common recognition method, system and equipment
CN109360135B (en) Server, public service data processing method based on block chain and storage medium
CN104809601B (en) The mutual auxiliary system of express delivery based on electronic map
CN106453146B (en) Method, system, device and readable storage medium for allocating private cloud computing resources
CN108090643A (en) Express logistics dispatching method and device
CN109522314A (en) Data archiving method and terminal device based on block chain
CN109152061A (en) Channel agility method, apparatus, server and storage medium
CN109949026B (en) Red packet information generation method and device, terminal and server
CN108711090A (en) A kind of non-stop layer chauffeur protocol method and system based on block chain
CN112422659A (en) Business data processing method and device and readable storage medium
CN110363414A (en) Dispense the partitioning method and device in region
Xiao et al. Edgetoll: A blockchain-based toll collection system for public sharing of heterogeneous edges
CN109345311A (en) The method and device that credit is mutually known between different financial institution
CN107943423A (en) The management method and computer-readable recording medium of storage resource in cloud system
CN110992728A (en) Parking service method and system based on block chain
CN108874805A (en) The treating method and apparatus of data
CN110826943B (en) Method and related equipment for judging whether bus allocation is needed or not and determining bus allocation number
CN108416926A (en) The charging method and device of charging pile
CN111815443A (en) Reward management method of block chain system, electronic device and storage medium
CN109741055A (en) Blacklist calling method, device, server and storage 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.