Transaction verification method and device, computer equipment and storage medium

By using the identity verification smart contract in online transactions, using the first digital resource to store the identity and transaction voucher identification for identity verification, the risk of identity information leakage when the seller verifies the buyer's identity is solved, and the security and privacy protection of the transaction are improved.

CN120106842APending Publication Date: 2025-06-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311653961.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-04
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In online transactions, the seller needs to verify the buyer's identity information, which poses a risk of leakage of the buyer's identity information.

Method used

By obtaining the transaction verification request sent by the transaction voucher usage, the first digital resource is used to store the identity and the transaction voucher identification to generate an authentication smart contract instance, and find matching voucher transaction data for identity verification, avoiding obtaining the buyer's identity information.

Benefits of technology

Improve the security of identity verification, avoid the leakage of buyer's identity information, and enhance privacy protection during the transaction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120106842A_ABST
    Figure CN120106842A_ABST
Patent Text Reader

Abstract

The invention relates to a transaction verification method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: obtaining a transaction verification request which is sent by a transaction voucher using end and carries a first digital resource storage identifier, a transaction voucher identifier and an identity verification intelligent contract identifier, wherein the first digital resource storage identifier is generated after identity verification of an object identifier corresponding to the transaction voucher using end is passed; obtaining an identity verification smart contract template of the identity verification smart contract identifier, and searching voucher transaction data matched with the first digital resource storage identifier and the transaction voucher identifier through an identity verification smart contract instance generated by the first digital resource storage identifier and the transaction voucher identifier; when the matched voucher transaction data is found, identity verification passing information is generated, and the identity verification passing information is used for indicating the transaction voucher providing end to provide voucher service corresponding to the transaction voucher. By adopting the method, the security of transaction verification can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a transaction verification method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of Internet technology, online transaction technology has emerged. Online transactions are mainly transactions conducted in the virtual environment of the Internet, such as online shopping and online ticket purchase. At present, buyers can purchase various tickets through the Internet with real names, such as concert tickets, train tickets, airline tickets, etc. When the buyer uses the purchased tickets, the seller needs to verify whether the identity verification of the user of the ticket is consistent with that of the buyer. Only when the identity verification is passed can it be used normally. However, the seller needs the buyer to provide identity information for identity verification, which poses the risk of leakage of the buyer's identity information. Summary of the invention

[0003] Based on this, it is necessary to provide a transaction verification method, apparatus, computer device, computer-readable storage medium and computer program product that can improve the security of identity authentication in response to the above technical problems.

[0004] In a first aspect, the present application provides a transaction verification method. The method comprises:

[0005] Obtain a transaction verification request sent by the transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, the first digital resource storage identifier is generated after identity authentication of the object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier;

[0006] Obtain an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance;

[0007] Execute the identity authentication smart contract instance to search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier;

[0008] When matching voucher transaction data is found, identity authentication information is generated and returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0009] In a second aspect, the present application also provides a transaction verification device. The device comprises:

[0010] A request acquisition module, used to acquire a transaction verification request sent by a transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, the first digital resource storage identifier is generated after identity authentication of an object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is acquired by the transaction voucher user from the transaction voucher provider using a digital resource associated with the first digital resource storage identifier;

[0011] A contract obtaining module is used to obtain an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance;

[0012] A contract execution module, used to execute the identity authentication smart contract instance, and search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier;

[0013] The verification module is used to generate identity authentication information when matching voucher transaction data is found, and return the identity authentication information to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0014] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0015] Obtain a transaction verification request sent by the transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, the first digital resource storage identifier is generated after identity authentication of the object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier;

[0016] Obtain an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance;

[0017] Execute the identity authentication smart contract instance to search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier;

[0018] When matching voucher transaction data is found, identity authentication information is generated and returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0020] Obtain a transaction verification request sent by the transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, the first digital resource storage identifier is generated after identity authentication of the object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier;

[0021] Obtain an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance;

[0022] Execute the identity authentication smart contract instance to search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier;

[0023] When matching voucher transaction data is found, identity authentication information is generated and returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0024] In a fifth aspect, the present application further 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 transaction verification request sent by the transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, the first digital resource storage identifier is generated after identity authentication of the object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier;

[0026] Obtain an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance;

[0027] Execute the identity authentication smart contract instance to search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier;

[0028] When matching voucher transaction data is found, identity authentication information is generated and returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0029] The above-mentioned transaction verification method, device, computer equipment, storage medium and computer program product obtain a transaction verification request sent by the transaction credential user, the transaction verification request carries a first digital resource storage identifier, a transaction credential identifier and an identity verification smart contract identifier, the first digital resource storage identifier is generated after the identity authentication of the object identifier corresponding to the transaction credential user is passed, and the transaction credential identifier is obtained by the transaction credential user from the transaction credential provider using the digital resource associated with the first digital resource storage identifier; obtain an identity verification smart contract template corresponding to the identity verification smart contract identifier, and write the first digital resource storage identifier and the transaction credential identifier into the identity verification smart contract template to obtain an identity verification smart contract instance; execute the identity verification smart contract instance, and search for matching credential transaction data based on the first digital resource storage identifier and the transaction credential identifier; when matching credential transaction data is found, generate identity verification information, and return the identity verification information to the transaction credential provider, and the identity verification information is used to instruct the transaction credential provider to provide the credential service corresponding to the transaction credential. That is, by performing identity authentication on the object identifier corresponding to the transaction credential user, the first digital resource storage identifier generated and the transaction credential identifier are used to search for matching credential transaction data for identity authentication. This eliminates the need to obtain the identity information of the transaction credential user, avoids the leakage of the identity information of the transaction credential user, and improves the security of identity authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A diagram of an application environment of a transaction verification method in an embodiment;

[0031] Figure 2 A flowchart of a transaction verification method in one embodiment;

[0032] Figure 3 A schematic diagram of a process for generating voucher transaction data in one embodiment;

[0033] Figure 4 A schematic diagram of a process for generating identity verification information in an embodiment;

[0034] Figure 5 A schematic diagram of a process for generating identity verification information in another embodiment;

[0035] Figure 6 A schematic diagram of an application scenario of transaction verification in a specific embodiment;

[0036] Figure 7 It is a flowchart of a transaction verification method in a specific embodiment;

[0037] Figure 8 It is a schematic diagram of an easily verifiable architecture in a specific embodiment;

[0038] Fig. 9 is a structural block diagram of a transaction verification device in one embodiment;

[0039] Fig.10 is an internal structure diagram of a computer device in one embodiment;

[0040] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with 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.

[0042] The transaction verification method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the transaction voucher provider 102 and the transaction voucher user 104 communicate with the digital resource server 106 via a network. The transaction voucher provider 102 and the transaction voucher user 104 communicate with each other via a network. The digital resource service end 106 obtains the transaction verification request sent by the transaction voucher user end 104, and the transaction verification request carries the first digital resource storage identifier, the transaction voucher identifier and the identity authentication smart contract identifier. The first digital resource storage identifier is generated after the identity authentication of the object identifier corresponding to the transaction voucher user end 104 is passed, and the transaction voucher identifier is obtained by the transaction voucher user end 104 from the transaction voucher provider end 102 using the digital resource associated with the first digital resource storage identifier; the digital resource service end 106 obtains the identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and writes the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain the identity authentication smart contract instance; the digital resource service end 106 executes the identity authentication smart contract instance, and searches for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier; when the digital resource service end 106 finds matching voucher transaction data, it generates identity authentication information and returns the identity authentication information to the transaction voucher provider end 102, and the identity authentication information is used to instruct the transaction voucher provider end 102 to provide the voucher service corresponding to the transaction voucher. The digital resource service end 106, the transaction voucher provider end 102 and the transaction voucher user end 104 can be terminals or servers. Among them, the terminal can be but not limited to various desktop computers, laptops, 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 car-mounted devices, etc. 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 that provides cloud computing services. The digital resource service end, the transaction voucher provider end and the transaction voucher user end can be directly or indirectly connected through wired or wireless communication, and this application does not limit this.

[0043] In one embodiment, Figure 2 As shown, an authentication method is provided, which is applied to Figure 1 The digital resource server in the example is used for illustration. The method can also be applied to the transaction voucher provider, and can also be applied to a system including the digital resource server and the transaction voucher provider, and is implemented through the interaction between the digital resource server and the transaction voucher provider. In this embodiment, the method includes the following steps:

[0044] S202, obtaining a transaction verification request sent by the transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier and an identity authentication smart contract identifier, the first digital resource storage identifier is generated after identity authentication of the object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier.

