Resource Data Transfer Method, Device, Storage Medium, and Computer Equipment

By obtaining specific user data to be authenticated from the identity authentication blockchain and performing identity authentication, and combining with the smart contract to execute resource data transfer logic, the problem of inaccurate resource data transfer in the existing technology is solved, and the accuracy and reliability of resource data transfer is achieved.

CN111222865BActive Publication Date: 2025-05-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910887568.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-19
Publication Date
2025-05-30
Estimated Expiration
2039-09-19

AI Technical Summary

Technical Problem

Existing resource data transfer systems for specific users are susceptible to the influence of administrators in the process of resource data transfer, resulting in data tampering, which in turn causes inaccurate resource data transfer.

Method used

By receiving a resource data transfer request carrying the user ID, the user ID obtains the specific user data to be authenticated from the preset identity authentication blockchain based on the user ID, and performs the specific user identity authentication. After the identity authentication is passed, a smart contract for resource data transfer is called, the declared resource data transfer logic is executed, the resource data transfer information is obtained based on the user level, and the resource data transfer is carried out.

Benefits of technology

Through the immutability of blockchain and the credibility of smart contracts, the accuracy of resource data transfer is ensured, and data tampering problems caused by administrators' evil deeds are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111222865B_ABST
    Figure CN111222865B_ABST
Patent Text Reader

Abstract

This application relates to a resource data transfer method, apparatus, storage medium, and computer device. The method includes: receiving a resource data transfer request carrying a user identifier, obtaining, from a preset identity authentication blockchain according to the user identifier, to-be-authenticated specific user data corresponding to the user identifier, performing specific user identity authentication according to the to-be-authenticated specific user data to obtain a specific user identity authentication result, when the specific user identity authentication result is passed, invoking a specific user resource data transfer smart contract, having the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic, obtaining specific user resource data transfer information based on the user level in the specific user identity authentication result, and transferring resource data according to the specific user resource data transfer information. The solution provided by this application can achieve accurate transfer of resource data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology, and particularly to a method, device, storage medium, and computer device for resource data transfer. Background Art

[0002] With the development of computer technology, a specific user resource data transfer system has emerged. The traditional specific user resource data transfer system conducts qualification authentication based on the authentication materials provided by the applicant to obtain a qualification authentication result. After the qualification authentication is passed, resource data transfer is performed according to the qualification authentication result. When performing resource data transfer based on the qualification authentication result, after obtaining the qualification authentication result, the computer needs to store the qualification authentication result in the resource data transfer database for preservation, and the administrators at all levels of the specific user resource data transfer system perform resource data transfer after approving the qualification authentication result. For example, in a specific user payment distribution system, identity authentication is performed based on the authentication materials provided by the specific user to be authenticated to obtain an identity authentication result. After the identity authentication is passed, the corresponding payment is transferred to the account of the specific user according to the user level in the identity authentication result.

[0003] However, in the current specific user resource data transfer method, when performing resource data transfer, the computer accepts the approval data of administrators at all levels and stores the approval data in the resource data transfer database. Since the data in the resource data transfer database can be modified manually, if the administrator of the resource data transfer database acts maliciously and privately tampers with the data therein, it will cause inaccurate resource data transfer. Summary of the Invention

[0004] Based on this, it is necessary to provide a method, device, storage medium, and computer device for resource data transfer to address the technical problem of inaccurate resource data transfer.

[0005] A method for resource data transfer includes:

[0006] Receiving a resource data transfer request carrying a user identifier, and obtaining the specific user data to be authenticated corresponding to the user identifier from a preset identity authentication blockchain according to the user identifier;

[0007] Performing specific user identity authentication based on the specific user data to be authenticated to obtain a specific user identity authentication result;

[0008] When the specific user identity authentication result is passed, invoking a specific user resource data transfer smart contract, and having the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic to obtain specific user resource data transfer information based on the user level in the specific user identity authentication result;

[0009] Transfer resource data according to specific user resource data transfer information.

[0010] A resource data transfer device, comprising:

[0011] A receiving module, configured to receive a resource data transfer request carrying a user identifier, and obtain corresponding to-be-authenticated specific user data of the user identifier from a preset identity authentication blockchain;

[0012] An identity authentication module, configured to perform specific user identity authentication according to the to-be-authenticated specific user data to obtain a specific user identity authentication result;

[0013] An invocation module, configured to, when the specific user identity authentication result is passed, invoke a specific user resource data transfer smart contract, and the specific user resource data transfer smart contract executes the declared specific user resource data transfer logic, and obtains specific user resource data transfer information based on the user level in the specific user identity authentication result;

[0014] A processing module, configured to transfer resource data according to the specific user resource data transfer information.

[0015] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0016] Receive a resource data transfer request carrying a user identifier, and obtain corresponding to-be-authenticated specific user data of the user identifier from a preset identity authentication blockchain;

[0017] Perform specific user identity authentication according to the to-be-authenticated specific user data to obtain a specific user identity authentication result;

[0018] When the specific user identity authentication result is passed, invoke a specific user resource data transfer smart contract, and the specific user resource data transfer smart contract executes the declared specific user resource data transfer logic, and obtains specific user resource data transfer information based on the user level in the specific user identity authentication result;

[0019] Transfer resource data according to the specific user resource data transfer information.

[0020] A computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:

[0021] Receive a resource data transfer request carrying a user identifier, and obtain corresponding to-be-authenticated specific user data of the user identifier from a preset identity authentication blockchain;

[0022] Perform specific user identity authentication based on the specific user data to be authenticated, and obtain the specific user identity authentication result;

[0023] When the specific user identity authentication result is passed, call the specific user resource data transfer smart contract, and let the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic, and obtain the specific user resource data transfer information based on the user level in the specific user identity authentication result;

[0024] Transfer the resource data according to the specific user resource data transfer information.

[0025] For the above resource data transfer method, device, storage medium and computer device, receive a resource data transfer request carrying a user identifier, obtain the corresponding specific user data to be authenticated from the preset identity authentication blockchain according to the user identifier. Since the data on the blockchain is not easily tampered with, in this way, the real specific user data to be authenticated can be obtained, and then specific user identity authentication is performed based on the specific user data to be authenticated to obtain an accurate specific user identity authentication result. When the specific user identity authentication result is passed, call the specific user resource data transfer smart contract, and let the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic, obtain the specific user resource data transfer information based on the user level in the specific user identity authentication result, and transfer the resource data according to the specific user resource data transfer information. Since the specific user resource data transfer logic in the smart contract is also not easily tampered with, the entire process can achieve obtaining accurate resource data transfer information and transferring the resource data according to this resource data transfer information to ensure the accuracy of the resource data transfer. Description of the Drawings

