CN110599182A - Resource management method and device - Google Patents

Resource management method and device Download PDF

Info

Publication number
CN110599182A
CN110599182A CN201910922622.2A CN201910922622A CN110599182A CN 110599182 A CN110599182 A CN 110599182A CN 201910922622 A CN201910922622 A CN 201910922622A CN 110599182 A CN110599182 A CN 110599182A
Authority
CN
China
Prior art keywords
user
virtual resource
transaction
target virtual
account
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
Application number
CN201910922622.2A
Other languages
Chinese (zh)
Other versions
CN110599182B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910922622.2A priority Critical patent/CN110599182B/en
Publication of CN110599182A publication Critical patent/CN110599182A/en
Application granted granted Critical
Publication of CN110599182B publication Critical patent/CN110599182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention provides a resource management method and a resource management device, wherein the method comprises the following steps: acquiring a hanging disc transaction submitted by a first user through first terminal equipment, wherein the hanging disc transaction comprises the quantity and the price of a target virtual resource to be traded; if the purchase transaction submitted by a second user for the target virtual resource through second terminal equipment is obtained, calling an intelligent contract to lock the target virtual resource, and sending a payment link for the target virtual resource to the second terminal equipment; and after the intelligent contract detects that the second user completes payment by using the payment link, the target virtual resource is transferred from the account of the first user to the account of the second user, so that the transaction of the virtual resource can be completed quickly and efficiently through the blockchain, the safety is effectively ensured, and the defects of low transaction efficiency, long transaction period and the like caused by matching of intermediaries are avoided.

Description