[0045] Among them, the transaction verification request refers to a request for identity authentication to complete the transaction. The first digital resource storage identifier refers to the digital resource storage identifier corresponding to the transaction voucher user end. The digital resource storage identifier is used to uniquely identify the storage carrier of the digital resource, which can be a virtualized storage carrier or a real storage carrier. The digital resource can be a virtual resource in digital form, or a resource generated by digitizing a real resource. The digital resource service end refers to a service end that provides digital resource services, which can exchange and circulate digital resources, open and manage digital resource storage identifiers, etc. The digital resource service end can be an operating organization of digital resources. The object identifier is used to uniquely identify the object corresponding to the transaction voucher user end. The object can be a real object, such as a person. The object can also be a virtual object, such as a virtual character, etc. Identity authentication refers to the verification and review of the authenticity of identity information. The transaction voucher identifier is used to uniquely identify the transaction voucher. The transaction voucher is a voucher that proves that the corresponding service can be used. The transaction voucher can be a ticket, a train ticket, an airplane ticket, etc. The transaction voucher can be obtained from the transaction voucher provider end by the transaction voucher user end using the digital resource associated with the first digital resource storage identifier. Different transaction vouchers have different transaction voucher identifiers. The transaction voucher user refers to the server that uses the transaction voucher to identify the corresponding transaction voucher. The transaction voucher provider refers to the server that can provide the transaction voucher to the transaction voucher user. The identity verification smart contract identifier is used to uniquely identify the smart contract for identity verification. A smart contract is a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. Smart contracts allow for trusted transactions without a third party, which are detectable and irreversible. In layman's terms, a smart contract is a set computer program that can automatically execute the trusted contract content without the participation of a third-party intermediary, and all operations are publicly traceable and irreversible.

[0046] Specifically, the transaction voucher user can use the digital resource associated with the first digital resource storage identifier to obtain the transaction voucher identifier from the transaction voucher provider. When the transaction voucher user needs to use the transaction voucher corresponding to the transaction voucher identifier, the transaction voucher provider can obtain the identity authentication smart contract identifier from the digital resource service end, and then provide the identity authentication smart contract identifier to the transaction voucher user. At this time, the transaction voucher user can use the existing first digital resource storage identifier and the transaction voucher identifier and the identity authentication smart contract identifier to send a transaction verification request to the digital resource service end. Among them, the first digital resource storage identifier of the transaction voucher user can be obtained by the transaction voucher user from the digital resource service end, that is, the transaction voucher user can use the identity information of the object identifier corresponding to the transaction voucher user to send a digital resource storage identifier acquisition request to the digital resource service end, and then the digital resource service end uses the identity information of the object identifier to perform identity authentication, and then generates the first digital resource storage identifier corresponding to the transaction voucher user, and then returns the first digital resource storage identifier to the transaction voucher user. Then the transaction voucher user can use the digital resource associated with the first digital resource storage identifier to trade with the transaction voucher provider, so as to obtain the transaction voucher identifier sent by the transaction voucher provider.

[0047] S204, obtaining an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and writing the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance.

[0048] Among them, the identity authentication smart contract template refers to the template of the identity authentication smart contract, which is an unexecutable identity authentication smart contract. The same identity authentication smart contract template can generate identity authentication smart contract instances corresponding to different transaction voucher users. That is, different digital resource storage identifiers correspond to different identity authentication smart contract instances, which are only used to verify the object identity of the corresponding transaction voucher user. The identity authentication smart contract instance refers to an executable identity authentication smart contract.

[0049] Specifically, different types of smart contracts are stored in the digital resource server, and different types of smart contracts correspond to different smart contract identifiers. The digital resource server can find the corresponding identity authentication smart contract template from the saved smart contract according to the identity authentication smart contract identifier. Then write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance. Among them, the first digital resource storage identifier and the transaction voucher identifier can be written into the identity authentication smart contract template in the form of parameters to obtain an identity authentication smart contract instance.

[0050] S206, execute the identity authentication smart contract instance, and search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier.

[0051] Among them, the voucher transaction data refers to the data generated when the transaction voucher user and the transaction voucher provider conduct a voucher transaction, which may include the first digital resource storage identifier, the transaction voucher identifier, and the digital resource of the transaction, etc.

[0052] Specifically, the digital resource server executes an identity authentication smart contract instance, which uses the first digital resource storage identifier and the transaction voucher identifier to search for the same digital resource storage identifier and the transaction voucher identifier in the saved voucher transaction data.

[0053] In one embodiment, the transaction voucher provider obtains the transaction verification request sent by the transaction voucher user, calls the identity verification smart contract instance of the digital resource service end according to the identity verification smart contract identifier in the transaction verification request, and executes the identity verification smart contract instance to search for voucher transaction data matching the first digital resource storage identifier and the transaction voucher identifier in the transaction voucher provider. That is, by calling the identity verification smart contract instance of the digital resource service end by the transaction voucher provider to perform identity verification, the efficiency of the transaction voucher provider in performing transaction verification can be improved.

[0054] S208, when matching voucher transaction data is found, identity authentication information is generated and returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide a voucher service corresponding to the transaction voucher.

[0055] The identity verification information is used to represent the identity verification information. The voucher service refers to the real service corresponding to the transaction voucher. For example, the ticket service corresponds to the ticket service, the train ticket service corresponds to the train ticket service, the plane ticket service corresponds to the plane ticket service, and so on.

[0056] Specifically, when the digital resource service end detects that no matching voucher transaction data is found, it indicates that there is no association between the first digital resource storage identifier and the transaction voucher identifier, that is, the transaction voucher user end corresponding to the first digital resource storage identifier has not obtained the transaction voucher identifier from the transaction voucher provider end. At this time, the identity authentication of the object identifier corresponding to the transaction voucher user end has not passed. The digital resource service end generates identity authentication failure information and returns the identity authentication failure information to the transaction voucher provider end. When the transaction voucher provider end obtains the identity authentication failure information, it does not process it or the transaction voucher provider end prompts the identity authentication failure information at the beginning of the voucher service. At the same time, the digital resource service end can also return the identity authentication failure information to the transaction voucher user end. The transaction voucher user end displays the identity authentication failure information, thereby facilitating the transaction voucher user end to re-authenticate.

[0057] When the digital resource service end detects that matching voucher transaction data is found, it indicates that there is an association between the first digital resource storage identifier and the transaction voucher identifier, which means that the transaction voucher user end corresponding to the first digital resource storage identifier has obtained the transaction voucher identifier from the transaction voucher provider end. At this time, the digital resource service end generates identity authentication information and returns the identity authentication information to the transaction voucher provider end. The identity authentication information is used to instruct the transaction voucher provider end to provide the voucher service corresponding to the transaction voucher. The digital resource service end can also return the identity authentication information to the transaction voucher user end. The transaction voucher user end can display the identity authentication information, and then the object identifier corresponding to the transaction voucher user end can use the voucher service.

[0058] The transaction verification method mentioned above obtains a transaction verification request sent by a transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier and an identity verification smart contract identifier, the first digital resource storage identifier is generated after identity authentication is passed for the object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier; obtains an identity verification smart contract template corresponding to the identity verification smart contract identifier, and writes the first digital resource storage identifier and the transaction voucher identifier into the identity verification smart contract template to obtain an identity verification smart contract instance; executes the identity verification smart contract instance, and searches for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier; when matching voucher transaction data is found, identity verification information is generated, and the identity verification information is returned to the transaction voucher provider, and the identity verification information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher. That is, the first digital resource storage identifier and the transaction voucher identifier generated after identity authentication is passed for the object identifier corresponding to the transaction voucher user are used to search for matching voucher transaction data for identity verification, so that the identity information of the transaction voucher user does not need to be obtained, and the identity information leakage of the transaction voucher user is avoided, thereby improving the security of identity verification.

[0059] In one embodiment, Figure 3 As shown, after S202, that is, before obtaining the transaction verification request sent by the transaction voucher user, it also includes:

[0060] S302, obtaining a transaction request sent by a transaction voucher provider, wherein the transaction request carries a transaction digital resource associated with a first digital resource storage identifier, a transaction voucher identifier, and a second digital resource storage identifier.

[0061] The transaction digital resource refers to the digital resource required to obtain the transaction voucher identifier. The second digital resource storage identifier is generated after the object identifier corresponding to the transaction voucher provider is authenticated.

[0062] Specifically, the transaction voucher user can use the transaction digital resource associated with the first digital resource storage identifier to send a transaction voucher provision request to the transaction voucher provider, and the transaction voucher provision request can carry the transaction voucher identifier to be provided, such as the transaction voucher name, attributes, etc. Then the transaction voucher provider receives the transaction voucher provision request, generates a transaction request based on the saved second digital resource storage identifier, the transaction digital resource, and the transaction voucher identifier, and sends the transaction request to the digital resource server. The digital resource server obtains the transaction request sent by the transaction voucher provider, parses the transaction request, and conducts a digital resource transaction.

