Business processing method and device, equipment and storage medium
By locking resource vouchers on the blockchain and generating business processing vouchers, and automatically verifying the processing status of the business service provider, the loss problem caused by changes in resource redemption ratio in business processing is solved, and the business processing efficiency is improved.
Patent Information
- Application Number
- CN202410185717.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2025-08-19
AI Technical Summary
During the business processing process, the change in the digital resource redemption ratio between the business service provider and the business entrusting party leads to resource losses, and the manual review efficiency is low, affecting the business processing efficiency.
By locking resource credentials on the blockchain, generating unlocking conditions and generating business processing credentials, automatically verifying the processing status of the business service provider, and automatically paying digital resources when the unlocking conditions are met.
It realizes an automated business processing process, avoids resource losses, improves business processing efficiency, and reduces the time cost of manual verification.
Smart Images

Figure CN120509894A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to fields such as blockchain technology, and in particular to a business processing method, device, equipment, and storage medium. Background Art
[0002] During the business processing process, the business entrusting party (i.e., the user corresponding to the first device) can entrust the business to be processed to the business service party (i.e., the user corresponding to the second device) by paying digital resources to the business service party. This can reduce the business processing pressure of the business entrusting party and improve business processing efficiency.
[0003] In practice, after the service provider completes the business processing, the client is required to manually review the completed business. Only after the review is passed will the client pay the digital resources to the service provider. This review method is relatively inefficient, resulting in relatively low business processing efficiency. Furthermore, there is a certain time lag between commissioning the business and completing the business processing. If the client and service provider use different types of digital resources, the exchange ratio between the digital resources used by the service provider and the client can easily change during this time lag, which can easily cause resource losses to either the service provider or the client. Summary of the Invention
[0004] The embodiments of the present application provide a business processing method, apparatus, device, and storage medium, which can improve business processing efficiency and avoid resource loss to business service providers or business entrusting parties.
[0005] An embodiment of the present application provides a service processing method, including:
[0006] Obtaining processing requirement information for a target business to be processed on a first device, locking a resource voucher of the first device to the address of a resource locking contract on a blockchain, and generating unlocking conditions for the resource voucher based on the processing requirement information; the resource voucher is purchased by the first device from a voucher issuer using a first quantity of a first-category digital resource, and the resource voucher is used to pay a second quantity of a second-category digital resource to the second device after the second device completes the target business, where the second quantity is determined based on the first quantity and a current exchange rate between the first-category digital resource and the second-category digital resource;
[0007] generating a business processing credential for the target business based on the unlocking condition, and sending the business processing credential for the target business to the second device; the business processing credential for the target business is used to instruct the second device to process the target business and generate processing certification information for the target business;
[0008] Upon receiving the processing certification information and the business processing credential sent by the second device, verifying the relationship between the second device and the unlocking condition based on the received business processing credential and the processing certification information to obtain a relationship verification result;
[0009] When the relationship verification result indicates that the second device meets the unlocking condition, the resource certificate is unlocked from the address of the resource locking contract, and the certificate issuer is controlled to pay the second-category digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second-category digital resources.
[0010] An embodiment of the present application provides a service processing device, including:
[0011] a locking module configured to obtain processing requirement information of a target business to be processed in a first device, lock a resource voucher of the first device to the address of a resource locking contract on a blockchain, and generate unlocking conditions for the resource voucher based on the processing requirement information; the resource voucher is purchased by the first device from a voucher issuer using a first quantity of a first-category digital resource, and the resource voucher is used to pay a second quantity of a second-category digital resource to the second device after the second device completes the target business, the second quantity being determined based on the first quantity and a current exchange rate between the first-category digital resource and the second-category digital resource;
[0012] a generating module configured to generate a business processing credential for the target business based on the unlocking condition, and send the business processing credential for the target business to the second device; the business processing credential for the target business is used to instruct the second device to process the target business and generate processing certification information for the target business;
[0013] a verification module configured to, upon receiving the processing certification information and the business processing credential sent by the second device, verify the relationship between the second device and the unlocking condition based on the received business processing credential and the processing certification information, and obtain a relationship verification result;
[0014] An unlocking module is used to unlock the resource certificate from the address of the resource locking contract when the relationship verification result indicates that the second device meets the unlocking condition, and control the certificate issuer to pay the second type of digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second type of digital resources.
[0015] In a possible implementation, the verification module is further configured to perform the following operations:
[0016] Verify the validity of the received business processing credential according to the unlocking condition to obtain a first credential verification result;
[0017] determining, based on the unlocking condition and the processing certification information, an actual processing status of the second device for the target service;
[0018] A relationship verification result reflecting a relationship between the second device and the unlocking condition is generated according to the first credential verification result and the actual processing status.
[0019] In a possible implementation, the verification module is further configured to perform the following operations:
[0020] Determining a degree of match between the unlocking condition of the resource credential and the unlocking condition recorded in the received business processing credential;
[0021] When the matching degree is greater than the matching degree threshold, determining that the received business processing certificate is valid;
[0022] A first credential verification result is generated to reflect that the received business processing credential is valid.
[0023] In a possible implementation, the verification module is further configured to perform the following operations:
[0024] Determining the time at which the processing certification information sent by the second device is received as the actual completion time of the target business;
[0025] When the actual completion time does not exceed the restricted completion time and the processing certification information meets the processing quality requirement, it is determined that the actual processing status of the target business by the second device is processing completed.
[0026] In a possible implementation, the verification module is further configured to perform the following operations:
[0027] When the first credential verification result indicates that the received business processing credential is valid and the actual processing status is processing completed, determining that the second device meets the unlocking condition;
[0028] A relationship verification result is generated to indicate that the second device satisfies the unlocking condition.
[0029] In a possible implementation, the unlocking module is further configured to perform the following operations:
[0030] When the relationship verification result indicates that the second device meets the unlocking condition, sending a processing quality approval request for the target service to the first device; the processing quality approval request carries the received service processing voucher and the processing certification information;
[0031] When the approval message returned by the first device is received, the resource certificate in the resource locking contract address is unlocked through the resource locking contract.
[0032] In a possible implementation, the unlocking module is further configured to perform the following operations:
[0033] When the received business processing voucher does not include a collateral ratio, the second quantity of the second type of digital resources is transferred from the account address of the voucher issuer to the account address corresponding to the second device; the collateral ratio is used to instruct the second device to pledge the third quantity of the second type of digital resources to a third device, the third device being a device that provides financing for the target business to the second device, and the ratio between the third quantity and the second quantity is the collateral ratio;
[0034] When the received business processing certificate includes a collateral ratio, transferring a fourth amount of the second-category digital resources from the account address of the certificate issuer to the account address corresponding to the second device; the fourth amount being the difference between the second amount and the third amount;
[0035] Destroy the received business processing certificate and return the resource certificate to the certificate issuer.
[0036] In a possible implementation, the generation module is further configured to perform the following operations:
[0037] When receiving the financing application information regarding the target business sent by the second device, obtaining the mortgage ratio from the financing application information;
[0038] Based on the unlocking conditions and the mortgage ratio, a business processing voucher including the mortgage ratio is generated;
[0039] The business processing certificate including the above-mentioned mortgage ratio is sent to the above-mentioned second device.
[0040] In a possible implementation, the unlocking module is further configured to perform the following operations:
[0041] Sending the business processing certificate including the mortgage ratio to the third device;
[0042] Upon receiving the service processing credential sent by the third device, verifying the validity of the service processing credential sent by the third device according to the unlocking condition, and obtaining a second credential verification result;
[0043] When the second credential verification result indicates that the business processing credential sent by the third device is valid, verifying the unlocking status of the resource credential;
[0044] When the unlocking status of the above-mentioned resource certificate is unlocked, the above-mentioned third quantity of the second-category digital resources is transferred from the account address of the above-mentioned certificate issuer to the account address corresponding to the above-mentioned third device, and the business processing certificate sent by the above-mentioned third device is destroyed.
[0045] On one hand, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0046] On one hand, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are executed.
[0047] On one hand, an embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the above method when the computer program is executed by a processor.
[0048] In this application, the node device in the blockchain network can pre-lock the resource certificate of the business entrusting party in the address of the resource locking contract on the blockchain. The resource certificate is used to indicate that after the business service party completes the processing of the target business, the second amount of the second type of digital resources will be paid to the business service party. The resource certificate is purchased by the business entrusting party, which is equivalent to the business entrusting party having frozen (locked) the digital resources required for processing the target business in the address of the resource locking contract in advance. This can avoid the change in the exchange rate between the digital resources used by the business entrusting party and the business service party, causing resource losses to the business entrusting party or the business service party. In addition, the unlocking conditions of the resource certificate are generated according to the processing requirement information of the target business, and the business processing certificate for the target business is generated according to the unlocking conditions, and the business processing certificate is sent to the second device corresponding to the business service party. The business service provider processes the target business and generates processing certification information for the target business. Upon receiving the processing certification information and business processing voucher provided by the business service provider, the business service provider automatically verifies whether the unlocking conditions of the resource voucher are met based on the received business processing voucher and processing certification information. If the unlocking conditions are met, the resource voucher is unlocked, and the second category digital resource is paid to the business service provider based on the resource voucher and the second quantity of the second category digital resource. This shows that the present application can automatically verify the business service provider without the need for human intervention, thereby improving business processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
[0050] Figure 1 This is a structural diagram of a blockchain data processing system provided by this application;
[0051] Figure 2 This is a flowchart of a business processing method provided by this application;
[0052] Figure 3 This is a flowchart of another business processing method provided by this application;
[0053] Figure 4 This is a flowchart of another business processing method provided by this application;
[0054] Figure 5 This is a structural diagram of a business processing device provided by this application;
[0055] Figure 6 It is a structural diagram of a computer device provided by this application. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0057] First, let's introduce the blockchain data processing system used in this application. Figure 1 , Figure 1 This is a schematic diagram of the structure of a blockchain data processing system provided in an embodiment of the present application. The blockchain data processing system may include a blockchain network and one or more terminals. The present application does not limit the number of terminals, and the number of terminals can be set according to demand. Figure 1 The example is described with three terminals, including terminal 111, terminal 112 and terminal 113.
[0058] The blockchain network is an end-to-end decentralized network composed of multiple node devices (also called blockchain nodes). The number of node devices in the blockchain network can be deployed according to actual needs. This application does not limit the number of node devices. Figure 1 The blockchain network includes four node devices as an example for explanation, and the four node devices are node device 101, node device 102, node device 103 and node device 104.
[0059] It is understandable that the functions involved in each node device in the blockchain network include:
[0060] 1) Routing: A basic function of a node device, used to support communication between node devices.
[0061] For example, Figure 1 As shown, data or blocks can be transferred between node devices through a network connection. The network connection between the above-mentioned node devices can transmit data based on node identification. Each node device has a node identification corresponding to it, and each of the above-mentioned node devices can store the node identifications of other node devices connected to it, so that the acquired data or generated blocks can be broadcast to other node devices based on the node identifications of other node devices. For example, node device 101 can maintain a node identification list, which stores the node names and node identifications of other node devices, as shown in Table 1:
[0062] Table 1
[0063] Node Name Node ID Node device 101 aaaa Node device 102 bbbb Node device 103 cccc Node device 104 dddd … …
[0064] As shown in Table 1, assuming that the node identification of node device 101 is aaaa, node device 101 can send a data synchronization request to node device 102 through aaaa, and node device 102 can know that the data synchronization request is sent by node device 101 through node identification aaaa; similarly, node device 102 can send transaction data A to node device 101 through node identification bbbb, and node device 101 can know that the transaction data A is sent by node device 102 through node identification bbbb. The same is true for data transmission between other node devices, so they will not be elaborated one by one.
[0065] 2) Applications, deployed in the blockchain, implement specific services based on actual business needs, record data related to the implementation of functions to form record data, carry digital signatures in the record data to indicate the source of the task data, and send the record data to other node devices in the blockchain network for other node devices to add the record data to a temporary block when they successfully verify the source and integrity of the record data.
[0066] For example, the services implemented by the application include:
[0067] 2.1) Resource Management Services: Node devices may include resource clients, which implement resource management service functions and, based on these functions, establish communication connections with decentralized application clients. A resource client is a tool responsible for managing and storing a user's digital resources. For example, digital resources can be transferred to other accounts or received from other accounts. This resource client can be either a hardware device or a software program.
[0068] It is understandable that with the widespread deployment of various decentralized applications on the blockchain and the increase in user activities on the blockchain, general users can use blockchain key management tools to log in when using decentralized applications. The address in the blockchain key management tool corresponds to a user on the blockchain. The decentralized application can obtain the user address from the key management tool through some interfaces. In order to solve the problem that the Dapp background cannot trust the user address used when logging in to the decentralized application.
[0069] 2.2) Shared ledgers are used to store, query, and modify account data (i.e., transaction data). Records of operations on account data are sent to other nodes in the blockchain network. After verification, other nodes acknowledge the validity of the account data by storing the recorded data in a temporary block. They can also send a confirmation to the node device that initiated the operation.
[0070] For example, each node device can receive data to be recorded when performing normal operations, and maintain a shared ledger (i.e., blockchain) based on the received data to be recorded. In order to ensure information intercommunication within the shared ledger network, a network connection can exist between each node device in the shared ledger network, and data can be transmitted between the node devices through the above network connection. For example, when any node device in the shared ledger network receives data to be recorded, the other node devices in the shared ledger network will verify the data to be recorded according to the consensus algorithm, and after successful verification (i.e., after consensus is reached), the data to be recorded will be stored as data in the shared ledger, so that the data stored on all node devices in the shared ledger network are consistent.
[0071] 2.3) Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented through code deployed on a shared ledger that is executed when certain conditions are met. Based on actual business needs, the code is used to complete automated transactions, such as querying the logistics status of a buyer's purchased goods and transferring the buyer's digital assets to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for transactions, but can also execute contracts that process received information.
[0072] Among them, the blockchain maintained by node device 101, node device 102, node device 103 and node device 104 may include a resource locking contract, and the resource locking contract may refer to a smart contract.
[0073] Optionally, the resource lock contract may have the following functions: (1) Locking function. The resource lock contract may lock the resource certificate in the address of the resource lock contract; that is, after the resource certificate is transferred to the address of the resource lock contract, the resource certificate cannot be transferred out of the address of the resource lock contract, nor can it be exchanged for digital resources unless the unlocking conditions are met. (2) Unlocking function. When the resource lock contract locks the resource certificate, it will generate an unlocking condition for the resource certificate. When the device that unlocks the resource certificate meets the unlocking condition, the resource lock contract can unlock the resource certificate. That is, when the unlocking condition is met, the resource certificate can be transferred out of the address of the resource lock contract by the node device, and can also be exchanged for digital resources.
[0074] The resource locking contract may be jointly formulated by the business service provider and the business entrusting party, or the resource locking contract may be formulated by a node device in the blockchain network.
[0075] Any of the above terminals can be used to publish a target business to be processed, or to process a target business. Typically, the terminal used to publish a target business can be referred to as the first device corresponding to the business entrusting party, and the terminal used to process the target business can be referred to as the second device corresponding to the business service provider. The target business can refer to the business to be processed, such as cross-border cargo transportation, technical software development, etc.
[0076] In one embodiment, the digital resources used by the first device are first-category digital resources, and the digital resources used by the second device are second-category digital resources. The first-category digital resources and the second-category digital resources may be different. The digital resources may include legal tender, digital assets, etc. For example, the first-category digital resource may be legal tender A, and the second-category digital resource may be legal tender B. The first-category digital resources and the second-category digital resources are different.
[0077] It should be noted that a resource voucher can refer to a digital asset anchored by a certain type of digital resource. In practice, the resource voucher can refer to a digital asset anchored by a second type of digital resource. The stability of the exchange ratio between the resource voucher and the second type of digital resource is greater than a stability threshold. In other words, when the value of the second type of digital resource increases, the value of the resource voucher also increases; when the value of the second type of digital resource decreases, the value of the resource voucher also decreases; the exchange ratio between the resource voucher and the second type of digital resource remains within a certain numerical range. The stability threshold can be jointly determined by the service provider and the service entrusting party.
[0078] It should be noted that the business processing credential may refer to a digital credential used to record the unlocking conditions of the target business. The business processing credential may include the unlocking conditions, device information of the first device, device information of the second device, etc.
[0079] The business processing voucher may be generated by a business processing voucher contract; the business processing voucher contract may be jointly developed by the business service provider and the business entrusting party, or the business processing voucher contract may be developed by a node device in the blockchain network. The business processing voucher contract is used to generate a business processing voucher for the target business based on the unlocking conditions of the resource voucher.
[0080] It should be noted that node device 101, node device 102, node device 103, and node device 104 can be an independent physical server, or a server cluster or distributed system composed of at least two physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Terminals 111, 112, and 113 can include: smart phones, tablet computers, laptops, desktop computers, intelligent voice interaction devices, smart home appliances (e.g., smart TVs), wearable devices, and vehicle-mounted terminals with data processing capabilities.
[0081] Further, see Figure 2 , Figure 2 This is a flowchart of a business processing method provided by an embodiment of the present application. Figure 1 The method may be performed by any node device in the blockchain network.
[0082] S101. Obtain processing requirement information of a target business to be processed in a first device, lock a resource certificate of the first device to the address of a resource locking contract on a blockchain, and generate unlocking conditions for the resource certificate based on the processing requirement information.
[0083] It should be noted that the above-mentioned resource certificate can be purchased by the first device from the certificate issuer using the first quantity of the first type of digital resources. The above-mentioned certificate issuer may include a bank, an enterprise that can serve as a bank to issue resource certificates, etc. The above-mentioned processing requirement information may include a restricted completion time and processing quality requirements for the target business; the above-mentioned restricted completion time may refer to the deadline for the second device to complete the processing of the target business, and the above-mentioned processing quality requirements may refer to the completion conditions of the target business. For example, when the above-mentioned restricted completion time is set to January 1, 2024, the second device must complete the processing of the target business before January 1, 2024. When the target business is a cross-border cargo transportation business, the above-mentioned processing quality requirements can be set to obtain an import declaration form from a certain customs, etc.
[0084] It should be noted that the aforementioned locking can refer to transferring the resource certificate to the address of the resource locking contract. Until the unlocking conditions are met, the resource certificate cannot be transferred out of the resource locking contract address or redeemed for digital resources. The unlocking conditions may also include the target business completion time limit and processing quality requirements.
[0085] It is understandable that before the first device entrusts the above-mentioned target business to be processed, the user corresponding to the first device (i.e., the business entrusting party) can jointly determine with the user corresponding to the second device (i.e., the business service party) the digital resources available for processing the above-mentioned target business. When the first device determines that the second device can obtain a second quantity of the second type of digital resources after processing the above-mentioned target business, the first device can determine the first quantity of the first type of digital resources that the first device needs to pay based on the current exchange rate between the first type of digital resources and the second type of digital resources. The first device can use the first quantity of the first type of digital resources to purchase a resource certificate of equal value to the second quantity of the second type of digital resources from the certificate issuer. For example, the first type of digital resource is legal tender A, and the second type of digital resource is legal tender B. The resource certificate can refer to a digital asset anchored by legal tender B. The exchange ratio between legal tender A and legal tender B is 1:2; the exchange ratio between the resource certificate and legal tender B is 1:1. When the first device determines that the second device can obtain 100 pieces of legal tender B after processing the above-mentioned target business, the first device can determine 50 pieces of legal tender A that the first device needs to pay based on the exchange ratio of 2:1 between legal tender A and legal tender B; therefore, the first device can use the 50 pieces of legal tender A to purchase resource certificates of equal value to 100 pieces of legal tender B from the certificate issuer.
[0086] Furthermore, after the first device obtains a resource certificate of equal value to the second quantity of the second type of digital resources, the first device can send the processing requirement information and resource certificate of the target business to be processed to the node device. After the node device receives the processing requirement information and the resource certificate, it can transfer the resource certificate to the address of the resource locking contract on the blockchain for locking; the node device can input the restricted completion time and processing quality requirements in the processing requirement information into the resource locking contract, and obtain the unlocking conditions for unlocking the resource certificate from the address of the resource locking contract. The first device converts the digital resources that can be obtained after the target business processing is completed into resource certificates in advance; therefore, by locking the resource certificate, the exchange rate between the first digital resource and the second digital resource can be locked, so as to avoid resource losses to the users corresponding to the first device and the users corresponding to the second device when the exchange rate between the first type of digital resources and the second type of digital resources drops.
[0087] S102: Generate a service processing credential for the target service according to the unlocking condition, and send the service processing credential to the second device.
[0088] It should be noted that the business processing voucher of the target business is used to instruct the second device to process the target business and generate processing proof information for the target business. The business processing voucher can be used to record the unlocking conditions of the target business, so that the second device can accurately understand the processing standards of the target business through the business processing voucher. The above-mentioned processing proof information may refer to the proof materials of the second device in the process of processing the target business. The format of the proof materials may include pictures, text, documents, etc. For example, when the target business is a cross-border cargo transportation business, the above-mentioned processing proof information may be an import declaration form of a customs, etc.
[0089] It is understood that the node device can enter the unlocking conditions of the resource voucher into the business processing voucher contract and, based on the business processing voucher contract, generate a business processing voucher for the target business. The node device transmits the business processing voucher for the target business to the second device. After receiving the business processing voucher, the second device can obtain the unlocking conditions of the resource voucher from the business processing voucher; based on the unlocking conditions, the second device can generate processing proof information for the target business during the processing of the target business.
[0090] S103: When the processing certification information and the business processing credential sent by the second device are received, the relationship between the second device and the unlocking condition is verified according to the received business processing credential and processing certification information to obtain a relationship verification result.
[0091] It should be noted that the second device can simultaneously receive multiple service delegations. Therefore, the second device can simultaneously receive service processing vouchers corresponding to multiple services, and based on each service processing voucher, process the service corresponding to each service processing voucher and generate processing certification information corresponding to each service processing voucher. Therefore, the node device can receive multiple service processing vouchers and multiple pieces of processing certification information sent by the second device.
[0092] It should be noted that the above-mentioned relationship verification result may include a relationship verification result indicating that the second device meets the unlocking condition; the above-mentioned relationship verification result may also include a relationship verification result indicating that the second device does not meet the unlocking condition.
[0093] It is understandable that when the node device receives the processing proof information and business processing credentials sent by the second device, the node device needs to verify whether the received business processing credentials are the business processing credentials of the target business. Therefore, when the node device verifies that the received business processing credentials are the business processing credentials of the target business, the node device can verify whether the second device meets the unlocking conditions based on the unlocking conditions in the resource locking contract and the received processing proof information. When the node device verifies that the second device meets the unlocking conditions, a relationship verification result is generated to indicate that the second device meets the unlocking conditions; when the node device verifies that the second device does not meet the unlocking conditions, a relationship verification result is generated to indicate that the second device does not meet the unlocking conditions. The node device can automatically verify whether the second device meets the unlocking conditions through the resource locking contract without manual intervention; this can reduce the time cost consumed by manual verification, reduce verification errors caused by manual verification, and improve the efficiency of business processing.
[0094] S104. When the relationship verification result indicates that the second device meets the unlocking condition, unlock the resource certificate from the address of the resource locking contract, and control the certificate issuer to pay the second type of digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second type of digital resources.
[0095] It should be noted that when the above relationship verification result indicates that the second device meets the unlocking conditions, it indicates that the resource certificate can be unlocked from the address of the resource locking contract. When the above relationship verification result indicates that the second device does not meet the unlocking conditions, it indicates that the resource certificate cannot be unlocked from the address of the resource locking contract.
[0096] It is understandable that when the relationship verification result indicates that the second device meets the unlocking conditions, the node device can unlock the resource certificate locked in the address of the resource locking contract. The node device can transfer the second quantity of the second type of digital resources from the account address of the certificate issuer to the account address of the second device based on the resource certificate; and destroy the received business processing certificate. After determining that the second device meets the unlocking conditions, the node device can directly unlock the resource certificate and control the certificate issuer to pay the second type of digital resources to the second device, so that the second device can quickly obtain digital resources and improve the efficiency of business processing.
[0097] In this application, the node device in the blockchain network can pre-lock the resource certificate of the business entrusting party in the address of the resource locking contract on the blockchain. The resource certificate is used to indicate that after the business service party completes the processing of the target business, the second amount of the second type of digital resources will be paid to the business service party. The resource certificate is purchased by the business entrusting party, which is equivalent to the business entrusting party having frozen (locked) the digital resources required for processing the target business in the address of the resource locking contract in advance. This can avoid the change in the exchange rate between the digital resources used by the business entrusting party and the business service party, causing asset losses to the business entrusting party or the business service party. In addition, the unlocking conditions of the resource certificate are generated according to the processing requirement information of the target business, and the business processing certificate for the target business is generated according to the unlocking conditions, and the business processing certificate is sent to the second device corresponding to the business service party. The business service provider processes the target business and generates processing certification information for the target business. Upon receiving the processing certification information and business processing voucher provided by the business service provider, the business service provider automatically verifies whether the unlocking conditions for the resource voucher are met based on the received business processing voucher and processing certification information. If the unlocking conditions are met, the resource voucher is unlocked, and the second category digital resource is paid to the business service provider based on the resource voucher and the second quantity of the second category digital resource. This allows for automated verification of the business service provider, eliminating the need for human intervention and improving business processing efficiency.
[0098] Further, see Figure 3 , Figure 3 This is a flowchart of a business processing method provided by an embodiment of the present application. Figure 1 The method may be performed by any node device in the blockchain network.
[0099] S201. Obtain processing requirement information of a target business to be processed in a first device, lock a resource certificate of the first device to the address of a resource locking contract on a blockchain, and generate unlocking conditions for the resource certificate based on the processing requirement information.
[0100] S202: Generate a service processing credential for the target service according to the unlocking condition, and send the service processing credential to the second device.
[0101] Optionally, when receiving the financing application information regarding the above-mentioned target business sent by the above-mentioned second device, obtain the mortgage ratio from the above-mentioned financing application information; generate a business processing certificate including the above-mentioned mortgage ratio based on the above-mentioned unlocking conditions and the above-mentioned mortgage ratio; and send the business processing certificate including the above-mentioned mortgage ratio to the above-mentioned second device.
[0102] It should be noted that the above-mentioned mortgage ratio is used to instruct the above-mentioned second device to mortgage the above-mentioned third quantity of the second type of digital resources to the third device. The above-mentioned third device is a device that provides financing for the above-mentioned target business to the above-mentioned second device, and the ratio between the above-mentioned third quantity and the above-mentioned second quantity is the above-mentioned mortgage ratio. The above-mentioned financing application information may include the mortgage ratio, device information of the third device, etc. The business processing certificate including the above-mentioned mortgage ratio may include the unlocking conditions of the target business, and the ratio of the second type of digital resources that the second device and the third device can obtain respectively. The ratio of the second type of digital resources that the second device and the third device can obtain respectively can be obtained from the above-mentioned mortgage ratio.
[0103] It is understood that the second device can send financing application information to the node device. After receiving the financing application information, the node device obtains the collateral ratio from the financing application information, enters the unlocking conditions and the collateral ratio into the business processing voucher contract, and generates a business processing voucher including the collateral ratio through the business processing voucher contract. The node device then sends the business processing voucher including the collateral ratio to the second device.
[0104] Optionally, based on the unlocking conditions, a business processing certificate for the target business is generated and sent to the second device. Upon receiving the business processing certificate for the target business and the financing application information from the second device, the business processing certificate is destroyed; the collateral ratio is obtained from the financing application information; based on the unlocking conditions and the collateral ratio, a business processing certificate including the collateral ratio is generated; and the business processing certificate including the collateral ratio is sent to the second device.
[0105] It is understandable that the node device can first generate a business processing certificate for the target business based on the unlocking conditions, and send the business processing certificate to the second device. When the second device needs financing from the financing party (i.e., the user corresponding to the third device), the second device can send the business processing certificate and the financing application information to the node device. After receiving the business processing certificate and the financing application information, the node device can destroy the business processing certificate. Furthermore, the mortgage ratio is obtained from the financing application information, the above unlocking conditions and the above mortgage ratio are input into the business processing certificate contract, and based on the business processing certificate contract, a business processing certificate including the above mortgage ratio is generated, and the business processing certificate including the above mortgage ratio is sent to the second device.
[0106] S203: When the processing certification information and the business processing credential sent by the second device are received, the validity of the received business processing credential is verified according to the unlocking condition to obtain a first credential verification result.
[0107] It should be noted that the first credential verification result may include the validity of the received business processing credential and the invalidity of the received business processing credential. The validity of the received business processing credential indicates that the received business processing credential is consistent with the business processing credential of the target business; the invalidity of the received business processing credential indicates that the received business processing credential is inconsistent with the business processing credential of the target business.
[0108] It is understood that when the node device receives the processing certification information and the business processing credential sent by the second device, the node device can obtain the target unlocking condition from the received business processing credential and verify the validity of the received business processing credential based on the target unlocking condition and the unlocking condition. When the received business processing credential is verified to be valid, the node device generates a first credential verification result indicating that the received business processing credential is valid. When the received business processing credential is verified to be invalid, the node device generates a first credential verification result indicating that the received business processing credential is invalid.
[0109] Optionally, determine the degree of match between the unlocking conditions of the resource credential and the unlocking conditions recorded in the received business processing credential; when the degree of match is greater than a matching threshold, determine that the received business processing credential is valid; and generate a first credential verification result reflecting the validity of the received business processing credential.
[0110] It should be noted that the above matching degree may be obtained according to a matching degree algorithm; the above matching degree algorithm may include a KMP algorithm, a BM algorithm, etc. The above matching degree threshold may be set by the node device.
[0111] It will be understood that a matching threshold is set in the node device. Upon receiving the processing certification information and business processing credential sent by the second device, the node device uses a matching algorithm to match the unlocking conditions of the resource credential with the unlocking conditions recorded in the received business processing credential one by one, thereby determining the matching degree between the unlocking conditions of the resource credential and the unlocking conditions recorded in the received business processing credential. The more similar the unlocking conditions of the resource credential are to the unlocking conditions recorded in the received business processing credential, the higher the matching degree; the less similar the unlocking conditions of the resource credential are to the unlocking conditions recorded in the received business processing credential, the lower the matching degree. When the matching degree is greater than the matching threshold, it indicates that the received business processing credential is the business processing credential of the target business; the node device may generate a first credential verification result indicating that the received business processing credential is valid. Alternatively, when the matching degree is less than or equal to the matching threshold, it indicates that the received business processing credential is not the business processing credential of the target business; the node device may generate a first credential verification result indicating that the received business processing credential is not valid. The node device automatically matches the unlocking conditions of the resource voucher with the unlocking conditions recorded in the received business processing voucher to verify the authenticity of the received business processing voucher. This can prevent the resource voucher from being mistakenly unlocked when a forged business processing voucher is received, and the second type of digital resources can be paid to illegal users, thereby improving the security of business processing.
[0112] S204: Determine the actual processing status of the second device for the target service based on the unlocking condition and the processing certification information.
[0113] It should be noted that the unlocking conditions include a time constraint and processing quality requirements. The actual processing status can be either completed or incomplete. When both the time constraint and processing quality requirements are met, the target business's actual processing status is completed. When at least one of the time constraint and processing quality requirements is met, the target business's actual processing status is incomplete.
[0114] It is understandable that the node device can verify whether the second device completes the target business within the restricted completion time and according to the processing quality requirements based on the processing proof information sent by the second device. When the second device processes the target business within the restricted completion time and generates processing proof information that meets the processing quality requirements, the node device can determine that the above-mentioned actual processing status is processing completed. When the second device does not process the target business within the restricted completion time, or the second device does not generate processing proof information that meets the processing quality requirements, the node device can determine that the above-mentioned actual processing status is processing incomplete.
[0115] Optionally, the time of receiving the processing proof information sent by the second device is determined as the actual completion time of the target business; when the actual completion time does not exceed the restricted completion time and the processing proof information meets the processing quality requirements, the actual processing status of the second device for the target business is determined to be processing completed.
[0116] It can be understood that when the node device receives the business processing certificate sent by the second device, it determines the time at this time as the actual completion time of the above-mentioned target business, and compares the actual completion time with the restricted completion time. When the actual completion time does not exceed the restricted completion time, the node device verifies whether the above-mentioned processing proof information meets the processing quality requirements in the unlocking conditions. When the node device verifies that the above-mentioned processing proof information meets the processing quality requirements, it determines that the actual processing status of the above-mentioned second device for the above-mentioned target business is processing completion. For example, when the target business is a cross-border cargo transportation business, the above-mentioned processing quality requirements can be set to obtain the import declaration form of Customs A; when the import declaration form of Customs A exists in the processing proof information, the node device can verify that the above-mentioned processing proof information meets the processing quality requirements.
[0117] S205: Generate a relationship verification result reflecting the relationship between the second device and the unlocking condition according to the first credential verification result and the actual processing status.
[0118] Optionally, the above-mentioned unlocking conditions include the restricted completion time and processing quality requirements of the above-mentioned target business; when the above-mentioned first credential verification result reflects that the above-mentioned received business processing credential is valid and the above-mentioned actual processing status is processing completed, it is determined that the above-mentioned second device meets the above-mentioned unlocking conditions; and a relationship verification result is generated to indicate that the above-mentioned second device meets the above-mentioned unlocking conditions.
[0119] It should be noted that the aforementioned relationship verification result may include a relationship verification result indicating that the second device meets the unlocking conditions, indicating that the received business processing credentials are valid, and the aforementioned actual processing status is completed. The aforementioned relationship verification result may also include a relationship verification result indicating that the second device does not meet the unlocking conditions, indicating that at least one of the following conditions exists: the received business processing credentials are not valid, and the aforementioned actual processing status is not completed.
[0120] It is understood that when the node device determines that the received business processing credential is valid and the actual processing status is completed, it indicates that the second device meets the unlocking condition, and the node device may generate a relationship verification result indicating that the second device meets the unlocking condition. When the node device determines that at least one of the received business processing credential is not valid and the actual processing status is incomplete, it indicates that the second device does not meet the unlocking condition, and the node device may generate a relationship verification result indicating that the second device does not meet the unlocking condition.
[0121] S206. When the relationship verification result indicates that the second device meets the unlocking condition, unlock the resource certificate from the address of the resource locking contract, and control the certificate issuer to pay the second type of digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second type of digital resources.
[0122] Optionally, when the relationship verification result indicates that the second device meets the unlocking condition, the resource certificate is unlocked from the address of the resource locking contract, including: when the relationship verification result indicates that the second device meets the unlocking condition, a processing quality approval request for the target business is sent to the first device; the processing quality approval request carries the received business processing certificate and the processing proof information; when the approval message returned by the first device is received, the resource certificate in the resource locking contract address is unlocked through the resource locking contract.
[0123] It should be noted that the processing quality approval request carries the received business processing certificate and processing proof information; the above-mentioned approval information is used to instruct the node device to unlock the resource certificate in the resource locking contract address.
[0124] It is understandable that after the node device verifies the relationship verification result corresponding to the relationship between the second device and the unlocking condition, when the node device determines that the relationship verification result indicates that the second device meets the unlocking condition, the node device can send a processing quality approval request carrying the received business processing credentials and processing proof information to the first device. The first device can approve whether the second device meets the unlocking condition based on the received business processing credentials and processing proof information. When the first device determines that the second device meets the unlocking condition, the first device generates an approval message and sends the approval message to the node device. When the first device determines that the second device does not meet the unlocking condition, the first device can generate an approval failure message and send the approval failure message to the node device. When the first device determines that the second device does not meet the unlocking condition, the first device may not generate a message about approval, that is, the node device cannot receive the message about approval sent by the first device.
[0125] Furthermore, when the node device receives an approval message returned by the first device, the resource certificate in the resource locking contract address may be unlocked. When the node device receives an approval failure message returned by the first device, or the node device does not receive an approval message returned by the first device within a preset time period, the resource certificate in the resource locking contract address may not be unlocked.
[0126] Optionally, based on the above-mentioned resource certificate, the above-mentioned received business processing certificate, and the above-mentioned second quantity of the second category digital resources, the above-mentioned certificate issuer is controlled to pay the second category digital resources to the above-mentioned second device, including: when the above-mentioned received business processing certificate does not include the mortgage ratio, the above-mentioned second quantity of the second category digital resources is transferred from the account address of the above-mentioned certificate issuer to the account address corresponding to the above-mentioned second device; the above-mentioned mortgage ratio is used to instruct the above-mentioned second device to mortgage the above-mentioned third quantity of the second category digital resources to a third device, and the above-mentioned third device is a device that provides financing for the above-mentioned target business to the above-mentioned second device, and the ratio between the above-mentioned third quantity and the above-mentioned second quantity is the above-mentioned mortgage ratio; when the above-mentioned received business processing certificate includes the mortgage ratio, the above-mentioned fourth quantity of the second category digital resources is transferred from the account address of the above-mentioned certificate issuer to the account address corresponding to the above-mentioned second device; the above-mentioned fourth quantity is the difference between the above-mentioned second quantity and the above-mentioned third quantity; destroying the above-mentioned received business processing certificate, and returning the above-mentioned resource certificate to the above-mentioned certificate issuer.
[0127] It should be noted that the above-mentioned pledge ratio reflects the third quantity of the second-category digital resource pledged by the second device to the third device; the ratio between the third quantity and the second quantity is the above-mentioned pledge ratio. For example, if a resource voucher can be redeemed for 100 pieces of the second-category digital resource from the voucher issuer, and the second device pledges 80 pieces of the second-category digital resource to the third device, the above-mentioned pledge ratio may be 80%.
[0128] It should be noted that the third device provides financing for the target business to the second device. The financing provided by the third device to the second device can be obtained based on the third quantity and the discount information. For example, when the second device pledges 80 items of the second-category digital resources to the third device, if the discount information for this pledge is 90%, the third device may send 72 items of the second-category digital resources to the second device.
[0129] It is understandable that after the node device unlocks the resource voucher in the resource locking contract address, the node device will verify the received business processing voucher. When it is verified that the above-mentioned received business processing voucher does not include the mortgage ratio, it indicates that the above-mentioned second device has not mortgaged the business processing voucher to the third device, that is, the resource voucher belongs entirely to the second device; therefore, the node device transfers the above-mentioned second quantity of the second type of digital resources from the account address of the above-mentioned voucher issuer to the account address corresponding to the above-mentioned second device. When it is verified that the above-mentioned received business processing voucher includes the mortgage ratio, it indicates that the above-mentioned second device mortgages the business processing voucher to the third device, that is, the resource voucher partially belongs to the second device; therefore, the node device performs a proportional operation on the second quantity according to the mortgage ratio to obtain the fourth quantity. The node device transfers the fourth quantity of the above-mentioned second type of digital resources from the account address of the above-mentioned voucher issuer to the account address corresponding to the above-mentioned second device.
[0130] Optionally, the above method also includes: sending the business processing certificate including the above mortgage ratio to the above third device; when the business processing certificate sent by the above third device is received, verifying the validity of the business processing certificate sent by the above third device according to the above unlocking condition, and obtaining a second certificate verification result; when the above second certificate verification result indicates that the business processing certificate sent by the above third device is valid, verifying the unlocking status of the above resource certificate; when the unlocking status of the above resource certificate is unlocked, transferring the above third quantity of the second type of digital resources from the account address of the certificate issuer to the account address corresponding to the above third device, and destroying the business processing certificate sent by the above third device.
[0131] It should be noted that the second credential verification result may include that the business processing credential received and sent by the above-mentioned third device is valid, and that the business processing credential received and sent by the above-mentioned third device is not valid. The unlocking status of the resource credential may include unlocked and unlocked. Unlocked may mean that the resource credential has been unlocked, that is, the node device can transfer the above-mentioned third quantity of the second type of digital resources from the account address of the above-mentioned credential issuer to the account address corresponding to the above-mentioned third device based on the resource credential. Unlocked may mean that the resource credential has not been unlocked, that is, the node device cannot transfer the above-mentioned third quantity of the second type of digital resources from the account address of the above-mentioned credential issuer to the account address corresponding to the above-mentioned third device based on the resource credential.
[0132] It is understandable that the node device can send the business processing certificate including the above-mentioned mortgage ratio to the third device. After the node device receives the business processing certificate sent by the above-mentioned third device, the node device can obtain the target unlocking condition from the business processing certificate sent by the above-mentioned third device; match the target unlocking condition with the unlocking condition of the above-mentioned resource certificate one by one, and use the matching algorithm to obtain the target matching degree between the target unlocking condition and the above-mentioned resource certificate. When the target matching degree is greater than the above-mentioned matching degree threshold, the node device determines that the business processing certificate sent by the above-mentioned third device is valid, and obtains a second certificate verification result indicating that the business processing certificate sent by the above-mentioned third device is valid. When the target matching degree is less than or equal to the above-mentioned matching degree threshold, the node device determines that the business processing certificate sent by the above-mentioned third device is not valid, and obtains a second certificate verification result indicating that the business processing certificate sent by the above-mentioned third device is not valid.
[0133] Furthermore, when the second credential verification result indicates that the received business processing credential sent by the third device is valid, the node device may verify the unlocking status of the resource credential. When it is verified that the unlocking status of the resource credential is unlocked, the node device may transfer the third quantity of the second category digital resource from the account address of the credential issuer to the account address corresponding to the third device based on the resource credential. When it is verified that the unlocking status of the resource credential is unlocked, the node device may not transfer the third quantity of the second category digital resource from the account address of the credential issuer to the account address corresponding to the third device based on the resource credential.
[0134] In this application, the node device in the blockchain network can pre-lock the resource certificate of the business entrusting party in the address of the resource locking contract on the blockchain. The resource certificate is used to indicate that after the business service party completes the processing of the target business, the second amount of the second type of digital resources will be paid to the business service party. The resource certificate is purchased by the business entrusting party, which is equivalent to the business entrusting party having frozen (locked) the digital resources required for processing the target business in the address of the resource locking contract in advance. This can avoid the change in the exchange rate between the digital resources used by the business entrusting party and the business service party, causing asset losses to the business entrusting party or the business service party. In addition, the unlocking conditions of the resource certificate are generated according to the processing requirement information of the target business, and the business processing certificate for the target business is generated according to the unlocking conditions, and the business processing certificate is sent to the second device corresponding to the business service party. The business service provider processes the target business and generates processing certification information for the target business. Upon receiving the processing certification information and business processing voucher provided by the business service provider, the business service provider automatically verifies whether the unlocking conditions for the resource voucher are met based on the received business processing voucher and processing certification information. If the unlocking conditions are met, the resource voucher is unlocked, and the second category digital resource is paid to the business service provider based on the resource voucher and the second quantity of the second category digital resource. This allows for automated verification of the business service provider, eliminating the need for human intervention and improving business processing efficiency.
[0135] Further, see Figure 4 , Figure 4 This is a flowchart of a business processing method provided by an embodiment of the present application. Figure 1 The method may be performed by any node device in the blockchain network.
[0136] S301: A first device pays a first quantity of a first-category digital resource to a credential issuer device.
[0137] It should be noted that the first device can use the first type of digital resources to purchase resource certificates from the certificate issuer.
[0138] It is understood that when the first device needs to delegate the target service to the service entrusting party, the first device can convert the first quantity of the first category digital resources available for processing the target service into a resource voucher in advance. Therefore, the first device can transfer the first quantity of the first category digital resources to the account address of the voucher issuer device.
[0139] S302: The credential issuer device sends a minting request for a resource credential to the node device.
[0140] It is understandable that after receiving the first quantity of the first category of digital resources paid by the first device, the certificate issuer device will generate a minting request for the resource certificate and send the minting request to the node device.
[0141] S303: The node device generates a resource credential and sends the resource credential to the first device.
[0142] It is understood that after receiving the minting request, the node device will call the minting function of the resource certificate based on the resource certificate contract to generate a resource certificate; the node device sends the resource certificate to the first device. The resource certificate contract can refer to a smart contract for generating resource certificates.
[0143] S304: The first device sends the resource certificate and processing requirement information to the node device.
[0144] It is understood that the first device receives the resource voucher, indicating that the first quantity of the first category digital resource has been successfully purchased as a resource voucher; based on the resource voucher, it can be exchanged for a second quantity of the second category digital resource from the voucher issuer, where the second quantity is determined based on the first quantity and the current exchange rate between the first category digital resource and the second category digital resource. The first device sends the resource voucher and processing requirement information to the node device.
[0145] S305: Lock the resource certificate to the address of the resource locking contract on the blockchain, and generate unlocking conditions for the resource certificate based on the processing requirement information.
[0146] It is understood that after receiving the resource certificate sent by the first device, the node device can transfer the resource certificate to the resource locking contract and generate unlocking conditions for the resource certificate based on the processing requirement information received from the first device. Therefore, only when the unlocking conditions are met can the node device obtain the second quantity of the second category of digital resources from the certificate issuer device based on the resource certificate.
[0147] S306: Generate a business processing voucher for the target business according to the unlocking condition.
[0148] It is understandable that after receiving the unlocking conditions, the node device will call the casting function of the business processing certificate based on the business processing certificate contract according to the unlocking conditions to generate the business processing certificate of the target business.
[0149] S307: The node device sends the service processing certificate to the first device.
[0150] It is understandable that after the node device generates the service processing credential of the target service, it sends the service processing credential to the first device.
[0151] S308: The first device sends the service processing credential to the second device.
[0152] It is understood that when the first device sends the business processing credential to the second device, it indicates that the first device has delegated the target business to the second device for processing. Specifically, after the first device receives the business processing credential for the target business, the first device can send the business processing credential to the second device. After receiving the business processing credential, the second device can process the target business according to the unlocking conditions recorded in the business processing credential and generate processing proof information for the target business.
[0153] S309: The node device receives the business processing certificate and processing certification information.
[0154] It can be understood that after the second device completes processing the target business and generates processing proof information about the target business, the second device can send the business processing certificate and the processing proof information to the node device, and the node device can receive the business processing certificate and the processing proof information.
[0155] S310: Verify the relationship between the second device and the unlocking condition based on the received business processing credential and processing certification information to obtain a relationship verification result.
[0156] It is understandable that after the node device receives the business processing credentials and processing proof information sent by the second device, it can verify the validity of the received business processing credentials and processing proof information, thereby verifying the relationship between the second device and the unlocking condition and obtaining a relationship verification result.
[0157] S311: When the relationship verification result indicates that the second device meets the unlocking condition, unlock the resource credential from the address of the resource locking contract.
[0158] It can be understood that after the node device determines that the relationship verification result indicates that the second device meets the unlocking condition, it can unlock the resource certificate in the address of the resource locking contract, that is, the node device can transfer the resource certificate out of the resource locking contract address.
[0159] S312: The node device sends the resource certificate to the second device.
[0160] It is understandable that after the node device unlocks the resource certificate from the address of the resource locking contract, it sends the resource certificate to the second device.
[0161] S313: The second device sends the resource certificate to the certificate issuer device.
[0162] It is understood that after receiving the resource voucher, the second device may choose to retain the resource voucher or choose to obtain a second quantity of the second category digital resources based on the resource voucher. When the second device chooses to obtain the second quantity of the second category digital resources based on the resource voucher, the second device may send the resource voucher to the voucher issuer device.
[0163] S314: The certificate issuer device pays the second device a second amount of the second-category digital resource.
[0164] It can be understood that after the certificate issuer device receives the resource certificate, it exchanges the resource certificate for a second quantity of the second category digital resources based on the exchange ratio between the first category digital resources and the second category digital resources when the first device purchases the resource certificate from the certificate issuer, and transfers the second quantity of the second category digital resources to the account address of the second device.
[0165] In this application, the node device in the blockchain network can pre-lock the resource certificate of the business entrusting party in the address of the resource locking contract on the blockchain. The resource certificate is used to indicate that after the business service party completes the processing of the target business, the second amount of the second type of digital resources will be paid to the business service party. The resource certificate is purchased by the business entrusting party, which is equivalent to the business entrusting party having frozen (locked) the digital resources required for processing the target business in the address of the resource locking contract in advance. This can avoid the change in the exchange rate between the digital resources used by the business entrusting party and the business service party, causing asset losses to the business entrusting party or the business service party. In addition, the unlocking conditions of the resource certificate are generated according to the processing requirement information of the target business, and the business processing certificate for the target business is generated according to the unlocking conditions, and the business processing certificate is sent to the second device corresponding to the business service party. The business service provider processes the target business and generates processing certification information for the target business. Upon receiving the processing certification information and business processing voucher provided by the business service provider, the business service provider automatically verifies whether the unlocking conditions for the resource voucher are met based on the received business processing voucher and processing certification information. If the unlocking conditions are met, the resource voucher is unlocked, and the second category digital resource is paid to the business service provider based on the resource voucher and the second quantity of the second category digital resource. This allows for automated verification of the business service provider, eliminating the need for human intervention and improving business processing efficiency.
[0166] See Figure 5 , Figure 5 This is a schematic diagram of the structure of a business processing device provided in an embodiment of the present application. Figure 5 As shown, the service processing device may include:
[0167] A locking module 511 is configured to obtain processing requirement information for a target business to be processed by a first device, lock a resource voucher of the first device to the address of a resource locking contract on a blockchain, and generate unlocking conditions for the resource voucher based on the processing requirement information; the resource voucher is purchased by the first device from a voucher issuer using a first quantity of a first-category digital resource, and the resource voucher is used to pay a second quantity of a second-category digital resource to the second device after the second device completes the target business, where the second quantity is determined based on the first quantity and a current exchange rate between the first-category digital resource and the second-category digital resource;
[0168] A generating module 512 is configured to generate a business processing credential for the target business based on the unlocking condition, and send the business processing credential for the target business to the second device; the business processing credential for the target business is used to instruct the second device to process the target business and generate processing certification information for the target business;
[0169] a verification module 513 configured to, upon receiving the processing certification information and the business processing credential sent by the second device, verify the relationship between the second device and the unlocking condition based on the received business processing credential and the processing certification information, and obtain a relationship verification result;
[0170] The unlocking module 514 is used to unlock the resource certificate from the address of the resource locking contract when the relationship verification result indicates that the second device meets the unlocking condition, and control the certificate issuer to pay the second type of digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second type of digital resources.
[0171] In a possible implementation, the verification module 513 is further configured to perform the following operations:
[0172] Verify the validity of the received business processing credential according to the unlocking condition to obtain a first credential verification result;
[0173] determining, based on the unlocking condition and the processing certification information, an actual processing status of the second device for the target service;
[0174] A relationship verification result reflecting a relationship between the second device and the unlocking condition is generated according to the first credential verification result and the actual processing status.
[0175] In a possible implementation, the verification module 513 is further configured to perform the following operations:
[0176] Determining a degree of match between the unlocking condition of the resource credential and the unlocking condition recorded in the received business processing credential;
[0177] When the matching degree is greater than the matching degree threshold, determining that the received business processing certificate is valid;
[0178] A first credential verification result is generated to reflect that the received business processing credential is valid.
[0179] In a possible implementation, the verification module 513 is further configured to perform the following operations:
[0180] Determining the time at which the processing certification information sent by the second device is received as the actual completion time of the target business;
[0181] When the actual completion time does not exceed the restricted completion time and the processing certification information meets the processing quality requirement, it is determined that the actual processing status of the target business by the second device is processing completed.
[0182] In a possible implementation, the verification module 513 is further configured to perform the following operations:
[0183] When the first credential verification result indicates that the received business processing credential is valid and the actual processing status is processing completed, determining that the second device meets the unlocking condition;
[0184] A relationship verification result is generated to indicate that the second device satisfies the unlocking condition.
[0185] In a possible implementation, the unlocking module 514 is further configured to perform the following operations:
[0186] When the relationship verification result indicates that the second device meets the unlocking condition, sending a processing quality approval request for the target service to the first device; the processing quality approval request carries the received service processing voucher and the processing certification information;
[0187] When the approval message returned by the first device is received, the resource certificate in the resource locking contract address is unlocked through the resource locking contract.
[0188] In a possible implementation, the unlocking module 514 is further configured to perform the following operations:
[0189] When the received business processing voucher does not include a collateral ratio, the second quantity of the second type of digital resources is transferred from the account address of the voucher issuer to the account address corresponding to the second device; the collateral ratio is used to instruct the second device to pledge the third quantity of the second type of digital resources to a third device, the third device being a device that provides financing for the target business to the second device, and the ratio between the third quantity and the second quantity is the collateral ratio;
[0190] When the received business processing certificate includes a collateral ratio, transferring a fourth amount of the second-category digital resources from the account address of the certificate issuer to the account address corresponding to the second device; the fourth amount being the difference between the second amount and the third amount;
[0191] Destroy the received business processing certificate and return the resource certificate to the certificate issuer.
[0192] In a possible implementation, the generating module 512 is further configured to perform the following operations:
[0193] When receiving the financing application information regarding the target business sent by the second device, obtaining the mortgage ratio from the financing application information;
[0194] Based on the unlocking conditions and the mortgage ratio, a business processing voucher including the mortgage ratio is generated;
[0195] The business processing certificate including the above-mentioned mortgage ratio is sent to the above-mentioned second device.
[0196] In a possible implementation, the unlocking module 514 is further configured to perform the following operations:
[0197] Sending the business processing certificate including the mortgage ratio to the third device;
[0198] Upon receiving the service processing credential sent by the third device, verifying the validity of the service processing credential sent by the third device according to the unlocking condition, and obtaining a second credential verification result;
[0199] When the second credential verification result indicates that the business processing credential sent by the third device is valid, verifying the unlocking status of the resource credential;
[0200] When the unlocking status of the above-mentioned resource certificate is unlocked, the above-mentioned third quantity of the second-category digital resources is transferred from the account address of the above-mentioned certificate issuer to the account address corresponding to the above-mentioned third device, and the business processing certificate sent by the above-mentioned third device is destroyed.
[0201] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0202] In this application, the node device in the blockchain network can pre-lock the resource certificate of the business entrusting party in the address of the resource locking contract on the blockchain. The resource certificate is used to indicate that after the business service party completes the processing of the target business, the second amount of the second type of digital resources will be paid to the business service party. The resource certificate is purchased by the business entrusting party, which is equivalent to the business entrusting party having frozen (locked) the digital resources required for processing the target business in the address of the resource locking contract in advance. This can avoid the change in the exchange rate between the digital resources used by the business entrusting party and the business service party, causing asset losses to the business entrusting party or the business service party. In addition, the unlocking conditions of the resource certificate are generated according to the processing requirement information of the target business, and the business processing certificate for the target business is generated according to the unlocking conditions, and the business processing certificate is sent to the second device corresponding to the business service party. The business service provider processes the target business and generates processing certification information for the target business. Upon receiving the processing certification information and business processing voucher provided by the business service provider, the business service provider automatically verifies whether the unlocking conditions for the resource voucher are met based on the received business processing voucher and processing certification information. If the unlocking conditions are met, the resource voucher is unlocked, and the second category digital resource is paid to the business service provider based on the resource voucher and the second quantity of the second category digital resource. This allows for automated verification of the business service provider, eliminating the need for human intervention and improving business processing efficiency.
[0203] See Figure 6 , Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 6As shown, the above-mentioned computer device 600 may refer to a server or a terminal, including: a processor 601, a network interface 604 and a memory 605. In addition, the above-mentioned computer device 600 may also include: a user interface 603, and at least one communication bus 602. The communication bus 602 is used to realize the connection and communication between these components. In some embodiments, the user interface 603 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 603 may also include a standard wired interface and a wireless interface. The network interface 604 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 605 may be a high-speed RAM memory, or a non-volatile memory (non-volatile Memory), such as at least one disk storage. The memory 605 may optionally also be at least one storage device away from the aforementioned processor 601. As Figure 6 As shown, the memory 605 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a computer program.
[0204] exist Figure 6 In the computer device 600 shown, the network interface 604 can provide network communication functions; the user interface 603 is mainly used to provide an input interface; and the processor 601 can be used to call the computer program stored in the memory 605 to execute:
[0205] Obtaining processing requirement information for a target business to be processed on a first device, locking a resource voucher of the first device to the address of a resource locking contract on a blockchain, and generating unlocking conditions for the resource voucher based on the processing requirement information; the resource voucher is purchased by the first device from a voucher issuer using a first quantity of a first-category digital resource, and the resource voucher is used to pay a second quantity of a second-category digital resource to the second device after the second device completes the target business, where the second quantity is determined based on the first quantity and a current exchange rate between the first-category digital resource and the second-category digital resource;
[0206] generating a business processing credential for the target business based on the unlocking condition, and sending the business processing credential for the target business to the second device; the business processing credential for the target business is used to instruct the second device to process the target business and generate processing certification information for the target business;
[0207] Upon receiving the processing certification information and the business processing credential sent by the second device, verifying the relationship between the second device and the unlocking condition based on the received business processing credential and the processing certification information to obtain a relationship verification result;
[0208] When the relationship verification result indicates that the second device meets the unlocking condition, the resource certificate is unlocked from the address of the resource locking contract, and the certificate issuer is controlled to pay the second-category digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second-category digital resources.
[0209] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0210] Verify the validity of the received business processing credential according to the unlocking condition to obtain a first credential verification result;
[0211] determining, based on the unlocking condition and the processing certification information, an actual processing status of the second device for the target service;
[0212] A relationship verification result reflecting a relationship between the second device and the unlocking condition is generated according to the first credential verification result and the actual processing status.
[0213] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0214] Determining a degree of match between the unlocking condition of the resource credential and the unlocking condition recorded in the received business processing credential;
[0215] When the matching degree is greater than the matching degree threshold, determining that the received business processing certificate is valid;
[0216] A first credential verification result is generated to reflect that the received business processing credential is valid.
[0217] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0218] Determining the time at which the processing certification information sent by the second device is received as the actual completion time of the target business;
[0219] When the actual completion time does not exceed the restricted completion time and the processing certification information meets the processing quality requirement, it is determined that the actual processing status of the target business by the second device is processing completed.
[0220] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0221] When the first credential verification result indicates that the received business processing credential is valid and the actual processing status is processing completed, determining that the second device meets the unlocking condition;
[0222] A relationship verification result is generated to indicate that the second device satisfies the unlocking condition.
[0223] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0224] When the relationship verification result indicates that the second device meets the unlocking condition, sending a processing quality approval request for the target service to the first device; the processing quality approval request carries the received service processing voucher and the processing certification information;
[0225] When the approval message returned by the first device is received, the resource certificate in the resource locking contract address is unlocked through the resource locking contract.
[0226] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0227] When the received business processing voucher does not include a collateral ratio, the second quantity of the second type of digital resources is transferred from the account address of the voucher issuer to the account address corresponding to the second device; the collateral ratio is used to instruct the second device to pledge the third quantity of the second type of digital resources to a third device, the third device being a device that provides financing for the target business to the second device, and the ratio between the third quantity and the second quantity is the collateral ratio;
[0228] When the received business processing certificate includes a collateral ratio, transferring a fourth amount of the second-category digital resources from the account address of the certificate issuer to the account address corresponding to the second device; the fourth amount being the difference between the second amount and the third amount;
[0229] Destroy the received business processing certificate and return the resource certificate to the certificate issuer.
[0230] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0231] When receiving the financing application information regarding the target business sent by the second device, obtaining the mortgage ratio from the financing application information;
[0232] Based on the unlocking conditions and the mortgage ratio, a business processing voucher including the mortgage ratio is generated;
[0233] The business processing certificate including the above-mentioned mortgage ratio is sent to the above-mentioned second device.
[0234] In a possible implementation, the processor 601 may be configured to call a computer program stored in the memory 605 to execute:
[0235] Sending the business processing certificate including the mortgage ratio to the third device;
[0236] Upon receiving the service processing credential sent by the third device, verifying the validity of the service processing credential sent by the third device according to the unlocking condition, and obtaining a second credential verification result;
[0237] When the second credential verification result indicates that the business processing credential sent by the third device is valid, verifying the unlocking status of the resource credential;
[0238] When the unlocking status of the above-mentioned resource certificate is unlocked, the above-mentioned third quantity of the second-category digital resources is transferred from the account address of the above-mentioned certificate issuer to the account address corresponding to the above-mentioned third device, and the business processing certificate sent by the above-mentioned third device is destroyed.
[0239] In this application, the node device in the blockchain network can pre-lock the resource certificate of the business entrusting party in the address of the resource locking contract on the blockchain. The resource certificate is used to indicate that after the business service party completes the processing of the target business, the second amount of the second type of digital resources will be paid to the business service party. The resource certificate is purchased by the business entrusting party, which is equivalent to the business entrusting party having frozen (locked) the digital resources required for processing the target business in the address of the resource locking contract in advance. This can avoid the change in the exchange rate between the digital resources used by the business entrusting party and the business service party, causing asset losses to the business entrusting party or the business service party. In addition, the unlocking conditions of the resource certificate are generated according to the processing requirement information of the target business, and the business processing certificate for the target business is generated according to the unlocking conditions, and the business processing certificate is sent to the second device corresponding to the business service party. The business service provider processes the target business and generates processing certification information for the target business. Upon receiving the processing certification information and business processing voucher provided by the business service provider, the business service provider automatically verifies whether the unlocking conditions for the resource voucher are met based on the received business processing voucher and processing certification information. If the unlocking conditions are met, the resource voucher is unlocked, and the second category digital resource is paid to the business service provider based on the resource voucher and the second quantity of the second category digital resource. This allows for automated verification of the business service provider, eliminating the need for human intervention and improving business processing efficiency.
[0240] In addition, it should be noted that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the aforementioned data processing device, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the description of the data processing method in the corresponding embodiment above. Therefore, it will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0241] As an example, the above program instructions may be deployed on a computer device for execution, or deployed on at least two computer devices at one location for execution, or executed on at least two computer devices distributed at at least two locations and interconnected via a communication network. The at least two computer devices distributed at at least two locations and interconnected via a communication network may constitute a blockchain network.
[0242] The computer-readable storage medium may be the data processing device provided in any of the aforementioned embodiments or the central storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SMART Media card, SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Furthermore, the computer-readable storage medium may include both the central storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0243] The terms "first," "second," and the like in the description, claims, and drawings of the embodiments of the present application are used to distinguish between contents in different media, rather than to describe a specific order. In addition, the terms "including" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules that are not listed, or may optionally include other steps and units inherent to these processes, methods, apparatuses, products, or devices.
[0244] The collection and processing of the relevant data in this application should be strictly in accordance with the requirements of relevant laws and regulations when applied in practice, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.
[0245] The present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the data processing method and decoding method described in the corresponding embodiments above are implemented. Therefore, they will not be described in detail here. In addition, the description of the beneficial effects of using the same method will not be repeated. For technical details not disclosed in the embodiments of the computer program product involved in this application, please refer to the description of the method embodiments of this application.
[0246] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0247] The methods and related devices provided by the embodiments of the present application are described with reference to the method flow charts and / or structural diagrams provided by the embodiments of the present application. Specifically, each process and / or block in the method flow charts and / or structural diagrams, as well as the combination of processes and / or blocks in the flow charts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable network-connected device to generate a machine, so that the instructions executed by the processor of the computer or other programmable network-connected device generate instructions for implementing the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable network-connected device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function specified in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable network connected device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide the functions for implementing the process. Figure 1 The flow or flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.
[0248] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A business processing method, characterized in that: include: Obtaining processing requirement information of a target business to be processed in a first device, locking a resource voucher of the first device to the address of a resource locking contract on a blockchain, and generating unlocking conditions for the resource voucher based on the processing requirement information; the resource voucher is purchased by the first device from a voucher issuer using a first quantity of a first-category digital resource, and the resource voucher is used to pay a second quantity of a second-category digital resource to the second device after the second device completes the target business, where the second quantity is determined based on the first quantity and a current exchange rate between the first-category digital resource and the second-category digital resource; generating a business processing credential for the target business according to the unlocking condition, and sending the business processing credential for the target business to the second device; the business processing credential for the target business is used to instruct the second device to process the target business and generate processing certification information for the target business; Upon receiving the processing certification information and the business processing credential sent by the second device, verifying the relationship between the second device and the unlocking condition based on the received business processing credential and the processing certification information to obtain a relationship verification result; When the relationship verification result indicates that the second device meets the unlocking condition, the resource certificate is unlocked from the address of the resource locking contract, and the certificate issuer is controlled to pay the second type of digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second type of digital resources.
2. The method according to claim 1, characterized in that The verifying, based on the received business processing credential and the processing certification information, the relationship between the second device and the unlocking condition to obtain a relationship verification result, includes: Verifying the validity of the received business processing credential according to the unlocking condition to obtain a first credential verification result; determining, based on the unlocking condition and the processing certification information, an actual processing status of the target service by the second device; A relationship verification result corresponding to a relationship between the second device and the unlocking condition is generated according to the first credential verification result and the actual processing status.
3. The method according to claim 2, characterized in that The step of verifying the validity of the received business processing credential according to the unlocking condition to obtain a first credential verification result includes: Determining a degree of match between the unlocking condition of the resource credential and the unlocking condition recorded in the received business processing credential; When the matching degree is greater than a matching degree threshold, determining that the received business processing credential is valid; A first credential verification result is generated to reflect that the received business processing credential is valid.
4. The method according to claim 2, characterized in that The unlocking condition includes the target business's completion time limit and processing quality requirements; The determining, based on the unlocking condition and the processing certification information, an actual processing status of the target service by the second device includes: determining the time at which the processing proof information sent by the second device is received as the actual completion time of the target business; When the actual completion time does not exceed the limited completion time and the processing certification information meets the processing quality requirement, it is determined that the actual processing status of the target business by the second device is processing completed.
5. The method according to claim 2, characterized in that The generating, according to the first credential verification result and the actual processing status, a relationship verification result reflecting a relationship between the second device and the unlocking condition includes: When the first credential verification result reflects that the received business processing credential is valid and the actual processing status is processing completed, determining that the second device meets the unlocking condition; A relationship verification result is generated to indicate that the second device satisfies the unlocking condition.
6. The method according to claim 1, characterized in that When the relationship verification result indicates that the second device satisfies the unlocking condition, unlocking the resource credential from the address of the resource locking contract includes: When the relationship verification result indicates that the second device meets the unlocking condition, sending a processing quality approval request for the target service to the first device; the processing quality approval request carries the received service processing credential and the processing certification information; When the approval message returned by the first device is received, the resource certificate in the resource locking contract address is unlocked through the resource locking contract.
7. The method according to claim 1, characterized in that The controlling the voucher issuer to pay the second type of digital resources to the second device according to the resource voucher, the received business processing voucher, and the second amount of the second type of digital resources includes: When the received business processing voucher does not include a collateral ratio, transferring the second quantity of the second category digital resources from the account address of the voucher issuer to the account address corresponding to the second device; the collateral ratio is used to instruct the second device to pledge the third quantity of the second category digital resources to a third device, the third device being a device that provides financing for the target business to the second device, and the ratio between the third quantity and the second quantity is the collateral ratio; When the received business processing certificate includes a mortgage ratio, transferring a fourth amount of the second type of digital resources from the account address of the certificate issuer to the account address corresponding to the second device; the fourth amount is the difference between the second amount and the third amount; The received business processing certificate is destroyed, and the resource certificate is returned to the certificate issuer.
8. The method according to claim 7, characterized in that The generating, according to the unlocking condition, a business processing credential of the target business, and sending the business processing credential of the target business to the second device includes: When receiving the financing application information about the target business sent by the second device, obtaining the mortgage ratio from the financing application information; generating a business processing voucher including the mortgage ratio according to the unlocking condition and the mortgage ratio; The business processing certificate including the mortgage ratio is sent to the second device.
9. The method according to claim 8, characterized in that The method further comprises: Sending the business processing certificate including the mortgage ratio to the third device; When receiving the business processing credential sent by the third device, verifying the validity of the business processing credential sent by the third device according to the unlocking condition to obtain a second credential verification result; When the second credential verification result indicates that the business processing credential sent by the third device is valid, verifying the unlocking state of the resource credential; When the unlocking status of the resource certificate is unlocked, the third quantity of the second type of digital resources is transferred from the account address of the certificate issuer to the account address corresponding to the third device, and the business processing certificate sent by the third device is destroyed.
10. A business processing device, characterized in that: include: a locking module, configured to obtain processing requirement information of a target business to be processed in a first device, lock a resource voucher of the first device to the address of a resource locking contract on a blockchain, and generate unlocking conditions for the resource voucher based on the processing requirement information; the resource voucher is purchased by the first device from a voucher issuer using a first quantity of a first-category digital resource, and the resource voucher is used to pay a second quantity of a second-category digital resource to the second device after the second device completes the target business, the second quantity being determined based on the first quantity and a current exchange rate between the first-category digital resource and the second-category digital resource; a generating module, configured to generate a business processing credential for the target business according to the unlocking condition, and send the business processing credential for the target business to the second device; the business processing credential for the target business is used to instruct the second device to process the target business and generate processing certification information for the target business; a verification module, configured to, upon receiving the processing certification information and the business processing credential sent by the second device, verify the relationship between the second device and the unlocking condition based on the received business processing credential and the processing certification information, and obtain a relationship verification result; An unlocking module is used to unlock the resource certificate from the address of the resource locking contract when the relationship verification result indicates that the second device meets the unlocking condition, and control the certificate issuer to pay the second type of digital resources to the second device based on the resource certificate, the received business processing certificate, and the second quantity of the second type of digital resources.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
12. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are performed.
13. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.