WO2022110404A1 - Procédé et appareil de transfert de ressources, et dispositif et support de stockage - Google Patents

Procédé et appareil de transfert de ressources, et dispositif et support de stockage Download PDF

Info

Publication number
WO2022110404A1
WO2022110404A1 PCT/CN2020/138076 CN2020138076W WO2022110404A1 WO 2022110404 A1 WO2022110404 A1 WO 2022110404A1 CN 2020138076 W CN2020138076 W CN 2020138076W WO 2022110404 A1 WO2022110404 A1 WO 2022110404A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
account
blockchain
transfer
management server
Prior art date
Application number
PCT/CN2020/138076
Other languages
English (en)
Chinese (zh)
Inventor
匡立中
谢杨洁
李伟
张显清
Original Assignee
杭州趣链科技有限公司
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 杭州趣链科技有限公司 filed Critical 杭州趣链科技有限公司
Publication of WO2022110404A1 publication Critical patent/WO2022110404A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures

Definitions

  • the present application relates to the field of blockchain technology, and in particular, to a resource transfer method, apparatus, device and storage medium.
  • a bank invokes a blockchain smart contract to purchase an intermediary currency with the currency of the country where it is located, and pays the intermediary currency to the payee's bank through the cross-border payment system.
  • the payee's bank After the payee's bank receives the intermediary currency, it calls the blockchain smart contract to sell the intermediary currency to obtain the currency of the country where it is located, and adds the obtained currency to the payee's account.
  • the present application provides a resource transfer method, device, device and storage medium, which can avoid exchange losses.
  • a resource transfer method is provided, which is applied to a blockchain system.
  • the method includes: registering a corresponding first blockchain account for a first resource account, and registering a corresponding second resource account for a second resource account.
  • the first resource account and the second resource account are obtained by registering with different resource management servers.
  • a resource transfer request is received, where the resource transfer request carries the first resource quantity that the first resource account needs to transfer to the second resource account.
  • a resource transfer device applied to a blockchain system, the device includes:
  • a registration module for registering a corresponding first blockchain account for a first resource account and a corresponding second blockchain account for a second resource account, wherein the first resource account and the second resource account are Registered with different resource management servers.
  • a receiving module configured to receive a resource transfer request, where the resource transfer request carries the first resource quantity to be transferred from the first resource account to the second resource account.
  • a determination module configured to determine the number of first tokens corresponding to the number of first resources.
  • a transfer module configured to transfer the tokens of the first number of tokens in the balance of the first blockchain account to the balance of the second blockchain account.
  • a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being executed by the processor When the above-mentioned resource transfer method is implemented.
  • a computer-readable storage medium where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned resource transfer method is implemented.
  • a computer program product containing instructions that, when executed on a computer, cause the computer to perform the steps of the above-mentioned resource transfer method.
  • the blockchain system when the blockchain system receives a resource transfer request from the first resource account to the second resource account, it transfers the tokens in the first blockchain account corresponding to the first resource account to the second resource in the second blockchain account corresponding to the account.
  • the resource transfer between resource accounts in different resource management servers is converted into the token transfer between different blockchain accounts in the blockchain system.
  • it can speed up process processing, improve resource transfer efficiency, and at the same time avoid exchange losses in related technologies.
  • the immutability of the blockchain can reduce the risk of resource transfer. Once a problem occurs, it can accurately trace the source and locate the specific process point and responsible person of the problem, which is safe and reliable.
  • FIG. 1 is a schematic structural diagram of a blockchain system provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a blockchain provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a resource transfer system provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a resource transfer apparatus provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a blockchain system provided by an embodiment of the present application.
  • the blockchain system 100 refers to a system for sharing data between nodes.
  • the blockchain system 100 may include multiple nodes 101 , and multiple nodes 101 may refer to the system in the blockchain system 100 . each client.
  • Each node 101 can receive input information during normal work, and maintain shared data within the blockchain system 100 based on the received input information.
  • an information connection may exist between each node 101 in the blockchain system 100, and information transmission may be performed between the nodes 101 through the information connection.
  • any node 101 in the blockchain system 100 receives input information
  • other nodes 101 in the blockchain system 100 obtain the input information according to the consensus algorithm, and store the input information as data in the shared data , so that the data stored on all nodes 101 in the blockchain system 100 are consistent.
  • Each node 101 in the blockchain system 100 stores an identical blockchain.
  • the blockchain consists of multiple blocks.
  • the founding block includes a block header and a block body.
  • the block header stores the input information feature value, version number, timestamp and difficulty value.
  • the block body stores Input information;
  • the next block of the genesis block takes the genesis block as the parent block, the next block also includes the block header and the block body, and the block header stores the input information characteristic value of the current block, the parent block's
  • the block header feature value, version number, timestamp, and difficulty value, and so on make the block data stored in each block in the blockchain associated with the block data stored in the parent block, ensuring that Security of the information entered in the block.
  • the blockchain system 100 has computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • the blockchain system 100 is a distributed shared ledger and database, which has the characteristics of decentralization, non-tampering, full traces, traceability, collective maintenance, openness and transparency, etc. These features ensure the shared openness, authenticity, integrity, security and reliability of the blockchain.
  • FIG. 3 is a schematic diagram of a resource transfer system provided by an embodiment of the present application.
  • the resource transfer system includes: a plurality of resource management servers 301 and a blockchain system 302 .
  • the blockchain system 302 may be the blockchain system 100 described in the embodiments of FIGS. 1-2 above.
  • Each resource management server 301 of the plurality of resource management servers 301 and the blockchain system 302 may communicate through a wired network or a wireless network. That is, each resource management server 301 of the plurality of resource management servers 301 can access the blockchain system 302 .
  • Each resource management server 301 of the plurality of resource management servers 301 is used for resource management.
  • the resource may be a resource with circulating value, for example, the resource may be currency, in this case, the plurality of resource management servers 301 may be servers of various financial institutions (eg, banks).
  • any two resource management servers 301 in the multiple resource management servers 301 are located in different regions, and resources used in different regions are different.
  • any two resource management servers 301 in the multiple resource management servers 301 are located in different organizations or countries, and different organizations or countries have different currencies.
  • the resource transfer between any two resource management servers 301 in the plurality of resource management servers 301 is a cross-border payment.
  • a user can register a resource account in the resource management server 301, and the user can deposit resources into the resource account or withdraw resources from the resource account.
  • a user may register a bank account in a server of a bank, and the user may deposit money into or withdraw money from the bank account.
  • Each resource management server 301 may register a corresponding blockchain account for its resource account in the blockchain system 302 .
  • the plurality of resource management servers 301 include a target resource management server 3011 and other resource management servers 3012 except the target resource management server 3011 , and the number of other resource management servers 3012 may be greater than or equal to two.
  • the target resource management server 3011 may be the token issuer's resource management server.
  • Other resource management servers 3012 may be non-token issuer resource management servers.
  • the target resource management server 3011 may be deployed in a region qualified for token issuance, other resource management servers 3012 may be deployed in other regions, and different resource management servers 3012 may be deployed in different regions.
  • the target resource management server 3011 may register a resource account in each of the other resource management servers 3012, and the resource account may be called a target account or a settlement account. That is, the target resource management server 3011 has a plurality of target accounts.
  • the target resource management server 3011 may register a blockchain account in the blockchain system 302, and the blockchain account may be referred to as a target blockchain account.
  • a blockchain account is an account that exists on the blockchain configured by the blockchain system 302 . That is, the account data of the blockchain account is stored in the blockchain configured by the blockchain system 302 .
  • the account data of the blockchain account can include account address, balance, state variables, etc.
  • the balance of the blockchain account represents the number of tokens owned by the blockchain account.
  • the other resource management servers 3012 include a first resource management server and a second resource management server.
  • the first resource management server, the second resource management server, the target resource management server 3011 and the blockchain system 302 can execute the resource transfer method described in the embodiment of FIG. 4 below to realize the transfer between resource accounts in different resource management servers. resource transfer.
  • FIG. 4 is a flowchart of a resource transfer method provided by an embodiment of the present application. Referring to Figure 4, the following steps are included.
  • the resource management server can register the corresponding blockchain account for the resource account in the blockchain system.
  • the following takes the first resource management server and the second resource management server as examples to describe the blockchain account registration process, which may include the following steps 401-404.
  • steps 401 and 402 are that the first resource management server registers the corresponding blockchain account for the first resource account in the blockchain system
  • steps 403 and 404 are that the second resource management server is the second resource management server in the blockchain system.
  • the resource account registers the corresponding blockchain account.
  • Step 401 The first resource management server sends a blockchain account registration request to the blockchain system, where the blockchain account registration request carries the first resource account identifier.
  • the blockchain account registration request is used to request to register the blockchain account corresponding to the first resource account.
  • the first resource account identifier is used to identify the first resource account, for example, the first resource account identifier may be the serial number of the first resource account or the like.
  • the first resource account is a resource account registered by the user in the first resource management server.
  • the first resource account may be a bank account registered by the user in the server of the bank, and the first resource account identifier may be the account number of the bank account.
  • the user may initiate a blockchain account registration application to the first resource management server through the first resource management client, where the blockchain account registration application includes the first resource account identifier and user information.
  • the first resource management server may send the blockchain account registration request to the blockchain system.
  • the first resource management server may review the blockchain account registration application first, and then send the blockchain account registration application to the blockchain system after the review is passed. ask.
  • the first resource management server may review the blockchain account registration application automatically. For example, the first resource management server may review the blockchain account registration application according to preset registration conditions. Specific business needs are preset. If the blockchain account registration application satisfies the registration conditions, the first resource management server determines that the blockchain account registration application is approved; if the blockchain account registration application does not meet the registration conditions, the first resource management server It is determined that the application for registration of the blockchain account has not been approved.
  • the first resource management server may review the blockchain account registration application manually, for example, the first resource management server may review the blockchain account registration application.
  • the staff member determines that there is no problem with the blockchain account registration application, he can trigger an approval instruction.
  • the first resource management server determines that the blockchain account registration application is approved; the staff member determines When there is a problem with the blockchain account registration application, a review failure instruction may be triggered, and the first resource management server determines that the blockchain account registration application review fails after detecting the review failure command.
  • Step 402 The blockchain system registers the corresponding first blockchain account for the first resource account.
  • the blockchain system can generate a first blockchain account, and the account data of the first blockchain account includes the account address and balance;
  • the first resource account identifier carried in the blockchain account registration request is stored corresponding to the account address of the first blockchain account.
  • the first resource account identifier is stored corresponding to the account address of the first blockchain account, the first resource account is bound to the first blockchain account.
  • the operation of generating the first blockchain account by the blockchain system is similar to the operation of generating a certain blockchain account by the blockchain system in the related art, which is not described in detail in this embodiment of the present application.
  • Step 403 The second resource management server sends a blockchain account registration request to the blockchain system, where the blockchain account registration request carries the second resource account identifier.
  • the blockchain account registration request is used to request to register the blockchain account corresponding to the second resource account.
  • the second resource management server and the first resource management server are different resource management servers.
  • the regions where the first resource management server and the second resource management server are located are different.
  • the first resource management server and the second resource management server may be deployed in different organizations or countries.
  • the resource transfer between the resource account in the first resource management server and the resource account in the second resource management server is Cross-border payments.
  • the second resource account identifier is used to identify the second resource account, for example, the second resource account identifier may be the serial number of the second resource account or the like.
  • the second resource account is a resource account registered by the user in the second resource management server.
  • the second resource account may be a bank account registered by the user in the server of the bank
  • the second resource account identifier may be the account number of the bank account.
  • the operation of the second resource management server sending the blockchain account registration request to the blockchain system is similar to the operation of the first resource management server sending the blockchain account registration request to the blockchain system in the above step 401. No longer.
  • Step 404 The blockchain system registers the corresponding second blockchain account for the second resource account.
  • step 404 is similar to the operation of the blockchain system to register the first blockchain account corresponding to the first resource account in the foregoing step 402, which is not described in detail in this embodiment of the present application.
  • the blockchain system can also set the resource account according to the resource transfer situation between the resource account and its corresponding target account.
  • the resource account is the first resource account or the second resource account.
  • the resource account and its corresponding target account are registered in the same resource management server.
  • the resource account is obtained by the user registered with a resource management server, and the target account corresponding to the resource account is obtained by the target resource management server registered with the resource management server.
  • All resource accounts in a resource management server correspond to a target account in the resource management server, that is, the target account corresponding to a resource account is the target account in the resource management server to which the resource account belongs.
  • Resource transfer can be performed directly between resource accounts and target accounts belonging to the same resource management server. For example, transfers can be made directly between multiple bank accounts belonging to a server of the same bank.
  • the blockchain system may set the balance of the blockchain account corresponding to the resource account according to the resource transfer situation between the resource account and the corresponding target account.
  • the following will take the user to which the first resource account belongs to recharge its corresponding blockchain account through the first resource account as an example for description, and the specific process may include the following steps 405-407.
  • the process of recharging the corresponding blockchain account of the user to which the second resource account belongs through the second resource account is similar, which is not repeated in this embodiment of the present application.
  • Step 405 The first resource management server sends a token storage request to the blockchain system.
  • the token storage request carries the quantity of the second resource to be stored by the first resource account.
  • the token storage request may include a first resource account identifier and a second resource quantity.
  • the user can initiate a token storage application to the first resource management server through the first resource management client, and the token storage application includes the first resource account identifier, user information, and the quantity of the second resource to be stored.
  • the first resource management server can send the token storage request to the blockchain system.
  • the first resource management server may review the token storage application first, and then send the token storage request to the blockchain system after the verification is passed.
  • the first resource management server may review the token storage application automatically. For example, the first resource management server may review the token storage application according to preset storage conditions, and the storage conditions may be based on specific business needs. Make a preset. If the token storage application satisfies the storage condition, the first resource management server determines that the token storage application is approved; if the token storage application does not meet the storage condition, the first resource management server determines the token storage application Review failed.
  • the first resource management server may review the token storage application manually, for example, the token storage application may be reviewed by the staff of the first resource management server.
  • the staff member determines that there is no problem with the token storage application, he can trigger the approval instruction.
  • the first resource management server determines that the token storage application is approved; the staff member confirms that the token storage application is approved.
  • a review failure instruction can be triggered. After detecting the review failure instruction, the first resource management server determines that the token storage application has failed the review.
  • Step 406 After receiving the token storage request sent by the first resource management server, the blockchain system transfers the resources of the second resource quantity in the first resource account to the target account corresponding to the first resource account.
  • the resources in the first resource account are transferred to the target account in the same resource management server as the first resource account.
  • the blockchain system After the blockchain system receives the token storage request sent by the first resource management server, the first resource account identifier, the second resource quantity and the target account corresponding to the first resource management server carried in the token storage request Identifies, and calls the resource transfer interface provided by the first resource management server to transfer the resources of the second resource quantity in the first resource account to the target account in the first resource management server, which is also transferred to the corresponding first resource account. in the target account.
  • a target account is registered in each resource management server.
  • the blockchain system can pre-store the target account identifier corresponding to each resource management server.
  • the target account identifier corresponding to the resource management server is used to identify the target account in the resource management server.
  • the target account identifier may be the serial number of the target account.
  • the target account in the resource management server is the target account corresponding to the resource account in the resource management server.
  • Step 407 The blockchain system determines the number of second tokens corresponding to the number of second resources, and transfers the tokens of the second number of tokens in the balance of the target blockchain account to the balance of the first blockchain account .
  • the tokens in the target blockchain account are transferred to the first blockchain account.
  • the conversion rate can be set to 1:1.
  • the number of resources and the number of tokens are the same.
  • other conversion rates may also be set, which may be specifically set according to business requirements, which are not limited in this embodiment of the present application.
  • the blockchain system can determine the account address corresponding to the first resource account identifier carried in the token storage request, and will determine the area to which the acquired account address belongs.
  • the blockchain account is used as the first blockchain account corresponding to the first resource account.
  • the operation of the blockchain system to transfer the tokens of the second number of tokens in the balance of the target blockchain account to the balance of the first blockchain account is to reduce the number of tokens in the balance of the target blockchain account Tokens with the second number of tokens are added to the balance of the first blockchain account with the second number of tokens.
  • the target blockchain account is registered in the blockchain system by the target resource management server.
  • the target resource management server can pre-store a large number of tokens in the target blockchain account for use in resource transfer between resource accounts of different resource management servers.
  • the blockchain system may first transfer the resources in the first resource account to the target account in the same resource management server as the first resource account, and then transfer the tokens in the target blockchain account into the first blockchain account corresponding to the first resource account. In this way, the effect of using the resources in the first resource account to store tokens in the first blockchain account corresponding to the first resource account is achieved, that is, the recharging of the first blockchain account is realized.
  • the user who belongs to the resource account recharges the blockchain account corresponding to the resource account through the resource account, he can use the balance in the blockchain account to perform the resource transfer operation.
  • Step 408 The first resource management server sends a resource transfer request to the blockchain system.
  • the resource transfer request is used to request resource transfer.
  • the resource transfer request carries the first resource quantity to be transferred from the first resource account to the second resource account.
  • the resource transfer request may carry the resource account identifier of the payer (that is, the first resource account identifier), the resource account identifier of the payee (that is, the second resource account identifier), and the quantity of the first resource to be transferred.
  • the user can initiate a resource transfer application to the first resource management server through the first resource management client, where the resource transfer application includes the first resource account identifier, the second resource account identifier, user information, and the quantity of the first resource to be transferred.
  • the first resource management server may send the resource transfer request to the blockchain system.
  • the first resource management server may review the resource transfer application first, and then send the resource transfer request to the blockchain system after the review is passed.
  • the first resource management server may review the resource transfer application automatically. For example, the first resource management server may review the resource transfer application according to preset transfer conditions, and the transfer conditions may be pre-determined according to specific business requirements. set up. If the resource transfer application satisfies the transfer condition, the first resource management server determines that the resource transfer application is approved; if the resource transfer application does not meet the transfer condition, the first resource management server determines that the resource transfer application is not approved.
  • the first resource management server may review the resource transfer application manually, for example, the resource transfer application may be reviewed by the staff of the first resource management server.
  • the staff member determines that there is no problem with the resource transfer application, he can trigger an approval instruction.
  • the first resource management server determines that the resource transfer application is approved; the staff member determines that there is a problem with the resource transfer application.
  • the verification fails, the first resource management server determines that the resource transfer application fails to pass the verification after detecting the verification failure instruction.
  • Step 409 After receiving the resource transfer request sent by the first resource management server, the blockchain system determines the number of first tokens corresponding to the first resource quantity, and calculates the first token in the balance of the first blockchain account. A number of tokens are transferred to the balance of the second blockchain account.
  • the blockchain system can determine the account address corresponding to the first resource account identifier carried in the resource transfer request, and record the blockchain to which the acquired account address belongs.
  • the account is used as the first blockchain account corresponding to the first resource account.
  • the blockchain system can determine the account address corresponding to the second resource account identifier carried in the resource transfer request, and use the blockchain account to which the acquired account address belongs as the second blockchain account corresponding to the second resource account .
  • the operation of the blockchain system to transfer the tokens of the first number of tokens in the balance of the first blockchain account to the balance of the second blockchain account is in the balance of the first blockchain account Decrease the number of tokens of the first token and increase the number of tokens of the first token in the balance of the second blockchain account.
  • the blockchain system receives the resource transfer request sent by the first resource management server, after determining the number of first tokens corresponding to the first resource quantity, the first token is stored in the balance of the first blockchain account. Before the number of tokens is transferred to the balance of the second blockchain account, the resource transfer request can also be reviewed; after the resource transfer request is reviewed and approved, the first generation corresponding to the first resource number can be determined. The number of coins in the first blockchain account is transferred to the balance of the second blockchain account; after the resource transfer request fails to pass the review, the operation is ended.
  • the state of the resource transfer request may be set as pending, and the resource transfer request may be stored in the database.
  • the blockchain system can store the resource transfer request to the blockchain configured by the blockchain system, and after obtaining the execution result of the on-chain transaction, send the resource transfer request to the operation server, and the operation server will transfer the resource Request for review.
  • the operation server approves the resource transfer request, it can change the status of the resource transfer request to reviewed, and then send the resource transfer request to the blockchain system.
  • the blockchain system can change the status of the resource transfer request stored in the database to reviewed.
  • the blockchain system when the blockchain system sends the resource transfer request to the operation server, it can pass the MQ (Message Queuing, message queue) message middleware sends the resource transfer request to the operation server.
  • MQ Message Queuing, message queue
  • the blockchain system can also send the resource transfer request to the operation server in other ways, which is not limited in this embodiment of the present application.
  • the operation server can be a server of a third-party regulatory agency, and can be responsible for the audit of resource transfers between resource accounts in different resource management servers, so as to determine that the resource transfers between resource accounts in different resource management servers are normal and safe. .
  • the staff of the operation server may conduct an initial review of the resource transfer request, and after the initial review is passed, the operation server may send the resource transfer request to the second resource management server , the second resource management server conducts a second review of the resource transfer request, and after the second review is passed, the operation server may determine that the resource transfer request is approved.
  • the blockchain system when the blockchain system transfers the first number of tokens in the balance of the first blockchain account to the balance of the second blockchain account, it can first determine whether the resource transfer request has been processed before. However, if it is determined that the resource transfer request has not been processed, the tokens of the first number of tokens in the balance of the first blockchain account can be transferred to the balance of the second blockchain account. Afterwards, if the tokens of the first number of tokens in the balance of the first blockchain account are successfully transferred to the balance of the second blockchain account, the blockchain system can modify the status of the resource transfer request to Processing is complete.
  • the blockchain system can determine the reason for the transaction failure (such as transaction timeout), Retry to transfer the first number of tokens in the balance of the first blockchain account to the balance of the second blockchain account according to the reason for the transaction failure.
  • the reason for the transaction failure such as transaction timeout
  • the blockchain system when the blockchain system receives a resource transfer request from the first resource account to the second resource account, it transfers the tokens in the first blockchain account corresponding to the first resource account to the second resource account. In the second blockchain account corresponding to the resource account.
  • the resource transfer between resource accounts in different resource management servers is converted into the token transfer between different blockchain accounts in the blockchain system.
  • it can speed up process processing, improve resource transfer efficiency, and at the same time avoid exchange losses in related technologies.
  • the immutability of the blockchain can reduce the risk of resource transfer. Once a problem occurs, it can accurately trace the source and locate the specific process point and responsible person of the problem, which is safe and reliable.
  • the blockchain system may set the balance of the blockchain account corresponding to the resource account according to the resource transfer situation between the resource account and the corresponding target account.
  • the operation of withdrawing from the blockchain account to the resource account. Withdrawing to the resource account is to transfer resources to the resource account.
  • the following is an example of a user who belongs to the second resource account withdrawing money from the blockchain account corresponding to the second resource account to the second resource account.
  • the specific process may include the following steps 410-412.
  • the process of withdrawing money from the blockchain account corresponding to the first resource account to the first resource account by the user to which the first resource account belongs is similar, which is not repeated in this embodiment of the present application.
  • Step 410 The second resource management server sends a resource extraction request to the blockchain system.
  • the resource extraction request carries the quantity of the third resource to be extracted by the second resource account.
  • the resource extraction request may include a second resource account identifier and a third resource quantity.
  • the user can initiate a resource extraction application to the second resource management server through the second resource management client, where the resource extraction application includes the second resource account identifier, user information, and the quantity of the third resource to be extracted.
  • the second resource management server may send the resource extraction request to the blockchain system.
  • the second resource management server may review the resource extraction application first, and then send the resource extraction request to the blockchain system after the review is passed.
  • the operation of the second resource management server to review the resource extraction application is similar to the operation of the first resource management server to review the resource transfer application in the foregoing step 408 , which is not repeated in this embodiment of the present application.
  • Step 411 After receiving the resource extraction request sent by the second resource management server, the blockchain system determines the number of third tokens corresponding to the number of third resources, and calculates the number of third tokens in the balance of the second blockchain account. A number of tokens are transferred to the balance of the target blockchain account.
  • the tokens in the second blockchain account are transferred to the target blockchain account.
  • the blockchain system can determine the account address corresponding to the second resource account identifier carried in the resource extraction request, and record the blockchain to which the acquired account address belongs.
  • the account is used as the second blockchain account corresponding to the second resource account.
  • the operation of the blockchain system to transfer the tokens of the third number of tokens in the balance of the second blockchain account to the balance of the target blockchain account is to reduce the amount of tokens in the balance of the third blockchain account Tokens with the third number of tokens are added to the balance of the target blockchain account by the number of tokens with the second number of tokens.
  • Step 412 The blockchain system transfers the resources of the third resource quantity in the target account corresponding to the second resource account to the second resource account.
  • the resources in the target account in the same resource management server as the second resource account are transferred to the second resource account.
  • the blockchain system calls the resource transfer interface provided by the second resource management server according to the target account identifier corresponding to the second resource management server, the second resource account identifier and the third resource quantity carried in the resource extraction request to transfer the
  • the target account in the second resource management server is to transfer the resources of the third resource quantity in the target account corresponding to the second resource account to the second resource account.
  • the blockchain system can first transfer the tokens in the second blockchain account to the target blockchain account, and then transfer the resources in the target account in the same resource management server as the second resource account Transfer to the second resource account. In this way, the effect of extracting the tokens in the second blockchain account corresponding to the second resource account as resources in the second resource account is achieved, that is, the withdrawal to the second resource account is realized.
  • the target account is the resource account registered by the target resource management server in other resource management servers, that is, the target resource management server is the resource management server to which the target account belongs, so in the embodiment of the present application, the relevant target account can also be
  • the resource transfer record is notified to the target resource management server to facilitate subsequent account reconciliation by the target resource management server. Specifically, the following steps 413-414 may be included.
  • Step 413 The blockchain system generates a resource transfer record of the target account according to the resource transfer situation between the resource account and the corresponding target account.
  • the resource transfer record of the target account is used to record the resource transfer out and resource transfer in the target account.
  • the target account resource transfer record may record the above-mentioned situation of transferring resources in the first resource account to the target account, or the target account resource transfer record may record the above-mentioned situation of transferring resources in the target account to the second resource account. Every time a resource transfer occurs in the target account (including resource transfer or resource transfer), the blockchain system can generate a target account resource transfer record according to the current resource transfer situation of the target account.
  • Step 414 The blockchain system sends the target account resource transfer record to the target resource management server.
  • the blockchain system can send the target account resource transfer record to the billing account (including but not limited to IB (interbank) account, etc.) in the target resource management service.
  • the accounting account includes all resource transfer records of all target accounts corresponding to the target resource management server, so that the target resource management server can know its existence according to all the resource transfer records included in the accounting account.
  • the blockchain system when the blockchain system receives a resource transfer request from the first resource account to the second resource account, it transfers the tokens in the first blockchain account corresponding to the first resource account to the second resource account. In the second blockchain account corresponding to the second resource account.
  • the resource transfer between resource accounts in different resource management servers is converted into the token transfer between different blockchain accounts in the blockchain system.
  • it can speed up the processing speed of the process, improve the efficiency of resource transfer, and at the same time avoid the problem of exchange loss in related technologies.
  • the immutability of the blockchain can reduce the risk of resource transfer. Once a problem occurs, it can accurately trace the source and locate the specific process point and responsible person of the problem, which is safe and reliable.
  • FIG. 5 is a flowchart of a resource transfer method provided by an embodiment of the present application.
  • the method is applied to a blockchain system, and the blockchain system may be the blockchain system 100 described in the embodiments of FIG. 1 to FIG. 2 above.
  • the method may include the following steps:
  • Step 501 Register a corresponding first blockchain account for the first resource account, and register a corresponding second blockchain account for the second resource account.
  • the first resource account and the second resource account are obtained by registering with different resource management servers.
  • the relevant content of step 501 has been explained in detail in the above-mentioned steps 401 to 404, which is not repeated in this embodiment of the present application.
  • Step 502 Receive a resource transfer request.
  • the resource transfer request carries the first resource quantity to be transferred from the first resource account to the second resource account.
  • the relevant content of step 502 has been explained in detail in the above-mentioned step 408 , which is not repeated in this embodiment of the present application.
  • Step 503 Determine the number of first tokens corresponding to the first resource quantity, and transfer the tokens of the first number of tokens in the balance of the first blockchain account to the balance of the second blockchain account.
  • the relevant content of step 503 has been explained in detail in the above-mentioned step 409, and is not repeated in this embodiment of the present application.
  • the blockchain system when the blockchain system receives a resource transfer request from the first resource account to the second resource account, it transfers the tokens in the first blockchain account corresponding to the first resource account to the second resource account. In the second blockchain account corresponding to the second resource account.
  • the resource transfer between resource accounts in different resource management servers is converted into the token transfer between different blockchain accounts in the blockchain system.
  • it can speed up process processing, improve resource transfer efficiency, and at the same time avoid exchange losses in related technologies.
  • the immutability of the blockchain can reduce the risk of resource transfer. Once a problem occurs, it can accurately trace the source and locate the specific process point and responsible person of the problem, which is safe and reliable.
  • FIG. 6 is a schematic structural diagram of a resource transfer device provided by an embodiment of the present application.
  • the device can be applied to a blockchain system, and the blockchain system can be the blockchain described in the embodiments of FIG. 1 to FIG. 2 above. system 100.
  • the apparatus includes: a registration module 601 , a reception module 602 , a determination module 603 and a transfer module 604 .
  • a registration module 601 is used to register a corresponding first blockchain account for a first resource account, and a corresponding second blockchain account for a second resource account.
  • the first resource account and the second resource account are in different
  • the resource management server is registered and obtained;
  • the receiving module 602 is used for receiving the resource transfer request, the resource transfer request carries the first resource quantity that needs to be transferred from the first resource account to the second resource account;
  • the determining module 603 is used for determining the first resource quantity The corresponding number of first tokens;
  • the transfer module 604 is used to transfer the tokens of the first number of tokens in the balance of the first blockchain account to the balance of the second blockchain account.
  • the device further includes a setting module, and the setting module is used for: setting the balance of the blockchain account corresponding to the resource account according to the resource transfer situation between the resource account and the corresponding target account, and the resource account is the first resource account. Or the second resource account, where the resource account and the corresponding target account are registered in the same resource management server.
  • the setting module is used to: receive a token storage request, and the token storage request carries the second resource quantity to be stored by the first resource account; transfer the resources of the second resource quantity in the first resource account to the first resource account In the corresponding target account; determine the number of second tokens corresponding to the number of second resources; transfer the tokens of the second number of tokens in the balance of the target blockchain account to the balance of the first blockchain account.
  • the setting module is used for: receiving a resource extraction request, the resource extraction request carrying the third resource quantity to be extracted by the second resource account; determining the number of third tokens corresponding to the third resource quantity; The tokens of the third number of tokens in the balance of the account are transferred to the balance of the target blockchain account; the resources of the third number of resources in the target account corresponding to the second resource account are transferred to the second resource account.
  • the device further includes: a generating module for generating a target account resource transfer record according to the resource transfer situation between the resource account and the corresponding target account; a sending module for sending the target account resource transfer record to the target Resource management server, the target resource management server is the resource management server to which the target account belongs, and the target resource management server is the resource management server that registers the target blockchain account in the blockchain system.
  • the registration module 601 is configured to: receive a blockchain account registration request, where the blockchain account registration request carries a first resource account identifier; generate a first blockchain account, where the account data of the first blockchain account includes the account address and balance; store the first resource account identifier corresponding to the account address of the first blockchain account.
  • the resource management server registered with the first resource account and the resource management server registered with the second resource account are located in different regions.
  • the blockchain system when the blockchain system receives a resource transfer request from the first resource account to the second resource account, it transfers the tokens in the first blockchain account corresponding to the first resource account to the second resource account. In the second blockchain account corresponding to the second resource account.
  • the resource transfer between resource accounts in different resource management servers is converted into the token transfer between different blockchain accounts in the blockchain system.
  • it can speed up process processing, improve resource transfer efficiency, and at the same time avoid exchange losses in related technologies.
  • the immutability of the blockchain can reduce the risk of resource transfer. Once a problem occurs, it can accurately trace the source and locate the specific process point and responsible person of the problem, which is safe and reliable.
  • the resource transfer apparatus provided in the above-mentioned embodiments only uses the division of the above-mentioned functional modules as an example to illustrate the resource transfer.
  • the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the resource transfer apparatus and the resource transfer method embodiments provided by the above embodiments belong to the same concept, and the specific working processes of the units and modules in the above embodiments and the technical effects brought by them can be found in the method embodiments section, which will not be repeated here.
  • FIG. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • the computer device 7 includes: a processor 70 , a memory 71 , and a computer program 72 stored in the memory 71 and running on the processor 70 .
  • the processor 70 executes the computer program 72 , the above-mentioned embodiment in FIG. 5 is implemented Steps in the resource transfer method in .
  • the computer device 7 may be a general purpose computer device or a special purpose computer device.
  • the computer device 7 may be a server cluster composed of multiple servers.
  • FIG. 7 is only an example of the computer device 7, and does not constitute a limitation to the computer device 7, and may include more or less components than the one shown, or combine some components, or different components , for example, it may also include input and output devices, network access devices, and so on.
  • the processor 70 may be a central processing unit (Central Processing Unit, CPU), the processor 70 can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or it may be any conventional processor.
  • the memory 71 may in some embodiments be an internal storage unit of the computer device 7 , such as a hard disk or memory of the computer device 7 . In other embodiments, the memory 71 may also be an external storage device of the computer device 7 , such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on the computer device 7 . card, Flash Card, etc. Further, the memory 71 may also include both an internal storage unit of the computer device 7 and an external storage device. The memory 71 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of computer programs, and the like. The memory 71 can also be used to temporarily store data that has been output or is to be output.
  • an external storage device of the computer device 7 such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on
  • Embodiments of the present application also provide a computer device, the computer device comprising: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor executing the computer program
  • the steps in any of the foregoing method embodiments are implemented at the same time.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
  • the embodiments of the present application provide a computer program product, which, when running on a computer, causes the computer to execute the steps in the above-mentioned respective method embodiments.
  • the integrated unit if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
  • all or part of the processes in the above method embodiments can be implemented by a computer program that instructs relevant hardware.
  • the computer program can be stored in a computer-readable storage medium, and the computer program can be When executed by the processor, the steps of the foregoing method embodiments may be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like.
  • the computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the photographing device/terminal device, recording medium, computer memory, ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory) , random access memory), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), magnetic tapes, floppy disks, and optical data storage devices, etc.
  • the computer-readable storage medium mentioned in this application may be a non-volatile storage medium, in other words, may be a non-transitory storage medium.