[0063] S304, obtain the transaction smart contract associated with the second digital resource storage identifier, execute the transaction smart contract to transfer the transaction digital resources associated with the first digital resource storage identifier to the second digital resource storage identifier, and when the digital resource transfer is completed, generate transaction completion information, and return the transaction completion information to the transaction voucher provider. The transaction completion information is used to instruct the transaction voucher provider to send the transaction voucher identifier to the transaction voucher user.

[0064] S306: Generate voucher transaction data based on the transaction voucher identifier and the first digital resource storage identifier.

[0065] Among them, the transaction smart contract refers to the smart contract used to transfer digital resources. The transaction completion information is the information used to represent the digital resources that have been transferred. For example, the transaction completion information can be a payment voucher, etc.

[0066] Specifically, the digital resource service end finds the transaction smart contract associated with the second digital resource storage identifier from the saved smart contracts. Then the transaction smart contract is executed to transfer the transaction digital resources associated with the first digital resource storage identifier to the second digital resource storage identifier, that is, to associate the transaction digital resources with the second digital resource storage identifier, and to release the association between the first digital resource storage identifier and the transaction digital resources. When the digital resource transfer is completed, the digital resource service end detects that the transaction completion information is generated, and the transaction completion information is returned to the transaction voucher provider. The transaction voucher provider receives the transaction completion information, sends the transaction voucher identifier to the transaction voucher user, and can also send the transaction voucher corresponding to the transaction voucher identifier to the transaction voucher user. The transaction voucher can be a virtual voucher or a real voucher. The digital resource service end can also return the transaction completion information to the transaction voucher user according to the first digital resource storage identifier. Finally, the digital resource server uses the transaction voucher identifier and the first digital resource storage identifier to generate voucher transaction data corresponding to the second digital resource storage identifier. The transaction voucher identifier and the first digital resource storage identifier can be directly used as voucher transaction data, or the transaction voucher identifier, the first digital resource storage identifier and the transaction digital resource can be used as voucher transaction data, and the generated voucher transaction data can be saved through the transaction smart contract.

[0067] In the above embodiment, digital resources are transferred by using a transaction smart contract associated with the second digital resource storage identifier, and when the transaction is completed, the transaction credential provider sends the transaction credential identifier to the transaction credential user, that is, the transaction is conducted through the transaction smart contract associated with the second digital resource storage identifier, thereby improving the security of the transaction. Finally, the transaction credential identifier and the first digital resource storage identifier are used to generate credential transaction data, thereby improving the efficiency of subsequent identity authentication.

[0068] In one embodiment, Figure 4 As shown, after S302, that is, before obtaining the transaction request sent by the transaction credential provider, it also includes:

[0069] S402, obtaining a digital resource storage identification application request sent by a transaction credential provider, where the digital resource storage identification application request carries the provider's identity certification information.

[0070] S404, based on the identity information of the provider, the object identifier corresponding to the transaction voucher provider is authenticated. When the identity authentication is passed, a second digital resource storage identifier corresponding to the transaction voucher provider is generated, and the second digital resource storage identifier is returned to the transaction voucher provider.

[0071] The digital resource storage identification application request is a request for applying for a digital resource storage identification. The identity information of the providing end is used to represent the identity information of the object identification corresponding to the transaction voucher providing end, which is the identity information that needs to be authenticated. The identity information of the using end may include an identity number, a facial image representing the identity, a name representing the identity, a mobile phone number representing the identity, etc.

[0072] Specifically, before using digital resources for transactions, the transaction voucher provider needs to apply for a digital resource storage identifier. That is, the transaction voucher provider uses the provider's identity information to send a digital resource storage identifier application request to the digital resource server. The digital resource server obtains the digital resource storage identifier application request sent by the transaction voucher provider and obtains the provider's identity information. Then, the object identifier corresponding to the transaction voucher provider is authenticated according to the provider's identity information, wherein the identity authentication interface of the identity authentication agency can be called to perform identity authentication. For example, the identity authentication interface is used to detect whether there is identity information consistent with the provider's identity information in the identity information stored by the identity authentication agency. When there is consistent identity information, the identity authentication interface returns identity authentication pass information. When there is no consistent identity information, the identity authentication interface returns identity authentication failure information. When the digital resource server detects that the identity authentication is passed, the digital resource server can generate a second digital resource storage identifier corresponding to the transaction voucher provider according to the pre-set digital resource storage identifier generation rule, and the second digital resource storage identifier is bound to the provider's identity information that has passed the identity authentication. Then the second digital resource storage identifier is returned to the transaction voucher provider.

[0073] S406, obtaining a transaction service activation request sent by the transaction credential provider, where the transaction service activation request carries the transaction credential identifier and the second digital resource storage identifier;

[0074] S408, generating a transaction smart contract associated with the second digital resource storage identifier based on the transaction service activation request, obtaining an identity authentication smart contract identifier, and generating identity verification information based on the identity authentication smart contract identifier and the transaction voucher identifier;

[0075] S410, returning the identity verification information to the transaction credential provider, where the identity verification information is used to instruct the transaction credential provider to display it, and to enable the transaction credential user to send a transaction verification request based on the displayed identity verification information.

[0076] The transaction service activation request refers to a request from the transaction credential provider to activate the transaction service. The identity verification information refers to information used for identity verification.

[0077] Specifically, after applying for the second digital resource storage identifier, the transaction voucher provider needs to open the transaction service. At this time, the digital resource service end obtains the transaction service opening request sent by the transaction voucher provider and obtains the transaction voucher identifier and the second digital resource storage identifier. Then, the transaction voucher identifier can be used to generate a transaction smart contract associated with the second digital resource storage identifier, that is, the transaction smart contract is a smart contract used to trade the transaction voucher identifier, and different types of transaction objects can generate different transaction smart contracts. Then, the identity authentication smart contract identifier corresponding to the identity authentication smart contract template is obtained, and the identity verification information is generated using the identity authentication smart contract identifier and the transaction voucher identifier, and the identity verification information is returned to the transaction voucher provider. The identity verification information is used to instruct the transaction voucher provider to display, and the transaction voucher user sends a transaction verification request based on the displayed identity verification information. Among them, the identity authentication information can be provided in the form of a QR code, for example, an identity verification QR code corresponding to the identity authentication smart contract identifier and the transaction voucher identifier is generated, and the identity verification QR code is returned to the transaction voucher provider. Then the transaction voucher provider displays the identity verification QR code at the voucher service, and when the transaction voucher user scans the QR code, a transaction verification request is sent to the digital resource service end.

[0078] In one embodiment, the transaction service activation request may carry a second digital resource storage identifier and corresponding multiple transaction voucher identifiers. The multiple transaction voucher identifiers can be provided by the transaction voucher provider to the transaction voucher user. The digital resource service end then generates identity verification information based on the identity authentication smart contract identifier and the multiple transaction voucher identifiers. Then, when performing identity authentication, the transaction voucher data is searched for an associated transaction voucher identifier based on the first digital resource identifier, and a transaction voucher identifier associated with the first digital resource identifier is detected in the multiple transaction voucher identifiers. If so, an identity authentication pass result is obtained, thereby improving the security of identity authentication.

[0079] In the above embodiment, the object identifier corresponding to the transaction voucher provider is authenticated by using the identity information of the provider. When the identity authentication is passed, a second digital resource storage identifier corresponding to the transaction voucher provider is generated, and the second digital resource storage identifier is returned to the transaction voucher provider, so that the transaction voucher provider uses the second digital resource storage identifier to trade digital resources without the need to authenticate the identity through the identity information during the transaction, thereby avoiding the leakage of identity information and improving the security of the transaction. Then, based on the transaction service activation request, a transaction smart contract associated with the second digital resource storage identifier is generated, and the identity authentication smart contract identifier is obtained. Identity verification information is generated based on the identity authentication smart contract identifier and the transaction voucher identifier, and the identity verification information is returned to the transaction voucher provider. The identity verification information is used to instruct the transaction voucher provider to display, and the transaction voucher user sends a transaction verification request based on the displayed identity verification information, so that the transaction voucher user can verify the transaction through the identity verification information, without the need for the transaction voucher user to provide identity information, thereby avoiding the leakage of identity information and improving the security of transaction verification.

[0080] In one embodiment, the second digital resource storage identifier includes a second digital resource storage parent identifier and a second digital resource storage child identifier;

[0081] S304, obtaining a transaction smart contract associated with the second digital resource storage identifier, executing the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage identifier, including:

[0082] Obtain the transaction smart contract associated with the second digital resource storage sub-identifier, and execute the transaction smart contract to transfer the transaction digital resources associated with the first digital resource storage identifier to the second digital resource storage sub-identifier.