[0026] Figure 1 It is an application environment diagram of the resource data transfer method in an embodiment;

[0027] Figure 2 It is a schematic flowchart of the resource data transfer method in an embodiment;

[0028] Figure 3 It is a schematic flowchart of the resource data transfer method in another embodiment;

[0029] Figure 4 It is an application environment diagram of the resource data transfer method in another embodiment;

[0030] Figure 5 It is a schematic flowchart of the resource data transfer method in yet another embodiment;

[0031] Figure 6 It is a structural block diagram of the resource data transfer device in an embodiment;

[0032] Figure 7 It is a structural block diagram of a computer device in an embodiment. Detailed implementation manners

[0033] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] Figure 1 It is an application environment diagram of a resource data transfer method in an embodiment. Refer to Figure 1 , the resource data transfer method is applied to a resource data transfer system. The resource data transfer system includes a terminal 110, a resource data transfer blockchain 130 including a plurality of blockchain nodes 120, and an identity authentication blockchain 140. The plurality of blockchain nodes 120 may refer to each client in the resource data transfer blockchain 130. Each blockchain node 120 can receive input information during normal operation and maintain shared data in the resource data transfer blockchain 130 based on the received input information. In order to ensure information interconnection within the resource data transfer blockchain, there may be information connections between each blockchain node in the resource data transfer blockchain, and information transmission can be performed between blockchain nodes through the above information connections. For example, when any blockchain node in the resource data transfer blockchain receives input information, other blockchain nodes in the resource data transfer blockchain 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 blockchain nodes in the resource data transfer blockchain is consistent. For each blockchain node in the resource data transfer blockchain, it has a corresponding node identifier, and each blockchain node in the resource data transfer blockchain can store the node identifiers of other nodes in the resource data transfer blockchain, so as to broadcast the generated block to other nodes in the resource data transfer blockchain according to the node identifiers of other nodes later. A node identifier list can be maintained in each blockchain node, and the node name and node identifier are stored in the node identifier list correspondingly. Among them, the node identifier can be an IP (Internet Protocol) address and any other information that can be used to identify the blockchain node.

[0035] Among them, the resource data transfer blockchain includes multiple blockchain nodes, and each blockchain node in the resource data transfer blockchain stores an identical resource data transfer blockchain. The resource data transfer blockchain is essentially a decentralized database, a series of data blocks generated by using cryptographic methods. Each data block contains information on a batch of network transactions, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block. The resource data transfer blockchain consists of multiple blocks. The genesis 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 the input information. The next block after the genesis block takes the genesis block as its parent block. The next block also includes a block header and a block body. The block header stores the input information feature value of the current block, the block header feature value of the parent block, version number, timestamp, and difficulty value, and so on. This ensures that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, guaranteeing the security of the input information in the block.

[0036] Among them, the terminal 110 and the blockchain node 120 are connected through a network, the blockchain nodes 120 are connected through a network, and the blockchain node 120 and the identity authentication blockchain 140 are connected through a network. The blockchain node 120 in the resource data transfer blockchain 130 receives a resource data transfer request carrying a user identifier, obtains the specific user data to be authenticated corresponding to the user identifier from the preset identity authentication blockchain 140 according to the user identifier, performs specific user identity authentication based on the specific user data to be authenticated, and obtains a specific user identity authentication result. When the specific user identity authentication result is passed, a specific user resource data transfer smart contract is called. The specific user resource data transfer smart contract executes the declared specific user resource data transfer logic, obtains specific user resource data transfer information based on the user level in the specific user identity authentication result, and transfers the resource data according to the specific user resource data transfer information.

[0037] Such as Figure 2 shown, in one embodiment, a resource data transfer method is provided. In this embodiment, it is mainly exemplified that the method is applied to the blockchain node 120 in the above Figure 1 . Referring to Figure 2 , the resource data transfer method specifically includes the following steps S202 to step S208.

[0038] Step S202, receive a resource data transfer request carrying a user identifier, and obtain the specific user data to be authenticated corresponding to the user identifier from the preset identity authentication blockchain according to the user identifier.

[0039] Among them, the user identifier refers to an identifier used to represent the identity of a specific user to be authenticated. For example, the user identifier can specifically be the ID number of the specific user to be authenticated, or the face image of the specific user to be authenticated, or the fingerprint of the specific user to be authenticated. The resource data transfer request is a request sent to a blockchain node to transfer resource data according to the user identifier. For example, the resource data transfer request can specifically be a fund disbursement request. For example, when a specific user to be authenticated needs to request the disbursement of funds, the blockchain node will receive a fund disbursement request carrying the user identifier of the specific user to be authenticated.

[0040] Among them, the identity authentication blockchain refers to a blockchain that stores information of a specific user to be authenticated. For example, the identity authentication blockchain can specifically be a blockchain managed by relevant government departments, on which information of the specific user to be authenticated is uploaded. For example, the relevant government departments can specifically be the village committee, the civil affairs bureau, the sub-district office, etc. The information of the specific user to be authenticated can specifically be the residence information, annual income information, family population information, annual per capita income information, and health status information of the specific user to be authenticated, etc. The annual per capita income information among them refers to the annual per capita income information of the family of the specific user to be authenticated, which is obtained from the family population information of the specific user to be authenticated and the annual income of each family member.

[0041] Among them, the data of the specific user to be authenticated refers to the information of the specific user to be authenticated corresponding to the user identifier and used for authenticating the identity of the specific user. For example, the data of the specific user to be authenticated can specifically be a combination of multiple pieces of the above-mentioned information of the specific user to be authenticated. For example, the data of the specific user to be authenticated can specifically include the residence information, annual income information, and health status information of the specific user to be authenticated. Another example is that the data of the specific user to be authenticated can specifically include the residence information, family population information, annual per capita income information, and health status of the specific user to be authenticated.

[0042] In one embodiment, the step of obtaining the data of the specific user to be authenticated corresponding to the user identifier from the preset identity authentication blockchain includes:

