CN114529412A - Resource processing method and device based on block chain - Google Patents

Resource processing method and device based on block chain Download PDF

Info

Publication number
CN114529412A
CN114529412A CN202210170741.9A CN202210170741A CN114529412A CN 114529412 A CN114529412 A CN 114529412A CN 202210170741 A CN202210170741 A CN 202210170741A CN 114529412 A CN114529412 A CN 114529412A
Authority
CN
China
Prior art keywords
user
transaction
account
blockchain
resource
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
CN202210170741.9A
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.)
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai 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 Alipay Hangzhou Information Technology Co Ltd, Ant Blockchain Technology Shanghai Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210170741.9A priority Critical patent/CN114529412A/en
Publication of CN114529412A publication Critical patent/CN114529412A/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The present specification provides a resource processing method and apparatus based on a block chain, which is applied to a server, and the server is in butt joint with nodes of the block chain; the server stores data acquired from a node of a blockchain for forwarding a first transaction of a first resource from a blockchain account of a first user to a blockchain account of a second user, manages a linked account of the first user and a linked account of the second user, the linked account of the first user including a frozen second resource corresponding to the first resource, the method comprising: in response to a resource conversion request of a second user, sending a second transaction for eliminating the first resource from the blockchain account of the second user to a node of the blockchain according to the data of the first transaction; after receiving information of completion of the second transaction from the block link point, acquiring a frozen second resource from a down-link account of the first user; and transferring at least part of the acquired second resource to the downlink account of the second user.

Description

