CN110659993A - Resource management method and device based on block chain network - Google Patents

Resource management method and device based on block chain network Download PDF

Info

Publication number
CN110659993A
CN110659993A CN201910923040.6A CN201910923040A CN110659993A CN 110659993 A CN110659993 A CN 110659993A CN 201910923040 A CN201910923040 A CN 201910923040A CN 110659993 A CN110659993 A CN 110659993A
Authority
CN
China
Prior art keywords
virtual resource
node
target
user
issuing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910923040.6A
Other languages
Chinese (zh)
Inventor
李茂材
王宗友
蓝虎
周开班
朱耿良
时一防
杨常青
黄焕坤
刘区城
陈秋平
刘攀
孔利
张劲松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910923040.6A priority Critical patent/CN110659993A/en
Publication of CN110659993A publication Critical patent/CN110659993A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Abstract

The embodiment of the invention provides a resource management method and a device based on a block chain network, wherein the method comprises the following steps: the method comprises the steps that a node receives a virtual resource issuing request sent by an issuer through first terminal equipment, wherein the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan; the node generates a virtual resource issuance transaction according to the characteristic information of the issuer and the virtual resource issuance plan, and broadcasts the virtual resource issuance transaction to other nodes in a plurality of nodes included in the blockchain network; and after the other nodes pass the verification of the virtual resource issue transaction consensus, the node writes the virtual resource issue transaction into the block to complete the issue of the virtual resource, so that the virtual resource can be issued conveniently and efficiently through the block chain, and the data security is effectively ensured.

Description