[0043] Performing eigenvalue operation on the user identifier according to a preset eigenvalue algorithm to obtain the eigenvalue of the user identifier;

[0044] Obtaining the data of the specific user to be authenticated corresponding to the eigenvalue from the preset identity authentication blockchain according to the eigenvalue.

[0045] Among them, the eigenvalue algorithm refers to an algorithm that can map a user identifier to an output value of a fixed length. For example, the eigenvalue algorithm can specifically be a hashing algorithm. Hashing transforms an input of any length into an output of a fixed length through a hashing algorithm, and this output is the hash value. This transformation is a compression mapping. That is, the space of hash values is usually much smaller than the space of the input. Different inputs may hash to the same output, so it is impossible to determine the unique input value from the hash value. Simply put, it is a function that compresses a message of any length into a message digest of a certain fixed length. The eigenvalue of a user identifier refers to mapping the user identifier to an output value of a fixed length.

[0046] For example, when a blockchain node receives a specific user identity authentication request carrying the ID number of a specific user to be authenticated, it will perform eigenvalue calculation on the ID number of the specific user to be authenticated according to a preset eigenvalue algorithm to obtain the eigenvalue of the ID number of the specific user to be authenticated. Another example is that when a blockchain node receives a specific user identity authentication request carrying the face image of a specific user to be authenticated, it will perform eigenvalue calculation on the face image of the specific user to be authenticated according to a preset eigenvalue algorithm to obtain the eigenvalue of the face image of the specific user to be authenticated. By performing eigenvalue calculation on the user identifier through the eigenvalue algorithm to obtain the eigenvalue of the user identifier, the blockchain node can encrypt the user identifier, improving the security of the data.

[0047] In one embodiment, the step of obtaining the specific user data to be authenticated corresponding to the eigenvalue from the preset identity authentication blockchain includes:

[0048] Sending a specific user data acquisition request carrying the eigenvalue to the identity authentication blockchain;

[0049] Receiving the specific user data to be authenticated fed back by the identity authentication blockchain after verifying the eigenvalue.

[0050] Among them, the specific user data acquisition request is a request to obtain the specific user data to be authenticated from the blockchain nodes in the identity authentication blockchain. The blockchain nodes in the identity authentication blockchain verify the eigenvalue, that is, perform matching according to the eigenvalue. When there is a corresponding eigenvalue in the identity authentication blockchain, the stored specific user data to be authenticated corresponding to the corresponding eigenvalue is obtained, and the specific user data to be authenticated is fed back to the blockchain node that sent the specific user data acquisition request.

[0051] For example, after obtaining the eigenvalue, the blockchain node will send a specific user data acquisition request carrying the eigenvalue to any blockchain node in the identity authentication blockchain. The blockchain node in the identity authentication blockchain that receives the specific user data acquisition request will verify the eigenvalue and, after the verification is completed, feedback the specific user data to be authenticated to the blockchain node that sent the specific user data acquisition request. Since the data on the identity authentication blockchain is not easily tampered with, authentic specific user data to be authenticated can be obtained in this way, thus providing support for improving the accuracy of identity authentication.

[0052] Step S204: Perform specific user identity authentication based on the specific user data to be authenticated to obtain a specific user identity authentication result.

[0053] The specific user identity authentication result refers to the result obtained by performing specific user authentication based on the specific user data to be authenticated. For example, the specific user identity authentication result can specifically be authenticated or not authenticated. Being authenticated means being authenticated as a specific user, and not being authenticated means not being authenticated as a specific user. For example, the blockchain node will perform specific user identity authentication based on the specific user data to be authenticated and preset authentication conditions. The authentication conditions refer to the conditions used to authenticate the identity of a specific user. Only the specific user to be authenticated who meets the authentication conditions can be authenticated as a specific user. The authentication conditions can specifically be the authentication conditions provided by relevant government departments. For example, the authentication conditions can be the authentication conditions provided by the Civil Affairs Bureau.

[0054] For another example, specific users who meet the authentication conditions can specifically be: 1) farmers living in dilapidated houses or adobe houses that are the only housing in the family and are not suitable for living; 2) farmers in difficulty due to their children's schooling; 3) farmers whose family members suffer from chronic diseases or serious illnesses with large expenses for a long time; 4) farmers whose main family labor force is unable to work outside due to physical discomfort, advanced age, etc., and whose production and living conditions have been in difficulty for a long time; 5) low-income households, five-guarantee households, lonely farmers, single-parent families who do not meet the conditions for low-income or five-guarantee; 6) families of the elderly, women, and minors whose main family labor force has died; 7) farmers whose families are in difficulty due to illness, disability, disaster, or other reasons.

[0055] In one embodiment, the step of performing specific user identity authentication based on the specific user data to be authenticated to obtain a specific user identity authentication result includes:

[0056] Invoke the specific user identity authentication smart contract, and the specific user identity authentication smart contract executes the declared specific user identity authentication logic to obtain a specific user identity authentication result based on the specific user data to be authenticated.

[0057] Among them, the specific user identity authentication smart contract refers to a contract used to perform specific user identity authentication based on the specific user data to be authenticated and obtain the specific user identity authentication result. The specific user identity authentication logic refers to the logic used to perform specific user identity authentication based on the specific user data to be authenticated and obtain the specific user identity authentication result. The specific user identity authentication logic corresponds to the authentication conditions, and the authentication conditions refer to the conditions used to authenticate the specific user identity. Only the specific user to be authenticated who meets the authentication conditions can be authenticated as a specific user. Since the specific user identity authentication smart contract is not easily tampered with, accurately authenticating the specific user to be authenticated can be achieved by calling the specific user identity authentication smart contract, thereby providing guarantee for transferring resource data.

[0058] In one embodiment, the specific user identity authentication logic declared by the specific user identity authentication smart contract, obtaining the specific user identity authentication result based on the specific user data to be authenticated includes:

[0059] Comparing the specific user authentication condition set in the specific user identity authentication smart contract with the items to be authenticated in the specific user data to be authenticated;

[0060] When the item to be authenticated is within the specific user authentication condition set, the specific user identity authentication result is obtained as authentication passed.