[0083] Among them, the second digital resource storage sub-identifier is a digital resource storage identifier corresponding to the transaction voucher provider and is only used for voucher transactions. The second digital resource storage sub-identifier is generated according to the second digital resource storage parent identifier. The second digital resource storage parent identifier can be the second digital resource storage identifier corresponding to the transaction voucher provider. The second digital resource storage parent identifier and the second digital resource storage sub-identifier have different resource transfer permissions. The second digital resource storage parent identifier has all transaction permissions, that is, any transaction can be performed. The second digital resource storage sub-identifier only has the permission for the corresponding set transaction, for example, it only has the permission to perform voucher transactions, that is, the second digital resource storage sub-identifier is used to perform transactions when performing voucher transactions. The second digital resource storage parent identifier can be associated with multiple different second digital resource storage sub-identifiers, and different second digital resource storage sub-identifiers are associated with different types of transaction smart contracts for different types of transactions. The second digital resource storage parent identifier and the second digital resource storage sub-identifier have different permissions.

[0084] Specifically, the digital resource service end obtains the transaction smart contract associated with the second digital resource storage sub-identifier, executes the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage sub-identifier, that is, the transaction digital resource can be associated with the second digital resource storage sub-identifier, and the association between the first digital resource storage identifier and the transaction digital resource can be released, or the transaction digital resource can be transferred from the storage carrier corresponding to the first digital storage identifier to the storage carrier corresponding to the second digital resource storage sub-identifier. After the transfer is completed, the storage carrier corresponding to the second digital resource storage sub-identifier includes the transaction digital resource, and the storage carrier corresponding to the first digital storage identifier does not contain the transaction digital resource.

[0085] After S208, that is, when matching voucher transaction data is found, identity authentication information is generated, and the identity authentication information is returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide a voucher service corresponding to the transaction voucher. The following further includes:

[0086] The voucher service completion information sent by the transaction voucher provider is obtained, and based on the voucher service completion information, the transaction digital resource associated with the second digital resource storage sub-identifier is transferred to the second digital resource storage parent identifier.

[0087] The voucher service completion information is information used to indicate that the voucher service provided by the transaction voucher provider has been completed.

[0088] Specifically, the digital resource service end obtains the voucher service completion information sent by the transaction voucher provider, and based on the voucher service completion information, transfers the transaction digital resource associated with the second digital resource storage sub-identifier to the second digital resource storage parent identifier, that is, the transaction digital resource can be associated with the second digital resource storage parent identifier, and the association relationship between the second digital resource storage sub-identifier and the transaction digital resource can be released, or the transaction digital resource can be transferred from the storage carrier corresponding to the second digital storage sub-identifier to the storage carrier corresponding to the second digital resource storage parent identifier. After the transfer is completed, the storage carrier corresponding to the second digital resource storage sub-identifier does not contain the transaction digital resource, and the storage carrier corresponding to the second digital storage target identifier includes the transaction digital resource. In one embodiment, the digital resource service end can also transfer the transaction digital resource associated with the second digital resource storage sub-identifier to the second digital resource storage parent identifier when obtaining the voucher service completion information sent by the transaction voucher user.

[0089] In the above embodiment, the digital resource is first transferred from the easy digital resource to the second digital resource storage sub-identifier, and when the certificate service is completed, the transaction digital resource is transferred from the second digital resource storage sub-identifier to the second digital resource storage parent identifier, that is, the certificate service transaction is completed through transit, thereby improving the security of the certificate service transaction.

[0090] In one embodiment, Figure 5 As shown, after S302 and before obtaining the transaction request sent by the transaction credential provider, the following is further included:

[0091] S502, obtaining a digital resource storage identification application request sent by a transaction credential provider, the digital resource storage identification application request carrying the provider's identity information;

[0092] S504, based on the identity information of the provider, the object identifier corresponding to the transaction voucher provider is authenticated. When the authentication is successful, a second digital resource storage parent identifier corresponding to the transaction voucher provider is generated, and the second digital resource storage parent identifier is returned to the transaction voucher provider.

[0093] Specifically, the digital resource service end obtains the digital resource storage identification application request sent by the transaction voucher provider end, uses the provider end's identity certification information for identity authentication, and when the identity authentication is passed, uses the pre-set digital resource storage identification generation rule to generate the second digital resource storage identification corresponding to the transaction voucher provider end, and then can use the second digital resource storage identification as the second digital resource storage parent identification, and return the second digital resource storage parent identification to the transaction voucher provider end.

[0094] S506, obtaining a transaction service activation request sent by the transaction voucher provider, where the transaction service activation request carries the transaction voucher identifier and the second digital resource storage parent identifier.

[0095] S508, generate a second digital resource storage sub-identifier associated with the second digital resource storage parent identifier, generate a transaction smart contract associated with the second digital resource storage sub-identifier, obtain the identity authentication smart contract identifier, and generate identity verification information based on the identity authentication smart contract identifier and the transaction credential identifier.

[0096] S510, returning the identity verification information to the transaction credential provider, where the identity verification information is used to instruct the transaction credential provider to display it, and to enable the transaction credential user to send a transaction verification request based on the displayed identity verification information.

[0097] Specifically, the digital resource service end obtains the transaction service activation request sent by the transaction voucher provider, and responds to the transaction service activation request by using the second digital resource storage parent identifier to generate the associated second digital resource storage sub-identifier, wherein the digital resource service end can generate the second digital resource storage sub-identifier according to the pre-set digital resource storage sub-identifier generation rule. For example, the second digital resource storage sub-identifier can be obtained by adding a generated random digit on the basis of the second digital resource storage parent identifier, for example, the hash value of the second digital resource storage parent identifier can be calculated, and the second digital resource storage sub-identifier can be obtained by using the hash value and the random number generated by the random number generator, etc. Then, the transaction smart contract associated with the second digital resource storage sub-identifier is generated according to the transaction voucher identifier, and different second digital resource storage sub-identifiers can be generated for different transaction types, and the corresponding transaction smart contracts are associated. Then, the identity verification smart contract identifier corresponding to the identity verification smart contract template is obtained, and the identity verification information is generated using the identity verification smart contract identifier and the transaction voucher identifier, and the identity verification information is returned to the transaction voucher provider, and the identity verification information is used to instruct the transaction voucher provider to display, and the transaction voucher user sends a transaction verification request based on the displayed identity verification information.

[0098] In the above embodiment, after generating the second digital resource storage parent identifier, generating the associated second digital resource storage sub-identifier, and generating the transaction smart contract associated with the second digital resource storage sub-identifier, the identity verification information can be returned to the transaction voucher provider. That is, the transaction smart contract associated with the second digital resource storage sub-identifier can be used to perform voucher transaction services, thereby improving the security of voucher transactions.

[0099] In one embodiment, after executing the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage sub-identifier, the step further includes:

[0100] Obtain a transaction cancellation request sent by the transaction credential provider, the transaction cancellation request carries the first digital resource storage identifier and the transaction credential identifier; obtain the identity authentication smart contract instance associated with the first digital resource storage identifier, execute the identity authentication smart contract instance to search for matching credential transaction data based on the first digital resource storage identifier and the transaction credential identifier; when matching credential transaction data is found, transfer the transaction digital resources in the second digital resource storage sub-identifier to the first digital resource storage identifier, and when the digital resource transfer is completed, generate transaction cancellation information, and return the transaction cancellation information to the transaction credential provider and the transaction credential user.

[0101] The transaction cancellation request refers to a request for canceling a voucher service transaction. The transaction cancellation information refers to information that a voucher service transaction has been canceled.

[0102] Specifically, the transaction voucher provider can actively cancel the transaction, or it can cancel the transaction after verifying the transaction cancellation reason when receiving the transaction cancellation instruction sent by the transaction voucher user. At this time, the transaction voucher provider can obtain the first digital resource storage identifier of the transaction voucher user and the transaction voucher identifier to be cancelled, and then send a transaction cancellation request to the digital resource service end.

[0103] The digital resource service end obtains the transaction revocation request sent by the transaction voucher provider, and obtains the first digital resource storage identifier and the transaction voucher identifier. Then, the identity authentication smart contract instance associated with the first digital resource storage identifier is searched. The identity authentication smart contract instance refers to the one generated when the transaction is carried out. The identity authentication smart contract template can also be found according to the identity authentication smart contract identifier, and then the identity authentication smart contract instance is generated using the first digital resource storage identifier and the transaction voucher identifier. At this time, the digital resource service end executes the identity authentication smart contract instance to search for matching voucher transaction data according to the first digital resource storage identifier and the transaction voucher identifier. When matching voucher transaction data is found, it indicates that there is a transaction that can be revoked. At this time, the digital resource service end transfers the transaction digital resource in the second digital resource storage sub-identifier to the first digital resource storage identifier, that is, the transaction digital resource is transferred from the storage carrier corresponding to the second digital storage sub-identifier to the storage carrier corresponding to the first digital resource storage identifier. When the digital resource transfer is completed, the transaction revocation information is generated, and the transaction revocation information is returned to the transaction voucher provider and the transaction voucher user.