Resource management method and device based on block chain network
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a resource management method and apparatus based on a blockchain network.
Background
At present, when virtual resources such as bonds and the like are issued, the disadvantages of complex flow, low efficiency and risk of data leakage generally exist, and taking bonds as an example, an issuing program generally includes: selecting a main principal to agree with a release plan by a bond issuer, and signing an agreement; the issuer of the main principal applies for credit worthiness rating, and the administrative department applies for approving the marketing and issuing of bond; the primary delegate arranges for a registration agent, payment agent, subscription agent, the issuer to enter into an agreement with the registration agent, payment agent, subscription agent, etc. Therefore, how to provide a convenient, efficient and safe virtual resource issuing scheme becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a resource management method and device based on a block chain network, which can conveniently and efficiently issue virtual resources through a block chain and effectively ensure data security.
In a first aspect, an embodiment of the present invention provides a resource management method based on a blockchain network, where the blockchain network includes a plurality of nodes, and the method includes:
a node receives a virtual resource issuing request sent by an issuer through first terminal equipment, wherein the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan, and the node is any one of a plurality of nodes;
the node generates a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan, and broadcasts the virtual resource issuing transaction to other nodes in the plurality of nodes;
and after the other nodes pass the consensus verification of the virtual resource issuance transaction, the node writes the virtual resource issuance transaction into a block so as to complete the issuance of the virtual resource.
In a second aspect, an embodiment of the present invention provides a resource management method based on a blockchain network, which is applied to a first terminal device corresponding to an issuer, and the method includes:
sending a virtual resource issuing request to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the virtual resource issuing request carries characteristic information of an issuer and a virtual resource issuing plan, the virtual resource issuing request is used for indicating the target node to generate a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan, and after other nodes in the plurality of nodes pass the consensus verification of the virtual resource issuing transaction, the virtual resource issuing transaction is written into a block to complete the issuing of a virtual resource;
and receiving a notification message of successful virtual resource issuance, which is sent by the target node after the virtual resource issuance transaction is written into the block.
In a third aspect, an embodiment of the present invention provides a resource management method based on a block chain network, which is applied to a second terminal device corresponding to a user, and the method includes:
submitting a virtual resource acquisition request of a user to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the virtual resource acquisition request carries a virtual resource quantity, and the virtual resource acquisition request is used for indicating the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity and generate a payment link aiming at the target virtual resource;
receiving the payment link sent by the target node, wherein the payment link is used for the user to pay the target virtual resource, so that the target node transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link;
and receiving a notification message that the virtual resource acquisition is successful, which is sent by the target node after the target virtual resource is transferred to the account of the 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 a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a virtual resource issuing request sent by an issuer through first terminal equipment, and the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan;
the generating module is used for generating virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan;
a sending module for broadcasting the virtual resource issuance transaction to other nodes of the plurality of nodes;
and the writing module is used for writing the virtual resource issuance transaction into a block to complete issuance of the virtual resource after the other nodes pass the verification of the virtual resource issuance transaction consensus.
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 an issuer, and the apparatus includes:
a sending module, configured to send a virtual resource issuance request to a target node, where the target node is any one of the multiple nodes, the virtual resource issuance request carries characteristic information of an issuer and a virtual resource issuance plan, and the virtual resource issuance request is used to instruct the target node to generate a virtual resource issuance transaction according to the characteristic information of the issuer and the virtual resource issuance plan, and write the virtual resource issuance transaction into a block after verification of consensus of other nodes of the multiple nodes on the virtual resource issuance transaction is passed, so as to complete issuance of a virtual resource;
and the receiving module is used for receiving a notification message that the virtual resource is successfully issued, which is sent by the target node after the virtual resource issue transaction is written into the block.
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 user, and the apparatus includes:
the system comprises a submitting module, a selecting module and a sending module, wherein the submitting module is used for submitting a virtual resource obtaining request of a user to a target node, the target node is any one of a plurality of nodes included in a block chain network, the virtual resource obtaining request carries a virtual resource quantity, and the virtual resource obtaining request is used for indicating the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity and generate a payment link aiming at the target virtual resource;
a receiving module, configured to receive the payment link sent by the target node, where the payment link is used for the user to pay for the target virtual resource, so that the target node transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment using the payment link;
the receiving module is further configured to receive a notification message that the virtual resource acquisition is successful, where the notification message is sent by the target node after the target virtual resource is transferred to the account of the 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 invoke the program instructions to execute the method for resource management based on a blockchain network 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 based on the blockchain network 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 in the computer storage medium, and when the program instructions are executed, the computer storage medium is configured to implement the resource management method based on a blockchain network according to the first aspect, the second aspect, or the third aspect.
In the embodiment of the invention, the node can receive the virtual resource issuing request sent by the issuer through the terminal equipment, the virtual resource issuing request carries the characteristic information and the virtual resource issuing plan of the issuer, and can generate a virtual resource issuing transaction for the characteristic information and the virtual resource issuing plan of the issuer, then the node broadcasts the virtual resource issuing transaction to other nodes in the block chain network, and after the other nodes pass the consensus verification of the virtual resource issuing transaction, the node writes the virtual resource issuing transaction into a block to complete the issuing of the virtual resource, so that the issuing of the virtual resource can be conveniently and efficiently realized in an asset issuing uplink mode, the issuing record is not falsified, and the safety is effectively ensured.
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 issuance and bond subscription according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a resource management method based on a blockchain network according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another resource management method based on a blockchain network according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a resource management method based on a blockchain network according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a resource management method based on a blockchain network according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a 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 another resource management apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a node device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 11 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 complicated flow, poor safety and the like commonly existing in virtual resources such as bond issuing at present, the embodiment of the invention provides a resource management method based on a block chain network, which can conveniently and efficiently issue the virtual resources through the block chain and effectively ensure the data 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 service request to a node, obtain data from a node, and so on. 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 certain node 101 of the blockchain network may receive a virtual resource issuance request sent by an issuer through the first terminal device 102, where the virtual resource issuance request carries characteristic information of the issuer and a virtual resource issuance plan, the certain node 101 generates a virtual resource issuance transaction according to the characteristic information of the issuer and the virtual resource issuance plan, and broadcasts the virtual resource issuance transaction to other nodes in the blockchain network, and the certain node 101 writes the virtual resource issuance transaction into a block after the other nodes verify the consensus of the virtual resource issuance transaction, so as to complete issuance of a virtual resource, thereby enabling the virtual resource to be issued conveniently and efficiently through the blockchain, and effectively ensuring security.
In some feasible embodiments, a certain node 101 of the block chain network may obtain a virtual resource obtaining request submitted by a user through a second terminal device 103, where the virtual resource obtaining request carries a virtual resource quantity, the certain node 101 invokes an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity, and sends a payment link for the target virtual resource to the second terminal device 103, and detects a payment state of the user by using the intelligent contract, and the certain node 101 transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link, so that the user can conveniently and safely subscribe the issued virtual resource through the block chain, and the validity of a subscription behavior is ensured.
In some possible implementations, taking the virtual resource as a bond as an example, referring to fig. 1d, a basic business process of bond issuance and bond subscription provided by an embodiment of the present invention specifically includes: the issuer issues the bond assets to chain, the block chain network writes the issued bond assets into blocks in the block chain, after the subscription is opened, the user (i.e. the subscriber) subscribes the bond assets on the chain of the issuer through the block chain network, the block chain network writes the records of the bond assets subscribed by the user into blocks in the block chain, and sends the subscription records of the bond assets to the 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 based on a blockchain network provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, where the resource management method based on a blockchain network according to an embodiment of the present invention is mainly described from a node side, the blockchain network includes a plurality of nodes, and the resource management method based on a blockchain network includes the following steps:
201. the node receives a virtual resource issuing request sent by an issuer through first terminal equipment, wherein the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan.
The issuer may be an issuer of an enterprise, a country, or the like, the virtual resource may specifically include securities such as bonds, and the node may be any one of a plurality of nodes included in the block chain network.
Specifically, when the issuer needs to issue the virtual resource, the first terminal device may be accessed to the blockchain network, a node in the blockchain network may receive a virtual resource issuance request sent by the issuer through the first terminal device, and the virtual resource issuance request carries characteristic information of the issuer and a virtual resource issuance plan, where the characteristic information of the issuer may include data capable of reflecting credit and reimbursement capability of the issuer, such as name of the issuer, taxpayer identification number, business data and financial data, and the virtual resource issuance plan may include an issuance total, unit price, number of sheets, and reimbursement period.
202. The node generates a virtual resource issuance transaction according to the issuer characteristic information and the virtual resource issuance plan, and broadcasts the virtual resource issuance transaction to other nodes of the plurality of nodes.
Specifically, after receiving a virtual resource issuance request sent by a first terminal device, a node may generate a transaction (denoted as a virtual resource issuance transaction) according to the characteristic information of an issuer and a virtual resource issuance plan carried in the virtual resource issuance request, and broadcast the virtual resource issuance transaction to other nodes in the blockchain network for verification, where the virtual resource issuance transaction may specifically include the following data: the name of the issuer, the type of the virtual resource, the total amount of issuance, unit price, number of sheets, repayment period, subscription channel, etc.
203. And after the other nodes pass the verification of the consensus of the virtual resource issuance transaction, the node writes the virtual resource issuance transaction into a block so as to complete the issuance of the virtual resource.
Specifically, after the consensus algorithm is used by other nodes to verify the consensus of the virtual resource issuance transaction, the node may write the virtual resource issuance transaction into the block, broadcast the block to other nodes in the block chain network, and add the block into its own account book after the other nodes verify that the block is legal, thereby completing issuance of the virtual resource.
In some possible embodiments, after receiving the virtual resource issuance request, the node may review the virtual resource issuance request, which may specifically include: the node calls an intelligent contract to check the virtual resource issuing request, wherein the intelligent contract indicates the issuing condition of the virtual resource, when the checking result of the intelligent contract indicates that the characteristic information of the issuer and the virtual resource issuing plan meet the issuing condition, the node can generate a virtual resource issuing transaction for the characteristic information of the issuer and the virtual resource issuing plan, and the check of the virtual resource issuing request can effectively avoid the issuing of low-quality virtual resource and ensure the reliability of the issued virtual resource. Wherein the intelligent contract may be run on a virtual machine of each of a plurality of nodes included in the blockchain network.
In the embodiment of the invention, the node can receive the virtual resource issuing request sent by the issuer through the terminal equipment, the virtual resource issuing request carries the characteristic information and the virtual resource issuing plan of the issuer, and can generate a virtual resource issuing transaction for the characteristic information and the virtual resource issuing plan of the issuer, then the virtual resource issuing transaction is broadcasted to other nodes in the block chain network, and after the other nodes pass the consensus verification of the virtual resource issuing transaction, the node writes the virtual resource issuing transaction into the block to complete the issuing of the virtual resource, so that the issuing of the virtual resource can be conveniently and efficiently realized in an asset issuing uplink mode, the issuing record can not be tampered, and the safety can be effectively ensured.
Please refer to fig. 3, which is a flowchart illustrating another resource management method based on a blockchain network provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, where the resource management method based on a blockchain network according to an embodiment of the present invention is mainly described from a node side, the blockchain network includes a plurality of nodes, and the resource management method based on a blockchain network includes the following steps:
301. the node receives a virtual resource issuing request sent by an issuer through first terminal equipment, wherein the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan.
302. The node generates a virtual resource issuance transaction according to the issuer characteristic information and the virtual resource issuance plan, and broadcasts the virtual resource issuance transaction to other nodes of the plurality of nodes.
303. And after the other nodes pass the verification of the consensus of the virtual resource issuance transaction, the node writes the virtual resource issuance transaction into a block so as to complete the issuance of the virtual resource.
The specific implementation of steps 301 to 303 can be referred to the specific description of steps 201 to 203 in the foregoing embodiments, and will not be described herein again.
304. And the node acquires a virtual resource acquisition request submitted by a user through the second terminal equipment, wherein the virtual resource acquisition request carries the number of the virtual resources.
Specifically, after the virtual resource of the issuer is issued in uplink, the user (i.e., the subscriber) may subscribe to the issued virtual resource, access the second terminal device to the blockchain network, and obtain, by a node in the blockchain network, a virtual resource obtaining request submitted by the user through the second terminal device, where the virtual resource obtaining request carries a virtual resource quantity, which is a virtual resource quantity that the user wants to subscribe to, and takes a bond as an example, and the virtual resource quantity may specifically refer to the number of bonds or the value of the bond.
It should be noted that the node receiving the virtual resource acquisition request and the node receiving the virtual resource issuance request may be the same node in the blockchain network or different nodes in the blockchain network, and the embodiment of the present invention is not limited thereto.
305. And the node calls an intelligent contract to lock the target virtual resources corresponding to the virtual resource quantity, and sends a payment link aiming at the target virtual resources to the second terminal equipment.
Specifically, after the user submits the virtual resource acquisition request, the node locks the target virtual resource matched with the amount of the virtual resource that the user wants to subscribe to by using the intelligent contract, generates a payment link for the target virtual resource, and then sends the payment link to the second terminal device, wherein the payment link is used for the user to pay for subscribing to the target virtual resource.
306. And after the intelligent contract detects that the user completes payment by using the payment link, the node transfers the target virtual resource to the account of the user.
Specifically, the second terminal device may display the payment link, the 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 user, and when a payment success notification returned by the payment platform is detected, the user is confirmed to complete payment, and the target virtual resource is transferred to an account of the user, so as to complete subscription of the virtual resource, where the account of the user is a block chain account registered by the user in advance.
In some possible embodiments, the virtual resource acquisition request submitted by the second terminal device further carries a commission amount, that is, a fee that the user is willing to pay in addition to preferentially subscribe to the virtual resource, and the specific way for the node to invoke the intelligent contract to lock the target virtual resource corresponding to the virtual resource quantity may be: the node acquires the submission time and the commission amount of the virtual resource acquisition request, and then determines the locking priority of the user on the target virtual resource by calling an intelligent contract according to the submission time and the commission amount, wherein the earlier the submission time is, the higher the commission amount willing to be paid additionally is, the higher the locking priority on the target virtual resource is, which means that the target virtual resource can be subscribed preferentially, so that the node locks the target virtual resource by calling the intelligent contract according to the determined locking priority.
In some possible embodiments, after the node sends the payment link for the target virtual resource to the second terminal device, the node may invoke a smart contract to detect a payment status of the user for making a payment by using the payment link, if the payment status indicates that the payment is not completed within a preset time (e.g., 15 minutes or 30 minutes), the node may deduct a preset amount or a preset proportion of the virtual resource from an account of the user, transfer the deducted virtual resource to the account of the current node as a reward for providing computing power to the node, and unlock the target virtual resource, and it is seen that if the user does not pay for a timeout while subscribing the virtual resource, the node may automatically deduct a part of the commission charge from the account of the user as the reward.
In some possible embodiments, after the intelligent contract detects that the user completes payment by using the payment link, the specific implementation manner of the node transferring the target virtual resource to the account of the user may be: after the intelligent contract detects that the user completes payment by using the payment link, a transaction (marked as a transfer transaction of the target virtual resource) is generated, where the transfer transaction of the target virtual resource may specifically include the following data: the method comprises the steps that an account address of a user (namely a subscriber), the number of target virtual resources, paid subscription fees, commission amount, transfer time and the like are broadcasted to other nodes in a block chain network for verification, the target virtual resources are transferred to the account of the user after the other nodes verify the transfer transaction consensus of the target virtual resources, the transfer transaction of the target virtual resources is written into a block, the block needs to be broadcasted to other nodes in the block chain network, and the block is added into an account book of the user after the other nodes verify the validity of the block, so that the transfer of the virtual resources is completed, the subscription of the virtual resources by the user is realized, and the uplink and the non-tampering of the subscription record are realized.
In some possible embodiments, after the node transfers the target virtual resource to the account of the 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 information such as that the target virtual resource has been subscribed, a corresponding subscriber, subscription time, and the like, so that the subscription record is also recorded at a position other than the blockchain, thereby facilitating subsequent verification of the user subscription record.
In the embodiment of the present invention, a node may receive a virtual resource issuance request sent by an issuer through a first terminal device, where the virtual resource issuance request carries characteristic information and a virtual resource issuance plan of the issuer, and may generate a virtual resource issuance transaction for the characteristic information and the virtual resource issuance plan of the issuer, and then broadcast the virtual resource issuance transaction to other nodes in a block chain network, and after the other nodes verify the consensus of the virtual resource issuance transaction, the node writes the virtual resource issuance transaction into a block to complete issuance of a virtual resource, further, the node may further obtain a virtual resource acquisition request submitted by a user through a second terminal device, where the virtual resource acquisition request carries the number of virtual resources, and locks a target virtual resource corresponding to the number of virtual resources by invoking an intelligent contract, and sending a payment link to the second terminal device, and transferring the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link, so that the virtual resource is issued conveniently and efficiently by an asset issuing uplink mode, the user can perform quick subscription on the virtual resource through the block link, and issue records and subscribe records uplink, so that data cannot be tampered, and the safety is effectively ensured.
Please refer to fig. 4, which is a flowchart illustrating a resource management method based on a blockchain network provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, where the resource management method based on a blockchain network according to an embodiment of the present invention is mainly described from a first terminal device side corresponding to an issuer, the blockchain network includes a plurality of nodes, and the resource management method based on a blockchain network includes the following steps:
401. the method comprises the steps that a first terminal device sends a virtual resource issuing request to a target node, the target node is any one of a plurality of nodes, the virtual resource issuing request carries characteristic information of an issuer and a virtual resource issuing plan, the virtual resource issuing request is used for indicating the target node to generate a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan, and after other nodes in the plurality of nodes verify the consensus of the virtual resource issuing transaction, the virtual resource issuing transaction is written into a block to complete issuing of the virtual resource.
The virtual resource issuance request of the issuer may be submitted to any node in the blockchain network through the first terminal device, and is referred to as a target node here.
402. And the first terminal equipment receives a notification message of successful virtual resource issuance, which is sent by the target node after the virtual resource issuance transaction is written into the block.
The specific implementation of steps 401 and 402 may participate in the specific description in the foregoing embodiments, and is not described here again.
In the embodiment of the invention, the issuer can send the virtual resource issuing request to the target node through the terminal equipment, the virtual resource issuing request carries the characteristic information of the issuer and the virtual resource issuing plan, the virtual resource issuance request instructs the target node to generate a virtual resource issuance transaction based on the issuer characteristic information and the virtual resource issuance plan, and writes the virtual resource issuance transaction into the block after the other node passes the verification of the virtual resource issuance transaction consensus, to complete the issuance of the virtual resource, the first terminal device receives the notification message that the virtual resource issuance was successful and sent by the target node after writing the virtual resource issuance transaction into the tile, therefore, the issuer can conveniently and efficiently realize the issuance of the virtual resource in the mode of the asset issuance uplink, and the issuance record is not falsifiable, thereby effectively ensuring the security.
Fig. 5 is a schematic flow chart of a resource management method based on a blockchain network provided by the resource management system shown in fig. 1a according to an embodiment of the present invention, where the resource management method based on a blockchain network according to an embodiment of the present invention is mainly described from a second terminal device side corresponding to a user, the blockchain network includes a plurality of nodes, and the resource management method based on a blockchain network includes the following steps:
501. the second terminal device submits a virtual resource acquisition request of a user to a target node, wherein the target node is any one of the plurality of nodes, the virtual resource acquisition request carries a virtual resource quantity, and the virtual resource acquisition request is used for indicating the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity and generate a payment link aiming at the target virtual resource.
The virtual resource obtaining request of the user (i.e. the subscriber) may be submitted to any node in the blockchain network through the second terminal device, which is herein denoted as a target node.
502. And the second terminal equipment receives the payment link sent by the target node, wherein the payment link is used for the user to pay the target virtual resource, so that the target node transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link.
503. And the second terminal equipment receives a notification message that the virtual resource acquisition is successful, which is sent by the target node after the target virtual resource is transferred to the account of the user.
The specific implementation of steps 501 to 503 may be referred to in the foregoing embodiments, and will not be described herein again.
In the embodiment of the invention, a user who wants to subscribe can submit a virtual resource acquisition request to a target node through a terminal device, the virtual resource acquisition request carries a virtual resource quantity, the virtual resource acquisition request is used for indicating the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity and generate a payment link aiming at the target virtual resource, the terminal device receives the payment link sent by the target node, the payment link is used for the user to pay for the target virtual resource, after the user finishes payment by using the payment link, the target node transfers the target virtual resource to an account of the user, the terminal device receives a notification message that the virtual resource acquisition is successful, which is sent by the target node after transferring the target virtual resource to the account of the user, so that the user can quickly subscribe the virtual resource through a block chain, and the uplink is subscribed and recorded, so that the data cannot be tampered, and the safety is effectively ensured.
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. 6, 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:
a receiving module 601, configured to receive a virtual resource issuing request sent by an issuer through a first terminal device, where the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan;
a generating module 602, configured to generate a virtual resource issuance transaction according to the characteristic information of the issuer and the virtual resource issuance plan;
a sending module 603, configured to broadcast the virtual resource issuance transaction to other nodes in the plurality of nodes;
the writing module 604 is configured to write the virtual resource issuance transaction into a block after the other node passes the verification of the virtual resource issuance transaction consensus, so as to complete issuance of the virtual resource.
Optionally, the apparatus further comprises a processing module 605, wherein:
the processing module 605 is configured to invoke an intelligent contract to review the virtual resource issuance request, where the intelligent contract indicates issuance conditions of a virtual resource, and the intelligent contract runs on a virtual machine of each of the plurality of nodes;
the processing module 605 is further configured to trigger the generating module 602 to generate a virtual resource issuance transaction according to the feature information of the issuer and the virtual resource issuance plan when the review result indicates that the feature information of the issuer and the virtual resource issuance plan satisfy the issuance condition.
Optionally, the receiving module 601 is further configured to obtain a virtual resource obtaining request submitted by a user through a second terminal device, where the virtual resource obtaining request carries a virtual resource quantity;
the processing module 605 is further configured to invoke an intelligent contract to lock the target virtual resource corresponding to the number of the virtual resources;
the sending module 603 is further configured to send a payment link for the target virtual resource to the second terminal device;
the processing module 605 is further configured to transfer the target virtual resource to an account of the user after the smart contract detects that the user completes payment by using the payment link.
Optionally, the virtual resource obtaining request further carries a commission amount, and the processing module 605 is specifically configured to:
acquiring the submission time of the virtual resource acquisition request and the commission amount;
according to the submission time and the commission amount, determining the locking priority of the user on the target virtual resource corresponding to the virtual resource quantity by calling an intelligent contract;
and calling the intelligent contract to lock the target virtual resource according to the locking priority.
Optionally, the processing module 605 is further configured to invoke the smart contract to detect a payment status of the user for making a payment by using the payment link;
the processing module 605 is further configured to, if the payment status indicates that payment is not completed within a preset duration, deduct a preset number of virtual resources or a preset proportion of virtual resources from the account of the user, transfer the preset number of virtual resources or the preset proportion of virtual resources deducted from the account of the user to the account of the current node, and unlock the target virtual resources.
Optionally, the processing module 605 is specifically configured to:
generating a transfer transaction of the target virtual resource after the intelligent contract detects that the user completes payment by using the payment link;
broadcasting the transfer transaction of the target virtual resource to the other nodes;
and after the other nodes pass the transfer transaction consensus verification of the target virtual resource, transferring the target virtual resource to the account of the user, and writing the transfer transaction of the target virtual resource into a block.
Optionally, the sending module 603 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 the transfer transaction of the target virtual resource.
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 first terminal device corresponding to an issuer, and the apparatus includes:
a sending module 701, configured to send a virtual resource issuance request to a target node, where the target node is any one of the multiple nodes, the virtual resource issuance request carries characteristic information of an issuer and a virtual resource issuance plan, and the virtual resource issuance request is used to instruct the target node to generate a virtual resource issuance transaction according to the characteristic information of the issuer and the virtual resource issuance plan, and write the virtual resource issuance transaction into a block after verification of consensus of other nodes of the multiple nodes on the virtual resource issuance transaction is passed, so as to complete issuance of a virtual resource;
a receiving module 702, configured to receive a notification message that the virtual resource issuance transaction is successfully issued after being written into a block by the target node.
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.
Please refer to fig. 8, which is a schematic structural diagram of another resource management apparatus according to an embodiment of the present invention, where the resource management apparatus according to the embodiment of the present invention is applied to a second terminal device corresponding to a user, and the apparatus includes:
a submitting module 801, configured to submit a virtual resource obtaining request of a user to a target node, where the target node is any one of multiple nodes included in a blockchain network, the virtual resource obtaining request carries a virtual resource quantity, and the virtual resource obtaining request is used to instruct the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity, and generate a payment link for the target virtual resource;
a receiving module 802, configured to receive the payment link sent by the target node, where the payment link is used for the user to pay for the target virtual resource, so that the target node transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link;
the receiving module 802 is further configured to receive a notification message that the virtual resource acquisition is successful, where the notification message is sent by the target node after the target virtual resource is transferred to the account of the 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. 9 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 other structures, 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:
receiving a virtual resource issuing request sent by an issuer through first terminal equipment, wherein the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan;
generating a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan;
broadcasting the virtual resource issuance transaction to other nodes of the plurality of nodes;
and after the other nodes pass the consensus verification of the virtual resource issuance transaction, writing the virtual resource issuance transaction into a block to complete the issuance of the virtual resource.
Optionally, the processor 901 is further configured to:
invoking an intelligent contract to examine the virtual resource issuance request, wherein the intelligent contract indicates issuance conditions of the virtual resource, and the intelligent contract runs on a virtual machine of each node in a plurality of nodes included in the blockchain network;
and when the examination result shows that the characteristic information of the issuer and the virtual resource issuing plan meet the issuing condition, generating a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan.
Optionally, the processor 901 is further configured to:
acquiring a virtual resource acquisition request submitted by a user through second terminal equipment, wherein the virtual resource acquisition request carries the number of virtual resources;
calling an intelligent contract to lock the target virtual resources corresponding to the number of the virtual resources;
sending a payment link for the target virtual resource to the second terminal device;
and after the intelligent contract detects that the user completes payment by using the payment link, transferring the target virtual resource to the account of the user.
Optionally, the virtual resource obtaining request further carries a commission amount, and the processor 901 is specifically configured to:
acquiring the submission time of the virtual resource acquisition request and the commission amount;
according to the submission time and the commission amount, determining the locking priority of the user on the target virtual resource corresponding to the virtual resource quantity by calling an intelligent contract;
and calling the intelligent contract to lock the target virtual resource according to the locking priority.
Optionally, the processor 901 is further configured to:
calling the intelligent contract to detect the payment state of the user for payment by using the payment link;
and if the payment state indicates that payment is not finished within a preset time length, deducting the virtual resources with the preset quantity or the preset proportion from the account of the user, transferring the virtual resources with the preset quantity or the preset proportion deducted from the account of the user to the account of the current node, and unlocking the target virtual resources.
Optionally, the processor 901 is specifically configured to:
generating a transfer transaction of the target virtual resource after the intelligent contract detects that the user completes payment by using the payment link;
broadcasting the transfer transaction of the target virtual resource to the other nodes;
and after the other nodes pass the transfer transaction consensus verification of the target virtual resource, transferring the target virtual resource to the account of the user, and writing the transfer transaction of the target virtual resource into a block.
Optionally, the processor 901 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 the transfer transaction of the target virtual resource.
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 based on the blockchain network provided in fig. 2 or 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.
Fig. 10 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 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:
sending a virtual resource issuing request to a target node, wherein the target node is any one of the nodes, the virtual resource issuing request carries characteristic information of an issuer and a virtual resource issuing plan, the virtual resource issuing request is used for indicating the target node to generate a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan, and after other nodes in the nodes pass the consensus verification of the virtual resource issuing transaction, the virtual resource issuing transaction is written into a block to complete the issuing of the virtual resource;
and receiving a notification message of successful virtual resource issuance, which is sent by the target node after the virtual resource issuance transaction is written into the block.
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 based on the blockchain network 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.
Referring to fig. 11, it 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 second terminal device described above, and the terminal device includes a power supply module and the like, and includes a processor 1101, a storage device 1102, and a network interface 1103. Data may be exchanged between the processor 1101, the storage device 1102 and the network interface 1103.
The storage device 1102 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 1102 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 1102 may also comprise a combination of memories of the kind described above.
The processor 1101 may be a Central Processing Unit (CPU) 1101. In one embodiment, the processor 1101 may also be a Graphics Processing Unit (GPU) 1101. The processor 1101 may also be a combination of a CPU and a GPU. In one embodiment, the storage 1102 is used to store program instructions. The processor 1101 may call the program instructions to perform the following operations:
submitting a virtual resource acquisition request of a user to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the virtual resource acquisition request carries a virtual resource quantity, and the virtual resource acquisition request is used for indicating the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity and generate a payment link aiming at the target virtual resource;
receiving the payment link sent by the target node, wherein the payment link is used for the user to pay the target virtual resource, so that the target node transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link;
and receiving a notification message that the virtual resource acquisition is successful, which is sent by the target node after the target virtual resource is transferred to the account of the user.
In a specific implementation, the processor 1101, the storage device 1102, and the network interface 1103 described in this embodiment of the present invention may execute the implementation manner described in the related embodiment of the resource management method based on a blockchain network provided in fig. 5 in this embodiment of the present invention, and may also execute the implementation manner described in the related embodiment of the resource management device provided in fig. 8 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 based on a blockchain network, wherein the blockchain network comprises a plurality of nodes, the method comprising:
a node receives a virtual resource issuing request sent by an issuer through first terminal equipment, wherein the virtual resource issuing request carries characteristic information of the issuer and a virtual resource issuing plan, and the node is any one of a plurality of nodes;
the node generates a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan, and broadcasts the virtual resource issuing transaction to other nodes in the plurality of nodes;
and after the other nodes pass the consensus verification of the virtual resource issuance transaction, the node writes the virtual resource issuance transaction into a block so as to complete the issuance of the virtual resource.
2. The method of claim 1, wherein before the node generates a virtual resource issuance transaction based on the issuer characteristic information and the virtual resource issuance plan, the method further comprises:
the node calls an intelligent contract to examine the virtual resource issuing request, the intelligent contract indicates issuing conditions of the virtual resource, and the intelligent contract runs on a virtual machine of each node in the plurality of nodes;
and the node executes the step of generating a virtual resource issuance transaction according to the characteristic information of the issuer and the virtual resource issuance plan when the characteristic information of the issuer and the virtual resource issuance plan satisfy the issuance condition as a result of the examination.
3. The method of claim 1, further comprising:
the node acquires a virtual resource acquisition request submitted by a user through second terminal equipment, wherein the virtual resource acquisition request carries the number of virtual resources;
the node calls an intelligent contract to lock the target virtual resources corresponding to the number of the virtual resources and sends payment links aiming at the target virtual resources to the second terminal equipment;
and the node transfers the target virtual resource to the account of the user after the intelligent contract detects that the user completes payment by using the payment link.
4. The method according to claim 3, wherein the virtual resource acquisition request further carries a commission amount, and the node invokes an intelligent contract to lock the target virtual resource corresponding to the virtual resource amount, including:
the node acquires the submission time of the virtual resource acquisition request and the commission amount;
the node determines the locking priority of the user to the target virtual resource corresponding to the virtual resource quantity by calling an intelligent contract according to the submission time and the commission charge amount;
and the node calls the intelligent contract to lock the target virtual resource according to the locking priority.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
the node calls the intelligent contract to detect the payment state of the user for payment by using the payment link;
and if the payment state indicates that payment is not finished within a preset time length, the node deducts a preset amount or a preset proportion of virtual resources from the account of the user, transfers the deducted preset amount or preset proportion of virtual resources from the account of the user to the account of the current node, and unlocks the target virtual resources.
6. The method of claim 3, wherein the node transfers the target virtual resource to the user's account after the smart contract detects that the user completes payment using the payment link, comprising:
the node generates a transfer transaction of the target virtual resource after the intelligent contract detects that the user completes payment by using the payment link;
the node broadcasts the transfer transaction of the target virtual resource to the other nodes;
and after the other nodes pass the transfer transaction consensus verification of the target virtual resource, the node transfers the target virtual resource to the account of the user and writes the transfer transaction of the target virtual resource into a block.
7. The method of claim 6, further comprising:
and the node sends the transfer transaction of the target virtual resource to a virtual resource registration center so that the virtual resource registration center records the transfer transaction of the target virtual resource.
8. A resource management method based on a block chain network is applied to a first terminal device corresponding to an issuer, and the method comprises the following steps:
sending a virtual resource issuing request to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the virtual resource issuing request carries characteristic information of an issuer and a virtual resource issuing plan, the virtual resource issuing request is used for indicating the target node to generate a virtual resource issuing transaction according to the characteristic information of the issuer and the virtual resource issuing plan, and after other nodes in the plurality of nodes pass the consensus verification of the virtual resource issuing transaction, the virtual resource issuing transaction is written into a block to complete the issuing of a virtual resource;
and receiving a notification message of successful virtual resource issuance, which is sent by the target node after the virtual resource issuance transaction is written into the block.
9. A resource management method based on a block chain network is applied to a second terminal device corresponding to a user, and the method comprises the following steps:
submitting a virtual resource acquisition request of a user to a target node, wherein the target node is any one of a plurality of nodes included in a blockchain network, the virtual resource acquisition request carries a virtual resource quantity, and the virtual resource acquisition request is used for indicating the target node to call an intelligent contract to lock a target virtual resource corresponding to the virtual resource quantity and generate a payment link aiming at the target virtual resource;
receiving the payment link sent by the target node, wherein the payment link is used for the user to pay the target virtual resource, so that the target node transfers the target virtual resource to an account of the user after the intelligent contract detects that the user completes payment by using the payment link;
and receiving a notification message that the virtual resource acquisition is successful, which is sent by the target node after the target virtual resource is transferred to the account of the user.
10. A resource management apparatus, characterized in that the apparatus comprises means for executing the method for resource management based on blockchain network according to any one of claims 1 to 7, or the method for resource management based on blockchain network according to claim 8, or the method for resource management based on blockchain network according to claim 9.
CN201910923040.6A 2019-09-27 2019-09-27 Resource management method and device based on block chain network Pending CN110659993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910923040.6A CN110659993A (en) 2019-09-27 2019-09-27 Resource management method and device based on block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910923040.6A CN110659993A (en) 2019-09-27 2019-09-27 Resource management method and device based on block chain network