[0061] Among them, the specific user authentication condition set refers to the set of conditions that a specific user needs to meet corresponding to the specific user identity authentication logic declared by the specific user identity authentication smart contract. Only the user who meets each authentication condition in the specific user authentication condition set can be authenticated as a specific user. The item to be authenticated refers to the information to be authenticated in the specific user data to be authenticated for comparison with each authentication condition in the specific user authentication condition set. For example, the item to be authenticated can specifically be the living condition information, family member information, and annual per capita income information of the specific user to be authenticated, etc.

[0062] For example, after receiving the specific user data to be authenticated, the blockchain node will call the specific user identity authentication smart contract, input the item to be authenticated in the specific user data to be authenticated into the specific user identity authentication smart contract. After receiving the input item to be authenticated, the specific user identity authentication smart contract will compare its specific user authentication condition set with the item to be authenticated. When the item to be authenticated is within the specific user authentication condition set, the specific user identity information result is obtained as authentication passed. When the number of items to be authenticated is not 1, all the items to be authenticated must meet the authentication conditions in the corresponding specific user authentication condition set to obtain the specific user identity authentication result as authentication passed.

[0063] By comparing the set of specific user authentication conditions in the specific user authentication smart contract with the items to be authenticated in the data of the specific user to be authenticated, an accurate judgment can be made on whether the specific user to be authenticated meets the authentication conditions. When the item to be authenticated is within the set of specific user authentication conditions, the specific user authentication result is obtained as authentication passed. In this way, the accuracy of identity authentication is improved, thereby providing guarantee for transferring resource data.

[0064] In one embodiment, the set of specific user authentication conditions includes a set of living conditions, a set of annual per capita income, and a set of health conditions, and the items to be authenticated include living information items, annual per capita income information items, and health status information items.

[0065] Among them, the set of living conditions includes the living conditions that the specific user needs to meet, the set of annual per capita income includes the annual per capita income conditions that the specific user needs to meet, and the set of health conditions includes the health status that the specific user needs to meet. For example, the set of annual per capita income can specifically be a corresponding table of the number of family members and the annual per capita income, that is, according to different numbers of family members, determine the annual per capita income conditions that different specific users need to meet. Another example is that the set of health conditions can specifically be various incurable and costly major diseases. The living information item refers to the place of residence information of the specific user to be authenticated. For example, the place of residence information can specifically include the place of residence, living conditions, etc. The annual per capita income information item refers to the annual per capita income information of the family of the specific user to be authenticated. For example, the annual per capita income information item can specifically include the number of family members and the annual per capita income of the family, etc. The health status information item refers to the illness situation of the specific user to be authenticated.

[0066] Specifically, only when the item to be authenticated is within the set of specific user authentication conditions, can the specific user to be authenticated be authenticated passed. In this way, an accurate judgment can be made on whether the specific user to be authenticated meets the authentication conditions, the accuracy of identity authentication is improved, and thereby guarantee is provided for transferring resource data.

[0067] In one embodiment, before the step of invoking the specific user authentication smart contract and having the specific user authentication smart contract execute the declared specific user authentication logic to obtain the specific user authentication result based on the data of the specific user to be authenticated, the resource data transfer method further includes:

[0068] Receiving a specific user authentication contract deployment request carrying the set of specific user authentication conditions;

[0069] Verifying the identity authentication deployment user according to the identity authentication deployment user identifier carried in the specific user authentication contract deployment request;

[0070] When the identity authentication deployment user passes the verification, a specific user identity authentication smart contract is generated according to a set of specific user authentication conditions, and the specific user identity authentication smart contract is deployed on a preset resource data transfer blockchain.

[0071] Among them, the specific user identity authentication contract deployment request refers to the specific user identity authentication smart contract deployment request sent by the identity authentication deployment user through the terminal. The identity authentication deployment user refers to the user who deploys the specific user identity authentication smart contract. The identity authentication deployment user identifier refers to the identity identifier of the identity authentication deployment user. For example, the identity authentication deployment user identifier can specifically be the account information of the identity authentication deployment user. The resource data transfer blockchain refers to the blockchain including blockchain nodes for resource data transfer.

[0072] For example, when the identity authentication deployment user wants to deploy a specific user identity authentication smart contract, a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions is sent to the blockchain node on the resource data transfer blockchain. After receiving the specific user identity authentication contract deployment request carrying the set of specific user authentication conditions, the blockchain node verifies the identity authentication deployment user according to the account information of the identity authentication deployment user carried in the specific user identity authentication contract deployment request. When the identity authentication deployment user passes the verification, the blockchain node generates a specific user identity authentication smart contract according to the set of specific user authentication conditions and deploys the specific user identity authentication smart contract on the preset resource data transfer blockchain.

[0073] Another example is that the way for the blockchain node to generate a specific user identity authentication smart contract according to the set of specific user authentication conditions can be to obtain the specific user identity authentication smart contract according to the specific user identity authentication smart contract generation logic provided by the administrator of the blockchain node and the set of specific user authentication conditions. Another example is that the specific user identity authentication smart contract generation logic can be a general specific user identity authentication smart contract generation template. Through this specific user identity authentication smart contract generation template and the authentication conditions provided by the identity authentication deployment user, the specific user identity authentication smart contract can be obtained.

[0074] Specifically, when an identity authentication deploying user wants to deploy a specific user identity authentication smart contract on the resource data transfer blockchain, a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions is sent to the blockchain node. The blockchain node verifies the identity authentication deploying user based on the identity authentication deploying user identifier carried in the specific user identity authentication contract deployment request. When the identity authentication deploying user passes the verification, a specific user identity authentication smart contract is generated according to the set of specific user authentication conditions and deployed on the preset resource data transfer blockchain. In this way, after verifying the identity authentication deploying user, the specific user identity authentication smart contract is deployed, and a secure and reliable specific user identity authentication smart contract can be obtained, thus providing a guarantee for improving the accuracy of identity authentication.

[0075] Step S206, when the specific user identity authentication result is passed, call the specific user resource data transfer smart contract. The specific user resource data transfer smart contract executes the declared specific user resource data transfer logic and obtains the specific user resource data transfer information based on the user level in the specific user identity authentication result.