[0104] In one embodiment, the digital resource service end can also obtain the transaction cancellation request sent by the transaction voucher user end, and the transaction cancellation request carries the first digital resource storage identifier and the transaction voucher identifier. Then, after the digital resource service end uses the identity authentication smart contract instance associated with the first digital resource storage identifier to pass the identity authentication, the transaction digital resource in the second digital resource storage sub-identifier is transferred to the first digital resource storage identifier, and after the transfer is completed, the transaction cancellation information is returned to the transaction voucher provider and the transaction voucher user end.

[0105] In the above embodiment, by obtaining a transaction cancellation request, and then executing an identity authentication smart contract instance to search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier, when matching voucher transaction data is found, the transaction digital resource in the second digital resource storage sub-identifier is transferred to the first digital resource storage identifier, so that identity authentication is performed through the first digital resource storage identifier and the transaction voucher identifier during the transaction cancellation process, thereby avoiding the leakage of identity information and improving the security of transaction cancellation.

[0106] In one embodiment, the transaction verification method further includes the steps of:

[0107] Obtain a digital resource storage identifier application request sent by a transaction voucher user, the digital resource storage identifier application request carrying the user's identity proof information; perform identity authentication on the object identifier corresponding to the transaction voucher user based on the user's identity proof information, and when the identity authentication passes, generate a first digital resource storage identifier corresponding to the transaction voucher user, and return the first digital resource storage identifier to the transaction voucher user.

[0108] The user end identity information is used to represent the identity information of the object identifier corresponding to the transaction voucher user end, which is the identity information that needs to be authenticated. The user end identity information may include an identity number, a facial image representing the identity, a name representing the identity, a mobile phone number representing the identity, etc.

[0109] Specifically, before using digital resources for transactions, the transaction voucher user needs to apply for a digital resource storage identifier. That is, the transaction voucher user uses the user's identity information to send a digital resource storage identifier application request to the digital resource server. The digital resource server obtains the digital resource storage identifier application request sent by the transaction voucher user and obtains the user's identity information. Then, the object identifier corresponding to the transaction voucher user is authenticated according to the user's identity information, wherein the identity authentication interface of the identity authentication agency can be called to perform identity authentication. For example, the identity authentication interface is used to detect whether there is identity information consistent with the user's identity information in the identity information stored by the identity authentication agency. When there is consistent identity information, the identity authentication interface returns identity authentication pass information. When there is no consistent identity information, the identity authentication interface returns identity authentication failure information. When the digital resource server detects that the identity authentication is passed, the digital resource server can generate a first digital resource storage identifier corresponding to the transaction voucher user according to the pre-set digital resource storage identifier generation rule, and the first digital resource storage identifier is bound to the user's identity information that has passed the identity authentication. Then the first digital resource storage identifier is returned to the transaction voucher user.

[0110] In the above embodiment, identity authentication is performed on the object identifier corresponding to the transaction voucher user according to the user's identity proof information. When the identity authentication is passed, a first digital resource storage identifier corresponding to the transaction voucher user is generated, and the first digital resource storage identifier is returned to the transaction voucher user. Then, the transaction voucher user can use the first digital resource storage identifier to authenticate the identity. No identity information is required, which avoids the leakage of identity information and improves the security of identity authentication.

[0111] In one embodiment, after returning the second digital resource storage identifier to the transaction voucher user, the method further includes:

[0112] Obtain a digital resource transfer request sent by the transaction voucher user, the digital resource transfer request carrying a first digital resource storage identifier, target transfer information, and digital resources to be transferred; transfer digital resources to the first digital resource storage identifier based on the target transfer information and the digital resources to be transferred, and when the digital resource transfer is completed, generate transfer result information, and return the transfer result information to the transaction voucher user.

[0113] The target transfer information is used to represent the digital resource information that can be transferred to the digital resource storage identifier. For example, it can be an existing digital resource storage identifier, or it can be the account information of an existing digital resource, etc. The target transfer information can be obtained from other object identifiers, or it can be from the end using the transaction voucher. The digital resource to be transferred refers to the digital resource to be transferred to the storage medium of the first digital resource storage identifier.

[0114] Specifically, when the transaction voucher user applies for the first digital resource storage identifier, it needs to transfer digital resources to the first digital resource storage identifier, that is, only when the first digital resource storage identifier is associated with digital resources, can the first digital resource storage identifier be used for transactions. When the digital resources associated with the first digital resource storage identifier are zero or the digital resources associated with the first digital resource storage identifier cannot complete the digital resources required for normal transactions, it is necessary to transfer digital resources to the first digital resource storage identifier. That is, the digital resource service end can receive the digital resource transfer request sent by the transaction voucher user end, and obtain the first digital resource storage identifier, the target transfer information and the digital resources to be transferred. Then, according to the target transfer information, the digital resources to be transferred are obtained, and the digital resources to be transferred are transferred to the first digital resource storage identifier, that is, the digital resources to be transferred can be transferred from the digital resources corresponding to the target transfer information to the storage carrier corresponding to the first digital resource storage identifier. When the digital resource transfer is completed, the transfer result information is generated, and the transfer result information is returned to the transaction voucher user end.

[0115] In the above embodiment, digital resources are transferred to the first digital resource storage identifier based on the target transfer information and the digital resources to be transferred. When the digital resource transfer is completed, transfer result information is generated and returned to the transaction voucher user, thereby ensuring that the first digital resource storage identifier can be used normally.

[0116] In one embodiment, the target transfer information includes a target digital resource storage identifier;

[0117] The method of transferring digital resources to a first digital resource storage identifier based on target transfer information and the digital resources to be transferred comprises the following steps:

[0118] Transfer the digital resources to be transferred from the target digital resources associated with the target digital resource storage identifier to the first digital resource storage identifier; obtain the existing digital resources associated with the first digital resource storage identifier, calculate the sum of the existing digital resources and the digital resources to be transferred, and obtain the first digital resource sum; associate the first digital resource storage identifier with the first digital resource sum, and associate the target digital resource storage identifier with the digital resources from which the digital resources to be transferred have been transferred.

[0119] The target digital resource storage identifier is an identifier of a storage medium that is already associated with a digital resource, and is an identifier of a storage medium to which resources can be transferred to any digital resource storage identifier. The target digital resource refers to a digital resource that already exists in the storage medium corresponding to the target digital resource storage identifier. The existing digital resource refers to a digital resource that already exists in the storage medium corresponding to the first digital resource storage identifier. The first digital resource sum refers to the digital resource that exists in the storage medium corresponding to the first digital resource storage identifier after the resource transfer.

[0120] Specifically, the digital resource service end may receive a resource transfer request sent by a terminal corresponding to the target digital resource storage identifier, and the resource transfer request carries a first digital resource storage identifier and a digital resource to be transferred. Then the digital resource service end transfers the digital resource to be transferred from the target digital resource associated with the target digital resource storage identifier to the first digital resource storage identifier. That is, the digital resource to be transferred may be subtracted from the target digital resource, and at this time, the digital resource associated with the target digital resource storage identifier is the remaining digital resource. Then the digital resource server obtains the existing digital resource associated with the first digital resource storage identifier, and calculates the sum of the existing digital resource and the digital resource to be transferred to obtain the sum of the first digital resource. Then the first digital resource storage identifier is associated with the sum of the first digital resource. The digital resource service end may also transfer the digital resource to be transferred from the storage carrier of the target digital resource storage identifier to the storage carrier of the first digital resource storage identifier. At this time, the digital resource to be transferred does not exist in the storage carrier of the target digital resource storage identifier, and the digital resource to be transferred exists in the storage carrier of the first digital resource storage identifier.

[0121] In the above embodiment, digital resources are transferred from the target digital resources associated with the target digital resource storage identifier to the first digital resource storage identifier, thereby associating the first digital resource storage identifier with the sum of the first digital resources, and associating the target digital resource storage identifier with the remaining digital resources, that is, directly transferring digital resources from the target digital resource storage identifier, thereby improving the efficiency of resource transfer.

[0122] In one embodiment, the target transfer information includes a target account identifier;

[0123] The method of transferring digital resources to a first digital resource storage identifier based on target transfer information and the digital resources to be transferred comprises the following steps:

[0124] A resource transfer request is sent to the target account end corresponding to the target account identifier, the resource transfer request carries the digital resources to be transferred and the first digital resource storage identifier, the target account end obtains the corresponding target account resources according to the target account identifier, and transfers the digital resources to the first digital resource storage identifier based on the target account resources and the digital resources to be transferred; and resource transfer completion information returned by the target account end is obtained.