Landscapes

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

Abstract

Procédé et appareil de transfert de ressources, ainsi qu'un dispositif et un support de stockage, qui appartiennent au domaine technique des chaînes de blocs. Le procédé est appliqué à un système de chaîne de blocs, et consiste à enregistrer un premier compte de chaîne de blocs correspondant pour un premier compte de ressources, et à enregistrer un second compte de chaîne de blocs correspondant pour un second compte de ressources (501), le premier compte de ressources et le second compte de ressources étant obtenus par enregistrement avec différents serveurs de gestion de ressources; à recevoir une demande de transfert de ressources (502), la demande de transfert de ressources transportant une première quantité de ressources du premier compte de ressources qui doit être transférée au second compte de ressources; et à déterminer une première quantité de jeton correspondant à la première quantité de ressource, et à transférer, au solde du second compte de chaîne de blocs, la première quantité de jetons de jetons dans le solde du premier compte de chaîne de blocs (503). Au moyen du procédé, la vitesse de traitement de flux peut être accélérée, l'efficacité de transfert de ressources est améliorée, et une perte d'échange peut également être évitée.
PCT/CN2020/138076 2020-11-24 2020-12-21 Procédé et appareil de transfert de ressources, et dispositif et support de stockage WO2022110404A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011330849.7 2020-11-24
CN202011330849.7A CN112446787A (zh) 2020-11-24 2020-11-24 资源转移方法、装置、设备和存储介质