[0076] Among them, the specific user resource data transfer smart contract refers to a contract used to judge resource data transfer according to the user level and obtain the specific user resource data transfer information. The user level is one of the specific user identity authentication results obtained after specific user identity authentication. For example, the user level can specifically be generally difficult, particularly difficult, etc. According to different user levels, different resource data will be transferred. The higher the user level of the specific user to be authenticated, the more resource data will be obtained. For example, when issuing payments to specific users to be authenticated according to the user level, the higher the user level of the specific user to be authenticated, the more payments will be obtained. The specific user resource data transfer logic refers to the logic used to judge resource data transfer according to the user level and obtain the specific user resource data transfer information, and the specific user resource data transfer logic corresponds to the specific user resource data transfer table.

[0077] Among them, the specific user resource data transfer table refers to a table including the corresponding relationship between the user level and the resource data transfer information, and is the basis for resource data transfer. Through the specific user resource data transfer table, the resource data transfer information corresponding to a specific user can be determined, and then the resource transfer can be carried out according to the resource data transfer information. The specific user resource data transfer information is the basis for resource data transfer for the specific user to be authenticated. According to the specific user resource data transfer information, the quantity of resource data to be transferred to the specific user to be authenticated can be determined. For example, when making a payment to the specific user to be authenticated, the specific user resource data transfer information can specifically be the amount of money to be paid to the specific user to be authenticated. Since the specific user resource data transfer smart contract is not easily tampered with, by invoking the specific user resource data transfer smart contract, the determination of the specific user resource data transfer information for the specific user to be authenticated can be realized, thus providing guarantee for resource data transfer.

[0078] In one embodiment, before the step of invoking the specific user resource data transfer smart contract and having the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic to obtain the specific user resource data transfer information based on the user level in the specific user identity authentication result, the resource data transfer method further includes:

[0079] Receiving a specific user resource data transfer contract deployment request carrying the specific user resource data transfer table;

[0080] Verifying the resource data transfer deployment user according to the resource data transfer deployment user identifier carried in the specific user resource data transfer contract deployment request;

[0081] When the resource data transfer deployment user passes the verification, generating a specific user resource data transfer smart contract according to the specific user resource data transfer table, and deploying the specific user resource data transfer smart contract on the preset resource data transfer blockchain.

[0082] Among them, the specific user resource data transfer contract deployment request refers to a specific user resource data transfer smart contract deployment request sent by the resource data transfer deployment user through the terminal. The resource data transfer deployment user refers to the user who deploys the specific user resource data transfer smart contract. The resource data transfer deployment user identifier refers to the identity identifier of the resource data transfer deployment user. For example, the resource data transfer deployment user identifier can specifically be the account information of the resource data transfer deployment user. The resource data transfer blockchain refers to a blockchain including blockchain nodes for resource data transfer.

[0083] For example, when a resource data transfer deployment user wants to deploy a specific user resource data transfer smart contract, a specific user resource data transfer contract deployment request carrying a specific user resource data transfer table is sent to a blockchain node on the resource data transfer blockchain. After receiving the specific user resource data transfer contract deployment request carrying the specific user resource data transfer table, the blockchain node verifies the resource data transfer deployment user based on the account information of the resource data transfer deployment user carried in the specific user resource data transfer contract deployment request. When the resource data transfer deployment user passes the verification, the blockchain node generates a specific user resource data transfer smart contract according to the specific user resource data transfer table and deploys the specific user resource data transfer smart contract on the preset resource data transfer blockchain.

[0084] For another example, the way for the blockchain node to generate a specific user resource data transfer smart contract according to the specific user resource data transfer table can be to obtain the specific user resource data transfer smart contract based on the specific user resource data transfer smart contract generation logic and the specific user resource data transfer table provided by the administrator of the blockchain node. For another example, the specific user resource data transfer smart contract generation logic can be a general specific user resource data transfer smart contract generation template. By using this specific user resource data transfer smart contract generation template and the specific user resource data transfer table provided by the resource data transfer deployment user, the specific user resource data transfer smart contract can be obtained.

[0085] Specifically, when a resource data transfer deployment user wants to deploy a specific user resource data transfer smart contract on the resource data transfer blockchain, a specific user resource data transfer contract deployment request carrying a specific user resource data transfer table is sent to the blockchain node. The blockchain node verifies the resource data transfer deployment user based on the resource data transfer deployment user identifier carried in the specific user resource data transfer contract deployment request. When the resource data transfer deployment user passes the verification, a specific user resource data transfer smart contract is generated according to the specific user resource data transfer table and the specific user resource data transfer smart contract is deployed on the preset resource data transfer blockchain. In this way, after verifying the resource data transfer deployment user, and then deploying the specific user resource data transfer smart contract, a secure and reliable specific user resource data transfer smart contract can be obtained, thus providing a guarantee for improving the accuracy of resource transfer.

[0086] Step S208, transfer resource data according to specific user resource data transfer information.

[0087] Among them, the resource data refers to the data that needs to be transferred to a specific user to be authenticated. For example, when making a payment to a specific user to be authenticated, the resource data can specifically be the amount of money to be paid to the specific user to be authenticated. The blockchain node will transfer the resource data to the sender of the resource data transfer request according to the specific user resource data transfer information. The sender of the resource data transfer request refers to the terminal that sends the resource data transfer request. For example, the blockchain node will determine the sender of the resource data transfer request according to the source address carried in the resource data transfer request and transfer the resource data to the sender.

[0088] In one embodiment, as Figure 3 shown, transferring the resource data according to the specific user resource data transfer information includes steps S302 to S306.

[0089] Step S302, obtain the account information in the specific user data to be authenticated;

[0090] Step S304, send a resource data transfer request carrying the specific user resource data transfer information and the account information to the resource data transfer processing system. The resource data transfer request is used to instruct the resource data transfer processing system to transfer the resource data according to the specific user resource data transfer information and the account information;

[0091] Step S306, receive the transferred prompt feedback by the resource data transfer processing system, and feedback the processed prompt to the sender of the resource data transfer request according to the transferred prompt.

[0092] Among them, the resource data transfer request refers to a request used to instruct the resource data transfer processing system to transfer the resource data according to the specific user resource data transfer information and the account information. The transferred prompt refers to a prompt used to indicate that the resource data transfer has been completed. For example, when making a payment to a specific user to be authenticated, the account information can specifically refer to the bank account information of the specific user to be authenticated, the resource data transfer request can specifically refer to a request for making a payment, the resource data transfer processing system can specifically refer to a payment system that makes a payment according to the resource data transfer request, performing the resource data transfer can specifically refer to making a payment, and the transferred prompt can specifically refer to a prompt that the payment has been completed.