Resource management method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a resource management method and apparatus.
Background
At present, for virtual resources such as bonds, trading markets of the virtual resources do not pass through a security exchange, but trade is conducted among a plurality of bond intermediary institutions permitted to hang cards in China in series, a uniform hanging frame and a trading system do not exist, each bond trade needs to be matched by the intermediary, so that the trading efficiency is low, the trading period is long, generally, T +0 talks, T +1 can be traded, and therefore how to provide a quick and efficient virtual resource trading scheme becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a resource management method and a resource management device, which can quickly and efficiently complete the transaction of virtual resources through a block chain, effectively ensure the safety and avoid the defects of low transaction efficiency, long transaction period and the like caused by the matching of intermediaries.
In a first aspect, an embodiment of the present invention provides a resource management method, which is applied to a blockchain network, where the blockchain network includes a plurality of nodes, and the method includes:
acquiring a hanging disc transaction submitted by a first user through first terminal equipment, wherein the hanging disc transaction comprises the quantity and the price of a target virtual resource to be traded;
if the purchase transaction submitted by a second user for the target virtual resource through second terminal equipment is obtained, calling an intelligent contract to lock the target virtual resource, and sending a payment link for the target virtual resource to the second terminal equipment;
and after the intelligent contract detects that the second user completes payment by using the payment link, transferring the target virtual resource from the account of the first user to the account of the second user.
In a second aspect, an embodiment of the present invention provides a resource management method, which is applied to a first terminal device corresponding to a first user, and the method includes:
submitting a hanging disk transaction of the first user to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the hanging disk transaction comprises the number and the price of a target virtual resource to be transacted, the hanging disk transaction enables the target node to call an intelligent contract to lock the target virtual resource and send a payment link for the target virtual resource to a second terminal device when acquiring a purchase transaction submitted by the second user for the target virtual resource through the second terminal device, and the target virtual resource is transferred from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and receiving a notification message that the hanging disc transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
In a third aspect, an embodiment of the present invention provides a resource management method, which is applied to a second terminal device corresponding to a second user, and the method includes:
submitting a purchase transaction of a second user for a target virtual resource to a target node, wherein the target node is any one of a plurality of nodes included in a block chain network, the purchase transaction enables the target node to call an intelligent contract to lock the target virtual resource and sends a payment link for the target virtual resource to the second terminal device, and the target virtual resource is a virtual resource to be traded included in a disk hanging transaction submitted to the target node by a first terminal device corresponding to a first user;
receiving the payment link sent by the target node, wherein the payment link is used for the second user to pay the target virtual resource, so that the target node transfers the target virtual resource from the account of the first user to the account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and receiving a notification message that the purchase transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
In a fourth aspect, an embodiment of the present invention provides a resource management apparatus, which is applied to a blockchain network, where the blockchain network includes a plurality of nodes, and the apparatus includes:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a hanging disc transaction submitted by a first user through first terminal equipment, and the hanging disc transaction comprises the quantity and the price of a target virtual resource to be transacted;
the processing module is used for calling an intelligent contract to lock the target virtual resource if the purchase transaction submitted by a second user for the target virtual resource through a second terminal device is obtained;
a sending module, configured to send a payment link for the target virtual resource to the second terminal device;
the processing module is further configured to transfer the target virtual resource from the account of the first user to the account of the second user after the smart contract detects that the second user completes payment by using the payment link.
In a fifth aspect, an embodiment of the present invention provides a resource management apparatus, which is applied to a first terminal device corresponding to a first user, and the apparatus includes:
the device comprises a submitting module, a block chain network and a target node, wherein the submitting module is used for submitting a hanging disc transaction of a first user to the target node, the target node is any one of a plurality of nodes included in the block chain network, the hanging disc transaction comprises the number and the price of a target virtual resource to be transacted, the hanging disc transaction enables the target node to call an intelligent contract to lock the target virtual resource when acquiring a purchase transaction submitted by a second user for the target virtual resource through second terminal equipment, a payment link for the target virtual resource is sent to the second terminal equipment, and the target virtual resource is transferred from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and the receiving module is used for receiving a notification message that the hanging disc transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
In a sixth aspect, an embodiment of the present invention provides a resource management apparatus, which is applied to a second terminal device corresponding to a second user, and the apparatus includes:
the submitting module is used for submitting a purchase transaction of the second user for a target virtual resource to a target node, wherein the target node is any one of a plurality of nodes included in a block chain network, the purchase transaction enables the target node to call an intelligent contract to lock the target virtual resource and sends a payment link for the target virtual resource to the second terminal device, and the target virtual resource is a virtual resource to be traded included in a disk hanging transaction submitted to the target node by a first terminal device corresponding to the first user;
a receiving module, configured to receive the payment link sent by the target node, where the payment link is used for the second user to pay for the target virtual resource, so that the target node transfers the target virtual resource from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
the receiving module is further configured to receive a notification message that the purchase transaction is successful, where the notification message is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
In a seventh aspect, an embodiment of the present invention provides a node device, which is applied to a blockchain network, where the blockchain network includes a plurality of nodes, and the node device includes a processor, a network interface, and a storage device, where the processor, the network interface, and the storage device are connected to each other, where the network interface is controlled by the processor to send and receive data, and the storage device is used to store a computer program, where the computer program includes program instructions, and the processor is configured to call the program instructions to execute the resource management method according to the first aspect.
In an eighth aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a processor, a network interface, and a storage device, where the processor, the network interface, and the storage device are connected to each other, where the network interface is controlled by the processor to send and receive data, and the storage device is used to store a computer program, where the computer program includes program instructions, and the processor is configured to call the program instructions to execute the resource management method according to the second aspect or the third aspect.
In a ninth aspect, an embodiment of the present invention provides a computer storage medium, where program instructions are stored, and when the program instructions are executed, the computer storage medium is used to implement the resource management method according to the first aspect, the second aspect, or the third aspect.
According to the embodiment of the invention, the hanging disc transaction submitted by a first user through a first terminal device can be obtained, the hanging disc transaction comprises the number and the price of the target virtual resource to be transacted, if the buying transaction submitted by a second user through a second terminal device aiming at the target virtual resource is obtained, an intelligent contract is called to lock the target virtual resource, a payment link aiming at the target virtual resource is sent to the second terminal device, and after the intelligent contract detects that the second user completes payment, the target virtual resource is transferred from the account of the first user to the account of the second user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a schematic diagram of an architecture of a resource management system according to an embodiment of the present invention;
fig. 1b is a schematic structural diagram of a block chain according to an embodiment of the present invention;
FIG. 1c is a schematic diagram of a process for generating a new block according to an embodiment of the present invention;
fig. 1d is a schematic diagram of a basic business process of bond transaction according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a resource management method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another resource management method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a resource management method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a resource management apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another resource management apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another resource management apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a node device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
Aiming at the problems of low transaction efficiency, long transaction period and the like of the existing virtual resources such as bonds and the like, the embodiment of the invention provides a resource management method, which can quickly and efficiently complete the transaction of the virtual resources through a block chain and effectively ensure the safety.
Referring to fig. 1a, it is a schematic structural diagram of a resource management system provided in an embodiment of the present invention, where the resource management system includes a blockchain network 10, a first terminal device 102, and a second terminal device 103, where:
the blockchain network 10 refers to a network for performing data sharing between nodes, and a plurality of nodes 101 may be included in the blockchain network. Each node 101 may receive input information and maintain shared data (i.e., blockchains) within the blockchain network based on the received input information while operating normally. In order To ensure information intercommunication in the blockchain network, each node may have information connection, and any two nodes may implement Peer-To-Peer (P2P) communication, and specifically may perform P2P communication through a wired communication link or a wireless communication link. For example, when any node in the blockchain network receives input information, other nodes acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all nodes in the blockchain network are consistent.
The first terminal device 102 and the second terminal device 103 may access the blockchain network and may communicate with nodes in the blockchain network, for example, initiate a hang transaction, a buy transaction, etc. to the nodes. The first terminal device 102 and the second terminal device 103 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a vehicle-mounted smart terminal, and the like.
It should be noted that the number of nodes shown in fig. 1a is only schematic, and any number of nodes may be deployed according to actual needs, and the first terminal device 102 and the second terminal device 103 may communicate with the same node in the blockchain network or communicate with different nodes in the blockchain network respectively.
Each node in the blockchain network has a corresponding node identifier, and each node in the blockchain network can store node identifiers of other nodes in the blockchain network, so that the generated block can be broadcast to other nodes in the blockchain network according to the node identifiers of other nodes. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an Internet Protocol (IP) address or any other information that can be used to identify the node, and the table is described by taking the IP address as an example.
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Each node in the blockchain network stores one identical blockchain. The block chain is composed of a plurality of blocks, referring to fig. 1b, the block chain is composed of a plurality of blocks, the starting block comprises a block head and a block main body, the block head stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
When each block in the block chain is generated, referring to fig. 1c, when a node where the block chain is located receives input information, the input information is verified, after the verification is completed, the input information is stored in a memory pool, and a hash tree used for recording the input information is updated; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein, SHA256 is a characteristic value algorithm used for calculating a characteristic value; version is version information of the relevant block protocol in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. And then, the node where the block chain is located respectively sends the newly generated blocks to other nodes in the block chain network where the newly generated blocks are located according to the node identifications of the other nodes in the block chain network, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
The intelligent contract can be operated on the nodes of the block chain network, the intelligent contract is realized by codes executed when a certain condition is met, developers can define contract logic through a programming language, issue the contract logic to the block chain (intelligent contract registration), and call keys or other events to trigger execution according to the logic of contract terms to complete the contract logic and simultaneously provide the functions of upgrading and cancelling the intelligent contract.
In some possible embodiments, a node 101 of the blockchain network may obtain a hang transaction submitted by a first user through a first terminal device 102, the hanging-disk transaction includes the quantity and price of the target virtual resource to be traded, if a purchase transaction submitted by a second user for the target virtual resource through the second terminal device 103 is received, node 101 invokes the smart contract to lock the target virtual resource and sends a payment link for the target virtual resource to the second terminal device, after the intelligent contract detects that the second user completes payment by using the payment link, the node 101 transfers the target virtual resource from the account of the first user to the account of the second user, therefore, the transaction of the virtual resources can be completed quickly and efficiently through the block chain, and the safety is effectively ensured.
In some possible embodiments, a certain node 101 of the blockchain network may broadcast the onboarding transaction and the buy transaction to other nodes in the blockchain network, and after the other nodes verify the consensus of the onboarding transaction and the buy transaction, the node 101 writes the onboarding transaction and the buy transaction into a block, so that each transaction record can be linked up, thereby effectively preventing tampering and ensuring the validity and traceability of transaction data.
In some possible implementations, taking the virtual resource as a bond as an example, referring to fig. 1d, a basic business process of bond transaction provided by an embodiment of the present invention specifically includes: the method comprises the steps that a seller submits a reel hanging transaction to a blockchain network aiming at bond assets to be sold, a buyer submits a buying transaction aiming at the reel hanging transaction of the seller, an intelligent contract of the blockchain network automatically matches the transactions of the buyer and the seller, the bond assets on a chain hung by the seller are transferred to an account of the buyer after matching is successful, the bond transaction record is written into a block in the blockchain, and the bond transaction record can be sent to a bond registration center for registration.
The implementation details of the technical scheme of the embodiment of the invention are explained in detail as follows:
please refer to fig. 2, which is a flowchart illustrating a resource management method provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, the resource management method of the embodiment of the present invention is mainly described from a node side, the resource management method is applied to a blockchain network, the blockchain network includes a plurality of nodes, and the resource management method includes the following steps:
201. the node acquires a hanging disc transaction submitted by a first user through a first terminal device, wherein the hanging disc transaction comprises the quantity and the price of a target virtual resource to be traded.
The virtual resource related in the embodiment of the present invention may specifically include securities such as bonds.
Specifically, the first user may refer to a user who wants to sell a virtual resource, and then the first user is a seller at this time, the first terminal device may be accessed to the blockchain network, a node in the blockchain network may receive a hanging transaction submitted by the first user through the first terminal device, and may broadcast the hanging transaction to other nodes in the blockchain network, and the other nodes record the hanging transaction after passing through consensus verification on the hanging transaction, and the hanging transaction may include the number of target virtual resources to be traded (i.e., the amount of virtual resources that the first user wants to sell), and a price, taking a bond as an example, and the hanging transaction may include the number of bonds to be traded and a price of each bond, for example, 10 a bonds are sold, and the price is 100 yuan per bond.
202. And if the node acquires the purchase transaction submitted by the second user for the target virtual resource through the second terminal equipment, calling an intelligent contract to lock the target virtual resource, and sending a payment link for the target virtual resource to the second terminal equipment.
Specifically, the second user is a user who wants to buy the virtual resource, and the second user is a buyer at this time, and may access the second terminal device to the blockchain network to inquire about a hanging transaction submitted by other users, and if the second user is interested in a target virtual resource in the hanging transaction submitted by the first user and wants to buy the target virtual resource, a node in the blockchain network may receive a buying transaction submitted by the second user through the second terminal device, and after receiving the buying transaction, the node may invoke an intelligent contract to lock the target virtual resource, generate a payment link for the target virtual resource, and then send the payment link to the second terminal device, where the payment link is used for the second user to pay for buying the target virtual resource.
It should be noted that the node that receives the dial-up transaction submitted by the first user through the first terminal device and the node that receives the purchase transaction submitted by the second user through the second terminal device may be the same node in the blockchain network or different nodes in the blockchain network, which is not limited in the embodiment of the present invention.
203. And after the intelligent contract detects that the second user completes payment by using the payment link, the node transfers the target virtual resource from the account of the first user to the account of the second user.
Specifically, the second terminal device may display the payment link, the second user may jump to a payment platform (e.g., a unionpay or a third-party payment mechanism) to pay the fee by clicking the payment link, the intelligent contract of the node may detect a payment state of the second user, and when a payment success notification returned by the payment platform is detected, the second user is confirmed to complete payment, and the target virtual resource is transferred from an account of the first user to an account of the second user, so as to complete a quick transaction of the virtual resource, where the account of the first user and the account of the second user are block chain accounts registered in advance, and a T +0 quick transaction of virtual resources such as bonds and the like may be achieved through the block chain.
In some possible embodiments, a user may uplink a virtual asset held by the user in a trading market outside a blockchain, and when receiving a virtual asset uplink request of the user, a node may obtain a virtual resource holding amount of a first user and a virtual resource holding amount of a second user, create accounts (i.e., blockchain accounts) for the first user and the second user respectively, then bind the virtual resource holding amount of the first user to the account of the first user, bind the virtual resource holding amount of the second user to the account of the second user, and write an uplink record of a virtual resource of the user into the blockchain after the common identification verification of other nodes passes, so that the user may subsequently perform a virtual resource transaction through the blockchain.
In some possible embodiments, the node, after sending the payment link for the target virtual resource to the second terminal device, the smart contract may be invoked to detect a payment status of a payment made by the second user using the payment link, if the payment is not completed within a preset time period (e.g., 10 minutes), the node may deduct a preset first amount (e.g., 1 minimum transaction unit) or a preset first proportion (e.g., 0.005% of the target virtual resource) of the virtual resource from the account of the second user, the deducted virtual resource (i.e., the on-chain asset) may be transferred to the current node's account as a reward for providing computing power to the node, and the target virtual resource may be unlocked, visually, if the user is not paid for the virtual resource over time, the node may automatically deduct a portion of the commission from its account to use as a penalty to the second user.
In some possible embodiments, before the node locks the target virtual resource for the second user, the node may invoke the smart contract to deduct a preset second amount (e.g., 2 minimum transaction units) or a preset second proportion (e.g., 0.01% of the target virtual resource) of the virtual resource from the account of the second user, that is, deduct a commission fee corresponding to the purchase transaction from the on-chain asset, and then lock the target virtual resource for the second user.
In summary, the on-chain assets (i.e. the held virtual resources) of the user are only used for paying the procedure cost in the transaction process, and the cost corresponding to the purchase and sale is completed by walking through the bank payment system by the intelligent contract.
In some possible embodiments, after the intelligent contract detects that the second user completes payment by using the payment link, the specific implementation manner of the node transferring the target virtual resource from the account of the first user to the account of the second user may be: after the intelligent contract detects that the second user completes payment by using the payment link, the node generates a transaction (marked as a transfer transaction of the target virtual resource), wherein the transfer transaction of the target virtual resource may specifically include the following data: the account address of a first user (namely a seller), the account address of a second user (namely a buyer), the amount of a target virtual resource, the transfer direction of the target virtual resource (namely, the transfer from the account of the first user to the account of the second user), the transfer time, the transaction price, the subscription fee and the commission charge amount paid by the second user, and the like, and broadcasts the transfer transaction of the target virtual resource to other nodes in the block chain network for verification, after the other nodes verify the common identification of the transfer transaction of the target virtual resource, the target virtual resource is transferred from the account of the first user to the account of the second user, and writes the transfer transaction of the target virtual resource into a block, and also broadcasts the block to other nodes in the block chain network, and after the other nodes verify that the block is legal, the block is added into an own account book, thereby completing the convenient transaction of the virtual resource, and the resource transfer record uplink is not tampered.
In some possible embodiments, after transferring the target virtual resource from the account of the first user to the account of the second user, the node may send a transfer transaction of the target virtual resource to the virtual resource registration center, so that the virtual resource registration center records a transfer direction of the target virtual resource, that is, the target virtual resource is transferred from the account of the first user to the account of the second user, so that the transaction record is also recorded at a position other than the blockchain, thereby facilitating subsequent verification of the transaction record between users.
In some possible embodiments, the node may also perform uplink operations on onboarding and buy transactions, namely: the node broadcasts the hanging plate transaction and the buying transaction to other nodes, wherein the hanging plate transaction specifically comprises the following data: the account address of the first user (i.e. the seller), the amount of the target virtual resource to be traded, the price, the listing time, etc., and the purchase transaction may specifically include the following data: after the other nodes verify that the block is legal, the block is added into an account book of the second user, so that the user behaviors such as the hanging transaction and the buying transaction are recorded and linked up and cannot be tampered.
In the embodiment of the invention, the node can acquire the hanging transaction submitted by the first user through the first terminal device, the hanging transaction comprises the number and the price of the target virtual resource to be transacted, if the buying transaction submitted by the second user through the second terminal device aiming at the target virtual resource is acquired, the intelligent contract is called to lock the target virtual resource, the payment link aiming at the target virtual resource is sent to the second terminal device, and after the intelligent contract detects that the second user completes payment, the target virtual resource is transferred from the account of the first user to the account of the second user.
Please refer to fig. 3, which is a flowchart illustrating a resource management method provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, where the resource management method according to the embodiment of the present invention is mainly described from a first terminal device side corresponding to a first user, and the resource management method includes the following steps:
301. the method comprises the steps that a first terminal device submits a hanging disc transaction of a first user to a target node, the target node is any one of a plurality of nodes included in a block chain network, the hanging disc transaction comprises the number and the price of a target virtual resource to be traded, the hanging disc transaction enables the target node to call an intelligent contract to lock the target virtual resource when obtaining a purchase transaction submitted by a second user through a second terminal device aiming at the target virtual resource, a payment link aiming at the target virtual resource is sent to the second terminal device, and the target virtual resource is transferred from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment through the payment link.
The inventory transaction of the first user (i.e., the seller) can be submitted to any node in the blockchain network through the first terminal device, and is referred to as a target node.
302. And the first terminal equipment receives a notification message that the hanging disc transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
The specific implementation of steps 301 and 302 may participate in the specific description in the foregoing embodiments, and is not described here again.
In the embodiment of the invention, the first terminal device submits the hanging-disk transaction of the seller to the target node, the hanging-disk transaction comprises the quantity and the price of the target virtual resource to be transacted, the hanging-disk transaction enables the target node to call the intelligent contract to lock the target virtual resource when acquiring the purchase transaction submitted by the buyer through the second terminal device, the payment link aiming at the target virtual resource is sent to the second terminal device, the target virtual resource is transferred from the account of the seller to the account of the buyer after the intelligent contract detects that the buyer completes the payment, and the first terminal device receives the notification message of successful hanging-disk transaction sent by the target node, so that the seller can conveniently sell the held virtual resource, the transaction of the virtual resource is efficiently completed with the buyer, and the safety is effectively ensured.
Referring to fig. 4, it is a flowchart illustrating a resource management method provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, where the resource management method is mainly described from a second terminal device side corresponding to a second user, and the resource management method includes the following steps:
401. the method comprises the steps that a second terminal device submits a purchase transaction of a second user for a target virtual resource to a target node, the target node is any one of a plurality of nodes included in a block chain network, the purchase transaction enables the target node to call an intelligent contract to lock the target virtual resource, a payment link for the target virtual resource is sent to the second terminal device, and the target virtual resource is a virtual resource to be traded included in a disk hanging transaction submitted to the target node by a first terminal device corresponding to a first user.
Wherein the hanging disc transaction of the second user (i.e. the buyer) can be submitted to any one of the nodes in the blockchain network through the second terminal device, here denoted as the target node.
402. And the second terminal device receives the payment link sent by the target node, wherein the payment link is used for the second user to pay the target virtual resource, so that the target node transfers the target virtual resource from the account of the first user to the account of the second user after the intelligent contract detects that the second user completes payment by using the payment link.
403. And the second terminal equipment receives a notification message that the purchase transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
The specific implementation of steps 401 to 403 may be referred to in the foregoing embodiments, and will not be described herein again.
In the embodiment of the invention, the second terminal device submits the buying transaction of the buyer for the target virtual resource to the target node, the buying transaction enables the target node to call the intelligent contract to lock the target virtual resource, and sends the payment link for the target virtual resource to the second terminal device, the second terminal device receives the payment link, the buyer pays for the target virtual resource through the payment link, so that the target node transfers the target virtual resource from the account of the seller to the account of the buyer after the intelligent contract detects that the buyer completes payment, and the second terminal device receives the notification message of successful buying transaction sent by the target node, so that the buyer can conveniently buy the virtual resource, efficiently complete the transaction of the virtual resource with the seller, and effectively ensure the security.
Embodiments of the present invention further provide a computer storage medium, in which program instructions are stored, and when the program instructions are executed, the computer storage medium is configured to implement the corresponding method described in the above embodiments.
Referring to fig. 5, a schematic structural diagram of a resource management device according to an embodiment of the present invention is shown, where the resource management device according to the embodiment of the present invention is applied to a blockchain network, where the blockchain network includes a plurality of nodes, and the device includes:
an obtaining module 501, configured to obtain a hanging tray transaction submitted by a first user through a first terminal device, where the hanging tray transaction includes a quantity and a price of a target virtual resource to be traded;
the processing module 502 is configured to, if a purchase transaction submitted by a second user for the target virtual resource through a second terminal device is obtained, invoke an intelligent contract to lock the target virtual resource;
a sending module 503, configured to send a payment link for the target virtual resource to the second terminal device;
the processing module 502 is further configured to, after the smart contract detects that the second user completes payment by using the payment link, transfer the target virtual resource from the account of the first user to the account of the second user.
Optionally, the obtaining module 501 is further configured to obtain the virtual resource holding amount of the first user and the virtual resource holding amount of the second user;
the processing module 502 is further configured to create accounts for the first user and the second user, respectively;
the processing module 502 is further configured to bind the virtual resource holding amount of the first user to the account of the first user, and bind the virtual resource holding amount of the second user to the account of the second user.
Optionally, the processing module 502 is further configured to:
and if the intelligent contract detects that the second user does not finish payment by using the payment link within a preset time length, deducting a preset first amount or a preset first proportion of virtual resources from the account of the second user, transferring the virtual resources deducted from the account of the second user to the account of the current node, and unlocking the target virtual resources.
Optionally, the processing module 502 is specifically configured to:
and calling an intelligent contract to deduct the virtual resources with a preset second quantity or a preset second proportion from the account of the second user, and locking the target virtual resources.
Optionally, the processing module 502 is specifically configured to:
generating a transfer transaction of the target virtual resource after the intelligent contract detects that the second user completes payment by using the payment link;
broadcasting a transfer transaction for the target virtual resource to other nodes of the plurality of nodes;
and after the other nodes pass the transfer transaction consensus verification of the target virtual resource, transferring the target virtual resource from the account of the first user to the account of the second user, and writing the transfer transaction of the target virtual resource into a block.
Optionally, the sending module 503 is further configured to send the transfer transaction of the target virtual resource to a virtual resource registration center, so that the virtual resource registration center records that the target virtual resource is transferred from the account of the first user to the account of the second user.
Optionally, the sending module 503 is further configured to broadcast the hanging disc transaction and the buying transaction to other nodes in the plurality of nodes;
the processing module 502 is further configured to write the hanging transaction and the buying transaction into a block after the other nodes verify that the hanging transaction and the buying transaction are identical.
It should be noted that the functions of each functional module of the resource management apparatus in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Referring to fig. 6, a schematic structural diagram of another resource management apparatus according to an embodiment of the present invention is shown, where the resource management apparatus according to the embodiment of the present invention is applied to a first terminal device corresponding to a first user, and the apparatus includes:
a submitting module 601, configured to submit a hanging disk transaction of the first user to a target node, where the target node is any one of multiple nodes included in a blockchain network, the hanging disk transaction includes a number and a price of a target virtual resource to be traded, and the hanging disk transaction enables the target node to call an intelligent contract to lock the target virtual resource and send a payment link for the target virtual resource to a second terminal device when obtaining a purchase transaction submitted by the second user for the target virtual resource through the second terminal device, and transfer the target virtual resource from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
a receiving module 602, configured to receive a notification message that the onboarding transaction is successful, where the notification message is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
It should be noted that the functions of each functional module of the resource management apparatus in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Referring to fig. 7, a schematic structural diagram of another resource management apparatus according to an embodiment of the present invention is shown, where the resource management apparatus according to the embodiment of the present invention is applied to a second terminal device corresponding to a second user, and the apparatus includes:
a submitting module 701, configured to submit a purchase transaction of the second user for a target virtual resource to a target node, where the target node is any one of multiple nodes included in a blockchain network, and the purchase transaction enables the target node to call an intelligent contract to lock the target virtual resource and send a payment link for the target virtual resource to the second terminal device, where the target virtual resource is a virtual resource to be traded in a disk hanging transaction submitted to the target node by a first terminal device corresponding to a first user;
a receiving module 702, configured to receive the payment link sent by the target node, where the payment link is used for the second user to pay for the target virtual resource, so that the target node transfers the target virtual resource from the account of the first user to the account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
the receiving module 702 is further configured to receive a notification message that the buy transaction is successful, where the notification message is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
It should be noted that the functions of each functional module of the resource management apparatus in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Fig. 8 is a schematic structural diagram of a node device according to an embodiment of the present invention, where the node device includes a power supply module and the like, and includes a processor 801, a storage device 802, and a network interface 803. The processor 801, the storage 802, and the network interface 803 may interact with each other.
The storage device 802 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 802 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), or the like; the storage means 802 may also comprise a combination of memories of the kind described above.
The processor 801 may be a Central Processing Unit (CPU) 801. In one embodiment, the processor 801 may also be a Graphics Processing Unit (GPU) 801. The processor 801 may also be a combination of a CPU and a GPU. In one embodiment, the storage 802 is used to store program instructions. The processor 801 may invoke the program instructions to perform the following operations:
acquiring a hanging disc transaction submitted by a first user through first terminal equipment, wherein the hanging disc transaction comprises the quantity and the price of a target virtual resource to be traded;
if the purchase transaction submitted by the second user for the target virtual resource through the second terminal device is obtained, calling an intelligent contract to lock the target virtual resource;
sending a payment link for the target virtual resource to the second terminal device;
and after the intelligent contract detects that the second user completes payment by using the payment link, transferring the target virtual resource from the account of the first user to the account of the second user.
Optionally, the processor 801 is further configured to:
acquiring the virtual resource holding amount of the first user and the virtual resource holding amount of the second user;
creating accounts for the first user and the second user, respectively;
binding the virtual resource holding amount of the first user to the account of the first user, and binding the virtual resource holding amount of the second user to the account of the second user.
Optionally, the processor 801 is further configured to:
and if the intelligent contract detects that the second user does not finish payment by using the payment link within a preset time length, deducting a preset first amount or a preset first proportion of virtual resources from the account of the second user, transferring the virtual resources deducted from the account of the second user to the account of the current node, and unlocking the target virtual resources.
Optionally, the processor 801 is specifically configured to:
and calling an intelligent contract to deduct the virtual resources with a preset second quantity or a preset second proportion from the account of the second user, and locking the target virtual resources.
Optionally, the processor 801 is specifically configured to:
generating a transfer transaction of the target virtual resource after the intelligent contract detects that the second user completes payment by using the payment link;
broadcasting a transfer transaction for the target virtual resource to other nodes of the plurality of nodes;
and after the other nodes pass the transfer transaction consensus verification of the target virtual resource, transferring the target virtual resource from the account of the first user to the account of the second user, and writing the transfer transaction of the target virtual resource into a block.
Optionally, the processor 801 is further configured to send a transfer transaction of the target virtual resource to a virtual resource registration center, so that the virtual resource registration center records that the target virtual resource is transferred from the account of the first user to the account of the second user.
Optionally, the processor 801 is further configured to:
broadcasting the onboarding transaction and the buy transaction to other nodes of the plurality of nodes;
and after the other nodes verify the common identification of the hanging transaction and the buying transaction, writing the hanging transaction and the buying transaction into a block.
In a specific implementation, the processor 801, the storage device 802, and the network interface 803 described in this embodiment of the present invention may execute the implementation described in the related embodiment of the resource management method provided in fig. 2 in this embodiment of the present invention, or may execute the implementation described in the related embodiment of the resource management device provided in fig. 5 in this embodiment of the present invention, which is not described herein again.
Fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, where the terminal device according to the embodiment of the present invention corresponds to the first terminal device described above, and the terminal device includes a power supply module and the like, and includes a processor 901, a storage 902, and a network interface 903. The processor 901, the storage 902, and the network interface 903 may exchange data with each other.
The storage 902 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage 902 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the storage 902 may also comprise a combination of memories of the kind described above.
The processor 901 may be a Central Processing Unit (CPU) 901. In one embodiment, the processor 901 may also be a Graphics Processing Unit (GPU) 901. The processor 901 may also be a combination of a CPU and a GPU. In one embodiment, the storage 902 is used to store program instructions. The processor 901 may call the program instructions to perform the following operations:
submitting a hanging disk transaction of the first user to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the hanging disk transaction comprises the number and the price of a target virtual resource to be transacted, the hanging disk transaction enables the target node to call an intelligent contract to lock the target virtual resource and send a payment link for the target virtual resource to a second terminal device when acquiring a purchase transaction submitted by the second user for the target virtual resource through the second terminal device, and the target virtual resource is transferred from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and receiving a notification message that the hanging disc transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
In a specific implementation, the processor 901, the storage device 902, and the network interface 903 described in this embodiment of the present invention may execute the implementation described in the related embodiment of the resource management method provided in fig. 3 in this embodiment of the present invention, and may also execute the implementation described in the related embodiment of the resource management device provided in fig. 6 in this embodiment of the present invention, which is not described herein again.
Referring to fig. 10, it is a schematic structural diagram of another terminal device according to an embodiment of the present invention, where the terminal device according to the embodiment of the present invention corresponds to the second terminal device described above, and the terminal device includes a power supply module and the like, and includes a processor 1001, a storage device 1002, and a network interface 1003. The processor 1001, the storage device 1002, and the network interface 1003 may exchange data with each other.
The storage 1002 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 1002 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), or the like; the memory device 1002 may also comprise a combination of memories of the kind described above.
The processor 1001 may be a Central Processing Unit (CPU) 1001. In one embodiment, the processor 1001 may also be a Graphics Processing Unit (GPU) 1001. The processor 1001 may also be a combination of a CPU and a GPU. In one embodiment, the storage 1002 is used to store program instructions. The processor 1001 may call the program instructions to perform the following operations:
submitting a purchase transaction of a second user for a target virtual resource to a target node, wherein the target node is any one of a plurality of nodes included in a block chain network, the purchase transaction enables the target node to call an intelligent contract to lock the target virtual resource and sends a payment link for the target virtual resource to the second terminal device, and the target virtual resource is a virtual resource to be traded included in a disk hanging transaction submitted to the target node by a first terminal device corresponding to a first user;
receiving the payment link sent by the target node, wherein the payment link is used for the second user to pay the target virtual resource, so that the target node transfers the target virtual resource from the account of the first user to the account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and receiving a notification message that the purchase transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
In a specific implementation, the processor 1001, the storage device 1002, and the network interface 1003 described in this embodiment of the present invention may execute the implementation described in the related embodiment of the resource management method provided in fig. 4 in this embodiment of the present invention, or may execute the implementation described in the related embodiment of the resource management device provided in fig. 7 in this embodiment of the present invention, which is not described herein again.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute all or part of the steps of the above-described method according to the embodiments of the present invention. The storage medium may include: a U-disk, a removable hard disk, a magnetic disk, an optical disk, a Read-Only Memory (ROM) or a Random Access Memory (RAM), and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for resource management, applied to a blockchain network, the blockchain network comprising a plurality of nodes, the method comprising:
acquiring a hanging disc transaction submitted by a first user through first terminal equipment, wherein the hanging disc transaction comprises the quantity and the price of a target virtual resource to be traded;
if the purchase transaction submitted by a second user for the target virtual resource through second terminal equipment is obtained, calling an intelligent contract to lock the target virtual resource, and sending a payment link for the target virtual resource to the second terminal equipment;
and after the intelligent contract detects that the second user completes payment by using the payment link, transferring the target virtual resource from the account of the first user to the account of the second user.
2. The method of claim 1, wherein prior to obtaining the onboarding transaction submitted by the first user via the first terminal device, the method further comprises:
acquiring the virtual resource holding amount of the first user and the virtual resource holding amount of the second user;
creating accounts for the first user and the second user, respectively;
binding the virtual resource holding amount of the first user to the account of the first user, and binding the virtual resource holding amount of the second user to the account of the second user.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and if the intelligent contract detects that the second user does not finish payment by using the payment link within a preset time length, deducting a preset first amount or a preset first proportion of virtual resources from the account of the second user, transferring the virtual resources deducted from the account of the second user to the account of the current node, and unlocking the target virtual resources.
4. The method of claim 1, wherein invoking the smart contract to lock the target virtual resource comprises:
and calling an intelligent contract to deduct the virtual resources with a preset second quantity or a preset second proportion from the account of the second user, and locking the target virtual resources.
5. The method of claim 1, wherein the transferring the target virtual resource from the account of the first user to the account of the second user after the smart contract detects that the second user completes payment using the payment link comprises:
generating a transfer transaction of the target virtual resource after the intelligent contract detects that the second user completes payment by using the payment link;
broadcasting a transfer transaction for the target virtual resource to other nodes of the plurality of nodes;
and after the other nodes pass the transfer transaction consensus verification of the target virtual resource, transferring the target virtual resource from the account of the first user to the account of the second user, and writing the transfer transaction of the target virtual resource into a block.
6. The method of claim 5, further comprising:
sending a transfer transaction of the target virtual resource to a virtual resource registry to cause the virtual resource registry to record the transfer of the target virtual resource from the account of the first user to the account of the second user.
7. The method of claim 1, further comprising:
broadcasting the onboarding transaction and the buy transaction to other nodes of the plurality of nodes;
and after the other nodes verify the common identification of the hanging transaction and the buying transaction, writing the hanging transaction and the buying transaction into a block.
8. A resource management method is applied to a first terminal device corresponding to a first user, and the method comprises the following steps:
submitting a hanging disk transaction of the first user to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the hanging disk transaction comprises the number and the price of a target virtual resource to be transacted, the hanging disk transaction enables the target node to call an intelligent contract to lock the target virtual resource and send a payment link for the target virtual resource to a second terminal device when acquiring a purchase transaction submitted by the second user for the target virtual resource through the second terminal device, and the target virtual resource is transferred from an account of the first user to an account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and receiving a notification message that the hanging disc transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
9. A resource management method is applied to a second terminal device corresponding to a second user, and the method comprises the following steps:
submitting a purchase transaction of a second user for a target virtual resource to a target node, wherein the target node is any one of a plurality of nodes included in a block chain network, the purchase transaction enables the target node to call an intelligent contract to lock the target virtual resource and sends a payment link for the target virtual resource to the second terminal device, and the target virtual resource is a virtual resource to be traded included in a disk hanging transaction submitted to the target node by a first terminal device corresponding to a first user;
receiving the payment link sent by the target node, wherein the payment link is used for the second user to pay the target virtual resource, so that the target node transfers the target virtual resource from the account of the first user to the account of the second user after the intelligent contract detects that the second user completes payment by using the payment link;
and receiving a notification message that the purchase transaction is successful, which is sent by the target node after the target virtual resource is transferred from the account of the first user to the account of the second user.
10. A resource management apparatus, characterized in that the apparatus comprises means for performing the resource management method of any one of claims 1 to 7 or the resource management method of claim 8 or the resource management method of claim 9.
CN201910922622.2A 2019-09-27 2019-09-27 Resource management method and device Active CN110599182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910922622.2A CN110599182B (en) 2019-09-27 2019-09-27 Resource management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910922622.2A CN110599182B (en) 2019-09-27 2019-09-27 Resource management method and device