Resource processing method and device based on block chain
Technical Field
One or more embodiments of the present disclosure relate to the field of block chain technologies, and in particular, to a method and an apparatus for processing resources based on a block chain.
Background
The Blockchain (Blockchain) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The data blocks are combined into a chain data structure in a block chain in a time sequence in a sequential connection mode, and the data blocks are guaranteed to be not falsifiable and not forged in a cryptographic mode. Because the blockchain has the characteristics of decentralization, information non-tampering, autonomy and the like, the blockchain is also paid more and more attention and is applied by people.
At present, when the buyer and the seller perform the trading transaction, the system has poor calculation performance and low trading efficiency due to the complicated flow of the trading transaction, and the ever-increasing trading volume cannot be met.
Disclosure of Invention
One or more embodiments of the present specification provide a resource processing method and apparatus based on a block chain.
According to a first aspect, a resource processing method based on a block chain is provided, the method is applied to a server, and the server is in interface with nodes of the block chain; the server stores data of a first transaction acquired from a node of the blockchain, the first transaction is used for transferring a first resource from a blockchain account of a first user to a blockchain account of a second user, the server manages a linked account of the first user and a linked account of the second user, and the linked account of the first user comprises a frozen second resource corresponding to the first resource, and the method comprises the following steps:
in response to a resource conversion request of the second user, sending a second transaction to a node of the blockchain according to the data of the first transaction, wherein the second transaction is used for eliminating the first resource from a blockchain account of the second user;
after receiving information from the blockchain link point that the second transaction is complete, obtaining the frozen second resource from the first user's down-link account;
and transferring at least part of the acquired second resource to the downlink account of the second user.
Optionally, the server stores therein data of a plurality of first transactions;
wherein sending a second transaction to a node of the blockchain in accordance with the data for the first transaction comprises sending a second transaction to a node of the blockchain in accordance with the data for the plurality of first transactions.
Optionally, before sending the second transaction to the node of the blockchain, the method further includes:
and searching and acquiring data of a plurality of transactions of the first resource transferred from the blockchain account of the first user to the blockchain account of the second user from the stored data as the data of the plurality of first transactions.
Optionally, the sending a second transaction to a node of the blockchain according to the data of the plurality of first transactions includes:
calculating a first number of first resources transferred from the first user's blockchain account to the second user's blockchain account based on the data for the plurality of first transactions;
sending the second transaction to a node of the blockchain to eliminate the first number of first resources from the blockchain account of the second user.
Optionally, after calculating the first number, the method further includes:
determining a second number of second resources corresponding to the first number of first resources;
wherein the obtaining the frozen second resource from the first user's off-chain account after receiving the information that the second transaction is complete from the blockchain node comprises:
obtaining the second number of second resources from the first user's off-chain account after receiving information from the block link point that the second transaction is complete.
Optionally, the method further comprises:
transferring a third number of second resources to the down-link account of the processor of the first transaction and/or the down-link account of the processor of the second transaction; the third number of second resources is part of the acquired second resources.
Optionally, the method further comprises:
periodically pulling data of a new block from the block chain, and storing the pulled data of the new block.
Optionally, the method further comprises:
sending a third transaction to the blockchain, the third transaction being used to recharge a preset number of the first resources to the blockchain account of the first user;
and freezing a second resource corresponding to the preset number of first resources in the down-link account of the first user.
According to a second aspect, there is provided a blockchain based resource processing apparatus, the apparatus being applied to a server, the server interfacing with nodes of the blockchain; the server stores data of a first transaction acquired from a node of the blockchain, the first transaction is used for transferring a first resource from a blockchain account of a first user to a blockchain account of a second user, the server manages a chain down account of the first user and a chain down account of the second user, and the chain down account of the first user comprises a frozen second resource corresponding to the transferred first resource, and the device comprises:
a sending module, configured to send, in response to a resource conversion request of the second user, a second transaction to a node of the blockchain according to data of the first transaction, where the second transaction is used to eliminate the first resource from a blockchain account of the second user;
an obtaining module, configured to obtain the frozen second resource from a downlink account of the first user after receiving information that the second transaction is completed from the tile link point;
and the transfer-in module is used for transferring at least part of the acquired second resource to the downlink account of the second user.
Optionally, the server stores therein data of a plurality of first transactions;
wherein the sending module is configured to: and sending a second transaction to the nodes of the blockchain according to the data of the plurality of first transactions.
Optionally, the apparatus further comprises:
and the searching module is used for searching and acquiring data of a plurality of transactions of the first resource transferred from the blockchain account of the first user to the blockchain account of the second user from the stored data as the data of the plurality of first transactions.
Optionally, the sending module includes:
a calculation sub-module to calculate a first number of first resources transferred from the first user's blockchain account to the second user's blockchain account based on data of the plurality of first transactions;
a sending submodule to send the second transaction to a node of the blockchain to eliminate the first number of first resources from the blockchain account of the second user.
Optionally, the apparatus further comprises:
a determining module for determining a second number of second resources corresponding to the first number of first resources;
wherein the acquisition module is configured to: obtaining the second number of second resources from the first user's down-link account after receiving information from the block link point that the second transaction is complete.
Optionally, the apparatus further comprises:
a forwarding module, configured to forward a third number of second resources to a down-link account of a processor of the first transaction and/or a down-link account of a processor of the second transaction; the third number of second resources is part of the acquired second resources.
Optionally, the apparatus further comprises:
and the storage module is used for periodically pulling the data of the new block from the block chain and storing the pulled data of the new block.
Optionally, the apparatus further comprises:
the recharging module is used for sending a third transaction to the blockchain, wherein the third transaction is used for recharging a preset number of first resources to the blockchain account of the first user;
and the freezing module is used for freezing a second resource corresponding to the preset number of first resources in the first user's down-link account.
According to a third aspect, there is provided a computer readable storage medium, storing a computer program which, when executed by a processor, implements the method of any of the first aspects above.
According to a fourth aspect, there is provided a computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of the first aspects when executing the program.
The technical scheme provided by the embodiment of the specification can have the following beneficial effects:
the embodiments of the present specification provide a method and an apparatus for processing resources based on a blockchain, in which, in response to a resource conversion request of a seller user, a server transfers data of a first resource from a blockchain account of a buyer user to a blockchain account of the seller user, sends a transaction for eliminating the transferred first resource from the blockchain account of the seller user to a node of the blockchain, and after the transaction is completed at the blockchain node, the server acquires a second resource to be transferred from a down-chain account of the buyer user and transfers at least part of the transferred second resource to the down-chain account of the seller user. Therefore, the on-chain transaction process and the down-chain resource transfer process are divided, so that the down-chain resource transfer is performed in the down-chain equipment when a seller user presents, the transaction execution efficiency in the block chain system is effectively improved, and the ever-increasing transaction amount is better met.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and it is obvious for a person skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a block chain based resource processing scenario diagram shown in accordance with an exemplary embodiment of the present specification;
FIG. 2 is an interactive flow diagram illustrating a method for blockchain based resource handling in accordance with an exemplary embodiment of the present specification;
FIG. 3 is an interactive flow diagram illustrating another method for blockchain based resource handling according to an exemplary embodiment of the present specification;
fig. 4 is an interactive flowchart illustrating another method for processing resources based on blockchains according to an example embodiment.
Fig. 5 is a block diagram of a resource processing apparatus based on a block chain according to an exemplary embodiment.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Fig. 1 is a schematic diagram illustrating a resource processing scenario based on a block chain according to an exemplary embodiment.
In fig. 1, a system 101 is a blockchain system, which includes 8 nodes from node 1 to node 8. Each node may be implemented as any device having computing, processing, capabilities, server or cluster of devices, etc. It is to be understood that although 8 nodes are shown in the blockchain in fig. 1, the embodiments of the present specification are not limited thereto, and may include other numbers of nodes. The lines between the nodes schematically represent P2P (Peer-to-Peer) connections. The nodes may have a full ledger stored on them, i.e. the status of all blocks and all accounts. Wherein each node in the blockchain may generate the same state in the blockchain by performing the same transaction, such that each node in the blockchain may store the same state database. In contrast, different nodes may be responsible for interfacing with different end devices and receiving transactions from the interfaced end devices.
For example, node 1 may be responsible for interfacing with terminal device 102, and terminal device 102 may provide a platform for a user to conduct transactions over a blockchain. The users 103 and 104 can conduct commodity trading on the blockchain through the platform provided by the terminal device 102. The blockchain includes a blockchain account of the user 103 and a blockchain account of the user 104, and resources on the chain can be mutually transferred between the blockchain account of the user 103 and the blockchain account of the user 104.
The node 8 may be responsible for interfacing with the terminal device 105, and the terminal device 105 may be a terminal device that manages the accounting system and provides accounting management services for the user. In the accounting system managed by the terminal device 105, a down-link account of the user 103 and a down-link account of the user 104 are included. The terminal device 105 may use the downlink resources in the downlink accounts of the users 103/104 to recharge the blockchain accounts of the users 103/104, so that the uplink resources of the users 103/104 are bound to the downlink resources thereof. The terminal device 105 may also convert the on-chain resources forwarded to the user 103/user 104 blockchain account to the off-chain resources in the user 103/user 104 off-chain account. Terminal device 105 may also communicate with bank 106 and may recharge the user 103/user 104 downlink accounts through bank 106 to replenish downlink resources.
It should be understood that the docking manner shown in fig. 1 is only an example provided by the embodiments of the present disclosure, and the specific docking manner of the present disclosure is not limited.
In the related art, when the trade between the buyer and the seller is realized through the trade in the blockchain, generally, after the transfer of the resource on the chain is performed in the blockchain, the transfer of the resource under the chain bound by the resource on the chain is performed immediately, and at the same time, operations such as the platform and the extraction of the blockchain are performed, and after the operation success of the operation under the chain is determined, the execution of the blockchain trade is completed. Due to the complex flow of the operation under the chain, the transaction execution speed in the block chain is low, the system performance of the block chain is reduced, and the ever-increasing transaction amount cannot be met. In the scheme for processing resources in the blockchain system shown in fig. 1 provided by the embodiment of the present specification, an uplink transaction process and a downlink resource transfer process are divided, so that when a seller user presents, downlink resources are transferred in downlink equipment, thereby effectively improving transaction execution efficiency in the blockchain system, and better meeting increasing transaction amount.
The embodiments provided in the present specification will be described in detail with reference to specific examples.
As shown in fig. 2, fig. 2 is an interactive flowchart illustrating a resource processing method based on a blockchain according to an exemplary embodiment, where the involved devices include a seller device, a first server providing a transaction platform for a user, a blockchain link point of the blockchain system, and a second server providing an accounting service platform for the user. The various devices involved in the method may be implemented as any computing, processing capable device, platform, server, or cluster of devices. The method comprises the following steps:
in step 201, the vendor device instructs the first server to send a resource conversion request to the second server.
In this embodiment, a buyer user (i.e., a first user) and a seller user (i.e., a second user) who need to perform a trade transaction may register a blockchain account with a first server in advance. Specifically, the first server registers an account of the transaction platform for the user to be registered, and sends a transaction for registering a blockchain account of the user to a node of the blockchain. And after receiving the transaction, the node of the block chain instructs the second server to create the down-chain account of the user to be registered by executing the transaction. And the second server creates the down-link account of the user, acquires and stores the external bank account of the user, and can recharge the down-link account of the user through the external bank account. And then, the second server returns the created information of the down-link account and the related bank account information to the node of the blockchain, creates a blockchain account associated with the down-link account by the node of the blockchain, and returns the blockchain account and the related information thereof to the first server. Thus, each user that can conduct business transactions through the blockchain has a blockchain account and a corresponding down-chain account.
Specifically, for example, but not limited to, the account ID, the ID of the merchant to which the user belongs, the number of the first resources held by the user, the name/name of the user, the identification number of the user, the contact information of the user, the authority information issued or purchased by the user, the account category of the user (e.g., platform side, or individual, or merchant, etc.), the activation status of the first resources by the user, and the like may be included in the blockchain account of the user.
In this embodiment, the seller user and one or more buyer users may conduct commodity sales in the blockchain system through the first server and transfer the first resource on the chain from the buyer user's blockchain account to the seller user's blockchain account (which may be accomplished by performing a blockchain transaction through the blockchain). The above process of commodity purchase and sale is described with particular reference to the embodiment provided in fig. 4. At any time after the seller user conducts at least one trading transaction, the seller user may instruct the first server to send a resource conversion request to the second server through the seller device. The resource conversion request is used for requesting to convert a first resource on the chain obtained by commodity purchase and sale of the seller user on the blockchain into a second resource under the chain. The first resource on the chain may be any digital resource (such as NFT, ethernet, etc. in respective forms) based on the blockchain, and the second resource under the chain may be any non-blockchain resource with a certain amount that can be used for commodity sales. It is to be understood that the embodiments of the present specification are not limited to the specific form of the first resource and the second resource.
In step 202, the second server sends a second transaction to the nodes of the blockchain according to the data of the first transaction. Wherein the first transaction may be a resource transfer transaction to transfer the buyer user's on-chain resource to the seller user's on-chain account, and the second transaction may be a reimbursement transaction for reimbursing the seller user's on-chain resource. The data of the first transaction may be, for example, a transaction body of the first transaction for deposit in the blockchain, or may also be a transaction receipt of the first transaction for deposit. The data for the first transaction may be used to record a resource transfer operation of the buyer user's on-chain resource to the seller user's on-chain account. Specifically, the data of the first transaction may include information of the buyer user (such as user identification, blockchain account, etc.), information of the seller user, commodity identification, purchase amount, receiving address, transfer amount, etc.
In this embodiment, the second server stores transaction data of the seller user, which is obtained from the node of the blockchain, and the transaction data of the seller user is data of one or more resource forwarding transactions. In one implementation, the second server may periodically pull data of a new chunk from the chunk chain and store the pulled data of the new chunk. The data of the blocks pulled from the block chain includes the data of the resource transfer transaction. In another implementation, after periodically pulling the data of the new chunk from the chunk chain, the second server may further filter the transactions included in the pulled data of the chunk, extract the data of the resource transfer transaction, and store the data of the resource transfer transaction.
In one implementation, the second server may look up and retrieve data from the stored data for one or more resource transfer transactions from a blockchain account of a given buyer user to a first resource on the blockchain account transfer chain of the seller user. A first number of first resources transferred by the buyer user's blockchain account to the seller user's blockchain account is determined based on data of the one or more resource transfer transactions. And sending to a node of the blockchain an approval transaction to eliminate the first number of the first resource from the blockchain account of the seller user.
Wherein, if the data for a resource transfer transaction is obtained, the first number of the first resource transferred from the buyer user's blockchain account to the seller user's blockchain account can be obtained directly from the data for the resource transfer transaction. If the data of the plurality of resource transfer transactions is acquired, the total number of the first resources transferred from the blockchain account of the buyer user to the blockchain account of the seller user may be obtained as the first number through aggregation calculation according to the data of the plurality of resource transfer transactions.
In another implementation, the second server may retrieve from the stored data, data for a respective plurality of resource transfer transactions from a plurality of different buyer users 'blockchain accounts to a first resource on the seller user's blockchain account transfer chain. And according to the data of the plurality of resource transfer transactions, obtaining the total number of the first resources transferred from the blockchain accounts of the plurality of different buyer users to the blockchain account of the seller user through aggregation calculation as a first number. And sending to a node of the blockchain an approval transaction to eliminate the first number of the first resource from the blockchain account of the seller user.
Optionally, the second server, in response to the resource conversion request, may first check the time of the resource conversion request, and determine whether the second server currently has the resource conversion right. Then, it is checked whether the cashable amount in the current buyer's down-link account is sufficient. And if the verification is successful, the second server carries out the operation of sending the second transaction again.
Optionally, after determining the first number, the second server may further determine a second number of second resources corresponding to the first number of first resources. Specifically, a first resource on the chain has a certain corresponding relationship with a second resource under the chain, and the first resource and the second resource can be exchanged with each other. For example, assuming that a first resource is in token units and a second resource is in meta units, 1 meta can be exchanged between the first resource and the second resource by m tokens.
In step 203, the node of the blockchain executes the second transaction, and after the execution of the second transaction is completed, information of the completion of the second transaction is sent to the second server.
In this embodiment, the node of the blockchain eliminates the first number of first resources transferred by the buyer user involved in the resource transfer transaction from the blockchain account of the seller user by performing the underwriting transaction described above. After the cancel verification transaction is completed, the node of the blockchain sends information of the cancel verification transaction completion to the second server. Referring to step 202, the buyer user involved in the resource transfer transaction may be a designated buyer user or a plurality of different buyer users.
In step 204, the second server obtains the second resource to be transferred from the buyer user's off-chain account after receiving the information of the completion of the second transaction from the block link point, and transfers at least part of the second resource to be transferred to the seller user's off-chain account.
In this embodiment, after receiving the information of the completion of the approval transaction from the block link point, the second server may then obtain, from the off-chain account of the buyer user, the second resource to be transferred, where the second number of the second resource to be transferred corresponds to the first number of the first resource. And the down-chain account of the buyer user comprises a frozen second resource to be transferred corresponding to the transferred first resource. Specifically, when the blockchain account of the buyer user is recharged, the second resource in the down-chain account of the buyer user is frozen, and the recharging process is specifically referred to the embodiment provided in fig. 3.
Optionally, before determining the first number, the second server may further determine a task identity and return the task identity to the first server. After the first server receives the task identifier, other transactions can be processed first without waiting for the return result of the second server. During this process, the second server may continue to operate processing resources. The first server may send the trigger information carrying the task identifier to the first server after processing other transactions. The second server may obtain a second number of second resources from the first user's down-link account after receiving the triggering information for the task identification and after receiving the information for completion of the underwriting transaction from the blocklink node.
In this embodiment, at least a portion of the second resources to be transferred may be transferred to the down-link account of the seller user, and the remaining third number of second resources may be transferred to the down-link account of the processor of the resource transfer transaction and/or the down-link account of the processor of the underwriting transaction. For example, assuming that the second number is 10, a second resource of number 9 may be transferred to the seller user's off-chain account, and a second resource of number 1 (the third number is 1) may be transferred to the off-chain account of the processor of the resource transfer transaction and/or the off-chain account of the processor of the underwriting transaction.
For the embodiment, a specific application scenario may be that the seller user B provides an oil card as a commodity, the financial management platform provides financial management service for the user, and the fueling platform provides a commodity transaction platform. After buyer user a, buyer user C and buyer user D purchase a fuel card from seller user B via the fueling platform, seller user B sends a cash withdrawal request to the financial management platform. The financial management platform looks up 5000 tokens to be transferred from the blockchain account of buyer user a to the blockchain account of seller user B, 3000 tokens to be transferred from the blockchain account of buyer user C to the blockchain account of seller user B, and 2000 tokens to be transferred from the blockchain account of buyer user D to the blockchain account of seller user B from the stored data. The aggregate calculation yields a total of 10000 tokens transferred from the buyer user's blockchain account to the seller user B's blockchain account. The financial management platform sends a verification transaction to the blockchain to eliminate the 10000 tokens forwarded from the blockchain account of the seller user B. And the financial management platform acquires 5005, 3003 and 2002 elements respectively from the linked accounts of the buyer user A, the buyer user C and the buyer user D, wherein the total number of the 5005, the 3003 and the 2002 elements is 10010. And transfers the seller user B's down-link account to 10000 dollars, and transfers the remaining 10 dollars to the fueling platform. Alternatively, the financial management platform may obtain 5000, 3000, and 2000 dollars, respectively, for a total of 10000 dollars from the linked accounts of buyer user A, buyer user C, and buyer user D. And transfers the seller user B's down-link account to 9990 dollars, transferring the remaining 10 dollars to the fueling platform.
The present embodiment is not limited to the above application scenario, and may be applied to other scenarios. In the resource processing method based on the blockchain provided by the above-mentioned embodiment of the present specification, by responding to the resource conversion request of the seller user, the server transfers the data of the first resource from the blockchain account of the buyer user to the blockchain account of the seller user, sends a transaction for eliminating the transferred first resource from the blockchain account of the seller user to the node of the blockchain, and after the transaction is completed at the blockchain link point, the server acquires the second resource to be transferred from the down-chain account of the buyer user and transfers at least part of the second resource to be transferred to the down-chain account of the seller user. Therefore, the on-chain transaction process and the down-chain resource transfer process are divided, so that the down-chain resource transfer is performed in the down-chain equipment when a seller user presents, the transaction execution efficiency in the block chain system is effectively improved, and the ever-increasing transaction amount is better met.
FIG. 3, as shown in FIG. 3, illustrates a flow diagram of another blockchain-based resource handling method according to an exemplary embodiment describing a process of buyer user top-up including the steps of:
first, in step 301, the buyer device instructs the first server to send a recharge request to the second server to request to recharge a predetermined number of first resources to the blockchain account of the buyer user. Then, in step 302, the second server receives the recharge request and sends a third transaction to the node of the blockchain based on the recharge information carried by the recharge request. The third transaction is a recharging transaction for recharging a predetermined number of first resources to the blockchain account of the buyer user, and meanwhile, a second resource corresponding to the predetermined number of first resources in the linked account of the buyer user is frozen.
Next, in step 303, the node of the blockchain adds a preset number of first resources to the blockchain account of the buyer user by performing the recharge transaction. After the completion of the load transaction is performed, the node of the blockchain sends a message to the second server that the load transaction is performed.
For example, the buyer user a instructs the fueling platform to replenish the buyer user a with money through a terminal device held by the buyer user a. The fueling platform sends a recharge request to the financial management platform to recharge 100 tokens (value 100 dollars) to the buyer user a's blockchain account. The financial management platform sends a recharge transaction to the blockchain, and the nodes of the blockchain charge 100 tokens into the blockchain account of the buyer user A by executing the recharge transaction. At the same time, the financial management platform may freeze 100 dollars (corresponding to 100 tokens) in the down-chain account of buyer user A.
As shown in fig. 4, fig. 4 is a flowchart illustrating another resource processing method based on a blockchain according to an exemplary embodiment, which describes a process of a buyer and a seller to buy and sell a commodity, including the following steps:
first, in step 401, a buyer user may send a goods purchase request to a first server through his terminal.
Specifically, the purchaser user may send a goods purchase request to the first server through its terminal. The seller user can upload commodity information configured by the seller user to the first server in advance through the terminal of the seller user, wherein the commodity information comprises commodity description information, commodity price and other information. The first server responds to the commodity information uploaded by the terminal of the seller user, and the commodity information is stored in the blockchain by sending transactions into the blockchain. Specifically, the transaction may call a function for registering the commodity in an intelligent contract deployed in the blockchain, which when executed is used to generate a commodity identification (commodity id) of the commodity and store information of the commodity in the state of the contract. The intelligent contract is used for commodity purchasing between a buyer user and a seller user in a block chain, and the intelligent contract also comprises a function for generating an order number and order content, a function for transferring accounts between the buyer user and the seller user and the like. It is to be understood that the smart contracts are merely examples illustrating embodiments of the present specification and do not limit the scope of the present specification.
The buyer user can send a commodity inquiry request to the first server through the terminal of the buyer user, and the first server can acquire commodity information corresponding to commodities from the block chain and return the commodity information to the terminal of the buyer user. Based on the goods information returned to the buyer user terminal by the first server, the buyer user can select goods and send a goods purchase request to the first server, namely, the selected goods are ordered and purchased at the first user terminal, wherein the goods purchase request comprises information such as goods identification, purchase quantity, receiving address and the like.
At step 402, the first server sends a goods purchase transaction to the blockchain.
The first server, after receiving the goods purchase request of the user terminal, may obtain a blockchain account of the buyer user and a blockchain account of the seller user from the blockchain or locally, and generate a corresponding goods purchase transaction.
In one embodiment, the commodity purchase transaction may be a normal transfer transaction, and the first server may further obtain a purchase amount of the commodity from the blockchain, and determine a transfer amount in the transfer transaction based on the purchase amount. The transfer transaction may include information such as a blockchain account of the buyer user, a blockchain account of the seller user, an identification of goods, a purchase amount, a shipping address, and a transfer amount. In another embodiment, the merchandise purchase transaction may also be a transaction that invokes the intelligent contract described above. Specifically, the information of the blockchain account of the buyer user, the blockchain account of the seller user, the commodity identification, the purchase quantity, the receiving address and the like is used as the incoming parameters of the intelligent contract in the transaction.
At step 403, the block chain node performs a merchandise purchase transaction.
In the case where the goods purchase transaction is the above-mentioned transfer transaction, the block link point performs the transfer transaction, transfers the first resource of the target number (i.e., the transfer amount) in the buyer user's block chain account to the seller user's block chain account, and deposits the transfer transaction into the block chain to block-chain deposit the certificate for the transfer transaction.
In the case where the commodity purchase transaction is the above-described transaction invoking the smart contract, the block link node executes the smart contract invoked for the commodity purchase transaction. Specifically, the block link point first executes a function for generating an order number and order content in the intelligent contract, and generates the order number and the order content, where the order content includes information of a buyer user, information of a seller user, a product identifier, a purchase amount, a shipping address, a purchase amount, and the like. And then, the blockchain link point executes a function for transferring accounts between the buyer user and the seller user, transfers the first resource with the target number in the blockchain account of the buyer user to the blockchain account of the seller user according to the commodity price included in the commodity information, returns an order number, order content and the like to the first server, and stores a receipt of the transaction in the blockchain, wherein the receipt comprises data such as the order number, the order content and the like, so as to store the blockchain for the account transferring process corresponding to the commodity purchasing transaction. The first server may return an order number and order contents to user terminals of both the buyer user and the seller user.
After receiving the order id and the order content, the seller user can ship the order to the buyer user according to the order content. If the goods purchased by the buyer user are digital goods, the seller user can directly send the goods to the buyer user through the internet. If the commodity is a physical commodity, the seller user can send the commodity to the receiving address of the buyer user through the logistics channel. The vendor user may then upload shipping information to the platform. After the buyer user receives the commodity and determines that the commodity does not need to be changed back, the buyer user can carry out confirmation operation through a service interface provided by the service platform. The first server receives the confirmation information of the buyer user and completes commodity buying and selling operation for the buyer user and the seller user
For example, the buyer user a purchases the oil card provided by the seller user B on the fueling platform through the terminal device held by the buyer user a. The buyer user a selects a 5000 dollar value fuel card and sends a purchase request to the fueling platform. The refueling platform sends commodity purchase transactions to the nodes of the blockchain, so that corresponding order id and order content are generated by the blockchain nodes, and 5000 tokens in the blockchain account of the buyer user A are transferred to the blockchain account of the seller user B according to the commodity information corresponding to the 5000-element oil card. After the commodity purchase transaction is completed by the block chain node, the order id, the order content and the like can be returned to the refueling platform, and the refueling platform sends the order id, the order content and the like to the buyer user A and the seller user B.
It should be noted that although in the above embodiments, the operations of the methods of the embodiments of the present specification have been described in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Corresponding to the foregoing embodiments of the resource processing method based on a block chain, the present specification also provides embodiments of a resource processing apparatus based on a block chain.
As shown in fig. 5, fig. 5 is a block diagram of a resource processing apparatus based on a blockchain according to an exemplary embodiment of the present specification, the apparatus is applied to a server, and the server interfaces with nodes of the blockchain. The server stores data of a first transaction acquired from a node of a blockchain, the first transaction is used for transferring a first resource from a blockchain account of a first user to a blockchain account of a second user, the server manages a chain down account of the first user and a chain down account of the second user, and the chain down account of the first user comprises a frozen second resource corresponding to the transferred first resource. The apparatus may include: a sending module 501, an obtaining module 502 and a transferring module 503.
The sending module 501 is configured to send, in response to a resource conversion request of a second user, a second transaction to a node of the blockchain according to data of the first transaction, where the second transaction is used to eliminate the first resource from a blockchain account of the second user.
An obtaining module 502 is configured to obtain the frozen second resource from the first user's down-link account after receiving information that the second transaction is completed from the tile link point.
A transfer-in module 503, configured to transfer in at least part of the acquired second resource to the downlink account of the second user.
In some embodiments, the server has stored therein data for a plurality of first transactions. Wherein the sending module 501 is configured to: and sending a second transaction to the nodes of the blockchain according to the data of the plurality of first transactions.
In other embodiments, the apparatus may further comprise: a lookup module (not shown).
The searching module is used for searching and acquiring data of a plurality of transactions of the first resource transferred from the blockchain account of the first user to the blockchain account of the second user from the stored data as data of a plurality of first transactions.
In other embodiments, the sending module 501 may include: a computation sub-module and a transmission sub-module (not shown in the figure).
The calculation submodule is used for calculating a first number of the first resources transferred from the blockchain account of the first user to the blockchain account of the second user according to the data of the plurality of first transactions.
A sending submodule to send a second transaction to a node of the blockchain to eliminate the first number of the first resources from the blockchain account of the second user.
In other embodiments, the apparatus may further comprise: a determination module (not shown in the figures).
The determining module is used for determining a second number of second resources corresponding to the first number of first resources.
Wherein the obtaining module 502 is configured to: after receiving information from the block link point that the second transaction is complete, a second number of second resources is acquired from the first user's down-link account.
In other embodiments, the apparatus may further comprise: a forwarding module (not shown).
The forwarding module is configured to forward a third number of second resources to the linked account of the processing party of the first transaction and/or the linked account of the processing party of the second transaction, where the third number of second resources is a part of the acquired second resources.
In other embodiments, the apparatus may further comprise: a memory module (not shown).
The storage module is used for periodically pulling the data of the new block from the block chain and storing the pulled data of the new block.
In other embodiments, the apparatus may further comprise: a recharge module and a freeze module (not shown).
The recharging module is used for sending a third transaction to the blockchain, and the third transaction is used for recharging a preset number of first resources to the blockchain account of the first user.
And the freezing module is used for freezing second resources corresponding to the preset number of first resources in the first user's down-link account.
It should be understood that the above-mentioned device may be preset in the server, and may also be loaded into the server by downloading or the like. The corresponding modules in the above device can cooperate with the modules in the server to implement a resource processing scheme based on the block chain.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and 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 modules can be selected according to actual needs to achieve the purpose of one or more embodiments of the present specification. One of ordinary skill in the art can understand and implement it without inventive effort.
One or more embodiments of the present specification further provide a computer-readable storage medium storing a computer program, where the computer program is operable to execute the method for processing resources based on a block chain provided in any one of fig. 1 to 4.
One or more embodiments of the present specification further provide a computing device, including a memory and a processor, where the memory stores executable codes, and the processor executes the executable codes to implement the resource processing method based on the block chain provided in any one of fig. 1 to 4.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a server system. Of course, this application does not exclude that with future developments in computer technology, the computer implementing the functionality of the above described embodiments may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device or a combination of any of these devices.
Although one or more embodiments of the present description provide method operational steps as described in the embodiments or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive approaches. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. For example, if the terms first, second, etc. are used to denote names, they do not denote any particular order.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, when implementing one or more of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, etc. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, 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 through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
One skilled in the art will appreciate that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description of the specification, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is merely exemplary of one or more embodiments of the present disclosure and is not intended to limit the scope of one or more embodiments of the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present specification should be included in the scope of the claims.