[0093] Specifically, when obtaining the specific user resource data transfer information, by sending a resource data transfer request carrying the specific user resource data transfer information and the account information to the resource data transfer processing system, instructing the resource data transfer processing system to transfer the resource data according to the specific user resource data transfer information and the account information, it realizes automated resource data transfer and improves the efficiency and accuracy of resource data transfer.

[0094] The above resource data transfer method receives a resource data transfer request carrying a user identifier, obtains corresponding specific user data to be authenticated from a preset identity authentication blockchain according to the user identifier. Since the data on the blockchain is not easily tampered with, authentic specific user data can be obtained in this way. Furthermore, specific user identity authentication is performed based on the specific user data to be authenticated, and an accurate specific user identity authentication result is obtained. When the specific user identity authentication result is passed, a specific user resource data transfer smart contract is called, and the specific user resource data transfer logic declared in the smart contract is executed. The specific user resource data transfer information is obtained based on the user level in the specific user identity authentication result, and the resource data is transferred according to the specific user resource data transfer information. Since the specific user resource data transfer logic in the smart contract is also not easily tampered with, an accurate resource data transfer information can be obtained and the resource data can be transferred according to this resource data transfer information throughout the process, ensuring the accuracy of the resource data transfer.

[0095] In one embodiment, taking Figure 4 the application scenario of payment disbursement as an example, the resource data transfer method of the present application is described.

[0096] When a specific user to be authenticated requests a payment disbursement, a payment disbursement request carrying the user identification is sent from the specific user terminal to be authenticated to the resource data transfer blockchain. The resource data transfer blockchain receives the payment disbursement request carrying the user identification, performs a feature value operation on the user identification according to a preset feature value algorithm to obtain the feature value of the user identification, and sends a specific user data acquisition request carrying the feature value to the identity authentication blockchain. It receives the specific user data to be authenticated feedback by the identity authentication blockchain after verifying the feature value, and receives a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions sent by the relevant government department through the government agency terminal. It verifies the identity authentication deployment user according to the identity authentication deployment user identification carried in the specific user identity authentication contract deployment request. When the identity authentication deployment user passes the verification, a specific user identity authentication smart contract is generated according to the set of specific user authentication conditions, and the specific user identity authentication smart contract is deployed. The specific user identity authentication smart contract is called, and the specific user identity authentication logic declared by the specific user identity authentication smart contract is executed to obtain the specific user identity authentication result based on the specific user data to be authenticated. It receives a specific user payment disbursement contract deployment request carrying a specific user payment disbursement form sent by the relevant government department through the government agency terminal. It verifies the payment disbursement deployment user according to the payment disbursement deployment user identification carried in the specific user payment disbursement contract deployment request. When the payment disbursement deployment user passes the verification, a specific user payment disbursement smart contract is generated according to the specific user payment disbursement form, and the specific user payment disbursement smart contract is deployed. When the specific user identity authentication result is passed, the specific user payment disbursement smart contract is called, and the specific user payment disbursement logic declared by the specific user payment disbursement smart contract is executed to obtain the specific user payment disbursement amount based on the user level in the specific user identity authentication result. The account information in the specific user data to be authenticated is obtained, and a payment disbursement request carrying the specific user payment disbursement amount and the account information is sent to the payment disbursement processing system. The payment disbursement request is used to instruct the payment disbursement processing system to make a payment according to the specific user payment disbursement amount and the account information. It receives a transferred prompt feedback by the payment disbursement processing system, and feeds back a processed prompt to the specific user terminal to be authenticated that sent the payment disbursement request.

[0097] In one embodiment, as Figure 5 shown, in one embodiment, as Figure 5 shown, a most specific embodiment is used to illustrate the resource data transfer method in this application. The method includes the following steps S502 to step S518.

[0098] Step S502, receiving a resource data transfer request carrying a user identification;

[0099] Step S504: Perform eigenvalue operation on the user identifier according to a preset eigenvalue algorithm to obtain the eigenvalue of the user identifier;

[0100] Step S506: Send a specific user data acquisition request carrying the eigenvalue to the identity authentication blockchain;

[0101] Step S508: Receive the specific user data to be authenticated feedback by the identity authentication blockchain after verifying the eigenvalue;

[0102] Step S510: Receive a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions;

[0103] Step S512: Verify the identity authentication deployment user according to the identity authentication deployment user identifier carried in the specific user identity authentication contract deployment request;

[0104] Step S514: When the identity authentication deployment user passes the verification, generate a specific user identity authentication smart contract according to the set of specific user authentication conditions, and deploy the specific user identity authentication smart contract on the preset resource data transfer blockchain;

[0105] Step S516: Invoke the specific user identity authentication smart contract, and let the specific user identity authentication smart contract execute the declared specific user identity authentication logic to obtain the specific user identity authentication result based on the specific user data to be authenticated;

[0106] Step S518: Receive a specific user resource data transfer contract deployment request carrying a specific user resource data transfer table;

[0107] Step S520: Verify the resource data transfer deployment user according to the resource data transfer deployment user identifier carried in the specific user resource data transfer contract deployment request;

[0108] Step S522: When the resource data transfer deployment user passes the verification, generate a specific user resource data transfer smart contract according to the specific user resource data transfer table, and deploy the specific user resource data transfer smart contract on the preset resource data transfer blockchain;

[0109] Step S524: When the specific user identity authentication result is passed, invoke the specific user resource data transfer smart contract, and let the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic to obtain the specific user resource data transfer information based on the user level in the specific user identity authentication result;

[0110] Step S526: Obtain the account information in the specific user data to be authenticated;

[0111] Step S528: Send a resource data transfer request carrying specific user resource data transfer information and account information to the resource data transfer processing system. The resource data transfer request is used to instruct the resource data transfer processing system to perform resource data transfer according to the specific user resource data transfer information and account information.

[0112] Step S530: Receive the transferred prompt feedback from the resource data transfer processing system, and feedback the processed prompt to the sender of the resource data transfer request according to the transferred prompt.

[0113] Figure 5 It is a schematic flowchart of a resource data transfer method in an embodiment. It should be understood that although Figure 5 the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 5 at least a part of the steps in

[0114] such as Figure 6 shown, in an embodiment, a resource data transfer device is provided. The device includes a receiving module 602, an identity authentication module 604, a calling module 606, and a processing module 608.