[0125] The target account identifier is used to uniquely identify the account storing the virtual resources, which may be the account of the voucher transaction user opened by a financial institution. The target account end refers to the service end corresponding to the target account identifier, which may be the service end of a financial institution. The target account resource refers to the virtual resources in the target account corresponding to the target account identifier.

[0126] Specifically, the digital resource service end sends a resource transfer request to the target account end corresponding to the target account identifier according to the target account identifier, and the resource transfer request carries the digital resources to be transferred and the first digital resource storage identifier. Then, when the target account end receives the resource transfer request, it finds the corresponding target account resources according to the target account identifier, and then determines whether the target account resources exceed the digital resources that need to be transferred. When the digital resources exceed the digital resources that need to be transferred, the digital resources are transferred to the first digital resource storage identifier, that is, the target account end subtracts the digital resources that need to be transferred from the target account resources in the target account to obtain the remaining resources. The transferred digital resources are then transferred to the storage carrier corresponding to the first digital resource storage identifier. Finally, the digital resource service end obtains the resource transfer completion information returned by the target account end. When the target account resources do not exceed the digital resources that need to be transferred, the target account end can prompt that the account resources are insufficient.

[0127] In one embodiment, Figure 6As shown, it is a schematic diagram of the application scenario of resource transfer, wherein the digital resource service end 106 obtains the digital resource transfer request sent by the transaction voucher user end 104, and the digital resource transfer request carries the first digital resource storage identifier, the target account identifier and the digital resource to be transferred. The digital resource service end 106 forwards the resource transfer request to the corresponding target account end 602 according to the target account identifier in the digital resource transfer request, and the resource transfer request carries the target account identifier, the first digital resource storage identifier and the digital resource to be transferred. When the target account end 602 receives the resource transfer request, it sends a resource transfer verification request to the transaction voucher user end 104 according to the target account identifier, and when the verification pass instruction returned by the transaction voucher user end 104 is obtained, the digital resource to be transferred carried by the resource transfer request is transferred from the target account resource corresponding to the target account identifier to the storage carrier of the first digital resource storage identifier, and after the transfer is completed, the resource transfer completion information is returned to the transaction voucher user end 104. And the digital resource service end 106 obtains the digital resource to be transferred obtained by the target account end through the digital resource transfer, and associates the digital resource to be transferred with the first digital resource storage identifier.

[0128] In the above embodiment, by sending a resource transfer request to the target account end corresponding to the target account identifier, and then transferring digital resources to the first digital resource storage identifier based on the target account resources and the digital resources to be transferred, the digital resource transfer can be performed using a third party's digital resource account, thereby expanding the scope of digital resource transfer and improving the flexibility of digital resource transfer.

[0129] In one embodiment, the transaction verification request also carries identity information to be verified;

[0130] When matching credential transaction data is found, identity verification information is generated, including:

[0131] When matching credential transaction data is found, the authenticated identity information associated with the first digital resource storage identifier is obtained; the similarity between the identity information to be verified and the authenticated identity information is calculated, and when the similarity exceeds a preset similarity threshold, identity authentication pass information is generated.

[0132] The identity information to be verified refers to the information representing the identity that needs to be verified, such as face image, fingerprint information, etc. The authenticated identity information refers to the identity information that has been authenticated, which is bound to the first digital resource storage identifier and is authenticated by the transaction voucher user when applying for the first digital resource storage identifier.

[0133] Specifically, when the digital resource service end parses the transaction verification request, it can also obtain the identity information to be verified. That is, when the transaction voucher user performs transaction verification, it can provide the identity information to be verified. Then, when the digital resource service end finds the matching voucher transaction data, the digital resource service end can further obtain the authenticated identity information associated with the first digital resource storage identifier from the database. Then calculate the similarity between the identity information to be verified and the authenticated identity information, for example, the similarity between the face image to be authenticated and the authenticated face image can be calculated, and the similarity between the fingerprint information to be authenticated and the authenticated fingerprint information can also be calculated. Finally, the digital resource service end determines that when the similarity does not exceed the preset similarity threshold, it means that the identity information to be verified does not match the authenticated identity information. At this time, the digital resource service end generates a prompt message of identity authentication failure and returns the prompt message of identity authentication failure to the transaction voucher user. When the similarity exceeds the preset similarity threshold, it means that the identity information to be verified matches the authenticated identity information. At this time, the digital resource service end generates identity authentication pass information.

[0134] In the above embodiment, when matching credential transaction data is found, the authenticated identity information associated with the first digital resource storage identifier is obtained, and then the similarity between the identity information to be verified and the authenticated identity information is calculated, and when the similarity exceeds the preset similarity threshold, identity authentication pass information is generated, so that the authenticated identity information can be used for further identity authentication, further improving the accuracy of identity authentication, and the digital resource provider cannot obtain the identity information to be verified and the authenticated identity information, thereby avoiding the leakage of identity information and ensuring the security of identity authentication.

[0135] In a specific embodiment, Figure 7 As shown, a flow chart of a transaction verification method is provided, which is applied to a computer device, which may be a digital resource server, and specifically includes the following steps:

[0136] S702, obtaining a transaction request sent by a transaction voucher provider, wherein the transaction request carries a transaction digital resource associated with a first digital resource storage identifier, a transaction voucher identifier, and a second digital resource storage sub-identifier.

[0137] S704, obtain the transaction smart contract associated with the second digital resource storage sub-identifier, and execute the transaction smart contract to transfer the transaction digital resources associated with the first digital resource storage identifier to the second digital resource storage sub-identifier.

[0138] S706, when the digital resource transfer is completed, a transaction completion message is generated and returned to the transaction voucher provider, the transaction completion message is used to instruct the transaction voucher provider to send the transaction voucher identifier to the transaction voucher user, and generate voucher transaction data based on the transaction voucher identifier and the first digital resource storage identifier.

[0139] S708, obtaining a transaction verification request sent by the transaction voucher user, the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier and an identity authentication smart contract identifier, and the first digital resource storage identifier is generated after identity authentication of the object identifier corresponding to the transaction voucher user.

[0140] S710, obtain the identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance.

[0141] S712, execute the identity authentication smart contract instance, search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier, and when matching voucher transaction data is found, generate identity authentication information, and return the identity authentication information to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0142] S714, obtaining the voucher service completion information sent by the transaction voucher provider, and transferring the transaction digital resource associated with the second digital resource storage sub-identifier to the second digital resource storage parent identifier based on the voucher service completion information.

[0143] In a specific embodiment, Figure 8As shown, a schematic diagram of the architecture of digital resource transaction verification is provided, wherein the digital resource server stores a smart contract template, a smart contract instance, and a transaction record of digital resources, and then the smart contract template includes a transaction interface and an identity verification query interface, and the transaction of digital resources is carried out through the transaction interface, and the transaction verification is carried out through the identity verification query interface. Specifically: the digital resource server obtains a transaction request, searches for a corresponding transaction smart contract instance according to the digital resource storage identifier in the transaction request, and when the transaction smart contract instance is not found, obtains a transaction smart contract template, writes the digital resource storage identifier into the transaction smart contract template, obtains the transaction smart contract instance and saves it. When the transaction smart contract instance is found, the transaction interface in the transaction smart contract instance is directly used to execute the transaction of digital resources, and the transaction record is saved. Then, when the digital resource server obtains a transaction verification request, searches for a corresponding identity verification smart contract instance according to the digital resource storage identifier in the transaction verification request, and when the identity verification smart contract instance is not found, obtains the identity verification smart contract template, writes the digital resource storage identifier and transaction voucher information into the transaction smart contract template, obtains the identity verification smart contract instance and saves it. When the identity authentication smart contract instance is found, the identity authentication query interface in the identity authentication smart contract instance is directly used to query whether there is a transaction record that matches the transaction credential information. When a matching transaction record is found, it means that the identity authentication is successful. At this time, subsequent processing is performed, so that identity authentication can be performed without obtaining identity information, avoiding the leakage of identity information to the transaction credential provider, and improving the security of transaction verification.