Claims (18)

1. A resource processing method based on a block chain is applied to a server, and the server is in butt joint with nodes of the block chain; the server stores data of a first transaction acquired from a node of the blockchain, the first transaction is used for transferring a first resource from a blockchain account of a first user to a blockchain account of a second user, the server manages a linked account of the first user and a linked account of the second user, and the linked account of the first user comprises a frozen second resource corresponding to the first resource, and the method comprises the following steps:
in response to a resource conversion request of the second user, sending a second transaction to a node of the blockchain according to the data of the first transaction, wherein the second transaction is used for eliminating the first resource from a blockchain account of the second user;
after receiving information from the blockchain link point that the second transaction is complete, obtaining the frozen second resource from the first user's down-link account;
and transferring at least part of the acquired second resource to the downlink account of the second user.
2. The method of claim 1, the server having stored therein data for a plurality of first transactions;
wherein sending a second transaction to a node of the blockchain in accordance with the data for the first transaction comprises sending a second transaction to a node of the blockchain in accordance with the data for the plurality of first transactions.
3. The method of claim 2, prior to sending the second transaction to the node of the blockchain, further comprising:
and searching and acquiring data of a plurality of transactions of the first resource transferred from the blockchain account of the first user to the blockchain account of the second user from the stored data as the data of the plurality of first transactions.
4. The method of claim 2, the sending a second transaction to a node of the blockchain in accordance with the data of the plurality of first transactions, comprising:
calculating a first number of first resources transferred from the first user's blockchain account to the second user's blockchain account based on the data for the plurality of first transactions;
sending the second transaction to a node of the blockchain for eliminating the first number of first resources from the blockchain account of the second user.
5. The method of claim 4, wherein after calculating the first number, further comprising:
determining a second number of second resources corresponding to the first number of first resources;
wherein the obtaining the frozen second resource from the first user's off-chain account after receiving information from the blockchain node that the second transaction is complete comprises:
obtaining the second number of second resources from the first user's down-link account after receiving information from the block link point that the second transaction is complete.
6. The method of claim 1, further comprising:
transferring a third number of second resources to the down-link account of the processor of the first transaction and/or the down-link account of the processor of the second transaction; the third number of second resources is part of the acquired second resources.
7. The method of claim 1, wherein the method further comprises:
periodically pulling data of a new block from the block chain, and storing the pulled data of the new block.
8. The method of claim 1, wherein the method further comprises:
sending a third transaction to the blockchain, the third transaction being used to recharge a preset number of the first resources to the blockchain account of the first user;
and freezing a second resource corresponding to the preset number of first resources in the down-link account of the first user.
9. A resource processing device based on a block chain is applied to a server, and the server is in butt joint with nodes of the block chain; the server stores data of a first transaction acquired from a node of the blockchain, the first transaction is used for transferring a first resource from a blockchain account of a first user to a blockchain account of a second user, the server manages a linked account of the first user and a linked account of the second user, and the linked account of the first user comprises a frozen second resource corresponding to the first resource, and the device comprises:
a sending module, configured to send, in response to a resource conversion request of the second user, a second transaction to a node of the blockchain according to data of the first transaction, where the second transaction is used to eliminate the first resource from a blockchain account of the second user;
an obtaining module, configured to obtain the frozen second resource from a downlink account of the first user after receiving information that the second transaction is completed from the tile link point;
and the transfer-in module is used for transferring at least part of the acquired second resource to the downlink account of the second user.
10. The apparatus of claim 9, the server having stored therein data for a plurality of first transactions;
wherein the sending module is configured to: and sending a second transaction to the nodes of the block chain according to the data of the plurality of first transactions.
11. The apparatus of claim 10, further comprising:
and the searching module is used for searching and acquiring data of a plurality of transactions of the first resource transferred from the blockchain account of the first user to the blockchain account of the second user from the stored data as the data of the plurality of first transactions.
12. The apparatus of claim 10, the means for transmitting comprising:
a calculation sub-module to calculate a first number of first resources transferred from the first user's blockchain account to the second user's blockchain account based on data of the plurality of first transactions;
a sending submodule to send the second transaction to a node of the blockchain to eliminate the first number of first resources from the blockchain account of the second user.
13. The apparatus of claim 12, further comprising:
a determining module for determining a second number of second resources corresponding to the first number of first resources;
wherein the acquisition module is configured to: obtaining the second number of second resources from the first user's down-link account after receiving information from the block link point that the second transaction is complete.
14. The apparatus of claim 9, the apparatus further comprising:
a forwarding module, configured to forward a third number of second resources to a down-link account of a processor of the first transaction and/or a down-link account of a processor of the second transaction; the third number of second resources is part of the acquired second resources.
15. The apparatus of claim 9, wherein the apparatus further comprises:
and the storage module is used for periodically pulling the data of the new block from the block chain and storing the pulled data of the new block.
16. The apparatus of claim 9, wherein the apparatus further comprises:
the recharging module is used for sending a third transaction to the blockchain, wherein the third transaction is used for recharging a preset number of first resources to the blockchain account of the first user;
and the freezing module is used for freezing a second resource corresponding to the preset number of first resources in the first user's down-link account.
17. A computer-readable storage medium, having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method of any one of claims 1-8.
18. A computing device comprising a memory having executable code stored therein and a processor that, when executing the executable code, implements the method of any of claims 1-8.
CN202210170741.9A 2022-02-23 2022-02-23 Resource processing method and device based on block chain Pending CN114529412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210170741.9A CN114529412A (en) 2022-02-23 2022-02-23 Resource processing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210170741.9A CN114529412A (en) 2022-02-23 2022-02-23 Resource processing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN114529412A true CN114529412A (en) 2022-05-24