Publications (1)

Publication Number Publication Date
CN110659993A true CN110659993A (en) 2020-01-07

Family

ID=69039414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910923040.6A Pending CN110659993A (en) 2019-09-27 2019-09-27 Resource management method and device based on block chain network

Country Status (1)

Country Link
CN (1) CN110659993A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966538A (en) * 2020-10-20 2020-11-20 支付宝(杭州)信息技术有限公司 Block chain data recovery method and device
CN113191754A (en) * 2021-04-26 2021-07-30 飞呗科技有限公司 Game equipment transaction method, device, equipment and system based on block chain
CN113283923A (en) * 2020-02-20 2021-08-20 北京沃东天骏信息技术有限公司 Resource processing method and device based on block chain
CN113904774A (en) * 2021-08-27 2022-01-07 重庆小雨点小额贷款有限公司 Block chain address authentication method and device and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170011460A1 (en) * 2015-07-09 2017-01-12 Ouisa, LLC Systems and methods for trading, clearing and settling securities transactions using blockchain technology
US20170213287A1 (en) * 2012-03-06 2017-07-27 Daniel B. Bruno System and method for providing a cryptographic platform for exchanging debt securities denominated in virtual currencies
CN107038638A (en) * 2017-02-24 2017-08-11 杭州象链网络技术有限公司 A kind of equity registration transaction system construction method based on alliance's chain
CN108269192A (en) * 2018-03-02 2018-07-10 数字乾元科技有限公司 Block chain assets backed security issuing plan generation method and system
CN109564660A (en) * 2016-07-25 2019-04-02 电信区块链联盟软件公司 The digital properties management of distributed transaction common recognition network
CN109584079A (en) * 2018-11-29 2019-04-05 阿里巴巴集团控股有限公司 The measures and procedures for the examination and approval, device and the equipment that resource processing system, resource item are declared

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170213287A1 (en) * 2012-03-06 2017-07-27 Daniel B. Bruno System and method for providing a cryptographic platform for exchanging debt securities denominated in virtual currencies
US20170011460A1 (en) * 2015-07-09 2017-01-12 Ouisa, LLC Systems and methods for trading, clearing and settling securities transactions using blockchain technology
CN109564660A (en) * 2016-07-25 2019-04-02 电信区块链联盟软件公司 The digital properties management of distributed transaction common recognition network
CN107038638A (en) * 2017-02-24 2017-08-11 杭州象链网络技术有限公司 A kind of equity registration transaction system construction method based on alliance's chain
CN108269192A (en) * 2018-03-02 2018-07-10 数字乾元科技有限公司 Block chain assets backed security issuing plan generation method and system
CN109584079A (en) * 2018-11-29 2019-04-05 阿里巴巴集团控股有限公司 The measures and procedures for the examination and approval, device and the equipment that resource processing system, resource item are declared

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283923A (en) * 2020-02-20 2021-08-20 北京沃东天骏信息技术有限公司 Resource processing method and device based on block chain
CN111966538A (en) * 2020-10-20 2020-11-20 支付宝(杭州)信息技术有限公司 Block chain data recovery method and device
CN113191754A (en) * 2021-04-26 2021-07-30 飞呗科技有限公司 Game equipment transaction method, device, equipment and system based on block chain
CN113904774A (en) * 2021-08-27 2022-01-07 重庆小雨点小额贷款有限公司 Block chain address authentication method and device and computer equipment