[0144] In a specific embodiment, the transaction verification method is applied to a digital resource service platform. Specifically, the user end and the concert ticket provider end can apply for a digital resource storage identifier in the digital resource service platform, and then the digital resource associated with the digital resource storage identifier can be used in the digital resource service platform to trade concert tickets. For example, the user end can use digital resources to trade with the concert ticket provider end, and the user end can obtain the concert ticket provided by the provider end through the transaction of digital resources. The concert ticket can be digital or real. Then when the user end needs to use the concert ticket to enter the concert, the user end can scan the identity verification QR code displayed by the concert ticket provider end. At this time, the digital resource service platform obtains the transaction verification request sent by the user end, and the transaction verification request carries the digital resource storage identifier of the user end, the transaction voucher information and the identity verification smart contract identifier. Then, according to the identity verification smart contract identifier, the digital resource storage identifier of the user end and the transaction voucher information, the identity verification smart contract instance is obtained, and the identity verification smart contract instance is executed to use the first digital resource storage identifier and the transaction voucher identifier to find the matching voucher transaction data. When the matching voucher transaction data is found, the identity verification information is returned to the concert ticket provider end. The concert ticket provider obtains the identity verification information sent by the digital resource service platform to the user, and provides concert services based on the identity verification information. For example, the concert ticket provider can control the opening of the concert door, so that the user can enter the concert. That is, when the concert ticket provider performs identity verification, it does not need to obtain the identity information corresponding to the user, thereby avoiding the leakage of identity information and improving the security of identity verification.

[0145] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a 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-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0146] Based on the same inventive concept, the embodiment of the present application also provides a transaction verification device for implementing the transaction verification method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more transaction verification device embodiments provided below can refer to the limitations on the transaction verification method above, and will not be repeated here.

[0147] In one embodiment, Fig. 9 As shown, a transaction verification device 900 is provided, including: a request acquisition module 902, a contract acquisition module 904, a contract execution module 906 and a verification module 908, wherein:

[0148] The request acquisition module 902 is used to acquire the transaction verification request sent by the transaction voucher user, the transaction verification request carries the first digital resource storage identifier, the transaction voucher identifier and the identity authentication smart contract identifier, the first digital resource storage identifier is generated after the identity authentication of the object identifier corresponding to the transaction voucher user is passed, and the transaction voucher identifier is obtained by the transaction voucher user from the transaction voucher provider using the digital resource associated with the first digital resource storage identifier;

[0149] The contract obtaining module 902 is used to obtain the identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance;

[0150] The contract execution module 904 is used to execute the identity authentication smart contract instance and search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier;

[0151] The verification module 906 is used to generate identity authentication information when matching voucher transaction data is found, and return the identity authentication information to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

[0152] In one embodiment, the transaction verification device 900 further includes:

[0153] The transaction module is used to obtain a transaction request sent by a transaction voucher provider, where the transaction request carries a transaction digital resource associated with a first digital resource storage identifier, a transaction voucher identifier, and a second digital resource storage identifier; obtain a transaction smart contract associated with the second digital resource storage identifier, execute the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage identifier, and when the digital resource transfer is completed, generate transaction completion information, and return the transaction completion information to the transaction voucher provider, where the transaction completion information is used to instruct the transaction voucher provider to send the transaction voucher identifier to the transaction voucher user; generate voucher transaction data based on the transaction voucher identifier and the first digital resource storage identifier.

[0154] In one embodiment, the transaction verification device 900 further includes:

[0155] The first verification information generation module is used to obtain a digital resource storage identifier application request sent by a transaction credential provider, the digital resource storage identifier application request carries the identity proof information of the provider; based on the identity proof information of the provider, an identity authentication is performed on the object identifier corresponding to the transaction credential provider, and when the identity authentication is passed, a second digital resource storage identifier corresponding to the transaction credential provider is generated, and the second digital resource storage identifier is returned to the transaction credential provider; obtain a transaction service activation request sent by the transaction credential provider, the transaction service activation request carries the transaction credential identifier and the second digital resource storage identifier; based on the transaction service activation request, a transaction smart contract associated with the second digital resource storage identifier is generated, and an identity verification information is generated based on the identity verification smart contract identifier and the transaction credential identifier; the identity verification information is returned to the transaction credential provider, the identity verification information is used to instruct the transaction credential provider to display, and enable the transaction credential user to send a transaction verification request based on the displayed identity verification information.

[0156] In one embodiment, the second digital resource storage identifier includes a second digital resource storage parent identifier and a second digital resource storage child identifier;

[0157] The transaction module is further used to obtain the transaction smart contract associated with the second digital resource storage sub-identifier, and execute the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage sub-identifier;

[0158] The transaction verification device 900 further includes:

[0159] The voucher service completion module is used to obtain the voucher service completion information sent by the transaction voucher provider, and transfer the transaction digital resources associated with the second digital resource storage sub-identifier to the second digital resource storage parent identifier based on the voucher service completion information.

[0160] In one embodiment, the transaction verification device 900 further includes:

[0161] The second verification information generation module is used to obtain a digital resource storage identification application request sent by a transaction voucher provider, the digital resource storage identification application request carries the identity proof information of the provider; based on the identity proof information of the provider, the object identification corresponding to the transaction voucher provider is authenticated, and when the identity authentication is passed, a second digital resource storage mother identification corresponding to the transaction voucher provider is generated, and the second digital resource storage mother identification is returned to the transaction voucher provider; obtain a transaction service activation request sent by the transaction voucher provider, the transaction service activation request carries the transaction voucher identification and the second digital resource storage mother identification; generate a second digital resource storage sub-identifier associated with the second digital resource storage mother identification, generate a transaction smart contract associated with the second digital resource storage sub-identifier, and obtain the identity verification smart contract identification, generate identity verification information based on the identity verification smart contract identification and the transaction voucher identification; return the identity verification information to the transaction voucher provider, the identity verification information is used to instruct the transaction voucher provider to display, and enable the transaction voucher user to send a transaction verification request based on the displayed identity verification information.

[0162] In one embodiment, the transaction module is also used to obtain a transaction cancellation request sent by the transaction credential provider, the transaction cancellation request carries a first digital resource storage identifier and a transaction credential identifier; obtain an identity authentication smart contract instance associated with the first digital resource storage identifier, and execute the identity authentication smart contract instance to search for matching credential transaction data based on the first digital resource storage identifier and the transaction credential identifier; when matching credential transaction data is found, the transaction digital resource in the second digital resource storage sub-identifier is transferred to the first digital resource storage identifier. When the digital resource transfer is completed, transaction cancellation information is generated, and the transaction cancellation information is returned to the transaction credential provider and the transaction credential user.

[0163] In one embodiment, the transaction verification device 900 further includes:

[0164] The first identification generation module is used to obtain a digital resource storage identification application request sent by a transaction voucher user, the digital resource storage identification application request carries the user's identity proof information; based on the user's identity proof information, an identity authentication is performed on the object identification corresponding to the transaction voucher user, and when the identity authentication is passed, a first digital resource storage identification corresponding to the transaction voucher user is generated, and the first digital resource storage identification is returned to the transaction voucher user.

[0165] In one embodiment, the transaction verification device 900 further includes:

[0166] The resource transfer module is used to obtain a digital resource transfer request sent by a transaction voucher user, the digital resource transfer request carries a first digital resource storage identifier, target transfer information and the digital resource to be transferred; based on the target transfer information and the digital resource to be transferred, the digital resource is transferred to the first digital resource storage identifier, and when the digital resource transfer is completed, the transfer result information is generated and returned to the transaction voucher user.

[0167] In one embodiment, the target transfer information includes a target digital resource storage identifier;

[0168] The resource transfer module is also used to transfer the digital resources to be transferred from the target digital resources associated with the target digital resource storage identifier to the first digital resource storage identifier; obtain the existing digital resources associated with the first digital resource storage identifier, calculate the sum of the existing digital resources and the digital resources to be transferred, and obtain the first digital resource sum; associate the first digital resource storage identifier with the first digital resource sum, and associate the target digital resource storage identifier with the digital resources of the transferred digital resources to be transferred.

[0169] In one embodiment, the target transfer information includes a target account identifier;

[0170] The resource transfer module is also used to send a resource transfer request to the target account end corresponding to the target account identifier, the resource transfer request carries the digital resources to be transferred and the first digital resource storage identifier, the target account end obtains the corresponding target account resources according to the target account identifier, and transfers the digital resources to the first digital resource storage identifier based on the target account resources and the digital resources to be transferred; and obtains the resource transfer completion information returned by the target account end.

[0171] In one embodiment, the transaction verification request also carries identity information to be verified;

[0172] The verification module is also used to obtain the authenticated identity information associated with the first digital resource storage identifier when matching voucher transaction data is found; calculate the similarity between the identity information to be verified and the authenticated identity information, and generate identity authentication information when the similarity exceeds a preset similarity threshold.

[0173] Each module in the transaction verification device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0174] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to 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 smart contract data, digital resource storage identification, and voucher transaction data, etc. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a transaction verification method is implemented.

[0175] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. 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. 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 an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a transaction verification method is implemented. The display unit of the computer device is used to form a visually visible image, and 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 covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0176] Those skilled in the art will understand that Fig.10 or Fig.11The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0177] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0178] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0179] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0180] 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 used 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 must comply with relevant laws, regulations and standards of relevant countries and regions.