Family

ID=81624555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210170741.9A Pending CN114529412A (en) 2022-02-23 2022-02-23 Resource processing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN114529412A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117057807A (en) * 2023-10-11 2023-11-14 腾讯科技(深圳)有限公司 Resource processing method based on block chain architecture and related equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017004527A1 (en) * 2015-07-02 2017-01-05 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases
CN108898483A (en) * 2018-05-29 2018-11-27 阿里巴巴集团控股有限公司 Publication, exchanging method and its device, the electronic equipment of block chain assets
US20190318353A1 (en) * 2018-04-12 2019-10-17 Bank Of America Corporation Real time data processing platform for resources on delivery interactions
WO2020150741A1 (en) * 2019-01-18 2020-07-23 Blockrules Ltd Identity management, smart contract generator, and blockchain mediating system, and related methods
WO2020233626A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node in combination with conditional limitation of transaction and user types
CN112101919A (en) * 2020-09-16 2020-12-18 财付通支付科技有限公司 Data processing method and device, electronic equipment and storage medium
US20210073913A1 (en) * 2019-09-06 2021-03-11 Bosonic, Inc. System and method of providing a block chain-based recordation process
CN112767163A (en) * 2021-01-22 2021-05-07 支付宝(杭州)信息技术有限公司 Block chain-based digital commodity transaction method and device
US20210182838A1 (en) * 2019-12-17 2021-06-17 Bank Of America Corporation System for tracking resources in a distributed environment
CN113128992A (en) * 2021-04-30 2021-07-16 支付宝(杭州)信息技术有限公司 Payment method based on intellectual property right use authorization
WO2021230809A1 (en) * 2020-05-13 2021-11-18 The Hongkong And Shanghai Banking Corporation Limited Integration of blockchain transactions with off-chain processing
CN113762940A (en) * 2021-09-06 2021-12-07 支付宝(杭州)信息技术有限公司 Asset management method and device based on block chain and electronic equipment
US20210383371A1 (en) * 2020-06-05 2021-12-09 Hon Hai Precision Industry Co., Ltd. Method of recording transactions based on blockchain and electronic device using the same

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017004527A1 (en) * 2015-07-02 2017-01-05 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases
US20190318353A1 (en) * 2018-04-12 2019-10-17 Bank Of America Corporation Real time data processing platform for resources on delivery interactions
CN108898483A (en) * 2018-05-29 2018-11-27 阿里巴巴集团控股有限公司 Publication, exchanging method and its device, the electronic equipment of block chain assets
WO2020150741A1 (en) * 2019-01-18 2020-07-23 Blockrules Ltd Identity management, smart contract generator, and blockchain mediating system, and related methods
WO2020233626A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node in combination with conditional limitation of transaction and user types
US20210073913A1 (en) * 2019-09-06 2021-03-11 Bosonic, Inc. System and method of providing a block chain-based recordation process
US20210182838A1 (en) * 2019-12-17 2021-06-17 Bank Of America Corporation System for tracking resources in a distributed environment
WO2021230809A1 (en) * 2020-05-13 2021-11-18 The Hongkong And Shanghai Banking Corporation Limited Integration of blockchain transactions with off-chain processing
US20210383371A1 (en) * 2020-06-05 2021-12-09 Hon Hai Precision Industry Co., Ltd. Method of recording transactions based on blockchain and electronic device using the same
CN112101919A (en) * 2020-09-16 2020-12-18 财付通支付科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112767163A (en) * 2021-01-22 2021-05-07 支付宝(杭州)信息技术有限公司 Block chain-based digital commodity transaction method and device
CN113128992A (en) * 2021-04-30 2021-07-16 支付宝(杭州)信息技术有限公司 Payment method based on intellectual property right use authorization
CN113762940A (en) * 2021-09-06 2021-12-07 支付宝(杭州)信息技术有限公司 Asset management method and device based on block chain and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117057807A (en) * 2023-10-11 2023-11-14 腾讯科技(深圳)有限公司 Resource processing method based on block chain architecture and related equipment
CN117057807B (en) * 2023-10-11 2024-02-09 腾讯科技(深圳)有限公司 Resource processing method based on block chain architecture and related equipment