[0115] The receiving module 602 is configured to receive a resource data transfer request carrying a user identifier, and obtain the to-be-authenticated specific user data corresponding to the user identifier from a preset identity authentication blockchain according to the user identifier.

[0116] In an embodiment, the receiving module 602 includes an obtaining unit. The obtaining unit is configured to perform eigenvalue operation on the user identifier according to a preset eigenvalue algorithm to obtain the eigenvalue of the user identifier, and obtain the to-be-authenticated specific user data corresponding to the eigenvalue from the preset identity authentication blockchain according to the eigenvalue.

[0117] In an embodiment, the obtaining unit includes an obtaining component. The obtaining component is configured to send a specific user data obtaining request carrying the eigenvalue to the identity authentication blockchain, and receive the to-be-authenticated specific user data feedback by the identity authentication blockchain after verifying the eigenvalue.

[0118] An identity authentication module 604 is used to perform specific user identity authentication based on specific user data to be authenticated, and obtain a specific user identity authentication result.

[0119] In one embodiment, the identity authentication module 604 includes a calling unit. The calling unit is used to call a specific user identity authentication smart contract, and the specific user identity authentication smart contract executes the declared specific user identity authentication logic to obtain a specific user identity authentication result based on the specific user data to be authenticated.

[0120] In one embodiment, the calling unit is further used to compare the set of specific user authentication conditions in the specific user identity authentication smart contract with the items to be authenticated in the specific user data to be authenticated. When the item to be authenticated is within the set of specific user authentication conditions, the specific user identity authentication result is obtained as authentication passed.

[0121] In one embodiment, the set of specific user authentication conditions includes a set of living conditions, a set of annual per capita income, and a set of health conditions, and the items to be authenticated include living information items, annual per capita income information items, and health status information items.

[0122] A calling module 606 is used to, when the specific user identity authentication result is passed, call a specific user resource data transfer smart contract, and the specific user resource data transfer smart contract executes the declared specific user resource data transfer logic to obtain specific user resource data transfer information based on the user level in the specific user identity authentication result.

[0123] A processing module 608 is used to transfer resource data according to the specific user resource data transfer information.

[0124] In one embodiment, the processing module includes a resource transfer unit. The resource transfer unit is used to obtain the account information in the specific user data to be authenticated, send a resource data transfer request carrying the specific user resource data transfer information and the account information to the resource data transfer processing system. The resource data transfer request is used to instruct the resource data transfer processing system to perform resource data transfer according to the specific user resource data transfer information and the account information, receive the transferred prompt feedback by the resource data transfer processing system, and feedback the processed prompt to the sender of the resource data transfer request according to the transferred prompt.

[0125] In one embodiment, the resource data transfer device further includes a first contract deployment module. The first contract deployment module is configured to receive a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions, verify the identity authentication deployment user according to the identity authentication deployment user identifier carried in the specific user identity authentication contract deployment request, and when the identity authentication deployment user passes the verification, generate a specific user identity authentication smart contract according to the set of specific user authentication conditions, and deploy the specific user identity authentication smart contract on a preset resource data transfer blockchain.

[0126] In one embodiment, the resource data transfer device further includes a second contract deployment module. The second contract deployment module is configured to receive a specific user resource data transfer contract deployment request carrying a specific user resource data transfer table, verify the resource data transfer deployment user according to the resource data transfer deployment user identifier carried in the specific user resource data transfer contract deployment request, and when the resource data transfer deployment user passes the verification, generate a specific user resource data transfer smart contract according to the specific user resource data transfer table, and deploy the specific user resource data transfer smart contract on a preset resource data transfer blockchain.

[0127] The above-mentioned resource data transfer device receives a resource data transfer request carrying a user identifier, obtains corresponding specific user data to be authenticated from a preset identity authentication blockchain according to the user identifier. Since the data on the blockchain is not easily tampered with, in this way, the real specific user data to be authenticated can be obtained, and then specific user identity authentication is performed according to the specific user data to be authenticated to obtain an accurate specific user identity authentication result. When the specific user identity authentication result is passed, the specific user resource data transfer smart contract is called, and the specific user resource data transfer logic declared is executed by the specific user resource data transfer smart contract. The specific user resource data transfer information is obtained based on the user level in the specific user identity authentication result, and the resource data is transferred according to the specific user resource data transfer information. Since the specific user resource data transfer logic in the smart contract is also not easily tampered with, in the whole process, accurate resource data transfer information can be obtained, and the resource data is transferred according to the resource data transfer information to ensure the accuracy of the resource data transfer.

[0128] Figure 7 The internal structure diagram of a computer device in one embodiment is shown. The computer device may specifically be Figure 1 the blockchain node 120 in Figure 7As shown in the figure, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the resource data transfer method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the resource data transfer method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the outer shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0129] Those skilled in the art can understand that Figure 7 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0130] In one embodiment, the resource data transfer device provided by the present application can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in Figure 7 the figure. Each program module constituting the resource data transfer device can be stored in the memory of the computer device. For example, Figure 6 the receiving module, the identity authentication module, the calling module, and the processing module shown in the figure. The computer program composed of each program module enables the processor to execute the steps in the resource data transfer methods of various embodiments of the present application described in this specification.

[0131] For example, Figure 7 the computer device shown in the figure can execute, through the receiving module in the resource data transfer device shown in Figure 6 the figure, to receive a resource data transfer request carrying a user identifier, and obtain the specific user data to be authenticated corresponding to the user identifier from a preset identity authentication blockchain. The computer device can execute, through the identity authentication module, to perform specific user identity authentication based on the specific user data to be authenticated, and obtain a specific user identity authentication result. The computer device can execute, through the calling module, when the specific user identity authentication result is passed, call a specific user resource data transfer smart contract, and the specific user resource data transfer smart contract executes the declared specific user resource data transfer logic to obtain specific user resource data transfer information based on the user level in the specific user identity authentication result. The computer device can execute, through the processing module, to transfer resource data according to the specific user resource data transfer information.

[0132] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor is caused to execute the steps of the above-mentioned resource data transfer method. The steps of the resource data transfer method here may be the steps in the resource data transfer methods of the above various embodiments.