Similar Documents

Publication Publication Date Title
WO2020192272A1 (en) Blockchain-based transfer method and system, computing device and storage medium
US11321783B2 (en) Method and device for data processing based on blockchain
CN110175913B (en) Data processing system, method, computing device and storage medium based on block chain
CN110599182B (en) Resource management method and device
CN108197944B (en) Resource transaction method and device based on block chain technology
WO2020024968A1 (en) Resource transfer data management method and apparatus, and storage medium
US20180218176A1 (en) System and method of creating an asset based automated secure agreement
CN110599323B (en) Resource processing method and processing equipment
WO2020057016A1 (en) Blockchain-based insurance claim settlement method, electronic apparatus and storage medium
JP6813477B2 (en) A device, system, or method that facilitates value transfer between unreliable or unreliable parties.
CN110659993A (en) Resource management method and device based on block chain network
CN110148046A (en) A kind of payment management method and device
CN110738471A (en) bill management method based on block chain network and related equipment
CN110597919A (en) Data management method, device and equipment based on block chain and storage medium
CN110766403A (en) Data processing device and method based on block chain and storage medium
CN110348835A (en) A kind of fictitious assets transfer method, device, server and storage medium
US20210142418A1 (en) Control method, fund management system, recording medium, and data structure
CN114219342A (en) Carbon asset management method and device based on non-homogeneous evidence
CN111325586B (en) Bill generation method, device, server and medium based on block chain network
CN111209542B (en) Authority management method and device, storage medium and electronic equipment
CN110458541B (en) Object replacement method and device based on block chain
KR20210045627A (en) The insurance subsription method using cross events between plural heterogeneous devices
CN110598479A (en) Data processing method and device and computer readable storage medium
WO2021121030A1 (en) Resource transfer method, settlement terminal, and server node
CN113781230A (en) Transaction processing method and device based on block chain

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