Similar Documents

Publication Publication Date Title
US20190303892A1 (en) Digital asset exchange
CN110992038B (en) Transaction processing method, device and equipment
US20220122064A1 (en) COIN Operated Digital Payments Hub
CN112766854B (en) Block chain-based digital commodity transaction method and device
CN112883109B (en) Block chain-based digital commodity transaction method and device
CN110992040A (en) Transaction processing method, device and equipment
CN106157003A (en) Data interactive method and device
CN109886676A (en) Method of payment, calculating equipment, storage medium for block chain network
KR102297975B1 (en) Apparatus and Method for mediating Online deal based on Smart Contract
US11200552B2 (en) Redemption network with transaction sequencer
CN110490568A (en) The replacement method and device of object, storage medium, electronic device
KR100545308B1 (en) System and Method of Total Payment Gateway for Electronic cash, Electronic gift-certificates and Milage points by using Credit card Number
CN114529412A (en) Resource processing method and device based on block chain
US11334864B2 (en) Mobile wallet cognitive rewards recognition system and method
CN113344624A (en) Virtual verification method, device, equipment and readable medium for electronic ticket
CN108876339B (en) E-pet transaction method and device based on certificate
CN109310916B (en) System and method for resolving conflicts in ordering data products
CN108564354A (en) settlement method, service platform and server
CN114708093A (en) Block chain-based digital resource processing method and device
JP2018124640A (en) Trade support method, virtual currency management method, trade support system, virtual currency management system, trade support program, and virtual currency management program
CN109559212A (en) A kind of refund processing method, device, equipment and system
EP3171318A1 (en) System for providing near real-time store credit transfers
CN117422493A (en) Settlement method, settlement device, settlement equipment and computer readable medium
CN116596529A (en) Transaction processing method and device
KR20240006474A (en) Method and apparatus for handling capital movement

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