Publications (2)

Publication Number Publication Date
CN110599182A true CN110599182A (en) 2019-12-20
CN110599182B CN110599182B (en) 2023-08-22

Family

ID=68864023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910922622.2A Active CN110599182B (en) 2019-09-27 2019-09-27 Resource management method and device

Country Status (1)

Country Link
CN (1) CN110599182B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369237A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium
CN111506932A (en) * 2020-06-18 2020-08-07 海南安迈云网络技术有限公司 Block chain calculation uplink implementation method
CN111626857A (en) * 2020-05-28 2020-09-04 中国建设银行股份有限公司 Revenue issuing method and device, electronic equipment and computer readable storage medium
CN112016921A (en) * 2020-03-03 2020-12-01 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN112101919A (en) * 2020-09-16 2020-12-18 财付通支付科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112734411A (en) * 2021-01-12 2021-04-30 杭州趣链科技有限公司 Transaction method, device, equipment and storage medium based on block chain
CN113191754A (en) * 2021-04-26 2021-07-30 飞呗科技有限公司 Game equipment transaction method, device, equipment and system based on block chain
WO2021189629A1 (en) * 2020-03-24 2021-09-30 国网电子商务有限公司 Blockchain-based green power certificate transaction method and apparatus, and storage medium
CN115456778A (en) * 2022-09-01 2022-12-09 中信建投证券股份有限公司 Bond block chain updating method and device
CN115827254A (en) * 2023-02-09 2023-03-21 中国证券登记结算有限责任公司 Resource processing method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927659A (en) * 2014-04-18 2014-07-16 刘志望 Immediate transfer and secure payment method of virtual currency
CN108074081A (en) * 2017-12-08 2018-05-25 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108389046A (en) * 2018-02-07 2018-08-10 西安交通大学 Secret protection method of commerce based on block chain technology in a kind of e-commerce
CN109345259A (en) * 2018-09-29 2019-02-15 腾讯科技(深圳)有限公司 Virtual resource transfer method, device, medium and electronic equipment based on block chain
CN109636362A (en) * 2018-11-14 2019-04-16 深圳前海达闼云端智能科技有限公司 Virtual asset transaction method and device and block chain network node
CN110135989A (en) * 2019-04-26 2019-08-16 深圳市元征科技股份有限公司 A kind of virtual resource transfer method and block chain node device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927659A (en) * 2014-04-18 2014-07-16 刘志望 Immediate transfer and secure payment method of virtual currency
CN108074081A (en) * 2017-12-08 2018-05-25 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108389046A (en) * 2018-02-07 2018-08-10 西安交通大学 Secret protection method of commerce based on block chain technology in a kind of e-commerce
CN109345259A (en) * 2018-09-29 2019-02-15 腾讯科技(深圳)有限公司 Virtual resource transfer method, device, medium and electronic equipment based on block chain
CN109636362A (en) * 2018-11-14 2019-04-16 深圳前海达闼云端智能科技有限公司 Virtual asset transaction method and device and block chain network node
CN110135989A (en) * 2019-04-26 2019-08-16 深圳市元征科技股份有限公司 A kind of virtual resource transfer method and block chain node device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369237A (en) * 2020-02-28 2020-07-03 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium
CN112016921A (en) * 2020-03-03 2020-12-01 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
WO2021189629A1 (en) * 2020-03-24 2021-09-30 国网电子商务有限公司 Blockchain-based green power certificate transaction method and apparatus, and storage medium
CN111626857A (en) * 2020-05-28 2020-09-04 中国建设银行股份有限公司 Revenue issuing method and device, electronic equipment and computer readable storage medium
CN111506932A (en) * 2020-06-18 2020-08-07 海南安迈云网络技术有限公司 Block chain calculation uplink implementation method
CN112101919A (en) * 2020-09-16 2020-12-18 财付通支付科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112101919B (en) * 2020-09-16 2024-04-12 财付通支付科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112734411A (en) * 2021-01-12 2021-04-30 杭州趣链科技有限公司 Transaction method, device, equipment and storage medium based on block chain
CN113191754A (en) * 2021-04-26 2021-07-30 飞呗科技有限公司 Game equipment transaction method, device, equipment and system based on block chain
CN115456778A (en) * 2022-09-01 2022-12-09 中信建投证券股份有限公司 Bond block chain updating method and device
CN115456778B (en) * 2022-09-01 2024-02-02 中信建投证券股份有限公司 Bond block chain updating method and device
CN115827254A (en) * 2023-02-09 2023-03-21 中国证券登记结算有限责任公司 Resource processing method, device and system