Publications (1)

Publication Number Publication Date
WO2022110404A1 true WO2022110404A1 (fr) 2022-06-02

Family

ID=74737607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/138076 WO2022110404A1 (fr) 2020-11-24 2020-12-21 Procédé et appareil de transfert de ressources, et dispositif et support de stockage

Country Status (2)

Country Link
CN (1) CN112446787A (fr)
WO (1) WO2022110404A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11843546B1 (en) * 2023-01-17 2023-12-12 Capital One Services, Llc Determining resource usage metrics for cloud computing systems

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392584A (zh) * 2017-07-24 2017-11-24 中国银行股份有限公司 跨境支付系统及基于区块链支付系统的跨境支付方法
US20190180274A1 (en) * 2017-12-11 2019-06-13 Global Mobile Finance, Inc. Methodology and system for a blockchain-based mobile money gateway
CN111340468A (zh) * 2020-02-26 2020-06-26 腾讯科技(深圳)有限公司 资源数据处理方法、装置、计算机设备和存储介质
CN111861440A (zh) * 2020-08-06 2020-10-30 中国银行股份有限公司 基于区块链网络的银行转账方法及系统
CN111899008A (zh) * 2020-09-17 2020-11-06 支付宝(杭州)信息技术有限公司 资源转移方法、装置、设备及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111815309B (zh) * 2020-08-28 2020-12-11 支付宝(杭州)信息技术有限公司 基于区块链的跨币种结算方法及装置、电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392584A (zh) * 2017-07-24 2017-11-24 中国银行股份有限公司 跨境支付系统及基于区块链支付系统的跨境支付方法
US20190180274A1 (en) * 2017-12-11 2019-06-13 Global Mobile Finance, Inc. Methodology and system for a blockchain-based mobile money gateway
CN111340468A (zh) * 2020-02-26 2020-06-26 腾讯科技(深圳)有限公司 资源数据处理方法、装置、计算机设备和存储介质
CN111861440A (zh) * 2020-08-06 2020-10-30 中国银行股份有限公司 基于区块链网络的银行转账方法及系统
CN111899008A (zh) * 2020-09-17 2020-11-06 支付宝(杭州)信息技术有限公司 资源转移方法、装置、设备及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11843546B1 (en) * 2023-01-17 2023-12-12 Capital One Services, Llc Determining resource usage metrics for cloud computing systems

