Digital resource interaction processing method, system, device and equipment based on block chain
Through the blockchain-based digital resource interaction processing method, the problem of centralized risk of digital asset interaction in the existing technology is solved, decentralized digital resource interaction is realized, and the security performance of interactive services is improved.
Patent Information
- Application Number
- CN202311269867.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, there is a centralized risk of digital asset interaction and transfer through third-party interaction platforms. Asset interaction services may be maliciously rejected or digital assets may be interacted at low prices, and the interaction is low.
The blockchain-based digital resource interaction processing method is adopted to receive requests from resource interaction parties, generate candidate interaction services, and call the interactive service execution contract deployed by the blockchain to perform resource interaction category checksum quota verification, realizing decentralized digital resource interaction.
There is no need to rely on third-party interaction platforms, so that both parties to the resource interaction can hold their own digital resources throughout the process, avoid centralized risks, and improve the security performance of interactive business processing of digital assets or digital resources.
Smart Images

Figure CN119722301A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a blockchain-based digital resource interaction processing method, system, device, computer equipment, storage medium and computer program product. Background Art
[0002] With the development of computer technology and the gradual promotion and use of Internet financial applications, more and more users are using online methods to transfer or interact with digital assets and digital resources to enhance the liquidity and financial value of digital assets or digital resources. When transferring or interacting with data assets online, in order to protect the asset security of each digital asset holder involved in the interaction, it is necessary to digitize the assets, ensure their authenticity and trustworthiness in the digital space, and ensure asset security and traceability during the asset interaction and transfer process.
[0003] In traditional technologies, different users of digital assets or digital resources usually need to rely on third-party interaction platforms to achieve asset interaction and transfer. Among them, different users of digital assets or digital resources need to submit their digital assets to the third-party interaction platform. The third-party interaction platform sets unified interaction rules for each digital asset to be interacted according to the asset interaction rules set by the platform itself, and conducts centralized digital asset interaction business matching and settlement to complete the digital asset interaction between different users.
[0004] However, the current method of interacting and transferring digital assets through third-party interactive platforms requires the third-party interactive platform to complete the entire digital asset interaction processing. It is too dependent on the third-party interactive platform. The data asset interaction rules set by the third-party interactive platform are single and cannot meet the actual application needs. It is easy to have centralized risks such as malicious rejection of asset interaction services or low-price exchanges of digital assets. There is still the problem of low interaction security of digital assets or digital resources. Summary of the invention
[0005] Based on this, it is necessary to provide a blockchain-based digital resource interaction processing method, system, device, computer equipment, computer-readable storage medium and computer program product that can improve the security performance of digital assets or digital resources in the process of interactive business processing in response to the above-mentioned technical problems.
[0006] In a first aspect, the present application provides a digital resource interaction processing method based on blockchain, comprising:
[0007] Receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange volume information, and a first resource contract address carried in the digital resource interaction request;
[0008] Generate candidate interactive services based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried therein;
[0009] If a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected, obtaining a second resource contract address corresponding to the second resource interaction party;
[0010] Calling the interactive business execution contract deployed on the blockchain, and performing resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address;
[0011] If the verification is passed, the interactive service execution contract is called, and digital resource interaction processing is performed based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
[0012] In the second aspect, the present application also provides a blockchain-based digital resource interaction processing system, including: a first resource interaction party, a second resource interaction party, and an interaction business processing node; wherein:
[0013] The first resource interaction party is used to initiate a digital resource interaction request;
[0014] The interactive service processing node is used to: receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange quantity information and a first resource contract address carried by the digital resource interaction request; generate each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange quantity information carried by the digital resource interaction request;
[0015] The second resource interaction party is used to trigger a selected operation triggered for the candidate interaction service;
[0016] The interactive business processing node is also used to: if a selection operation triggered by the second resource interaction party based on the candidate interactive business is detected, obtain the second resource contract address corresponding to the second resource interaction party; call the interactive business execution contract deployed by the blockchain, and perform resource interaction category verification and resource interaction amount verification based on the first resource contract address and the second resource contract address; if the verification passes, call the interactive business execution contract, and perform digital resource interaction processing based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
[0017] In a third aspect, the present application also provides a digital resource interaction processing device based on blockchain, comprising:
[0018] A digital resource interaction request receiving module, configured to receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange quantity information, and a first resource contract address carried in the digital resource interaction request;
[0019] A candidate interactive service generation module, configured to generate each candidate interactive service based on each digital resource interactive request and the resource interactive category information and resource exchange volume information carried therein;
[0020] A second resource contract address acquisition module is used to acquire a second resource contract address corresponding to the second resource interaction party if a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected;
[0021] A verification module, used to call the interactive business execution contract deployed on the blockchain, and perform resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address;
[0022] The resource interaction processing module is used to call the interactive service execution contract if the verification is passed, and perform digital resource interaction processing based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
[0023] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0024] Receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange volume information, and a first resource contract address carried in the digital resource interaction request;
[0025] Generate candidate interactive services based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried therein;
[0026] If a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected, obtaining a second resource contract address corresponding to the second resource interaction party;
[0027] Calling the interactive business execution contract deployed on the blockchain, and performing resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address;
[0028] If the verification is passed, the interactive service execution contract is called, and digital resource interaction processing is performed based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
[0029] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0030] Receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange volume information, and a first resource contract address carried in the digital resource interaction request;
[0031] Generate candidate interactive services based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried therein;
[0032] If a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected, obtaining a second resource contract address corresponding to the second resource interaction party;
[0033] Calling the interactive business execution contract deployed on the blockchain, and performing resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address;
[0034] If the verification is passed, the interactive service execution contract is called, and digital resource interaction processing is performed based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
[0035] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0036] Receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange volume information, and a first resource contract address carried in the digital resource interaction request;
[0037] Generate candidate interactive services based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried therein;
[0038] If a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected, obtaining a second resource contract address corresponding to the second resource interaction party;
[0039] Calling the interactive business execution contract deployed on the blockchain, and performing resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address;
[0040] If the verification is passed, the interactive service execution contract is called, and digital resource interaction processing is performed based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
[0041] In the above-mentioned blockchain-based digital resource interaction processing method, system, device, computer equipment, storage medium and computer program product, by obtaining the resource interaction category information, resource exchange volume information and first resource contract address carried by the digital resource interaction request initiated by the first resource interaction party, and based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by it, each candidate interaction service is generated. Furthermore, if a selected operation triggered by the second resource interaction party based on the candidate interaction service is detected, the second resource contract address corresponding to the second resource interaction party is obtained, and the interaction service execution contract deployed by the blockchain is called, and the resource interaction category verification and resource interaction quota verification are performed based on the first resource contract address and the second resource contract address. Among them, if the verification passes, the interactive business execution contract is called, and the digital resource interaction processing is realized based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and resource exchange volume information. Since there is no need to rely on a third-party interaction platform, the two parties to the resource interaction can hold their own digital resources throughout the interaction process, and decentralized digital resource interaction can be realized, avoiding centralized risks such as malicious rejection of asset interaction services or low-price exchanges of digital assets, further improving the security performance of digital assets or digital resources in the process of interactive business processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A schematic diagram of the structure of a data sharing system in one embodiment;
[0044] Figure 2 A schematic diagram of the structure of a blockchain in one embodiment;
[0045] Figure 3 Schematic diagram of a process of generating a new block in one embodiment;
[0046] Figure 4 This is an application environment diagram of a digital resource interaction processing method based on blockchain in one embodiment;
[0047] Figure 5A flowchart of a digital resource interaction processing method based on blockchain in one embodiment;
[0048] Figure 6 A flowchart of a digital resource interaction processing method based on blockchain in another embodiment;
[0049] Figure 7 A flowchart of a digital resource interaction processing method based on blockchain in another embodiment;
[0050] Figure 8 A timing diagram of a digital resource interaction processing method based on blockchain in one embodiment;
[0051] Fig. 9 This is a schematic diagram of the architecture of a digital resource interaction processing system based on blockchain in one embodiment;
[0052] Fig.10 A schematic diagram of a process of performing digital resource interaction processing using a blockchain-based digital resource interaction processing system in one embodiment;
[0053] Fig.11 A schematic diagram of a process of updating resource interaction category information by a blockchain-based digital resource interaction processing system in one embodiment;
[0054] Fig.12 It is a structural block diagram of a digital resource interaction processing device based on blockchain in one embodiment;
[0055] Fig.13 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] Before going into detail, some terms involved in this application are explained first.
[0058] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0059] The underlying blockchain platform can include processing modules such as user management, basic services, smart contracts, and operation monitoring. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining public and private key generation (account management), key management, and the maintenance of the correspondence between the user's real identity and the blockchain address (authority management), etc., and, under authorization, supervises and audits the transactions of certain real identities and provides risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records valid requests to storage after consensus is reached. For a new business request, the basic service first adapts the interface for parsing and authentication (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management). The smart contract module is responsible for the registration and issuance of contracts, contract triggering and contract execution. Developers can define the contract logic in a programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, the key or other events are called to trigger the execution and complete the contract logic. It also provides the function of contract upgrade and cancellation. The operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation and real-time status visualization output of the product during the product release process, such as alarm, monitoring network status, monitoring node equipment health status, etc. The platform product service layer provides the basic capabilities and implementation framework of typical applications. Developers can complete the blockchain implementation of business logic based on these basic capabilities and superimpose business characteristics. The application service layer provides application services based on blockchain solutions for business participants to use.
[0060] The resource interaction risk data processing method based on blockchain provided in the embodiments of the present application specifically relates to blockchain technology and can be applied to data sharing systems. Figure 1 The data sharing system shown, the data sharing system 100 refers to a system for sharing data between nodes, and the data sharing system may include multiple nodes 101, and the multiple nodes 101 may refer to each client in the data sharing system. Each node 101 can receive input information when performing normal work, and maintain the shared data in the data sharing system based on the received input information. In order to ensure the information intercommunication within the data sharing system, there may be an information connection between each node in the data sharing system, and information can be transmitted between nodes through the above information connection. For example, when any node in the data sharing system receives input information, other nodes in the data sharing system obtain the input information according to the consensus algorithm, and store the input information as data in the shared data, so that the data stored on all nodes in the data sharing system are consistent.
[0061] Each node in the data sharing system has a corresponding node identifier, and each node in the data sharing system can store the node identifiers of other nodes in the data sharing system, so that the generated blocks can be broadcast to other nodes in the data sharing system according to the node identifiers of other nodes. Each node can maintain a node identifier list as shown in the following table, and store the node name and node identifier in the node identifier list accordingly. The node identifier can be an IP (Internet Protocol, a protocol for interconnecting networks) address and any other information that can be used to identify the node.
[0062] Each node in the data sharing system stores the same blockchain. The blockchain consists of multiple blocks, see Figure 2 The blockchain consists of multiple blocks. The genesis block includes a block header and a block body. The block header stores the input information characteristic value, version number, timestamp and difficulty value, and the block body stores the input information; the next block of the genesis block takes the genesis block as the parent block, and the next block also includes a block header and a block body. The block header stores the input information characteristic value of the current block, the block header characteristic value, version number, timestamp and difficulty value of the parent block, and so on, so that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, ensuring the security of the input information in the block.
[0063] The specific types of blockchain include public chain, private chain and consortium chain. Among them, public chain (Public Blockchain) is a public blockchain, and the access and writing permissions are open to everyone. Private chain (Private Blockchain) is a private blockchain, and the access and writing permissions are only controlled by a certain organization or institution. Consortium Blockchain is the blockchain of an institutional alliance, and the access and writing permissions are only open to nodes that join the alliance. The difference between different types of blockchains lies in the access and writing permissions, as well as the degree of decentralization.
[0064] Specifically, when generating each block in the blockchain, see Figure 3, including steps such as submitting transactions, broadcasting transactions, pre-executing transactions, proposing blocks, verifying blocks, consensus voting and submitting blocks. Specifically, the client submits a blockchain transaction, such as contract creation, calling transactions, certificate management transactions, etc. Then, the transaction is broadcast to other nodes in the alliance through the network. Then, the block-producing node selects a batch of transactions from the transaction pool, schedules and executes them in parallel to obtain the results, generates a directed acyclic graph, and broadcasts the generated blocks and directed acyclic graphs to other consensus nodes through the consensus module. In the process of verifying the block, the proposal block is received, the transaction is executed in parallel based on the directed acyclic graph, and the results are verified to be consistent. If the results are consistent, a consensus vote is performed on the proposal block based on the corresponding consensus mechanism. The block that completes the consensus vote is submitted to the ledger to complete the disk operation.
[0065] The blockchain-based digital resource interaction processing method provided in the embodiments of the present application can be applied to Figure 4 In the application environment shown. The application environment includes a first resource interaction party 402, a second resource interaction party 404 and an interaction service processing node 406. Among them, the first resource interaction party 402 is used to initiate a digital resource interaction request, and the interaction service processing node 406 is used to receive the digital resource interaction request initiated by the first resource interaction party 402, obtain the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request, and generate each candidate interaction service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by the digital resource interaction request, and the second resource interaction party 404 is used to trigger the selected operation triggered for the candidate interaction service.
[0066] Furthermore, if the interactive service processing node 406 detects the selected operation triggered by the second resource interactive party based on the candidate interactive service, the second resource contract address corresponding to the second resource interactive party is obtained, and the interactive service execution contract deployed by the blockchain is called to perform resource interaction category verification and resource interaction amount verification based on the first resource contract address and the second resource contract address. If the verification passes, the interactive service processing node 406 calls the interactive service execution contract, and performs digital resource interaction processing based on the first resource interactive party 402 and the second resource interactive party 404 according to the resource interaction category information and the resource exchange amount information.
[0067] Among them, the first resource interaction party 402, the second resource interaction party 404 and the interactive service processing node 406 can all be implemented through a terminal or a server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be implemented with an independent server or a server cluster composed of multiple servers. The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.
[0068] In an exemplary embodiment, Figure 5 As shown, a digital resource interaction processing method based on blockchain is provided, and the method is applied to Figure 1 The interactive service processing node in FIG. 1 is taken as an example to illustrate, including the following steps S502 to S510. Among them:
[0069] Step S502: receiving a digital resource interaction request initiated by a first resource interaction party, and obtaining resource interaction category information, resource exchange volume information and a first resource contract address carried in the digital resource interaction request.
[0070] Among them, the first resource interaction party represents the blockchain node where the user object that initiates the digital resource interaction request is located, and the digital resource interaction request represents the request initiated by the first resource interaction party to convert the digital resources it holds into other digital resources.
[0071] Resource interaction category information includes the first target interaction category corresponding to the first resource interaction party and the second target interaction category corresponding to the second resource interaction party involved in the digital resource interaction process. The first target interaction category represents the resource category of the digital resources corresponding to the first resource interaction party and involved in the current interactive business, the second resource interaction party represents the blockchain node where another user object that interacts with the first resource interaction party for digital resources during the digital resource interaction process is located, and the second target interaction category represents the resource category of the digital resources corresponding to the second resource interaction party and involved in the current interactive business.
[0072] The resource exchange amount information includes a first target exchange amount corresponding to the first resource interaction party and a second target exchange amount corresponding to the second resource interaction party involved in the digital resource interaction process. The first target exchange amount represents the amount of resources to be exchanged in the current interactive service corresponding to the first resource interaction party, and the second target exchange amount represents the amount of resources to be exchanged in the current interactive service corresponding to the second resource interaction party.
[0073] The first resource contract address represents the contract address corresponding to each digital resource held by the first resource interaction party, which includes the first candidate resource interaction category corresponding to each digital resource held by the first resource interaction party, and the first digital resource quantity corresponding to each first candidate resource interaction category.
[0074] Specifically, the interactive service processing node receives a digital resource interaction request initiated by the first resource interaction party and parses the digital resource interaction request to obtain resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request.
[0075] Among them, the digital resource interaction request also carries the interaction deadline corresponding to the current interactive service. The interaction deadline can be set according to actual needs and can be understood as the latest processing time for the current interactive service. That is, if the interaction deadline is reached, the current interactive service will be invalid.
[0076] Step S504: Generate candidate interactive services based on each digital resource interactive request and the resource interactive category information and resource exchange volume information carried therein.
[0077] Specifically, after receiving the digital resource interaction request and obtaining the resource interaction category information and resource exchange volume information carried by the digital resource interaction request, the interactive service processing node generates each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by the digital resource interaction request.
[0078] Among them, each candidate interaction service can be understood as each resource interaction service to be processed, which includes resource interaction category information carried by the digital resource interaction request and resource exchange quantity information. It can be understood that for each candidate interaction service, the resource category of the digital resources to be exchanged held by the first resource interaction party that initiates the corresponding digital resource interaction request and the specific resource quantity to be exchanged under the resource category can be determined.
[0079] Step S506: if a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected, a second resource contract address corresponding to the second resource interaction party is obtained.
[0080] Among them, the second resource interaction party represents the blockchain node where another user object that interacts with the first resource interaction party for digital resources is located during the digital resource interaction processing, and the second resource contract address corresponding to the second resource interaction party represents the contract address corresponding to each digital resource held by the second resource interaction party, which includes the second candidate resource interaction categories corresponding to each digital resource held by the second resource interaction party, and the second digital resource quantity corresponding to each second candidate resource interaction category.
[0081] Specifically, after the interactive service processing node generates each candidate interactive service, it calls the off-chain proxy service node to update the corresponding resource interaction information according to each candidate interactive service, and obtains each updated resource interaction information, that is, each updated resource interaction information respectively carries each candidate interactive service included in it, and displays each updated resource interaction information to the second resource interaction party, and detects the selection operation triggered by the second resource interaction party based on the displayed candidate interactive services.
[0082] Furthermore, when a selection operation triggered by a candidate interaction service is detected by the second resource interaction party, that is, when it is determined that the second resource interaction party has selected a candidate interaction service, the second resource contract address corresponding to the second resource interaction party is obtained, and based on the second candidate resource interaction categories corresponding to each digital resource held by the second resource interaction party included in the second resource contract address, and the second digital resource quantities corresponding to each second candidate resource interaction category, further verification is performed to determine whether the second resource interaction party meets the resource interaction conditions.
[0083] Similarly, before executing the digital resource interaction processing, it is also necessary to further verify the first candidate resource interaction categories corresponding to each digital resource held by the first resource interaction party included in the first resource contract address, and the first digital resource quantity corresponding to each first candidate resource interaction category to determine whether the first resource interaction party meets the resource interaction conditions.
[0084] Step S508, calling the interactive business execution contract deployed on the blockchain, and performing resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address.
[0085] Among them, the blockchain is deployed with an interactive business execution contract. By calling the interactive business execution contract, the first candidate resource interaction category corresponding to each digital resource held by the first resource interaction party included in the first resource contract address, and the first digital resource quantity corresponding to each first candidate resource interaction category can be verified by resource interaction category verification and resource interaction amount verification respectively.
[0086] Similarly, by calling the interactive business execution contract, the second candidate resource interaction categories corresponding to each digital resource held by the second resource interaction party included in the second resource contract address, and the second digital resource quantities corresponding to each second candidate resource interaction category, can be checked for resource interaction categories and resource interaction quotas.
[0087] Specifically, the interactive business processing node obtains each first candidate resource interaction category in the first resource contract address and the first digital resource amount corresponding to each first candidate resource interaction category by calling the interactive business execution contract deployed by the blockchain, and obtains each second candidate resource interaction category in the second resource contract address and the second digital resource amount corresponding to each second candidate resource interaction category.
[0088] Furthermore, the interactive service processing node performs resource interaction category verification based on each first candidate resource interaction category and each second candidate resource interaction category, and when the resource interaction category verification passes, further performs resource interaction amount verification based on the first digital resource amount corresponding to the first candidate resource interaction category that passes the verification and the second digital resource amount corresponding to the second candidate resource interaction category that passes the verification.
[0089] In an exemplary embodiment, performing resource interaction category verification based on each first candidate resource interaction category and each second candidate resource interaction category includes:
[0090] According to the resource interaction category information, a first target interaction category corresponding to the first resource interaction party and a second target interaction category corresponding to the second resource interaction party involved in the interactive business are determined; based on the first target interaction category, a resource interaction category check is performed on each first candidate resource interaction category to determine whether there is a first candidate resource interaction category that successfully matches the first target interaction category; according to the second target interaction category, a resource interaction category check is performed on each second candidate resource interaction category to determine whether there is a second candidate resource interaction category that successfully matches the second target interaction category.
[0091] The first candidate resource interaction category represents the resource category of each digital resource held by the first resource interaction party, and the first target interaction category represents the resource category of the digital resource corresponding to the first resource interaction party and involved in the current interaction business. Similarly, the second candidate resource interaction category represents the resource category of each digital resource held by the second resource interaction party, and the second target interaction category represents the resource category of the digital resource corresponding to the second resource interaction party and involved in the current interaction business.
[0092] Specifically, when the interactive service processing node performs resource interaction category verification on each first candidate resource interaction category based on the first target interaction category, it specifically determines whether there is a first candidate resource interaction category that successfully matches the first target interaction category, that is, it determines whether the first resource interaction party actually holds the resource category that needs to be exchanged.
[0093] Similarly, when the interactive service processing node performs resource interaction category verification on each second candidate resource interaction category according to the second target interaction category, it specifically determines whether there is a second candidate resource interaction category that successfully matches the second target interaction category, that is, it determines whether the second resource interaction party actually holds the resource category that needs to be exchanged.
[0094] In an exemplary embodiment, based on the first digital resource amount corresponding to the verified first candidate resource interaction category and the second digital resource amount corresponding to the verified second candidate resource interaction category, performing resource interaction quota verification includes:
[0095] According to the resource exchange volume information, determine the first target exchange volume corresponding to the first resource interaction party and the second target exchange volume corresponding to the second resource interaction party involved in the interactive service; based on the first target exchange volume, perform a resource interaction quota check on the first digital resource volume corresponding to the first candidate resource interaction category that has passed the verification, and determine whether the first digital resource volume meets the first target exchange volume; according to the second target exchange volume, perform a resource interaction quota check on the second digital resource volume corresponding to the second candidate resource interaction category that has passed the verification, and determine whether the second digital resource volume meets the second target exchange volume.
[0096] The first digital resource amount indicates the specific resource amount corresponding to the first candidate resource interaction category that has passed the verification, and the first target exchange amount indicates the resource amount corresponding to the first resource interaction party and to be exchanged in the current interactive service. Similarly, the second digital resource amount indicates the specific resource amount corresponding to the second candidate resource interaction category that has passed the verification, and the second target exchange amount indicates the resource amount corresponding to the second resource interaction party and to be exchanged in the current interactive service.
[0097] Specifically, when the interactive service processing node performs resource interaction quota verification on the first digital resource amount corresponding to the first candidate resource interaction category that has passed the verification based on the first target exchange amount, it specifically determines whether the first digital resource amount meets the first target exchange amount, that is, determines whether the first digital resource amount is sufficient to support the execution of the current interactive service.
[0098] Similarly, when the interactive service processing node performs resource interaction quota verification on the second digital resource amount corresponding to the verified second candidate resource interaction category based on the second target exchange amount, it specifically determines whether the second digital resource amount meets the second target exchange amount, that is, determines whether the second digital resource amount is sufficient to support the execution of the current interactive service.
[0099] Step S510: If the verification is passed, the interactive service execution contract is called to perform digital resource interaction processing based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange amount information.
[0100] Specifically, if the verification passes, the interactive service processing node calls the interactive service execution contract, and transfers the first target exchange volume under the first target interaction category to the second resource interaction party according to the resource interaction category information and the resource exchange volume information, and transfers the second target exchange volume under the second target interaction category to the first resource interaction party.
[0101] Among them, by transferring the first target exchange volume under the first target interaction category held by the first resource interaction party to the second resource interaction party, and transferring the second target exchange volume under the second target interaction category held by the second resource interaction party to the first resource interaction party, digital resource interaction between the first resource interaction party and the second resource interaction party can be achieved. Since the first resource interaction party and the second resource interaction party respectively hold their own digital resources during the entire resource interaction processing process, there is no need to rely on a third-party interaction platform, which can better ensure the security of digital resources of both parties.
[0102] In the above-mentioned digital resource interaction processing method based on blockchain, by obtaining the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request initiated by the first resource interaction party, and based on each digital resource interaction request, and the resource interaction category information and resource exchange volume information carried by it, each candidate interaction service is generated. Further, if the selected operation triggered by the second resource interaction party based on the candidate interaction service is detected, the second resource contract address corresponding to the second resource interaction party is obtained, and the interactive service execution contract deployed by the blockchain is called, and the resource interaction category verification and resource interaction quota verification are performed based on the first resource contract address and the second resource contract address. Among them, if the verification passes, the interactive service execution contract is called, and the digital resource interaction processing based on the first resource interaction party and the second resource interaction party is realized according to the resource interaction category information and the resource exchange volume information. Since there is no need to rely on a third-party interaction platform, the resource interaction parties can hold their own digital resources throughout the interaction process, and decentralized digital resource interaction can be realized, avoiding the centralized risks such as malicious rejection of asset interaction services or low-price interaction of digital assets, and further improving the security performance of digital assets or digital resources in the interactive service processing process.
[0103] In an exemplary embodiment, Figure 6 As shown, a digital resource interaction processing method based on blockchain is provided, and the method is applied to Figure 1 Taking the interactive service processing node in as an example, before receiving the digital resource interaction request initiated by the first resource interaction party and obtaining the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request, the following steps S602 to S606 are also included. Among them:
[0104] Step S602: receiving a first resource interaction information query request initiated by a first resource interaction party, where the first resource interaction information query request carries resource interaction category information and a first on-chain address corresponding to the first resource interaction party.
[0105] Among them, the first resource interaction information query request represents an information query request initiated by the first resource interaction party, that is, before initiating the digital resource interaction request, the first resource interaction party needs to determine the resource category that needs to be interacted, the other resource categories that are expected to be obtained through the interaction, the resource quantity of the resource category that needs to be interacted, and the resource quantity of other resource categories that are expected to be obtained through the interaction.
[0106] Specifically, the interactive service processing node receives a first resource interaction information query request initiated by a first resource interaction party, and parses the first resource interaction information query request to obtain the resource interaction category information carried in the first resource interaction information query request, and a first on-chain address corresponding to the first resource interaction party.
[0107] The resource interaction category information carried by the first resource interaction information query request specifically includes a list of to-be-executed interactive services corresponding to different resource interaction categories that the first resource interaction party needs to query and access, as well as a list of historical interactive services. The first on-chain address corresponding to the first resource interaction party can be understood as the block address of the first resource interaction party in the blockchain, that is, the blockchain node where the user who initiated the digital resource interaction request is located.
[0108] Step S604, responding to the first resource interaction information query request, calling the off-chain proxy service node, and obtaining the resource interaction information on the blockchain that matches the resource interaction category information, the resource interaction information including a list of interaction services to be executed and a list of historical interaction services.
[0109] Specifically, the interactive business processing node responds to the received first resource interaction information query request and calls the off-chain proxy service node to obtain resource interaction information on the blockchain that matches the resource interaction category information.
[0110] Among them, the off-chain proxy service node can specifically be a Proxy node (i.e., a proxy service node), which does not participate in resource interaction processing, and is used to monitor the list of executed interactive services corresponding to each resource interaction category, as well as the list of historical interactive services and other information, and timely update the list of executed interactive services corresponding to different resource interaction categories for viewing and access by the second resource interaction party.
[0111] Furthermore, by calling the off-chain proxy service node, the list of executed interactive services and the list of historical interactive services corresponding to each resource interaction category on the blockchain can be obtained. The list of executed interactive services and the list of historical interactive services store different resource interaction categories, and multiple interactive services to be executed and multiple historical interactive services corresponding to each resource interaction category. The interactive services to be executed or the historical interactive services usually carry the two parties involved in the interactive service, the resource interaction categories of the two parties, and the amount of resources interacted under each resource interaction category.
[0112] Step S606: Feedback resource interaction information matching the resource interaction category information to the first on-chain address, where the resource interaction information is used to determine resource exchange volume information corresponding to the corresponding resource interaction category information.
[0113] Specifically, after obtaining the resource interaction information that matches the resource interaction category information, the interactive service processing node further feeds back the obtained resource interaction information that matches the resource interaction category information to the first on-chain address, that is, to the first resource interaction party.
[0114] Among them, since the resource interaction information can determine the resource exchange quantity information corresponding to the corresponding resource interaction category information, after the first resource interaction party receives the resource interaction information, it can further determine the resource exchange quantity information corresponding to the resource interaction category information that it needs to perform resource exchange processing based on the information such as the two interacting parties involved in the interactive business it carries, the resource interaction categories of the two interacting parties, and the resource quantities interacted under each resource interaction category. In this way, it can determine the resource categories that need to be interacted, other resource categories expected to be obtained by interaction, the resource quantities of the resource categories that need to be interacted, and the resource quantities of other resource categories expected to be obtained by interaction.
[0115] In the above-mentioned blockchain-based digital resource interaction processing method, a first resource interaction information query request initiated by a first resource interaction party is received, and the resource interaction category information carried in the first resource interaction information query request and the first on-chain address corresponding to the first resource interaction party are obtained. In response to the first resource interaction information query request, the off-chain proxy service node is called to obtain the resource interaction information matching the resource interaction category information on the blockchain, and the resource interaction information matching the resource interaction category information is fed back to the first on-chain address, specifically including a list of interactive services to be executed and a list of historical interactive services, so that the first resource interaction party can determine the resource exchange volume information corresponding to the corresponding resource interaction category information according to the resource interaction information, avoid multiple modifications of the resource interaction category information and the resource exchange volume information, and further improve the resource interaction processing efficiency in the digital resource interaction processing process.
[0116] In an exemplary embodiment, Figure 7 As shown, a digital resource interaction processing method based on blockchain is provided, and the method is applied to Figure 1 The interactive service processing node in FIG. 1 is taken as an example to illustrate, including the following steps S702 to S716. Among them:
[0117] Step S702: receiving a digital resource interaction request initiated by a first resource interaction party, and obtaining resource interaction category information, resource exchange volume information, and a first resource contract address carried in the digital resource interaction request.
[0118] Specifically, the interactive service processing node receives a digital resource interaction request initiated by the first resource interaction party and parses the digital resource interaction request to obtain resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request.
[0119] Step S704: Generate candidate interactive services based on each digital resource interactive request and the resource interactive category information and resource exchange volume information carried therein.
[0120] Specifically, after receiving the digital resource interaction request and obtaining the resource interaction category information and resource exchange volume information carried by the digital resource interaction request, the interactive service processing node generates each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by the digital resource interaction request.
[0121] Among them, each candidate interaction service can be understood as each resource interaction service to be processed, which includes resource interaction category information carried by the digital resource interaction request and resource exchange quantity information. It can be understood that for each candidate interaction service, the resource category of the digital resources to be exchanged held by the first resource interaction party that initiates the corresponding digital resource interaction request and the specific resource quantity to be exchanged under the resource category can be determined.
[0122] Step S706, calling the off-chain proxy service node, updating the corresponding resource interaction information according to each candidate interaction service, and obtaining each updated resource interaction information.
[0123] The resource interaction information corresponds to the resource interaction category information, which specifically includes information such as a list of executed interaction services corresponding to the resource interaction category and a list of historical interaction services. The list of executed interaction services and the list of historical interaction services store different resource interaction categories, and multiple to-be-executed interaction services and multiple historical interaction services corresponding to each resource interaction category. The to-be-executed interaction services or historical interaction services usually carry the interacting parties involved in the interaction service, the resource interaction categories of the interacting parties, and the amount of resources interacted under each resource interaction category.
[0124] Specifically, the interactive service processing node calls the off-chain proxy service node and updates the resource interaction information under the resource interaction category to which the candidate interactive service belongs according to each candidate interactive service, that is, updates the list of executed interactive services under the resource interaction category, and adds the generated candidate interactive service to the list of executed interactive services under the corresponding resource interaction category, thereby obtaining the updated resource interaction information.
[0125] Step S708: receiving a second resource interaction information query request initiated by the second resource interaction party, where the second resource interaction information query request carries a second on-chain address corresponding to the second resource interaction party.
[0126] Specifically, the interactive service processing node receives a second resource interaction information query request initiated by the second resource interaction party, and parses the second resource interaction information query request to obtain a second on-chain address corresponding to the second resource interaction party carried in the second resource interaction information query request.
[0127] Among them, the second on-chain address corresponding to the second resource interaction party can be understood as the block address of the second resource interaction party in the blockchain, that is, the blockchain node where the other user object to interact with the first resource interaction party for digital resources is located.
[0128] Step S710, responding to the second resource interaction information query request, feeding back updated resource interaction information to the second on-chain address, wherein the updated resource interaction information respectively carries the candidate interaction services included therein.
[0129] Specifically, the interactive service processing node responds to the second resource interaction information query request, and feeds back the obtained updated resource interaction information to the second on-chain address, that is, feeds back to the second resource interaction party.
[0130] The updated resource interaction information respectively carries the candidate interaction services included therein, that is, the updated resource interaction information includes multiple candidate interaction services for access and selection by the second resource interaction party.
[0131] Step S712: Detect a candidate interactive service screening request initiated by the second resource interactive party, where the candidate interactive service screening request carries a service screening condition.
[0132] Specifically, the interactive service processing node detects the candidate interactive service screening request initiated by the second resource interactive party, and when the candidate interactive service screening request is detected, acquires the service screening condition carried by the candidate interactive service screening request.
[0133] The service screening condition specifically includes a first screening condition on the digital resource interaction unit price dimension, or a second screening condition on the digital resource interaction volume dimension. Specifically, the first screening condition on the digital resource interaction unit price dimension indicates that the digital resource interaction unit price is used as a basis, and a corresponding interaction unit price threshold is set, and the candidate interaction services whose digital resource interaction unit price is greater than the interaction unit price threshold within the preset resource interaction period are determined by screening using the interaction unit price threshold.
[0134] Similarly, the second screening condition on the digital resource interaction volume dimension is based on the digital resource interaction volume, and a preset digital resource interaction volume is set to use the preset digital resource interaction volume for screening to determine the candidate interactive services with the same preset digital resource interaction volume.
[0135] Step S714, responding to the candidate interactive service screening request, performing service screening processing on each candidate interactive service according to the service screening condition, and obtaining each candidate interactive service that meets the service screening condition.
[0136] Specifically, the interactive service processing node responds to the candidate interactive service screening request, performs service screening processing on each candidate interactive service according to the service screening condition, and obtains the candidate interactive services that meet the first screening condition in the digital resource interactive unit price dimension, or the candidate interactive services that meet the second screening condition in the digital resource interactive volume dimension. Specifically, each candidate interactive service whose digital resource interactive unit price is greater than the interactive unit price threshold within the preset resource interactive period is determined, or each candidate interactive service with the same digital resource interactive volume as the preset is determined.
[0137] Step S716: display each candidate interactive service that meets the service screening condition, and detect the selection operation triggered by the second resource interaction party based on each displayed candidate interactive service.
[0138] Specifically, the interactive service processing node displays each candidate interactive service that meets the service screening condition to the second resource interactive party by calling the off-chain proxy service node, and detects the selection operation triggered by the second resource interactive party based on each displayed candidate interactive service.
[0139] In the above-mentioned blockchain-based digital resource interaction processing method, by receiving a digital resource interaction request initiated by a first resource interaction party, the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request are obtained, so as to generate each candidate interaction service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by the digital resource interaction request. Further, by calling the off-chain proxy service node, the corresponding resource interaction information is updated and processed according to each candidate interaction service, and each updated resource interaction information is obtained. Among them, by receiving and responding to the second resource interaction information query request initiated by the second resource interaction party, the updated resource interaction information is fed back to the second on-chain address corresponding to the second resource interaction party, so as to respond to the candidate interaction service screening request initiated by the second resource interaction party when the candidate interaction service screening request is detected, and the candidate interaction service screening request is performed on each candidate interaction service according to the service screening conditions carried by the candidate interaction service screening request, and each candidate interaction service that meets the service screening conditions is obtained. Among them, by displaying each candidate interactive business that meets the business screening conditions, when the selected operation triggered by the second resource interactive party based on the candidate interactive business is detected, the resource interaction category verification and resource interaction quota verification of the first resource interactive party and the second resource interactive party can be realized, as well as the digital resource interaction processing after verification. Since there is no need to rely on a third-party interaction platform, the two parties to the resource interaction can hold their own digital resources throughout the interaction process, and decentralized digital resource interaction can be achieved, avoiding centralized risks such as malicious rejection of asset interaction services or low-price interactions of digital assets, further improving the security performance of digital assets or digital resources in the process of interactive business processing.
[0140] In an exemplary embodiment, Figure 8 As shown, a digital resource interaction processing method based on blockchain is provided, which specifically involves a first resource interaction party, a second resource interaction party, an interaction service processing node, and an off-chain proxy service node, and specifically includes the following steps S801 to S818. Among them:
[0141] Step S801: A first resource interaction party initiates a first resource interaction information query request, where the first resource interaction information query request carries resource interaction category information and a first on-chain address corresponding to the first resource interaction party.
[0142] Step S802, the interactive service processing node receives and responds to the first resource interaction information query request initiated by the first resource interaction party, calls the off-chain proxy service node, and obtains the resource interaction information on the blockchain that matches the resource interaction category information. The resource interaction information includes a list of interactive services to be executed and a list of historical interactive services.
[0143] Step S803: The interactive service processing node feeds back resource interaction information matching the resource interaction category information to the first on-chain address, where the resource interaction information is used to determine resource exchange volume information corresponding to the corresponding resource interaction category information.
[0144] Step S804: The first resource interaction party initiates a digital resource interaction request, which carries resource interaction category information, resource exchange quantity information, and the first resource contract address.
[0145] Step S805: The interactive service processing node receives a digital resource interaction request initiated by the first resource interaction party, and obtains resource interaction category information, resource exchange volume information, and the first resource contract address carried in the digital resource interaction request.
[0146] Step S806: The interactive service processing node generates candidate interactive services based on each digital resource interactive request and the resource interactive category information and resource exchange volume information carried therein.
[0147] Step S807, the interactive service processing node calls the off-chain proxy service node, updates the corresponding resource interaction information according to each candidate interactive service, and obtains each updated resource interaction information.
[0148] Step S808: The second resource interaction party initiates a second resource interaction information query request, and the second resource interaction information query request carries a second on-chain address corresponding to the second resource interaction party.
[0149] Step S809, the interactive service processing node receives and responds to the second resource interactive information query request initiated by the second resource interactive party, and feeds back updated resource interactive information to the second on-chain address, wherein the updated resource interactive information respectively carries the candidate interactive services included therein.
[0150] Step S810: The second resource interaction party initiates a candidate interaction service screening request, where the candidate interaction service screening request carries a service screening condition.
[0151] Step S811, the interactive service processing node detects and responds to the candidate interactive service screening request initiated by the second resource interactive party, performs service screening processing on each candidate interactive service according to the service screening condition, and obtains each candidate interactive service that meets the service screening condition.
[0152] Step S812, the interactive service processing node displays each candidate interactive service that meets the service screening condition, and if a selection operation triggered by the second resource interactive party based on the candidate interactive service is detected, the second resource contract address corresponding to the second resource interactive party is obtained.
[0153] Step S813, the interactive business processing node calls the interactive business execution contract deployed by the blockchain, obtains each first candidate resource interaction category in the first resource contract address and the first digital resource amount corresponding to each first candidate resource interaction category, and obtains each second candidate resource interaction category in the second resource contract address and the second digital resource amount corresponding to each second candidate resource interaction category.
[0154] Step S814: the interactive service processing node determines, according to the resource interaction category information, a first target interaction category corresponding to the first resource interaction party and a second target interaction category corresponding to the second resource interaction party involved in the interactive service.
[0155] In step S815, the interactive service processing node performs a resource interaction category check on each first candidate resource interaction category based on the first target interaction category to determine whether there is a first candidate resource interaction category that successfully matches the first target interaction category, and performs a resource interaction category check on each second candidate resource interaction category based on the second target interaction category to determine whether there is a second candidate resource interaction category that successfully matches the second target interaction category.
[0156] Step S816: If the resource interaction category check passes, the interaction service processing node determines the first target exchange volume corresponding to the first resource interaction party and the second target exchange volume corresponding to the second resource interaction party involved in the interaction service according to the resource exchange volume information.
[0157] Step S817: The interactive service processing node performs a resource interaction quota check on the first digital resource amount corresponding to the first candidate resource interaction category that has passed the verification based on the first target exchange amount, and determines whether the first digital resource amount meets the first target exchange amount; and performs a resource interaction quota check on the second digital resource amount corresponding to the second candidate resource interaction category that has passed the verification based on the second target exchange amount, and determines whether the second digital resource amount meets the second target exchange amount.
[0158] Step S818, the interactive service processing node calls the interactive service execution contract, and transfers the first target exchange volume under the first target interactive category to the second resource interactive party, and transfers the second target exchange volume under the second target interactive category to the first resource interactive party according to the resource interactive category information and the resource exchange volume information.
[0159] In the above-mentioned digital resource interaction processing method based on blockchain, by obtaining the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request initiated by the first resource interaction party, and based on each digital resource interaction request, and the resource interaction category information and resource exchange volume information carried by it, each candidate interaction service is generated. Further, if the selected operation triggered by the second resource interaction party based on the candidate interaction service is detected, the second resource contract address corresponding to the second resource interaction party is obtained, and the interactive service execution contract deployed by the blockchain is called, and the resource interaction category verification and resource interaction quota verification are performed based on the first resource contract address and the second resource contract address. Among them, if the verification passes, the interactive service execution contract is called, and the digital resource interaction processing based on the first resource interaction party and the second resource interaction party is realized according to the resource interaction category information and the resource exchange volume information. Since there is no need to rely on a third-party interaction platform, the resource interaction parties can hold their own digital resources throughout the interaction process, and decentralized digital resource interaction can be realized, avoiding the centralized risks such as malicious rejection of asset interaction services or low-price interaction of digital assets, and further improving the security performance of digital assets or digital resources in the interactive service processing process.
[0160] In an exemplary embodiment, Fig. 9 As shown, a digital resource interactive processing system based on blockchain is provided, referring to Fig. 9 It can be seen that the system specifically includes a first resource interaction party 902, a second resource interaction party 904, an interaction service processing node 906 and an off-chain proxy node 908. Among them:
[0161] The first resource interaction party 902 is used to initiate a digital resource interaction request, which carries resource interaction category information, resource exchange volume information and a first resource contract address.
[0162] The interactive service processing node 904 is used to: receive a digital resource interaction request initiated by the first resource interaction party 902, and obtain the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request; generate each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by it.
[0163] The second resource interaction party 906 is used to trigger a selected operation triggered by a candidate interaction service.
[0164] The interactive business processing node 904 is also used for: if a selected operation triggered by the second resource interaction party 906 based on the candidate interactive business is detected, obtaining the second resource contract address corresponding to the second resource interaction party 906; calling the interactive business execution contract deployed by the blockchain, and performing resource interaction category verification and resource interaction amount verification based on the first resource contract address and the second resource contract address; if the verification passes, calling the interactive business execution contract, and performing digital resource interaction processing based on the first resource interaction party 902 and the second resource interaction party 906 according to the resource interaction category information and the resource exchange volume information.
[0165] In an exemplary embodiment, before initiating a digital resource interaction request, the first resource interaction party 902 is also used to initiate a first resource interaction information query request, and the first resource interaction information query request carries resource interaction category information and a first on-chain address corresponding to the first resource interaction party.
[0166] Furthermore, the interactive service processing node 904 is also used to: receive a first resource interaction information query request initiated by the first resource interaction party 902, the first resource interaction information query request carries resource interaction category information and a first on-chain address corresponding to the first resource interaction party 902; respond to the first resource interaction information query request, call the off-chain proxy service node 908, and obtain resource interaction information on the blockchain that matches the resource interaction category information; the resource interaction information includes a list of interactive services to be executed, and a list of historical interactive services; feedback the resource interaction information that matches the resource interaction category information to the first on-chain address; the resource interaction information is used to determine the resource exchange volume information corresponding to the corresponding resource interaction category information.
[0167] In an exemplary embodiment, the interactive service processing node 904, after generating each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried therein, is also used to: call the off-chain proxy service node 908, update the corresponding resource interaction information according to each candidate interactive service, and obtain each updated resource interaction information.
[0168] The second resource interaction party 906 is further used to initiate a second resource interaction information query request, and the second resource interaction information query request carries a second on-chain address corresponding to the second resource interaction party.
[0169] The interactive service processing node 904 is also used to: receive a second resource interaction information query request initiated by a second resource interaction party, the second resource interaction information query request carries a second on-chain address corresponding to the second resource interaction party; respond to the second resource interaction information query request, and feed back updated resource interaction information to the second on-chain address; the updated resource interaction information respectively carries the candidate interactive services included therein.
[0170] In an exemplary embodiment, Fig.10 As shown, a process of using a blockchain-based digital resource interaction processing system to perform digital resource interaction processing is provided, referring to Fig.10 It can be seen that the digital resource interaction processing system based on blockchain specifically includes a first resource interaction party 902, a second resource interaction party 904, an interaction business processing node 906 and an off-chain proxy node 908, wherein:
[0171] First, the first resource interaction party 902 initiates a digital resource interaction request, which carries resource interaction category information, resource exchange volume information and the first resource contract address.
[0172] Secondly, the interactive service processing node 906 receives the digital resource interaction request initiated by the first resource interaction party 902, and obtains the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request, so as to generate each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried by it.
[0173] Third, the off-chain proxy service node 908 updates the corresponding resource interaction information according to each candidate interaction service to obtain updated resource interaction information.
[0174] Fourth, the second resource interaction party 904 initiates a second resource interaction information query request, and the second resource interaction information query request carries the second on-chain address corresponding to the second resource interaction party. After receiving the second resource interaction information query request initiated by the second resource interaction party 904, the interactive business processing node 904 responds to the second resource interaction information query request and feeds back the updated resource interaction information to the second on-chain address.
[0175] Fifth, the second resource interaction party 904 triggers a selection operation based on a candidate interaction service.
[0176] Sixth, if the interactive business processing node 904 detects the selected operation triggered by the second resource interaction party 906 based on the candidate interactive business, it obtains the second resource contract address corresponding to the second resource interaction party 906, and calls the interactive business execution contract deployed by the blockchain, and performs resource interaction category verification and resource interaction amount verification based on the first resource contract address and the second resource contract address.
[0177] Seventh, if the verification is passed, the interactive service processing node 904 calls the interactive service execution contract, and performs digital resource interactive processing based on the first resource interactive party and the second resource interactive party according to the resource interactive category information and the resource exchange volume information.
[0178] In an exemplary embodiment, the second resource interaction party 906 is further configured to initiate a candidate interaction service screening request, where the candidate interaction service screening request carries a service screening condition.
[0179] The interactive service processing node 904 is also used to: detect a candidate interactive service screening request initiated by the second resource interactive party 906, the candidate interactive service screening request carrying a service screening condition; respond to the candidate interactive service screening request, perform service screening processing on each candidate interactive service according to the service screening condition, and obtain each candidate interactive service that meets the service screening condition; display each candidate interactive service that meets the business screening condition, and detect the selection operation triggered by the second resource interactive party 906 based on each displayed candidate interactive service.
[0180] In an exemplary embodiment, Fig.11 As shown, a process for updating resource interaction category information in a digital resource interaction processing system based on blockchain is provided, referring to Fig.11 It can be seen that the blockchain is deployed with an interactive business execution contract, a first resource contract corresponding to the first resource interaction party, and a second resource contract corresponding to the second resource interaction party, and the off-chain service node (i.e., the Proxy node) is used for:
[0181] First, the first resource contract corresponding to the first resource interaction party is monitored to determine whether the first resource interaction party meets the interaction conditions of the current interaction service, that is, whether it can pass the resource interaction category verification and the resource interaction quota verification.
[0182] Secondly, the second resource contract corresponding to the second resource interaction party is monitored to determine whether the second resource interaction party meets the interaction conditions of the current interaction business, that is, whether it can pass the resource interaction category verification and resource interaction quota verification.
[0183] Third, update the resource interaction information on the blockchain, including updating the list of interactive services to be executed and the list of historical interactive services, so as to display the interactive services to be executed included in the updated resource interaction information.
[0184] In an exemplary embodiment, the off-chain service node is also used to hide the current interactive service when it is determined that the first resource interactive party does not meet the interaction conditions of the current interactive service, and then display it when it is determined that the first resource interactive party meets the interaction conditions of the current interactive service.
[0185] In an exemplary embodiment, if the first resource interaction party or the second resource interaction party has a deployment requirement for an off-chain proxy service node (i.e., a Proxy node), a Proxy private node can be deployed according to actual deployment requirements to ensure data accuracy, so as to achieve the purpose of further decentralization, avoid the situation where the interactive business to be executed submitted by the first resource interaction party cannot be displayed due to Proxy node errors, or the second resource interaction party has an interactive business to be executed but cannot be perceived, thereby further ensuring the security of digital resource interaction based on blockchain.
[0186] In the above-mentioned digital resource interaction processing system based on blockchain, by obtaining the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request initiated by the first resource interaction party, and based on each digital resource interaction request, and the resource interaction category information and resource exchange volume information carried by it, each candidate interaction service is generated. Further, if the selected operation triggered by the second resource interaction party based on the candidate interaction service is detected, the second resource contract address corresponding to the second resource interaction party is obtained, and the interactive service execution contract deployed by the blockchain is called, and the resource interaction category verification and resource interaction quota verification are performed based on the first resource contract address and the second resource contract address. Among them, if the verification passes, the interactive service execution contract is called, and the digital resource interaction processing based on the first resource interaction party and the second resource interaction party is realized according to the resource interaction category information and the resource exchange volume information. Since there is no need to rely on a third-party interaction platform, the resource interaction parties can hold their own digital resources throughout the interaction process, and decentralized digital resource interaction can be realized, avoiding the centralized risks such as malicious rejection of asset interaction services or low-price interaction of digital assets, and further improving the security performance of digital assets or digital resources in the interactive service processing process.
[0187] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0188] Based on the same inventive concept, the embodiment of the present application also provides a blockchain-based digital resource interaction processing device for implementing the blockchain-based digital resource interaction processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more blockchain-based digital resource interaction processing device embodiments provided below can refer to the above limitations on the blockchain-based digital resource interaction processing method, which will not be repeated here.
[0189] In an exemplary embodiment, Fig.12 As shown, a digital resource interaction processing device based on blockchain is provided, including: a digital resource interaction request receiving module 1202, a candidate interaction service generating module 1204, a second resource contract address obtaining module 1206, a verification module 1208 and a resource interaction processing module 1210, wherein:
[0190] The digital resource interaction request receiving module 1202 is used to receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange quantity information and a first resource contract address carried in the digital resource interaction request;
[0191] The candidate interactive service generation module 1204 is used to generate each candidate interactive service based on each digital resource interactive request and the resource interactive category information and resource exchange volume information carried therein;
[0192] The second resource contract address acquisition module 1206 is used to acquire the second resource contract address corresponding to the second resource interaction party if a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected;
[0193] Verification module 1208, used to call the interactive business execution contract deployed by the blockchain, and perform resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address;
[0194] The resource interaction processing module 1210 is used to call the interaction service execution contract if the verification is passed, and perform digital resource interaction processing based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and resource exchange amount information.
[0195] In the above-mentioned digital resource interaction processing device based on blockchain, by obtaining the resource interaction category information, resource exchange volume information and the first resource contract address carried by the digital resource interaction request initiated by the first resource interaction party, and based on each digital resource interaction request, and the resource interaction category information and resource exchange volume information carried by it, each candidate interaction service is generated. Further, if the selected operation triggered by the second resource interaction party based on the candidate interaction service is detected, the second resource contract address corresponding to the second resource interaction party is obtained, and the interactive service execution contract deployed by the blockchain is called, and the resource interaction category verification and resource interaction quota verification are performed based on the first resource contract address and the second resource contract address. Among them, if the verification passes, the interactive service execution contract is called, and the digital resource interaction processing based on the first resource interaction party and the second resource interaction party is realized according to the resource interaction category information and the resource exchange volume information. Since there is no need to rely on a third-party interactive platform, the resource interaction parties can hold their own digital resources throughout the interaction process, and decentralized digital resource interaction can be realized, avoiding the centralized risks such as malicious rejection of asset interaction services or low-price interaction of digital assets, and further improving the security performance of digital assets or digital resources in the interactive service processing process.
[0196] In an exemplary embodiment, a digital resource interaction processing device based on blockchain is provided, further comprising:
[0197] A first resource interaction information query request receiving module, configured to receive a first resource interaction information query request initiated by a first resource interaction party, wherein the first resource interaction information query request carries resource interaction category information and a first on-chain address corresponding to the first resource interaction party;
[0198] A resource interaction information acquisition module, which is used to respond to the first resource interaction information query request, call the off-chain proxy service node, and obtain the resource interaction information on the blockchain that matches the resource interaction category information; the resource interaction information includes a list of interaction services to be executed and a list of historical interaction services;
[0199] The resource interaction information feedback module is used to feed back the resource interaction information matching the resource interaction category information to the address on the first chain; the resource interaction information is used to determine the resource exchange volume information corresponding to the corresponding resource interaction category information.
[0200] In an exemplary embodiment, a digital resource interaction processing device based on blockchain is provided, further comprising:
[0201] The update processing module is used to call the off-chain proxy service node, update the corresponding resource interaction information according to each candidate interaction service, and obtain each updated resource interaction information;
[0202] A second resource interaction information query request receiving module, configured to receive a second resource interaction information query request initiated by a second resource interaction party, wherein the second resource interaction information query request carries a second on-chain address corresponding to the second resource interaction party;
[0203] The resource interaction category information feedback module is used to respond to the second resource interaction information query request and feedback updated resource interaction information to the second chain address; the updated resource interaction information respectively carries the candidate interaction services included therein.
[0204] In an exemplary embodiment, a digital resource interaction processing device based on blockchain is provided, further comprising:
[0205] A candidate interactive service screening request detection module, used to detect a candidate interactive service screening request initiated by the second resource interactive party, where the candidate interactive service screening request carries a service screening condition;
[0206] A service screening processing module is used to respond to a candidate interactive service screening request, perform service screening processing on each candidate interactive service according to the service screening conditions, and obtain each candidate interactive service that meets the service screening conditions;
[0207] The selected operation detection module is used to display each candidate interactive service that meets the service screening condition, and detect the selected operation triggered by the second resource interaction party based on each displayed candidate interactive service.
[0208] In an exemplary embodiment, the verification module is also used to: call the interactive business execution contract deployed by the blockchain, obtain each first candidate resource interaction category in the first resource contract address and the first digital resource amount corresponding to each first candidate resource interaction category, and obtain each second candidate resource interaction category in the second resource contract address and the second digital resource amount corresponding to each second candidate resource interaction category; perform resource interaction category verification based on each first candidate resource interaction category and each second candidate resource interaction category; if the resource interaction category verification passes, perform resource interaction amount verification based on the first digital resource amount corresponding to the first candidate resource interaction category that passes the verification and the second digital resource amount corresponding to the second candidate resource interaction category that passes the verification.
[0209] In an exemplary embodiment, the verification module is further used to: determine, based on the resource interaction category information, a first target interaction category corresponding to the first resource interaction party and a second target interaction category corresponding to the second resource interaction party involved in the interactive service; based on the first target interaction category, perform a resource interaction category verification on each first candidate resource interaction category to determine whether there is a first candidate resource interaction category that successfully matches the first target interaction category; based on the second target interaction category, perform a resource interaction category verification on each second candidate resource interaction category to determine whether there is a second candidate resource interaction category that successfully matches the second target interaction category.
[0210] In an exemplary embodiment, the verification module is also used to: determine, based on the resource exchange volume information, a first target exchange volume corresponding to the first resource interaction party and a second target exchange volume corresponding to the second resource interaction party involved in the interactive service; based on the first target exchange volume, perform a resource interaction quota check on the first digital resource volume corresponding to the first candidate resource interaction category that has passed the check, to determine whether the first digital resource volume meets the first target exchange volume; based on the second target exchange volume, perform a resource interaction quota check on the second digital resource volume corresponding to the second candidate resource interaction category that has passed the check, to determine whether the second digital resource volume meets the second target exchange volume.
[0211] In an exemplary embodiment, the resource interaction processing module is also used to: call the interactive business execution contract, transfer the first target exchange volume under the first target interaction category to the second resource interaction party according to the resource interaction category information and the resource exchange volume information, and transfer the second target exchange volume under the second target interaction category to the first resource interaction party.
[0212] Each module in the above-mentioned blockchain-based digital resource interaction processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0213] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.13As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the digital resource interaction request initiated by the first resource interaction party, the resource interaction category information carried by the digital resource interaction request, the resource exchange volume information and the first resource contract address, each candidate interaction service, the second resource contract address corresponding to the second resource interaction party, the interaction service execution contract and other data. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a digital resource interaction processing method based on blockchain is implemented.
[0214] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0215] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned blockchain-based resource interaction risk data processing method are implemented.
[0216] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned blockchain-based resource interaction risk data processing method are implemented.
[0217] In an exemplary embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps in the above-mentioned blockchain-based resource interaction risk data processing method.
[0218] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0219] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0220] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0221] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A digital resource interaction processing method based on blockchain, characterized in that: The method comprises: Receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange volume information, and a first resource contract address carried in the digital resource interaction request; Generate candidate interactive services based on each digital resource interaction request and the resource interaction category information and resource exchange volume information carried therein; If a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected, obtaining a second resource contract address corresponding to the second resource interaction party; Calling the interactive business execution contract deployed on the blockchain, and performing resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address; If the verification is passed, the interactive service execution contract is called, and digital resource interaction processing is performed based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
2. The method according to claim 1, characterized in that Before receiving the digital resource interaction request initiated by the first resource interaction party and obtaining the resource interaction category information, resource exchange amount information and the first resource contract address carried by the digital resource interaction request, the method further includes: receiving a first resource interaction information query request initiated by the first resource interaction party, where the first resource interaction information query request carries resource interaction category information and a first on-chain address corresponding to the first resource interaction party; In response to the first resource interaction information query request, calling the off-chain proxy service node to obtain resource interaction information on the blockchain that matches the resource interaction category information; the resource interaction information includes a list of interaction services to be executed and a list of historical interaction services; Feedback resource interaction information matching the resource interaction category information to the first on-chain address; the resource interaction information is used to determine resource exchange volume information corresponding to the corresponding resource interaction category information.
3. The method according to claim 1, characterized in that After generating each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange amount information carried therein, the method further includes: Calling the off-chain proxy service node to update the corresponding resource interaction information according to each candidate interaction service, and obtaining each updated resource interaction information; receiving a second resource interaction information query request initiated by the second resource interaction party, where the second resource interaction information query request carries a second on-chain address corresponding to the second resource interaction party; In response to the second resource interaction information query request, the updated resource interaction information is fed back to the second on-chain address; the updated resource interaction information respectively carries the candidate interaction services included therein.
4. The method according to claim 3, characterized in that After responding to the second resource interaction information query request and feeding back updated resource interaction information to the second on-chain address, the method further includes: detecting a candidate interactive service screening request initiated by the second resource interactive party, wherein the candidate interactive service screening request carries a service screening condition; In response to the candidate interactive service screening request, performing service screening processing on each of the candidate interactive services according to the service screening condition to obtain each candidate interactive service that meets the service screening condition; The candidate interactive services that meet the service screening condition are displayed, and the selection operation triggered by the second resource interacting party based on the displayed candidate interactive services is detected.
5. The method according to any one of claims 1 to 4, characterized in that: The interactive business execution contract deployed by calling the blockchain performs resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address, including: Calling the interactive service execution contract deployed on the blockchain to obtain each first candidate resource interaction category in the first resource contract address and the first digital resource amount corresponding to each first candidate resource interaction category, and obtaining each second candidate resource interaction category in the second resource contract address and the second digital resource amount corresponding to each second candidate resource interaction category; Performing resource interaction category verification based on each of the first candidate resource interaction categories and each of the second candidate resource interaction categories; If the resource interaction category verification passes, a resource interaction quota verification is performed based on the first digital resource amount corresponding to the first candidate resource interaction category that passes the verification and the second digital resource amount corresponding to the second candidate resource interaction category that passes the verification.
6. The method according to claim 5, characterized in that The performing resource interaction category verification based on each of the first candidate resource interaction categories and each of the second candidate resource interaction categories includes: Determining, according to the resource interaction category information, a first target interaction category corresponding to the first resource interaction party and a second target interaction category corresponding to the second resource interaction party involved in the interaction service; Based on the first target interaction category, performing resource interaction category verification on each of the first candidate resource interaction categories to determine whether there is a first candidate resource interaction category that successfully matches the first target interaction category; According to the second target interaction category, a resource interaction category check is performed on each of the second candidate resource interaction categories to determine whether there is a second candidate resource interaction category that successfully matches the second target interaction category.
7. The method according to claim 6, characterized in that Based on the first digital resource amount corresponding to the first candidate resource interaction category that has passed the verification, and the second digital resource amount corresponding to the second candidate resource interaction category that has passed the verification, performing resource interaction quota verification includes: Determining, according to the resource exchange volume information, a first target exchange volume corresponding to the first resource interaction party and a second target exchange volume corresponding to the second resource interaction party involved in the interactive service; Based on the first target exchange amount, performing a resource interaction quota check on the first digital resource amount corresponding to the first candidate resource interaction category that has passed the check, to determine whether the first digital resource amount meets the first target exchange amount; According to the second target exchange amount, a resource interaction quota check is performed on the second digital resource amount corresponding to the second candidate resource interaction category that has passed the check to determine whether the second digital resource amount meets the second target exchange amount.
8. The method according to claim 7, characterized in that The interactive service execution contract is called, and digital resource interaction processing is performed based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange amount information, including: The interactive service execution contract is called to transfer the first target exchange volume under the first target interaction category to the second resource interaction party and transfer the second target exchange volume under the second target interaction category to the first resource interaction party according to the resource interaction category information and the resource exchange volume information.
9. A digital resource interactive processing system based on blockchain, characterized in that: The system includes a first resource interaction party, a second resource interaction party and an interaction service processing node; wherein: The first resource interaction party is used to initiate a digital resource interaction request; The interactive service processing node is used to: receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange quantity information and a first resource contract address carried by the digital resource interaction request; generate each candidate interactive service based on each digital resource interaction request and the resource interaction category information and resource exchange quantity information carried by the digital resource interaction request; The second resource interaction party is used to trigger a selected operation triggered for the candidate interaction service; The interactive business processing node is also used to: if a selection operation triggered by the second resource interaction party based on the candidate interactive business is detected, obtain the second resource contract address corresponding to the second resource interaction party; call the interactive business execution contract deployed by the blockchain, and perform resource interaction category verification and resource interaction amount verification based on the first resource contract address and the second resource contract address; if the verification passes, call the interactive business execution contract, and perform digital resource interaction processing based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
10. A digital resource interactive processing device based on blockchain, characterized in that: The device comprises: A digital resource interaction request receiving module, configured to receive a digital resource interaction request initiated by a first resource interaction party, and obtain resource interaction category information, resource exchange quantity information, and a first resource contract address carried in the digital resource interaction request; A candidate interactive service generation module, configured to generate each candidate interactive service based on each digital resource interactive request and the resource interactive category information and resource exchange volume information carried therein; A second resource contract address acquisition module is used to acquire a second resource contract address corresponding to the second resource interaction party if a selection operation triggered by the second resource interaction party based on the candidate interaction service is detected; A verification module, used to call the interactive business execution contract deployed on the blockchain, and perform resource interaction category verification and resource interaction quota verification based on the first resource contract address and the second resource contract address; The resource interaction processing module is used to call the interactive service execution contract if the verification is passed, and perform digital resource interaction processing based on the first resource interaction party and the second resource interaction party according to the resource interaction category information and the resource exchange volume information.
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 8 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
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 8 are implemented.