[0133] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by the processor, the processor is caused to execute the steps of the above-mentioned resource data transfer method. The steps of the resource data transfer method here may be the steps in the resource data transfer methods of the above various embodiments.

[0134] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above various methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application may include non-volatile and / or volatile memories. Non-volatile memories may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0135] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0136] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A resource data transfer method, including: Receiving a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions; Verifying the identity authentication deployment user according to the identity authentication deployment user identifier carried in the specific user identity authentication contract deployment request; When the identity authentication deployment user passes the verification, generating a specific user identity authentication smart contract according to the set of specific user authentication conditions, and deploying the specific user identity authentication smart contract on a preset resource data transfer blockchain; Receiving a resource data transfer request carrying a user identifier, and obtaining specific user data to be authenticated corresponding to the user identifier from a preset identity authentication blockchain according to the user identifier; Invoking the specific user identity authentication smart contract, and having the specific user identity authentication smart contract execute the declared specific user identity authentication logic to obtain a specific user identity authentication result based on the specific user data to be authenticated; When the specific user identity authentication result is passed, invoking a specific user resource data transfer smart contract, and having the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic to obtain specific user resource data transfer information based on the user level in the specific user identity authentication result; Transferring resource data according to the specific user resource data transfer information.

2. The method according to claim 1, wherein, The obtaining specific user data to be authenticated corresponding to the user identifier from a preset identity authentication blockchain according to the user identifier includes: Performing eigenvalue operation on the user identifier according to a preset eigenvalue algorithm to obtain an eigenvalue of the user identifier; Obtaining specific user data to be authenticated corresponding to the eigenvalue from a preset identity authentication blockchain according to the eigenvalue.

3. The method according to claim 2, wherein, The obtaining specific user data to be authenticated corresponding to the eigenvalue from a preset identity authentication blockchain according to the eigenvalue includes: Sending a specific user data acquisition request carrying the eigenvalue to the identity authentication blockchain; Receiving the specific user data to be authenticated fed back by the identity authentication blockchain after verifying the eigenvalue.

4. The method according to claim 1, wherein, Before invoking the specific user resource data transfer smart contract, and having the specific user resource data transfer smart contract execute the declared specific user resource data transfer logic to obtain specific user resource data transfer information based on the user level in the specific user identity authentication result, it further includes: Receiving a specific user resource data transfer contract deployment request carrying a specific user resource data transfer table; Verifying the resource data transfer deployment user according to the resource data transfer deployment user identifier carried in the specific user resource data transfer contract deployment request; When the user for resource data transfer and deployment passes the verification, a specific user resource data transfer smart contract is generated according to the specific user resource data transfer table, and the specific user resource data transfer smart contract is deployed on a preset resource data transfer blockchain.

5. The method according to claim 1, wherein, transferring the resource data according to the specific user resource data transfer information includes: obtaining the account information in the to-be-authenticated specific user data; sending a resource data transfer request carrying the specific user resource data transfer information and the account information to a resource data transfer processing system, where the resource data transfer request is used to instruct the resource data transfer processing system to transfer the resource data according to the specific user resource data transfer information and the account information; receiving a transferred prompt fed back by the resource data transfer processing system, and feeding back a processed prompt to the sender of the resource data transfer request according to the transferred prompt.

6. A resource data transfer device, wherein, the device includes: a first contract deployment module, configured to receive a specific user identity authentication contract deployment request carrying a set of specific user authentication conditions, verify the identity authentication deployment user according to the identity authentication deployment user identifier carried in the specific user identity authentication contract deployment request, and when the identity authentication deployment user passes the verification, generate a specific user identity authentication smart contract according to the set of specific user authentication conditions, and deploy the specific user identity authentication smart contract on a preset resource data transfer blockchain; a receiving module, configured to receive a resource data transfer request carrying a user identifier, and obtain to-be-authenticated specific user data corresponding to the user identifier from a preset identity authentication blockchain according to the user identifier; an identity authentication module, the identity authentication module includes a calling unit, and the calling unit is configured to call the specific user identity authentication smart contract, and the specific user identity authentication smart contract executes the declared specific user identity authentication logic to obtain a specific user identity authentication result based on the to-be-authenticated specific user data; a calling module, configured to call a specific user resource data transfer smart contract when the specific user identity authentication result is passed, and the specific user resource data transfer smart contract executes the declared specific user resource data transfer logic to obtain specific user resource data transfer information based on the user level in the specific user identity authentication result; a processing module, configured to transfer the resource data according to the specific user resource data transfer information.

7. The device according to claim 6, wherein, the receiving module includes an obtaining unit, and the obtaining unit is configured to perform eigenvalue operation on the user identifier according to a preset eigenvalue algorithm to obtain an eigenvalue of the user identifier, and obtain to-be-authenticated specific user data corresponding to the eigenvalue from a preset identity authentication blockchain according to the eigenvalue.

8. The device according to claim 7, wherein, The obtaining unit includes an obtaining component, and the obtaining component is configured to send a specific user data obtaining request carrying the eigenvalue to the identity authentication blockchain and receive the to-be-authenticated specific user data fed back by the identity authentication blockchain after verifying the eigenvalue.

9. The device according to claim 6, wherein, the device further includes a second contract deployment module, and the second contract deployment module is configured to receive a specific user resource data transfer contract deployment request carrying a specific user resource data transfer table, verify the resource data transfer deployment user according to the resource data transfer deployment user identifier carried in the specific user resource data transfer contract deployment request, generate a specific user resource data transfer smart contract according to the specific user resource data transfer table when the resource data transfer deployment user passes the verification, and deploy the specific user resource data transfer smart contract on a preset resource data transfer blockchain.

10. The device according to claim 6, wherein, the processing module includes a resource transfer unit, and the resource transfer unit is configured to obtain the account information in the to-be-authenticated specific user data, send a resource data transfer request carrying the specific user resource data transfer information and the account information to a resource data transfer processing system, where the resource data transfer request is used to instruct the resource data transfer processing system to perform resource data transfer according to the specific user resource data transfer information and the account information, receive a transferred prompt fed back by the resource data transfer processing system, and feed back a processed prompt to the sender of the resource data transfer request according to the transferred prompt.

11. A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 5.

12. A computer device including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Block-chain-based virtual resource transfer method, device, medium and electronic device

    CN109345259A

  • Resource data acquisition method and device, computer device and storage medium

    CN109688121A