Also Published As

Publication number Publication date
CN112446787A (zh) 2021-03-05

Similar Documents

Publication Publication Date Title
US20230129822A1 (en) Resource transfer system
CN108364229B (zh) 资金流转方法及装置、电子设备
CN108256999B (zh) 资金流转方法及装置、电子设备
US20190026821A1 (en) Intermediate blockchain system for managing transactions
CN110582790A (zh) 用于受限制交易处理的系统和方法
US11455642B1 (en) Distributed ledger based interchange
WO2020042774A1 (fr) Procédé et appareil de remise basée sur une chaîne de blocs
US11443307B2 (en) Cross-border resource transfer authenticity verification method, device and electronic equipment
CN110020936B (zh) 基于区块链的资产管理方法及装置、电子设备
CN109285069B (zh) 资源转移方法、装置及服务器
US10984417B2 (en) Blockchain-based data synchronization system, method, apparatus, and electronic device
US20220036351A1 (en) Method and apparatus for resource exchange
US10789628B2 (en) Blockchain-based bill number allocation method, apparatus and electronic device
WO2022110404A1 (fr) Procédé et appareil de transfert de ressources, et dispositif et support de stockage
KR20150110422A (ko) 소액의 전자 화폐 이체를 위한 시스템 및 방법
CN112965986B (zh) 业务一致性处理方法、装置、设备及存储介质
WO2021121030A1 (fr) Procédé de transfert de ressources, terminal de règlement et nœud de serveur
WO2022047582A1 (fr) Technologies utilisant une chaîne de blocs pour un traitement de transaction hors ligne sécurisé
CN113724082B (zh) 账务处理方法、装置、设备及存储介质
US20200314112A1 (en) Method, apparatus and computer program for verifying the integrity of electronic messages
CN117635324A (zh) 基于区块链网络的数据处理方法及装置、设备和介质
CN113282664A (zh) 基于区块链的数据同步方法、系统及存储介质
CN114219478A (zh) 银行卡的绑定方法、装置、电子设备及存储介质
CN113627918A (zh) 一种基于分布式数字身份did的结算支付方法和装置
KR20240005642A (ko) 금융 서비스 제공 시스템 및 이를 위한 간편결제사 서버

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20963292

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20963292

Country of ref document: EP

Kind code of ref document: A1