Also Published As

Publication number Publication date
CN110599182B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN110599182B (en) Resource management method and device
JP7385706B2 (en) Method of distributing digital assets registered on blockchain and autonomous computing agent
US20210166203A1 (en) System and process for tokenization of digital media
US20220230175A1 (en) Method to be executed by computer system, and computer system
TW202026997A (en) Blockchain-based product purchase method and apparatus
CN110599323B (en) Resource processing method and processing equipment
KR20200062640A (en) Method for managing artwork transaction inforamtion based on blockchain and node apparatus of blockchain
CN110659993A (en) Resource management method and device based on block chain network
EP3937110A1 (en) Intellectual property right trade system using blockchain, and operating method therefor
KR102343615B1 (en) Block chain system for transacting art work and managing information of art work and control method thereof
WO2019227609A1 (en) Blockchain-based smart stock purchase method, device, apparatus and storage medium
CN112200568B (en) Block chain based account creation method and device and electronic equipment
CN109726249B (en) Decentralized chip research and development transaction data storage method and system
CN109903159A (en) Domain name method of commerce and device based on block chain
CN110738471A (en) bill management method based on block chain network and related equipment
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
WO2018192931A1 (en) Delivery versus payment mechanism
CN111311277B (en) Bill processing method and device based on block chain network and related equipment
KR102136976B1 (en) Service method for tokenization mobile gift card and service provider thereof
CN115131034A (en) Block chain-based rights and interests digital collection verification method and equipment
JP7340336B2 (en) Virtual currency distribution system
CN108876339B (en) E-pet transaction method and device based on certificate
WO2023201359A2 (en) Method, controller, and computer readable medium for detecting expiration of a unique cryptographic identifier on a distributed transfer network
CN110852891B (en) Data processing method and device based on rolling stock and readable storage medium
KR20220066786A (en) Real asset investment method

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