Resource transfer method and device, computer equipment and storage medium
Multi-factor verification is carried out through resource transfer smart contracts, which solves the problem of low security after identity verification is passed in digital resource transfer, and achieves higher security and accuracy.
Patent Information
- Application Number
- CN202410006558.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-04
AI Technical Summary
During the digital resource transfer process, the existing technology has the problem of low security after identity verification is passed.
By obtaining the request from the resource management side, using the resource transfer smart contract for multiple verification, generating verification requests and sending them to multiple verification target side for consistency verification, and only resource transfer is performed when all verification results meet the preset conditions.
Improve the security of digital resource transfer, and ensure the accuracy and security of resource transfer through multiple verification.
Smart Images

Figure CN120258808A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to a resource transfer method, apparatus, computer device, storage medium, and computer program product. Background Art
[0002] With the development of Internet technologies, digital technologies have emerged. Digitalization refers to the process of converting information in the physical world into a digital (i.e., computer-readable) format. Through digital technologies, the transfer of digital resources can be achieved. Currently, when transferring digital resources, to ensure security, digital resource transfer is usually performed after verifying the identity of the object to which the digital resources are to be transferred. However, there are still problems with low security when digital resource transfer is performed after the identity of the object is verified. Summary of the Invention
[0003] Based on this, in view of the above technical problems, it is necessary to provide a resource transfer method, apparatus, computer device, computer-readable storage medium, and computer program product that can provide security.
[0004] In a first aspect, this application provides a resource transfer method. The method includes:
[0005] Obtain a resource transfer request sent by a resource management end. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and information of the digital resources to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after authenticating the identity of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resources;
[0006] Obtain a resource transfer smart contract associated with the current digital resource storage identifier. Generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to at least two verification object ends associated with the verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after authenticating the identity of the verification object identifier corresponding to the verification object end;
[0007] Obtain verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the verification information returned by at least two verification object ends and the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract to obtain verification results corresponding to at least two verification digital resource storage identifiers;
[0008] When it is detected through the resource transfer smart contract that the verification results corresponding to at least two verified digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, the corresponding digital resources are transferred from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and a resource transfer result is obtained.
[0009] In a second aspect, the present application also provides a resource transfer device. The device includes:
[0010] A request acquisition module, configured to acquire a resource transfer request sent by a resource management end, where the resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and digital resource information to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource;
[0011] A request sending module, configured to acquire a resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verified digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object ends associated with the at least two verified digital resource storage identifiers. The verified digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end;
[0012] A verification module, configured to acquire verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the verification information returned by the at least two verification object ends and the authorization information associated with the at least two verified digital resource storage identifiers in the resource transfer smart contract, to obtain verification results corresponding to the at least two verified digital resource storage identifiers;
[0013] A resource transfer module, configured to detect through the resource transfer smart contract that when the verification results corresponding to at least two verified digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and obtain a resource transfer result.
[0014] In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0015] Obtain a resource transfer request sent by a resource management end. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and information on the digital resources to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resources.
[0016] Obtain a resource transfer smart contract associated with the current digital resource storage identifier. Generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to verification object ends associated with the at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end.
[0017] Obtain verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the verification information returned by the at least two verification object ends and the authorization information associated with the at least two verification digital resource storage identifiers in the resource transfer smart contract to obtain verification results corresponding to the at least two verification digital resource storage identifiers.
[0018] Detect through the resource transfer smart contract that when the verification results corresponding to the at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the information on the digital resources to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result.
[0019] In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, the following steps are implemented:
[0020] Obtain a resource transfer request sent by a resource management end. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and information on the digital resources to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resources.
[0021] Obtain a resource transfer smart contract associated with the current digital resource storage identifier. Generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to verification object ends associated with the at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end.
[0022] Obtain the verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract based on the verification information returned by at least two verification object ends, to obtain the verification results corresponding to at least two verification digital resource storage identifiers;
[0023] Detect through the resource transfer smart contract that when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, to obtain a resource transfer result.
[0024] In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0025] Obtain a resource transfer request sent by a resource management end, where the resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and digital resource information to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource;
[0026] Obtain the resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object ends associated with at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end;
[0027] Obtain the verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract based on the verification information returned by at least two verification object ends, to obtain the verification results corresponding to at least two verification digital resource storage identifiers;
[0028] Detect through the resource transfer smart contract that when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, to obtain a resource transfer result.
[0029] The above resource transfer method, device, computer equipment, storage medium and computer program product obtain a resource transfer request sent by a resource management end. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier and information of the digital resource to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource. Then, a resource transfer smart contract associated with the current digital resource storage identifier is obtained, and at least two verification digital resource storage identifiers in the resource transfer smart contract are used to generate corresponding resource transfer verification requests, and the resource transfer verification requests are sent to verification object ends associated with at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end. Verification information returned by at least two verification object ends is obtained through the resource transfer smart contract, and consistency verification is performed based on the verification information returned by at least two verification object ends and the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract, so as to obtain verification results corresponding to at least two verification digital resource storage identifiers. When it is detected through the resource transfer smart contract that the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the information of the digital resource to be transferred, the corresponding digital resource is transferred from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and a resource transfer result is obtained. That is, when resource transfer is performed at the resource management end corresponding to the group object identifier, authorization verification is performed on at least two verification digital resource storage identifiers in the resource transfer smart contract, and resource transfer is performed when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, that is, verification of resource transfer is performed through multiple verification object identifiers, thereby further improving the security of resource transfer. Brief Description of the Drawings
[0030] Figure 1 It is a diagram of the application environment of the resource transfer method in an embodiment;
[0031] Figure 2 It is a schematic flowchart of the resource transfer method in an embodiment;
[0032] Figure 3 It is a schematic flowchart of the identification application in an embodiment;
[0033] Figure 4 It is a schematic flowchart of obtaining the resource transfer smart contract in an embodiment;
[0034] Figure 5 It is a schematic flowchart of the resource transfer verification in an embodiment;
[0035] Figure 6 Schematic diagram of the application scenario of resource transfer in a specific embodiment;
[0036] Figure 7 Schematic flowchart of the resource transfer method in a specific embodiment;
[0037] Figure 8 Block diagram of the structure of the resource transfer device in an embodiment;
[0038] Figure 9 Internal structure diagram of a computer device in an embodiment;
[0039] Figure 10 Internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0040] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, 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.
[0041] The resource transfer method provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the resource management terminal 102 communicates with the resource server 104 through the network. The resource server 104 communicates with each verification object terminal through the network. For example, it communicates with the verification communication terminal A through the network and communicates with the verification communication terminal M through the network. The resource server 104 includes a data storage system, which can store the data that the resource server 104 needs to process. The data storage system can be integrated on the resource server 104, or can be placed on the cloud or other servers. The resource server 104 obtains the resource transfer request sent by the resource management terminal 102. The resource transfer request carries the current digital resource storage identifier, the target digital resource storage identifier, and the digital resource information to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after the identity authentication of the group object identifier corresponding to the resource management terminal is passed. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource. The resource server 104 obtains the resource transfer smart contract associated with the current digital resource storage identifier, generates a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and sends the resource transfer verification request to the verification object terminals associated with at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after the identity authentication of the verification object identifier corresponding to the verification object terminal is passed. The resource server 104 obtains the verification information returned by at least two verification object terminals through the resource transfer smart contract, and performs consistency verification on the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract based on the verification information returned by at least two verification object terminals, and obtains the verification results corresponding to at least two verification digital resource storage identifiers. The resource server 104 detects through the resource transfer smart contract that when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, it transfers the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and obtains the resource transfer result. The resource server 104 can be a server or a terminal. The resource management terminal 102 can be a terminal or a server. And each verification object terminal can be a terminal or a server. Among them, the terminal can be but is not limited to various desktop computers, notebook computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0042] In one embodiment, as Figure 2As shown, a resource transfer method is provided. Taking the resource server in Figure 1 as an example for illustration, it can be understood that this method can also be applied to the resource management end, and can also be applied to a system including the resource management end and the resource server, and is implemented through the interaction between the resource management end and the resource server. In this embodiment, the method includes the following steps:
[0043] S202, obtain a resource transfer request sent by the resource management end. The resource transfer request carries the current digital resource storage identifier, the target digital resource storage identifier, and the digital resource information to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after passing the identity authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource.
[0044] Among them, the resource transfer request refers to a request to transfer digital resources. The digital resources are obtained by digitizing real resources. The real resources refer to resources in the physical world. For example, they can be the products of commodity interaction. The digital resources can also be virtual resources in digital form. The digital resources are obtained by the resource management end from the standard institution through the current digital resource storage identifier, that is, the digital resources are issued by the standard institution.
[0045] The current digital resource storage identifier is the digital resource storage identifier for transferring resources to the target digital resource storage identifier. The group object identifier is used to uniquely identify the group object, which can be a collective organization or institution, such as a company, enterprise, community, school, etc. The resource management end refers to the server that manages the digital resources in the storage carrier corresponding to the current digital resource storage identifier. The storage carrier refers to the carrier for storing digital resources, which can be a software carrier, a hardware carrier, etc. The digital resource information to be transferred refers to the information of the digital resources that need to be transferred. For example, it can be the quantity of the digital resources to be transferred. The target digital resource storage identifier is a digital resource storage identifier generated after passing the identity authentication of the target object identifier corresponding to the target object end. The target object identifier is used to uniquely identify the target object, which can be the identifier of another group object or the identifier of a single object. The target object end is the server that manages the digital resources in the storage carrier corresponding to the target digital resource storage identifier.
[0046] Specifically, when the resource management end needs to transfer resources, it obtains the current digital resource storage identifier, the target digital resource storage identifier, and the digital resources to be transferred that need to be transferred. Then, when receiving a resource transfer instruction, it sends a resource transfer request to the resource management end. The resource server obtains the resource transfer request sent by the resource management end, parses the resource transfer request, and obtains the carried current digital resource storage identifier, target digital resource storage identifier, and information on the digital resources to be transferred.
[0047] S204. Obtain the resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verified digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object ends associated with at least two verified digital resource storage identifiers. The verified digital resource storage identifier is a digital resource storage identifier generated after the identity authentication of the corresponding verification object identifier of the verification object end is passed.
[0048] Among them, the resource transfer smart contract refers to a smart contract that transfers digital resources from one storage carrier to another. Smart contracts allow for trusted transactions without a third party, and these transactions are detectable and irreversible. Generally speaking, a smart contract is a set computer program that can automatically execute the content of a trusted contract without the participation of a third-party intermediary institution, and all operations are publicly available and irreversible. The verified digital resource storage identifier is a digital resource storage identifier generated after the identity authentication of the corresponding verification object identifier of the verification object end is passed. The verified digital resource storage identifier refers to the digital resource storage identifier used for verification. The verified digital resource storage identifier is a digital resource storage identifier generated after the identity authentication of the corresponding verification object identifier of the verification object end is passed. This verified digital resource storage identifier can be pre-set in the resource transfer smart contract associated with the current digital resource storage identifier. There can be multiple verified digital resource storage identifiers in the resource transfer smart contract. There can also be only one verified digital resource storage identifier in the resource transfer smart contract. The verification object end refers to the server that verifies the digital resource transfer of the current digital resource storage identifier. The verification object identifier is used to uniquely identify the verification object, and this verification object can be an object in the group object corresponding to the group object identifier, or other object identifiers. The object can be a virtual object or a real object, such as a person, etc. Different digital resource storage identifiers can be associated with corresponding different resource transfer smart contracts.
[0049] Specifically, the resource server can search for the associated resource transfer smart contract identifier in the database based on the current digital resource storage identifier, and then call the corresponding resource transfer smart contract according to the resource transfer smart contract identifier. The resource transfer smart contract is generated based on each verified digital resource storage identifier, the authorization information associated with each verified digital resource storage identifier, and the resource transfer smart contract template. There is a digital resource transfer execution program in the resource transfer smart contract template. Then, the resource server generates a resource transfer verification request corresponding to each verified digital resource storage identifier through the verified digital resource storage identifiers in the resource transfer smart contract, and sends the resource transfer verification request to the verification object end associated with each digital resource storage identifier. The resource transfer verification request may carry the current digital resource storage identifier, the target digital resource storage identifier, and the digital resource information to be transferred. Then, the verification object end obtains verification information through the current digital resource storage identifier, the target digital resource storage identifier, and the digital resource information to be transferred, and returns the verification information to the resource server.
[0050] In one embodiment, the resource server can first perform a permission verification on the resource management end, that is, verify whether the resource management end has the permission to use the current digital resource storage identifier for resource transfer. For example, verify the identity of the object identifier corresponding to the resource server, that is, verify whether the identity of the object identifier is consistent with the identity of the pre-set management object identifier. When the identities are consistent, the permission verification passes; when the identities are not consistent, the permission verification fails. Then, when the permission verification passes, the resource server obtains the resource transfer smart contract associated with the current digital resource storage identifier.
[0051] S206, obtain the verification information returned by at least two verification object ends through the resource transfer smart contract, and perform a consistency verification based on the verification information returned by at least two verification object ends and the authorization information associated with at least two verified digital resource storage identifiers in the resource transfer smart contract, to obtain the verification results corresponding to at least two verified digital resource storage identifiers.
[0052] Among them, the verification information refers to the information obtained after verifying the resource transfer request. For example, it can be the digital signature sent by the verification object end, the identity information sent by the verification object end, or the characterization information that can be used for resource transfer sent by the verification object end, etc. The authorization information refers to the information that can be used for resource transfer corresponding to the pre-set verified digital resource storage identifier. For example, it can be the pre-set digital signature. The verification result refers to the result of the consistency verification, including the passed result where the verification information and the authorization information are consistent and the failed result where the verification information and the authorization information are not consistent.
[0053] Specifically, the resource server obtains the verification information returned by each verification object end through the resource transfer smart contract, and then uses all the authorization information stored in the resource transfer smart contract to find out whether there is authorization information consistent with the verification information. When there is consistent authorization information, the verification passed result corresponding to the verification digital resource storage identifier is obtained. When there is no consistent authorization information, the verification failed result corresponding to the verification digital resource storage identifier is obtained. The resource server can also directly obtain the authorization information corresponding to the same verification digital resource storage identifier in the resource transfer smart contract according to the verification information returned by the verification pair end, and then determine whether the verification information is consistent with the authorization information corresponding to the same verification digital resource storage identifier. When they are consistent, the verification passed result corresponding to the verification digital resource storage identifier is obtained. When they are not consistent, the verification failed result corresponding to the verification digital resource storage identifier is obtained. The resource server performs consistency verification on the verification information returned by each verification object end and the stored authorization information. That is, when all the verification information returned by all verification object ends has been traversed, the verification result corresponding to each verification digital resource storage identifier is obtained.
[0054] S208. Through the resource transfer smart contract, it is detected that when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, the corresponding digital resources are transferred from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and a resource transfer result is obtained.
[0055] Among them, the preset resource transfer condition refers to the condition for resource transfer set in advance, including but not limited to that the verification results corresponding to all verification digital resource storage identifiers are all verification passed results, and the number of verification passed results among the verification results corresponding to all verification digital resource storage identifiers is greater than the preset quantity threshold, etc. The resource transfer result is used to represent that the digital resource transfer is completed.
[0056] Specifically, the resource server counts the number of verification passed results in the verification results corresponding to each verification digital resource storage identifier through the resource transfer smart contract. When the number of verification passed results does not meet the preset resource transfer conditions, the resource transfer failed information is returned to the resource management end, and the verification digital resource storage identifier that fails the verification, etc., can be carried in the resource transfer failed information. When the number of verification passed results meets the preset resource transfer conditions, based on the digital resource information to be transferred through the resource transfer smart contract, the corresponding digital resources are transferred from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and a resource transfer result is obtained. Then the resource server can return the resource transfer result to the resource management end.
[0057] The above resource transfer method includes: obtaining a resource transfer request sent by a resource management end, where the resource transfer request carries the current digital resource storage identifier, the target digital resource storage identifier, and the digital resource information to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource. Then, obtain the resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object ends associated with at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end. Obtain the verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the verification information returned by at least two verification object ends and the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract to obtain the verification results corresponding to at least two verification digital resource storage identifiers. Detect through the resource transfer smart contract that when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, transfer the corresponding digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result. That is, when performing resource transfer at the resource management end corresponding to the group object identifier, by performing authorization verification on at least two verification digital resource storage identifiers in the resource transfer smart contract, and performing resource transfer when the verification results corresponding to at least two verification digital resource storage identifiers meet the preset resource transfer conditions, that is, verifying resource transfer through multiple verification object identifiers, thereby further improving the security of resource transfer.
[0058] In one embodiment, as Figure 3 shown, before S202, that is, before obtaining the resource transfer request sent by the resource management end, it further includes:
[0059] S302, obtaining a current identifier application request sent by the resource management end, where the current identifier application request carries the group identity information corresponding to the group object identifier;
[0060] S304, performing identity authentication on the group object identifier corresponding to the resource management end based on the group identity information. When the identity authentication is successful, generate the current digital resource storage identifier corresponding to the resource management end, and return the current digital resource storage identifier to the resource management end.
[0061] Among them, the current identification application request refers to the request for applying for the current digital resource storage identification. The group identity information refers to the information used to represent the identity of the group object, which can be the identity number of the group object. Identity authentication refers to the verification and audit of the authenticity of the identity information, that is, verifying whether the identity information actually exists and whether it is forged, etc.
[0062] Specifically, before the resource management end performs resource transfer, it needs to apply for and obtain the digital resource storage identification. That is, the resource management end sends the current identification application request to the resource server using the group identity information corresponding to the group object identification. The resource server obtains the current identification application request sent by the resource management end and gets the group identity information corresponding to the group object identification. Then, it performs identity authentication on the group object identification corresponding to the resource management end according to the group identity information. Among them, the identity authentication interface of the identity authentication agency can be called to perform identity authentication. For example, it is detected through the identity authentication interface whether there is identity information in the identity information saved by the identity authentication agency that is consistent with the identity information of the providing end. When there is consistent identity information, the identity authentication interface returns the information indicating that the identity authentication is passed. When there is no consistent identity information, the identity authentication interface returns the information indicating that the identity authentication fails. When the resource server detects that the identity authentication is passed, the resource server can generate the current digital resource storage identification according to the pre-set generation rule of the digital resource storage identification. The current digital resource storage identification establishes an association relationship with the group identity information that passes the identity authentication. Then, the current digital resource storage identification is returned to the transaction voucher providing end.
[0063] S306, obtain the transaction service opening request sent by the resource management end. The transaction service opening request carries the current digital resource storage identification, at least two verification digital resource storage identifications, and a preset resource transfer condition;
[0064] S308, generate an intelligent contract based on at least two verification digital resource storage identifications and the preset resource transfer condition to obtain the resource transfer intelligent contract associated with the current digital resource storage identification;
[0065] S310, generate the transaction service opening completion information and return the transaction service opening completion information to the resource management end.
[0066] Among them, the transaction service opening request refers to the request of the resource management end to open the transaction service. Through the transaction service, resource transfer can be carried out.
[0067] Specifically, after the resource management end obtains the current resource digital resource storage identifier upon application, it is also necessary to enable the transaction service. At this time, the resource server obtains the transaction service enabling request sent by the resource management end, and obtains at least two verification digital resource storage identifiers corresponding to the current digital resource storage identifier and a preset resource transfer condition. Then, using the pre-set resource transfer smart contract template, a resource transfer smart contract associated with the current digital resource storage identifier is generated through at least two verification digital resource storage identifiers and the preset resource transfer condition. And after the resource transfer smart contract is generated, a transaction service enabling completion message is generated and returned to the resource management end. Different group objects can have different verification objects, and different current resource digital resource storage identifiers can correspond to different verification digital resource storage identifiers.
[0068] In one embodiment, after the resource server generates the current digital resource storage identifier corresponding to the resource management end, it directly obtains at least two verification digital resource storage identifiers and a preset resource transfer condition, and then uses the at least two verification digital resource storage identifiers and the preset resource transfer condition to generate a resource transfer smart contract, and associates the resource transfer smart contract with the identity information of the current digital resource storage identifier. Finally, the current digital resource storage identifier is returned to the resource management end.
[0069] In one embodiment, the verification digital resource storage identifier can be associated with the current digital resource storage identifier, that is, it can be each digital resource storage sub-identifier generated using the current digital resource storage identifier. The digital resource storage sub-identifier can be generated using the current digital resource storage identifier after authenticating the identity of the verification object identifier in the group object, and each digital resource storage sub-identifier is used as the verification digital resource storage identifier.
[0070] In the above embodiment, by obtaining the current identifier application request sent by the resource management end, generating the current digital resource storage identifier corresponding to the resource management end, and then obtaining the transaction service enabling request sent by the resource management end, a resource transfer smart contract associated with the current digital resource storage identifier is generated, thereby completing the enabling of the transaction service, facilitating subsequent resource transfer through the transaction service, that is, using the existing resource transfer smart contract for resource transfer, and improving the accuracy and efficiency of resource transfer.
[0071] In one embodiment, as Figure 4 shown in S308, that is, generating a resource transfer smart contract associated with the current digital resource storage identifier based on at least two verification digital resource storage identifiers and a preset resource transfer condition, includes:
[0072] S402. Send an authorization request to the verification object ends associated with at least two verified digital resource storage identifiers based on a preset resource transfer condition. The authorization request is used to instruct the verification object ends to generate authorization information based on the identity information corresponding to the verification object identifier.
[0073] S404. Obtain the authorization information returned by the verification object ends to get the authorization information associated with at least two verified digital resource storage identifiers.
[0074] Herein, the authorization request refers to a request for obtaining authorization information. The verification object identifier is used to uniquely identify the verification object, which can be an object in a group object or other objects. The identity information corresponding to the verification object identifier refers to the identity information of the verification object for authorization, which can be a face image representing the identity, a name representing the identity, a mobile phone number representing the identity, an identification number representing the identity, and so on.
[0075] Specifically, the preset resource transfer condition pre-sets the conditions for resource transfer, which can be resource transfer after each verified digital resource storage identifier has been verified. At this time, the resource server sends an authorization request to each verification object end associated with each verified digital resource storage identifier in the preset resource transfer condition. When each verification object end obtains the authorization request, it can display the current digital resource storage identifier to be authorized and prompt whether to authorize. When receiving the authorization instruction of the verification object, the verification object end responds to the authorization instruction and uses the identity information corresponding to the verification object identifier to generate authorization information. For example, the identity information can be directly used as the authorization information, or the identity information can be used for digital signature and the digital signature can be used as the authorization information, etc. Then the verification object end returns the authorization information to the resource server.
[0076] The resource server obtains the authorization information returned by each verification object end, associates the authorization information returned by each verification object end with the verified digital resource storage identifier of the verification object end, and saves the association relationship between the authorization information and the verified digital resource storage identifier. Herein, when the verification object end fails to obtain the returned authorization information, it can send an authorization request to the verification object end again. When obtaining the information of refusing authorization returned by the verification object end, the resource server returns the information of unable to complete authorization to the resource management end. This information can include the information of the verification object end that refuses authorization. For example, it can be the verified digital resource storage identifier associated with the verification object end.
[0077] S406. Obtain a resource transfer smart contract template, write the authorization information associated with at least two verified digital resource storage identifiers and the preset resource transfer condition into the resource transfer smart contract template to obtain a resource transfer smart contract associated with the current digital resource storage identifier.
[0078] Among them, the resource transfer smart contract template refers to a pre-set smart contract template for executing resource transfer. This resource transfer smart contract template cannot be executed. Using the resource transfer smart contract template, resource transfer smart contracts associated with different digital resource storage identifiers can be generated, and the verified digital resource storage identifiers and preset resource transfer conditions in different resource transfer smart contracts are different.
[0079] Specifically, various types of smart contract templates can be saved in the resource server, and the resource transfer smart contract template can be obtained according to the identifier of the resource transfer smart contract template. The resource server can also obtain the resource transfer smart contract template from the database, and then write each verified digital resource storage identifier, the authorization information associated with each verified digital resource storage identifier, and the preset resource transfer conditions into the resource transfer smart contract template to obtain the resource transfer smart contract associated with the current digital resource storage identifier. All the verified digital resource storage identifiers, all the authorization information, and the preset resource transfer conditions can be written into the resource transfer smart contract template in the form of parameters to obtain the resource transfer smart contract, or all the verified digital resource storage identifiers, all the authorization information, and the preset resource transfer conditions can be filled into the preset positions in the resource transfer smart contract template to obtain the resource transfer smart contract.
[0080] In the above embodiment, by interacting with each verification object end according to the preset resource transfer conditions, the authorization information returned by each verification object end is obtained, and then all the authorization information and the preset resource transfer conditions are written into the resource transfer smart contract template to obtain the resource transfer smart contract associated with the current digital resource storage identifier, that is, different resource transfer smart contracts can be generated for different digital resource storage identifiers, thereby improving the accuracy of the obtained resource transfer smart contract.
[0081] In one embodiment, the authorization information includes an authorization digital signature; S404, obtaining the authorization information returned by the verification object end, and obtaining the authorization information associated with at least two verified digital resource storage identifiers includes the steps of:
[0082] Obtaining the authorization digital signature returned by the verification object end, where the authorization digital signature is obtained by the verification object end generating a signature private key and a signature public key and using the signature private key to digitally sign the identity information corresponding to the verification object identifier; obtaining the authorization information associated with at least two verified digital resource storage identifiers based on the authorization digital signature returned by the verification object end.
[0083] Among them, the authorization digital signature is a digital signature representing authorization. The signature private key refers to the private key used when generating the digital signature. The signature public key refers to the public key for decrypting the digital signature.
[0084] Specifically, when the object to be verified is authorizing, it can use a digital signature algorithm to generate a digital signature. The digital signature algorithm can be an asymmetric encryption algorithm, including but not limited to RSA (an asymmetric encryption algorithm), ElGamal (a public-key cryptography algorithm), DSA (a public-key cryptography algorithm for digital signatures), elliptic curve digital signature algorithm, and finite automaton digital signature algorithm, etc. When using the digital signature algorithm to generate an array signature, first use the asymmetric encryption algorithm to generate a pair of public and private keys, and then use the public and private keys as the signature private key and signature public key. At this time, the object to be verified uses the signature private key to digitally sign the identity information corresponding to the verification object identifier to obtain an authorization digital signature, and then returns the authorization digital signature to the resource server. The resource server obtains the authorization digital signatures returned by each object to be verified, and uses the authorization array signatures returned by each object to be verified as the authorization information associated with the verification digital resource storage identifier.
[0085] In the above embodiment, by obtaining the authorization digital signatures returned by the objects to be verified, and then using the authorization digital signatures returned by each object to be verified as the authorization information associated with the verification digital resource storage identifier, the security of the authorization information is improved. Then, when verifying during resource transfer using the authorization information obtained from the authorization digital signature, the security of resource transfer is further improved.
[0086] In one embodiment, obtaining the authorization digital signature returned by the object to be verified includes the steps of:
[0087] Obtain the encrypted digital signature and the encryption key returned by the object to be verified. The encrypted digital signature is obtained by the object to be verified encrypting the authorization digital signature using a preset symmetric key, and the encryption key is obtained by the object to be verified obtaining the target public key and encrypting the preset symmetric key using the target public key; obtain the target private key corresponding to the target public key, decrypt the encryption key using the target private key to obtain the decryption key, and decrypt the encrypted digital signature using the decryption key to obtain the authorization digital signature returned by the object to be verified.
[0088] Among them, the preset symmetric key refers to the symmetric key that is preset to encrypt the authorization digital signature. The target public key and the target private key are generated by the resource server using the asymmetric key algorithm and are used for encryption and decryption during information transmission to ensure the security of information transmission.
[0089] Specifically, in order to ensure the security of the authorized digital signature during transmission, the verification object end can encrypt the authorized digital signature using a preset symmetric key to obtain an encrypted digital signature, and then encrypt the preset symmetric key using the target public key pre-sent by the resource server to obtain an encrypted key. Then, the encrypted digital signature and the encrypted key are returned to the resource server. The resource server obtains the encrypted digital signature and the encrypted key returned by the verification object end, obtains the target private key corresponding to the target public key from the database, and then decrypts the encrypted key using the target private key to obtain the decrypted key. This decryption key is the preset symmetric key, and then the encrypted digital signature is decrypted using this decrypted key to obtain the authorized digital signature returned by the verification object end.
[0090] In the above embodiment, the encrypted digital signature and the encrypted key returned by the verification object end are obtained, and then the encrypted key is decrypted using the target private key to obtain the decrypted key, and then the encrypted digital signature is decrypted using the decrypted key, so as to obtain the authorized digital signature returned by the verification object end. That is, the authorized digital signature is encrypted and transmitted, thereby improving the security of the authorized digital signature transmission.
[0091] In one embodiment, before S202 and before obtaining the resource transfer request sent by the resource management end, the method further includes the steps of:
[0092] Obtain a target identification application request sent by the verification object end, where the target identification application request carries verification end identity information; perform identity authentication on the verification object identifier corresponding to the verification object end based on the verification end identity information. When the identity authentication is passed, generate a verification digital resource storage identifier corresponding to the verification object end, and return the verification digital resource storage identifier to the verification object end.
[0093] Among them, the target identification application request refers to a request for applying for a verification digital resource storage identifier. The verification end identity information is used to represent the identity information of the verification object identifier corresponding to the verification object end, and is the identity information that needs to be authenticated. The user end identity information may include at least one of an identity number, a face image representing the identity, a name representing the identity, and a mobile phone number representing the identity.
[0094] Specifically, before the resource management end sends a resource transfer request, it needs to generate a resource transfer smart contract using the verification digital resource storage identifier corresponding to the verification object end, and this verification digital resource storage identifier needs to be applied for by the verification object end in advance. That is, the verification object end can use the identity verification information of the verification end to apply for the verification digital resource storage identifier, that is, the verification object end sends a target identifier application request to the resource server. The resource server obtains the target identifier application request sent by the verification object end, and then uses the identity verification information of the verification end to authenticate the verification object identifier corresponding to the verification object end. Among them, the identity authentication interface of the identity authentication agency can be called to perform identity authentication. For example, it is detected through the identity authentication interface whether there is identity information consistent with the identity verification information of the verification end in the identity information stored by the identity authentication agency. When there is consistent identity information, the identity authentication interface returns an identity authentication passed message. When there is no consistent identity information, the identity authentication interface returns an identity authentication failed message. When the resource server detects that the identity authentication is passed, it can generate the verification digital resource storage identifier corresponding to the verification object end according to the pre-set generation rule of the digital resource storage identifier. This verification digital resource storage identifier is bound to the identity verification information of the verification end that has passed the identity authentication, and then the verification digital resource storage identifier is returned to the verification object end.
[0095] In the above embodiment, by obtaining the target identifier application request sent by the verification object end, then using the identity verification information of the verification end to authenticate the verification object identifier corresponding to the verification object end, when the identity authentication is passed, the verification digital resource storage identifier corresponding to the verification object end is generated, and the verification digital resource storage identifier is returned to the verification object end, which is convenient for subsequent verification of resource transfer using the verification digital resource storage identifier and improves the security of resource transfer.
[0096] In one embodiment, the verification information includes the digital signature to be verified, and the authorization information includes the authorized digital signature; S206, obtaining the verification information returned by at least two verification object ends through the resource transfer smart contract, and performing consistency verification based on the verification information returned by at least two verification object ends and the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract to obtain the verification results corresponding to at least two verification digital resource storage identifiers, including the steps of:
[0097] Obtaining the current digital signature returned by the current verification object end through the resource transfer smart contract; searching for the current digital signature in the authorized digital signature of the resource transfer smart contract. When the current digital signature is found, obtaining the verification passed result corresponding to the verification digital resource storage identifier of the current verification object end; when the current digital signature is not found, obtaining the verification failed result corresponding to the verification digital resource storage identifier of the current verification object end.
[0098] Among them, the current verification object end refers to the verification object end that currently needs to conduct resource transfer verification. The digital signature to be verified refers to the digital signature that needs to conduct consistency verification. The current digital signature refers to the digital signature to be verified returned by the verification peer end.
[0099] Specifically, the resource server obtains the current digital signature returned by the current verification object end through the resource transfer smart contract, and then conducts consistency verification through each authorized digital signature in the resource transfer intelligent contract. For example, it can search for the current digital signature among all the authorized digital signatures, that is, compare it with each authorized digital signature to determine whether there is the same data signature. When the current digital signature is found, the verification result of the current verification object end is obtained as the verification passed result, that is, the verification passed result corresponding to the verification digital resource storage identifier of the current verification object end. Then, when the current digital signature is not found, the verification failed result corresponding to the verification digital resource storage identifier of the current verification object end is obtained. The resource server can also obtain the associated authorized digital signature according to the verification digital resource storage identifier of the current verification object end, and then detect whether the associated authorized digital signature is consistent with the obtained current digital signature. When they are consistent, the verification passed result is obtained, and when they are not consistent, the verification failed result is obtained. Finally, the resource server sequentially traverses all the digital signatures obtained from the verification object end to obtain the verification results of all the verification object ends.
[0100] In the above embodiment, by obtaining the current digital signature returned by the current verification object end, searching for the current digital signature among the authorized digital signatures of the resource transfer smart contract, and then obtaining the verification result according to the search result, that is, directly using the digital signature for verification, the verification efficiency is improved.
[0101] In one embodiment, the verification information includes the identity information corresponding to the verification object identifier, and the authorization information includes the authorized digital signature and the signature public key;
[0102] As Figure 5 shown, S206, obtaining the verification information returned by at least two verification object ends through the resource transfer smart contract, and conducting consistency verification based on the verification information returned by at least two verification object ends and the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract to obtain the verification results corresponding to at least two verification digital resource storage identifiers, including:
[0103] S502, obtaining the current identity information corresponding to the current verification object identifier returned by the current verification object end through the resource transfer smart contract.
[0104] S504, calculating the message digest corresponding to the current identity information to obtain the message digest to be verified, and decrypting the authorized digital signature using the signature public key to obtain the authorized message digest.
[0105] Among them, the message digest to be verified refers to the message digest that needs to be verified, which is the message digest of the current identity information corresponding to the current verification object identifier. The authorized message digest is the message digest obtained according to the authorized digital signature. This authorized message digest is calculated by using the identity information during authorization for message digest calculation.
[0106] Specifically, the verification object side can also directly use the identity information corresponding to the verification object identifier as the verification information. For example, the verification code representing the identity corresponding to the verification object identifier can be used as the verification information, and this verification code is generated when the verification object side performs authorization. Then the resource server obtains the identity information corresponding to each verification object identifier returned by each verification object side through the resource transfer smart contract. Then, the current identity information corresponding to the current verification object identifier is sequentially selected from the identity information corresponding to each verification object identifier. Then, the message digest corresponding to the current identity information is calculated using a message digest algorithm. For example, the hash value corresponding to the current identity information can be calculated using a hash algorithm, and the hash value is used as the message digest. At the same time, the authorized digital signature is decrypted using the signature public key corresponding to the current verification object identifier to obtain the authorized message digest.
[0107] S506, when the message digest to be verified is consistent with the authorized message digest, obtain the verification passed result corresponding to the verification digital resource storage identifier of the current verification object side.
[0108] S508, when the message digest to be verified is not consistent with the authorized message digest, obtain the verification failed result corresponding to the verification digital resource storage identifier of the current verification object side.
[0109] Specifically, when the resource server determines that the message digest to be verified is consistent with the authorized message digest, it indicates that the identity information of the current verification object identifier obtained is the same as the identity information of the currently authorized verification object identifier. At this time, the verification passed result corresponding to the verification digital resource storage identifier of the current verification object side is obtained. When the message digest to be verified is not consistent with the authorized message digest, it indicates that the identity information of the current verification object identifier obtained is different from the identity information of the currently authorized verification object identifier. At this time, the verification failed result corresponding to the verification digital resource storage identifier of the current verification object side is obtained.
[0110] In the above embodiments, the verification result is obtained by calculating the consistency between the message digest corresponding to the identity information and the message digest of the authorized digital signature, thereby improving the accuracy of the obtained verification result.
[0111] In one embodiment, the preset resource transfer conditions include a preset threshold for the number of verification successful results;
[0112] S208. When it is detected by the resource transfer smart contract that the verification results corresponding to at least two verified digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, the corresponding digital resources are transferred from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, and a resource transfer result is obtained, including:
[0113] Count the number of successful verification results among the verification results corresponding to at least two verified digital resource storage identifiers; when the number of successful verification results is greater than the preset number threshold of successful verification results, based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result; when the number of successful verification results is not greater than the preset number threshold of successful verification results, generate a verification failure message and return the verification failure message to the resource management end.
[0114] Among them, the number of successful verification results refers to the number of verification results corresponding to all verified digital resource storage identifiers that are successful verification results. The preset number threshold of successful verification results is the number threshold of successful verification results required for resource transfer set in advance. For example, when the number of all verification results is 10, the preset number threshold of successful verification results can be 5, and the preset number threshold of successful verification results can be set according to requirements.
[0115] Specifically, the resource server obtains the verification results corresponding to each verified digital resource storage identifier, and then counts the number of verification results that are successful verification results to obtain the number of successful verification results. When the number of successful verification results is greater than the preset number threshold of successful verification results, it means that the required number threshold for resource transfer is reached, and at this time, resource transfer can be performed. When the number of successful verification results is less than or equal to the preset number threshold of successful verification results, it means that the required number threshold for resource transfer is not reached. At this time, the resource transfer verification fails, a verification failure message is generated, and the verification failure message is returned to the resource management end.
[0116] In the above embodiment, by counting the number of successful verification results in the verification results and then determining whether to perform resource transfer according to whether the number of successful verification results is greater than the preset number threshold of successful verification results, that is, resource transfer is performed through multi-party verification, thereby improving the security of resource transfer.
[0117] In one embodiment, the target digital resource storage identifier includes at least two, and the at least two target digital resource storage identifiers respectively correspond to the digital resource information to be transferred;
[0118] S208. Based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result, including:
[0119] Determine an initial digital resource storage identifier from at least two target digital resource storage identifiers, and determine the initial digital resource information to be transferred corresponding to the initial digital resource storage identifier from the digital resource information to be transferred corresponding to each of the at least two target digital resource storage identifiers; Based on the initial digital resource information to be transferred, transfer the corresponding initial digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the initial digital resource storage identifier; Traverse at least two target digital resource storage identifiers in sequence. When the traversal of at least two target digital resource storage identifiers is completed, obtain the target resource transfer result.
[0120] Among them, the initial digital resource storage identifier refers to the target digital resource storage identifier for which resource transfer is required. The initial digital resource information to be transferred refers to the information of the digital resources to be transferred to the storage carrier of the initial digital resource storage identifier. The initial digital resources refer to the digital resources to be transferred to the storage carrier of the initial digital resource storage identifier. The target resource transfer result is used to represent the resource transfer results of all target digital resource storage identifiers and can be the results of all completed resource transfers.
[0121] Specifically, the resource server can transfer the digital resources in the storage carrier of the current digital resource storage identifier to the storage carriers of multiple different target digital resource storage identifiers. When performing resource transfer, the resource transfer can be carried out sequentially in series or simultaneously in parallel. When the resource transfer is carried out serially, the resource server first determines an initial digital resource storage identifier from at least two target digital resource storage identifiers, then determines the initial digital resource information to be transferred corresponding to the initial digital resource storage identifier, and then transfers the initial digital resources corresponding to the initial digital resource information to be transferred from the storage carrier of the current digital resource storage identifier to the storage carrier of the initial digital resource storage identifier. When the resource transfer to the storage carrier of the initial digital resource storage identifier is completed, determine the next target digital resource storage identifier to be transferred from at least two target digital resource storage identifiers, and use the target digital resource storage identifier as the initial digital resource storage identifier for cyclic traversal until all target digital resource storage identifiers have been traversed, that is, the resource server has completed the resource transfer and obtained the target resource transfer result.
[0122] In the above embodiment, resource transfer to multiple different target digital resource storage identifiers is achieved, improving the efficiency of resource transfer.
[0123] In one embodiment, determining an initial digital resource storage identifier from at least two target digital resource storage identifiers includes the steps of:
[0124] Obtain the current digital resource information associated with the current digital resource storage identifier, and calculate the sum of the digital resource information to be transferred corresponding to each of the at least two target digital resource storage identifiers to obtain the total digital resource information to be transferred; when the current digital resource information is greater than the total digital resource information to be transferred, determine the initial digital resource storage identifier from the at least two target digital resource storage identifiers; when the current digital resource information is not greater than the total digital resource information to be transferred, calculate the difference between the total digital resource information to be transferred and the current digital resource information to obtain digital resource difference information, and return the digital resource difference information to the resource management end.
[0125] Wherein, the current digital resource information refers to the information of the digital resources in the storage medium of the current digital resource storage identifier. The total digital resource information to be transferred refers to the information of the digital resources that need to be transferred. The digital resource difference information is used to represent the difference between the current digital resource information and the total digital resource information to be transferred.
[0126] Specifically, the resource server retrieves the current digital resource information associated with the current digital resource storage identifier from the database. Then calculate the sum of the digital resource information to be transferred corresponding to all the target digital resource storage identifiers to obtain the total digital resource information to be transferred. Then compare the magnitudes of the current digital resource information and the total digital resource information to be transferred. When the resource server determines that the current digital resource information is greater than the total digital resource information to be transferred, it indicates that the digital resources in the storage medium of the current digital resource storage identifier can meet the digital resources required for resource transfer. At this time, the resource server can start resource transfer, that is, determine the initial digital resource storage identifier from the at least two target digital resource storage identifiers. When the resource server determines that the current digital resource information is not greater than the total digital resource information to be transferred, it indicates that the digital resources in the storage medium of the current digital resource storage identifier cannot meet the digital resources required for resource transfer. At this time, the resource server calculates the difference between the total digital resource information to be transferred and the current digital resource information to obtain digital resource difference information, and then returns the digital resource difference information to the resource management end. The resource management end can obtain the digital resources that meet the requirements for resource transfer according to the digital resource difference information. For example, it can obtain digital resources from the storage media of other digital resource storage identifiers, or exchange digital resources according to the digital resource difference information, etc.
[0127] In the above embodiment, by calculating the sum of the digital resource information to be transferred and then comparing it with the current digital resource information, and determining whether to start resource transfer according to the comparison result, it avoids the occurrence of digital resource differences and the inability to complete resource transfer, thereby improving the accuracy of resource transfer.
[0128] In a specific embodiment, as Figure 6 shown, a schematic diagram of an application scenario for resource transfer is provided, including a resource management terminal 102, a resource service terminal 104, and each verification object terminal. Each verification object terminal includes verification object terminal A to verification object terminal M, and also includes each target object terminal. Each target object terminal includes target object terminal B to verification object terminal N, and all are connected through a network. Then, the resource service terminal 104 obtains a resource transfer request sent by the resource management terminal 102. The resource transfer request is a request for resource transfer from the storage carrier of the digital resource storage identifier in the resource management terminal 102 to the storage carriers of the digital resource storage identifiers in each target object terminal. At this time, the resource service terminal 104 first interacts with each verification object terminal, including verification object terminal A to verification object terminal M, through a resource transfer smart contract, obtains the verification information returned by each verification object terminal, and then performs a consistency verification. When all verification object terminals return a verification success result, the resource service terminal 104 obtains the current digital resource information associated with the current digital resource storage identifier, and calculates the sum of the to-be-transferred digital resource information corresponding to all target digital resource storage identifiers to obtain the total to-be-transferred resource information. When the current digital resource information is greater than the total to-be-transferred resource information, the resource service terminal 104 sequentially transfers the digital resources in the storage carrier of the current digital resource storage identifier to the storage carriers of the digital resource storage identifiers in each target object terminal, and performs resource transfer according to the information of the digital resources to be transferred to the storage carrier of the digital resource storage identifier in each target object terminal in the resource transfer request, so that the storage carriers of the digital resource storage identifiers in each target object terminal obtain the transferred digital resources, and perform resource transfer to the storage carriers of multiple different target digital resource storage identifiers after passing the verification by multiple different verification object terminals, thereby improving the security and efficiency of resource transfer.
[0129] In a specific embodiment, as Figure 7 shown, a resource transfer method is provided, which is executed by a resource service terminal. The resource service terminal may be a computer device, and specifically includes the following steps:
[0130] S702, obtain a resource transfer request sent by the resource management terminal. The resource transfer request carries the current digital resource storage identifier, the target digital resource storage identifier, and the to-be-transferred digital resource information.
[0131] S704, obtain the resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object terminals associated with the at least two verification digital resource storage identifiers.
[0132] S706, obtain the current identity information corresponding to the current verification object identifier returned by the current verification object end through the resource transfer smart contract, calculate the message digest corresponding to the current identity information to obtain the message digest to be verified, and decrypt the authorized digital signature using the signature public key to obtain the authorized message digest.
[0133] S708, when the message digest to be verified is consistent with the authorized message digest, obtain the verification passed result corresponding to the verification digital resource storage identifier of the current verification object end; when the message digest to be verified is not consistent with the authorized message digest, obtain the verification failed result corresponding to the verification digital resource storage identifier of the current verification object end.
[0134] S710, sequentially traverse at least two verification digital resource storage identifiers, obtain the verification results corresponding to the at least two verification digital resource storage identifiers, and count the number of verification passed results among the verification results corresponding to the at least two verification digital resource storage identifiers.
[0135] S712, when the number of verification passed results is greater than the preset verification passed result quantity threshold, based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain the resource transfer result.
[0136] In the above embodiments, the verification of resource transfer is performed through multiple verification object ends, and the resource transfer is only performed when the number of verification passed results is greater than the preset verification passed result quantity threshold, thereby improving the security of resource transfer.
[0137] In a specific embodiment, the resource transfer method is applied to a digital resource service platform. Specifically: the enterprise resource management end, the enterprise verification object end, and the target object end can apply for and obtain digital resource storage identifiers in the digital resource service platform. Then, the enterprise resource management end can use the digital resources associated with the digital resource storage identifiers to perform resource transfer in the digital resource service platform. The enterprise verification object end can verify the resource transfer through the digital resource storage identifiers, and the target object end can obtain the transferred digital resources through the digital resource storage identifiers. When the resource management end performs resource transfer, the digital resource service platform obtains the resource transfer request sent by the resource management end. The resource transfer request carries the current digital resource storage identifier, the target digital resource storage identifier, and the digital resource information to be transferred. Then, the digital resource service platform responds to the resource transfer request, obtains the resource transfer smart contract associated with the current digital resource storage identifier, generates corresponding resource transfer verification requests through at least two of the verification digital resource storage identifiers in the resource transfer smart contract, and sends the resource transfer verification requests to the verification object ends associated with each verification digital resource storage identifier. Then, the digital resource service platform obtains the verification information returned by each verification object end, and performs consistency verification based on the verification information returned by each verification object end and the authorization information associated with each verification digital resource storage identifier in the resource transfer smart contract to obtain the verification results corresponding to each verification digital resource storage identifier. Then, when the digital resource service platform determines through the resource transfer smart contract that the verification results corresponding to all the verification digital resource storage identifiers are verification success results, it performs resource transfer on the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier according to the digital resource information to be transferred, so that the storage carrier of the digital resource storage identifier of the target object end obtains the transferred digital resources. Finally, the digital resource service platform obtains the resource transfer result and returns the resource transfer result to the resource management end, that is, the digital resource transfer is performed after multi-party verification, which improves the security of the digital resource transfer.
[0138] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.
[0139] Based on the same inventive concept, an embodiment of the present application further provides a resource transfer device for implementing the resource transfer method involved above. The implementation solution provided by this device to solve problems is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the resource transfer device provided below can refer to the limitations on the resource transfer method in the above text and will not be repeated here.
[0140] In one embodiment, as Figure 8 shown, a resource transfer device 800 is provided, including: a request acquisition module 802, a request sending module 804, a verification module 806, and a resource transfer module 808, where:
[0141] The request acquisition module 802 is configured to acquire a resource transfer request sent by a resource management end. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and information of the digital resource to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource;
[0142] The request sending module 804 is configured to acquire a resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verification digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to verification object ends associated with the at least two verification digital resource storage identifiers. The verification digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end;
[0143] The verification module 806 is configured to acquire verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the verification information returned by the at least two verification object ends and the authorization information associated with the at least two verification digital resource storage identifiers in the resource transfer smart contract to obtain verification results corresponding to the at least two verification digital resource storage identifiers;
[0144] The resource transfer module 808 is configured to detect, through the resource transfer smart contract, that when the verification results corresponding to the at least two verification digital resource storage identifiers meet a preset resource transfer condition, based on the information of the digital resource to be transferred, transfer the corresponding digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result.
[0145] In one embodiment, the resource transfer device 800 further includes:
[0146] The current identity application module is used to obtain the current identity application request sent by the resource management end. The current identity application request carries the group identity information corresponding to the group object identifier; perform identity authentication on the group object identifier corresponding to the resource management end based on the group identity information. When the identity authentication is passed, generate the current digital resource storage identifier corresponding to the resource management end, and return the current digital resource storage identifier to the resource management end; obtain the transaction service activation request sent by the resource management end. The transaction service activation request carries the current digital resource storage identifier, at least two verification digital resource storage identifiers, and a preset resource transfer condition; generate an intelligent contract based on the at least two verification digital resource storage identifiers and the preset resource transfer condition to obtain a resource transfer intelligent contract associated with the current digital resource storage identifier; generate a transaction service activation completion message and return the transaction service activation completion message to the resource management end.
[0147] In one embodiment, the current identity application module is further configured to send an authorization request to the verification object ends associated with at least two verification digital resource storage identifiers based on the preset resource transfer condition. The authorization request is used to instruct the verification object ends to generate authorization information based on the identity information corresponding to the verification object identifier; obtain the authorization information returned by the verification object ends to obtain the authorization information associated with at least two verification digital resource storage identifiers; obtain a resource transfer intelligent contract template, and write the authorization information associated with at least two verification digital resource storage identifiers and the preset resource transfer condition into the resource transfer intelligent contract template to obtain a resource transfer intelligent contract associated with the current digital resource storage identifier.
[0148] In one embodiment, the authorization information includes an authorization digital signature; the current identity application module is further configured to obtain the authorization digital signature returned by the verification object end. The authorization digital signature is obtained by the verification object end generating a signature private key and a signature public key and using the signature private key to digitally sign the identity information corresponding to the verification object identifier; obtain the authorization information associated with at least two verification digital resource storage identifiers based on the authorization digital signature returned by the verification object end.
[0149] In one embodiment, the current identity application module is further configured to obtain the encrypted digital signature and the encryption key returned by the verification object end. The encrypted digital signature is obtained by the verification object end encrypting the authorization digital signature using a preset symmetric key, and the encryption key is obtained by the verification object end obtaining a target public key and encrypting the preset symmetric key using the target public key; obtain the target private key corresponding to the target public key, decrypt the encryption key using the target private key to obtain a decryption key, and decrypt the encrypted digital signature using the decryption key to obtain the authorization digital signature returned by the verification object end.
[0150] In one embodiment, the resource transfer device 800 further includes:
[0151] The target identifier acquisition module is used to acquire a target identifier application request sent by the verification object end. The target identifier application request carries the identity verification information of the verification end; based on the identity verification information of the verification end, perform identity authentication on the verification object identifier corresponding to the verification object end. When the identity authentication is passed, generate a verification digital resource storage identifier corresponding to the verification object end, and return the verification digital resource storage identifier to the verification object end.
[0152] In one embodiment, the verification information includes the digital signature to be verified, and the authorization information includes the authorized digital signature; the verification module 806 is further used to obtain the current digital signature returned by the current verification object end through the resource transfer smart contract; search for the current digital signature in the authorized digital signature of the resource transfer smart contract. When the current digital signature is found, obtain the verification pass result corresponding to the verification digital resource storage identifier of the current verification object end; when the current digital signature is not found, obtain the verification failure result corresponding to the verification digital resource storage identifier of the current verification object end.
[0153] In one embodiment, the verification information includes the identity information corresponding to the verification object identifier, and the authorization information includes the authorized digital signature and the signature public key;
[0154] The verification module 806 is further used to obtain the current identity information corresponding to the current verification object identifier returned by the current verification object end through the resource transfer smart contract; calculate the message digest corresponding to the current identity information to obtain the message digest to be verified, and use the signature public key to decrypt the authorized digital signature to obtain the authorized message digest; when the message digest to be verified is consistent with the authorized message digest, obtain the verification pass result corresponding to the verification digital resource storage identifier of the current verification object end; when the message digest to be verified is not consistent with the authorized message digest, obtain the verification failure result corresponding to the verification digital resource storage identifier of the current verification object end.
[0155] In one embodiment, the preset resource transfer condition includes a preset threshold for the number of verification success results;
[0156] The resource transfer module 808 is further used to count the number of verification success results in the verification results corresponding to at least two verification digital resource storage identifiers; when the number of verification success results is greater than the preset threshold for the number of verification success results, based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result; when the number of verification success results is not greater than the preset threshold for the number of verification success results, generate a verification failure message and return the verification failure message to the resource management end.
[0157] In one embodiment, the target digital resource storage identifier includes at least two, and the at least two target digital resource storage identifiers respectively correspond to the digital resource information to be transferred;
[0158] The resource transfer module 808 is further configured to determine an initial digital resource storage identifier from at least two target digital resource storage identifiers, and determine initial to-be-transferred digital resource information corresponding to the initial digital resource storage identifier from the to-be-transferred digital resource information respectively corresponding to the at least two target digital resource storage identifiers; based on the initial to-be-transferred digital resource information, transfer the corresponding initial digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the initial digital resource storage identifier; traverse the at least two target digital resource storage identifiers in sequence, and when the traversal of the at least two target digital resource storage identifiers is completed, obtain a target resource transfer result.
[0159] In one embodiment, the resource transfer module 808 is further configured to obtain current digital resource information associated with the current digital resource storage identifier, and calculate the total of the to-be-transferred digital resource information respectively corresponding to the at least two target digital resource storage identifiers to obtain total to-be-transferred resource information; when the current digital resource information is greater than the total to-be-transferred resource information, determine an initial digital resource storage identifier from the at least two target digital resource storage identifiers; when the current digital resource information is not greater than the total to-be-transferred resource information, calculate the difference between the total to-be-transferred resource information and the current digital resource information to obtain digital resource difference information, and return the digital resource difference information to the resource management end.
[0160] Each module in the above resource transfer device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.
[0161] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 9As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store resource transfer smart contracts, digital resource storage identifiers, digital resource data, and so on. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a resource transfer method.
[0162] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as Figure 10 shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be achieved through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a resource transfer method. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen 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 housing of the computer device. It can also be an external keyboard, a touchpad, or a mouse, etc.
[0163] Those skilled in the art can understand that Figure 9 or Figure 10The structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this 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.
[0164] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0165] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0166] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0167] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.
[0168] In this application book, the acquisition and processing of digital resources are strictly in accordance with the requirements of relevant national laws and regulations during actual application, obtaining the informed consent or separate consent of the digital resource subject, and carrying out subsequent data use and processing behaviors within the scope authorized by laws, regulations, and the personal information subject.
[0169] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0170] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise 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 recorded in this specification.
[0171] The above-described embodiments only represent several implementation manners of the present application. The description 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 belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A resource transfer method, characterized in that, The method includes: Obtain a resource transfer request sent by a resource management end. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and information of the digital resource to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource. Obtain a resource transfer smart contract associated with the current digital resource storage identifier. Generate a corresponding resource transfer verification request through at least two verified digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object ends associated with the at least two verified digital resource storage identifiers. The verified digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object end. Obtain verification information returned by at least two verification object ends through the resource transfer smart contract, and perform consistency verification on the verification information returned by the at least two verification object ends and the authorization information associated with at least two verified digital resource storage identifiers in the resource transfer smart contract to obtain verification results corresponding to the at least two verified digital resource storage identifiers. Detect through the resource transfer smart contract that when the verification results corresponding to the at least two verified digital resource storage identifiers meet the preset resource transfer conditions, based on the information of the digital resource to be transferred, transfer the corresponding digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier to obtain a resource transfer result.
2. The method according to claim 1, characterized in that, Before obtaining the resource transfer request sent by the resource management end, it further includes: Obtain a current identifier application request sent by the resource management end. The current identifier application request carries the group identity information corresponding to the group object identifier. Perform identity authentication on the group object identifier corresponding to the resource management end based on the group identity information. When the identity authentication is successful, generate the current digital resource storage identifier corresponding to the resource management end, and return the current digital resource storage identifier to the resource management end. Obtain a transaction service activation request sent by the resource management end. The transaction service activation request carries the current digital resource storage identifier, the at least two verified digital resource storage identifiers, and the preset resource transfer conditions. Generate a smart contract based on the at least two verified digital resource storage identifiers and the preset resource transfer conditions to obtain the resource transfer smart contract associated with the current digital resource storage identifier. Generate a transaction service activation completion message, and return the transaction service activation completion message to the resource management end.
3. The method according to claim 2, wherein The generating a smart contract based on the at least two verified digital resource storage identifiers and the preset resource transfer conditions to obtain the resource transfer smart contract associated with the current digital resource storage identifier includes: Send an authorization request to the verification object ends associated with the at least two verified digital resource storage identifiers based on the preset resource transfer condition, where the authorization request is used to instruct the verification object ends to generate authorization information based on the identity information corresponding to the verification object identifiers; Obtain the authorization information returned by the verification object ends to obtain the authorization information associated with the at least two verified digital resource storage identifiers; Obtain a resource transfer smart contract template, and write the authorization information associated with the at least two verified digital resource storage identifiers and the preset resource transfer condition into the resource transfer smart contract template to obtain the resource transfer smart contract associated with the current digital resource storage identifier.
4. The method according to claim 3, wherein The authorization information includes an authorization digital signature; the obtaining the authorization information returned by the verification object ends to obtain the authorization information associated with the at least two verified digital resource storage identifiers includes: Obtain the authorization digital signature returned by the verification object ends, where the authorization digital signature is obtained by the verification object ends generating a signature private key and a signature public key and using the signature private key to digitally sign the identity information corresponding to the verification object identifier; Obtain the authorization information associated with the at least two verified digital resource storage identifiers based on the authorization digital signature returned by the verification object ends.
5. The method according to claim 4, wherein The obtaining the authorization digital signature returned by the verification object ends includes: Obtain the encrypted digital signature and the encryption key returned by the verification object ends, where the encrypted digital signature is obtained by the verification object ends encrypting the authorization digital signature using a preset symmetric key, and the encryption key is obtained by the verification object ends obtaining a target public key and encrypting the preset symmetric key using the target public key; Obtain the target private key corresponding to the target public key, use the target private key to decrypt the encryption key to obtain a decryption key, and use the decryption key to decrypt the encrypted digital signature to obtain the authorization digital signature returned by the verification object ends.
6. The method according to claim 1, wherein Before obtaining the resource transfer request sent by the resource management end, it further includes: Obtain a target identifier application request sent by the verification object end, where the target identifier application request carries verification end identity proof information; Authenticate the identity of the verification object identifier corresponding to the verification object end based on the verification end identity proof information, and when the identity authentication is passed, generate the verified digital resource storage identifier corresponding to the verification object end and return the verified digital resource storage identifier to the verification object end.
7. The method according to claim 1, characterized in that The verification information includes a digital signature to be verified, and the authorization information includes an authorization digital signature; obtaining the verification information returned by at least two verification object ends through the resource transfer smart contract, and performing consistency verification on the verification information returned by the at least two verification object ends and the authorization information associated with at least two verified digital resource storage identifiers in the resource transfer smart contract to obtain the verification results corresponding to the at least two verified digital resource storage identifiers, includes: Obtain the current digital signature returned by the current verification object end through the resource transfer smart contract; Search for the current digital signature in the authorized digital signature of the resource transfer smart contract. When the current digital signature is found, obtain the verification passed result corresponding to the verification digital resource storage identifier of the current verification object end; When the current digital signature is not found, obtain the verification failed result corresponding to the verification digital resource storage identifier of the current verification object end.
8. The method according to claim 1, wherein The verification information includes the identity information corresponding to the verification object identifier, and the authorization information includes the authorized digital signature and the signature public key; The method of obtaining the verification information returned by at least two verification object ends through the resource transfer smart contract, and performing consistency verification on the verification information returned by the at least two verification object ends and the authorization information associated with at least two verification digital resource storage identifiers in the resource transfer smart contract, to obtain the verification results corresponding to the at least two verification digital resource storage identifiers, includes: Obtain the current identity information corresponding to the current verification object identifier returned by the current verification object end through the resource transfer smart contract; Calculate the message digest corresponding to the current identity information to obtain the message digest to be verified, and decrypt the authorized digital signature using the signature public key to obtain the authorized message digest; When the message digest to be verified is consistent with the authorized message digest, obtain the verification passed result corresponding to the verification digital resource storage identifier of the current verification object end; When the message digest to be verified is not consistent with the authorized message digest, obtain the verification failed result corresponding to the verification digital resource storage identifier of the current verification object end.
9. The method according to claim 1, characterized in that The preset resource transfer conditions include a preset verification success result quantity threshold; The method of detecting through the resource transfer smart contract that when the verification results corresponding to the at least two verification digital resource storage identifiers meet the preset resource transfer conditions, based on the digital resource information to be transferred, transfer the corresponding digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, to obtain a resource transfer result, includes: Count the number of verification success results in the verification results corresponding to the at least two verification digital resource storage identifiers; When the number of verification success results is greater than the preset verification success result quantity threshold, based on the digital resource information to be transferred, transfer the corresponding digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, to obtain a resource transfer result; When the number of verification success results is not greater than the preset verification success result quantity threshold, generate a verification failed message and return the verification failed message to the resource management end.
10. The method according to claim 1, characterized in that The target digital resource storage identifier includes at least two, and the at least two target digital resource storage identifiers respectively correspond to the digital resource information to be transferred; The method of transferring the corresponding digital resource from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier based on the digital resource information to be transferred, to obtain a resource transfer result, includes: Determine an initial digital resource storage identifier from the at least two target digital resource storage identifiers, and determine the initial digital resource information to be transferred corresponding to the initial digital resource storage identifier from the digital resource information to be transferred corresponding to each of the at least two target digital resource storage identifiers; Based on the initial digital resource information to be transferred, transfer the corresponding initial digital resources from the storage medium of the current digital resource storage identifier to the storage medium of the initial digital resource storage identifier; Traverse the at least two target digital resource storage identifiers in sequence. When the traversal of the at least two target digital resource storage identifiers is completed, obtain the target resource transfer result.
11. The method according to claim 10, wherein, The determining an initial digital resource storage identifier from the at least two target digital resource storage identifiers includes: Obtain the current digital resource information associated with the current digital resource storage identifier, and calculate the total sum of the digital resource information to be transferred corresponding to each of the at least two target digital resource storage identifiers to obtain the total resource information to be transferred; When the current digital resource information is greater than the total resource information to be transferred, determine an initial digital resource storage identifier from the at least two target digital resource storage identifiers; When the current digital resource information is not greater than the total resource information to be transferred, calculate the difference between the total resource information to be transferred and the current digital resource information to obtain digital resource difference information, and return the digital resource difference information to the resource management terminal.
12. A resource transfer device, characterized in that, The device includes: A request acquisition module, configured to acquire a resource transfer request sent by a resource management terminal. The resource transfer request carries a current digital resource storage identifier, a target digital resource storage identifier, and digital resource information to be transferred. The current digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the group object identifier corresponding to the resource management terminal. The digital resource storage identifier is used to uniquely identify the storage medium of the digital resource; A request sending module, configured to acquire a resource transfer smart contract associated with the current digital resource storage identifier, generate a corresponding resource transfer verification request through at least two verified digital resource storage identifiers in the resource transfer smart contract, and send the resource transfer verification request to the verification object terminals associated with the at least two verified digital resource storage identifiers. The verified digital resource storage identifier is a digital resource storage identifier generated after successful authentication of the verification object identifier corresponding to the verification object terminal; A verification module, configured to obtain verification information returned by at least two verification object terminals through the resource transfer smart contract, and perform consistency verification based on the verification information returned by the at least two verification object terminals and the authorization information associated with at least two verified digital resource storage identifiers in the resource transfer smart contract, to obtain verification results corresponding to the at least two verified digital resource storage identifiers; A resource transfer module, configured to detect, through the resource transfer smart contract, that when the verification results corresponding to the at least two verified digital resource storage identifiers meet a preset resource transfer condition, and based on the digital resource information to be transferred, transfer the corresponding digital resources from the storage carrier of the current digital resource storage identifier to the storage carrier of the target digital resource storage identifier, so as to obtain a resource transfer result.
13. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.