[0181] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0182] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.

[0183] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A transaction verification method, It is characterized in that The method comprises: Obtaining a transaction verification request sent by a transaction voucher user, wherein the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, wherein the first digital resource storage identifier is generated after identity authentication of an object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is obtained by the transaction voucher user from a transaction voucher provider using a digital resource associated with the first digital resource storage identifier; Obtaining an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and writing the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance; Executing the identity authentication smart contract instance, searching for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier; When matching voucher transaction data is found, identity authentication information is generated and returned to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

2. The method according to claim 1, It is characterized in that Before obtaining the transaction verification request sent by the transaction credential user, the method further includes: Acquire a transaction request sent by the transaction voucher provider, wherein the transaction request carries the transaction digital resource associated with the first digital resource storage identifier, the transaction voucher identifier, and the second digital resource storage identifier; Acquire the transaction smart contract associated with the second digital resource storage identifier, execute the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage identifier, and when the digital resource transfer is completed, generate transaction completion information, and return the transaction completion information to the transaction voucher provider, and the transaction completion information is used to instruct the transaction voucher provider to send the transaction voucher identifier to the transaction voucher user; The voucher transaction data is generated based on the transaction voucher identifier and the first digital resource storage identifier.

3. The method according to claim 2, It is characterized in that Before obtaining the transaction request sent by the transaction credential provider, the method further includes: Obtaining a digital resource storage identification application request sent by the transaction credential provider, wherein the digital resource storage identification application request carries the provider's identity certification information; Performing identity authentication on the object identifier corresponding to the transaction voucher provider based on the provider identity information, generating a second digital resource storage identifier corresponding to the transaction voucher provider when the identity authentication is successful, and returning the second digital resource storage identifier to the transaction voucher provider; Obtaining a transaction service activation request sent by the transaction credential provider, wherein the transaction service activation request carries the transaction credential identifier and the second digital resource storage identifier; Generate a transaction smart contract associated with the second digital resource storage identifier based on the transaction service activation request, obtain an identity authentication smart contract identifier, and generate identity verification information based on the identity authentication smart contract identifier and the transaction credential identifier; The identity verification information is returned to the transaction credential provider, and the identity verification information is used to instruct the transaction credential provider to display it, and to enable the transaction credential user to send a transaction verification request based on the displayed identity verification information.

4. The method according to claim 2, It is characterized in that The second digital resource storage identifier includes a second digital resource storage parent identifier and a second digital resource storage child identifier; The step of obtaining the transaction smart contract associated with the second digital resource storage identifier and executing the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage identifier includes: Obtaining the transaction smart contract associated with the second digital resource storage sub-identifier, and executing the transaction smart contract to transfer the transaction digital resources associated with the first digital resource storage identifier to the second digital resource storage sub-identifier; When matching voucher transaction data is found, identity authentication information is generated, and the identity authentication information is returned to the transaction voucher provider, wherein the identity authentication information is used to instruct the transaction voucher provider to provide a voucher service corresponding to the transaction voucher, the method further includes: The voucher service completion information sent by the transaction voucher provider is obtained, and based on the voucher service completion information, the transaction digital resource associated with the second digital resource storage sub-identifier is transferred to the second digital resource storage parent identifier.

5. The method according to claim 4, It is characterized in that Before obtaining the transaction request sent by the transaction credential provider, the method further includes: Obtaining a digital resource storage identification application request sent by the transaction credential provider, wherein the digital resource storage identification application request carries the provider's identity certification information; Performing identity authentication on the object identifier corresponding to the transaction voucher provider based on the provider identity information, generating a second digital resource storage parent identifier corresponding to the transaction voucher provider when the identity authentication is successful, and returning the second digital resource storage parent identifier to the transaction voucher provider; Acquire a transaction service activation request sent by the transaction credential provider, wherein the transaction service activation request carries the transaction credential identifier and the second digital resource storage parent identifier; Generate a second digital resource storage sub-identifier associated with the second digital resource storage parent identifier, generate a transaction smart contract associated with the second digital resource storage sub-identifier, obtain an identity authentication smart contract identifier, and generate identity verification information based on the identity authentication smart contract identifier and the transaction credential identifier; The identity verification information is returned to the transaction credential provider, and the identity verification information is used to instruct the transaction credential provider to display it, and to enable the transaction credential user to send a transaction verification request based on the displayed identity verification information.

6. The method according to claim 4, It is characterized in that After executing the transaction smart contract to transfer the transaction digital resource associated with the first digital resource storage identifier to the second digital resource storage sub-identifier, the method further includes: Acquire a transaction cancellation request sent by the transaction voucher provider, wherein the transaction cancellation request carries the first digital resource storage identifier and the transaction voucher identifier; Obtaining an identity authentication smart contract instance associated with the first digital resource storage identifier, and executing the identity authentication smart contract instance to search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier; When matching voucher transaction data is found, the transaction digital resource in the second digital resource storage sub-identifier is transferred to the first digital resource storage identifier. When the digital resource transfer is completed, transaction cancellation information is generated and returned to the transaction voucher provider and the transaction voucher user.

7. The method according to claim 1, It is characterized in that The method further comprises: Obtaining a digital resource storage identification application request sent by the transaction voucher user, wherein the digital resource storage identification application request carries the user's identity certification information; Based on the user identity information, the object identifier corresponding to the transaction voucher user is authenticated. When the authentication is successful, a first digital resource storage identifier corresponding to the transaction voucher user is generated, and the first digital resource storage identifier is returned to the transaction voucher user.

8. The method according to claim 7, It is characterized in that After returning the first digital resource storage identifier to the transaction voucher user, the method further includes: Acquire a digital resource transfer request sent by the transaction voucher user, wherein the digital resource transfer request carries the first digital resource storage identifier, target transfer information, and the digital resource to be transferred; The digital resource is transferred to the first digital resource storage identifier based on the target transfer information and the digital resource to be transferred. When the digital resource transfer is completed, transfer result information is generated and returned to the transaction voucher user.

9. The method according to claim 8, It is characterized in that The target transfer information includes a target digital resource storage identifier; The transferring of the digital resource to the first digital resource storage identifier based on the target transfer information and the digital resource to be transferred includes: Transferring the digital resource to be transferred from the target digital resource associated with the target digital resource storage identifier to the first digital resource storage identifier; Acquire an existing digital resource associated with the first digital resource storage identifier, calculate the sum of the existing digital resource and the digital resource to be transferred, and obtain a first digital resource sum; The first digital resource storage identifier is associated with the sum of the first digital resources, and the target digital resource storage identifier is associated with the digital resource to which the to-be-transferred digital resource has been transferred.

10. The method according to claim 8, It is characterized in that The target transfer information includes the target account identifier; The transferring of the digital resource to the first digital resource storage identifier based on the target transfer information and the digital resource to be transferred includes: Sending a resource transfer request to a target account end corresponding to the target account identifier, the resource transfer request carrying the digital resource to be transferred and the first digital resource storage identifier, the target account end obtaining the corresponding target account resource according to the target account identifier, and transferring the digital resource to the first digital resource storage identifier based on the target account resource and the digital resource to be transferred; Obtain resource transfer completion information returned by the target account.

11. The method according to claim 1, It is characterized in that The transaction verification request also carries identity information to be verified; When matching voucher transaction data is found, identity verification pass information is generated, including: When matching voucher transaction data is found, obtaining authenticated identity information associated with the first digital resource storage identifier; The similarity between the identity information to be verified and the authenticated identity information is calculated, and when the similarity exceeds a preset similarity threshold, the identity verification pass information is generated.

12. A transaction verification device, It is characterized in that The device comprises: A request acquisition module, used to acquire a transaction verification request sent by a transaction voucher user, wherein the transaction verification request carries a first digital resource storage identifier, a transaction voucher identifier, and an identity authentication smart contract identifier, wherein the first digital resource storage identifier is generated after identity authentication of an object identifier corresponding to the transaction voucher user, and the transaction voucher identifier is acquired by the transaction voucher user from a transaction voucher provider using a digital resource associated with the first digital resource storage identifier; A contract obtaining module, used to obtain an identity authentication smart contract template corresponding to the identity authentication smart contract identifier, and write the first digital resource storage identifier and the transaction voucher identifier into the identity authentication smart contract template to obtain an identity authentication smart contract instance; A contract execution module, configured to execute the identity authentication smart contract instance, and search for matching voucher transaction data based on the first digital resource storage identifier and the transaction voucher identifier; The verification module is used to generate identity authentication information when matching voucher transaction data is found, and return the identity authentication information to the transaction voucher provider. The identity authentication information is used to instruct the transaction voucher provider to provide the voucher service corresponding to the transaction voucher.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is 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, It is 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, It is 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.