Data processing method and device based on block chain, equipment, medium and product

By introducing blockchain technology into commodity trading and using smart contract processing units to determine business contracts, the problems of low transaction efficiency and high capital risks are solved, and the coordinated work of trading platforms, financial institutions and blockchain networks is realized, and transaction security and fund settlement efficiency are improved.

CN120450864APending Publication Date: 2025-08-08INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510567666.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

There are problems in existing commodity transactions such as information asymmetry, low transaction process efficiency, high capital risks, and poor timeliness of capital settlement. In particular, virtual sub-accounts cannot calculate interest in separate accounts, resulting in increased transaction risks and large capital occupancy.

Method used

The business smart contract is determined through the trading platform and the buyer and seller, and deployed it to the blockchain network, using the smart contract processing unit to perform data processing, generate and execute data processing instructions, and realize the collaborative work of the trading platform, financial institutions and blockchain network.

Benefits of technology

It improves transaction efficiency and security, reduces the cost of trust establishment, solves the problem of timely settlement of funds, and realizes real-time synchronization and secure transfer of funds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120450864A_ABST
    Figure CN120450864A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device based on a block chain, equipment, a medium and a product, relates to the technical field of artificial intelligence, in particular to the technical field of data processing and block chains, and can be applied to the field of financial science and technology. The method comprises the following steps: determining a business smart contract with a buyer and a seller through a transaction platform, and deploying the business smart contract into a block chain network through a smart contract processing unit; the transaction platform responds to a business processing request of a buyer and / or a seller, the business processing request is processed, and a business processing result is obtained; generating a data processing instruction according to the business processing result, and sending the data processing instruction to a financial institution; and calling the business smart contract through the financial institution to carry out data processing on the data processing instruction, and storing a data processing result into a block chain network through a smart contract processing unit. Through the technical scheme, the data processing efficiency and security can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, in particular to the field of data processing and blockchain technology, and can be applied to the field of financial technology. Specifically, it relates to a blockchain-based data processing method, device, equipment, medium and product. Background Art

[0002] Existing commodity trading scenarios mostly utilize account management products. Furthermore, virtual sub-accounts cannot be used for trading, and interest cannot be accrued on separate sub-accounts. Commodity trading currently requires significant capital, requiring companies to advance significant funds. However, the lack of transparency regarding transaction and commodity information increases trading risks. Furthermore, the complex and time-sensitive settlement process hinders contract validation and delivery. Consequently, current commodity trading faces challenges such as information asymmetry, inefficient transaction processes, and high financial risks that need to be addressed. Summary of the Invention

[0003] The present invention provides a blockchain-based data processing method, device, equipment, medium and product to improve transaction processing efficiency and security.

[0004] According to one aspect of the present invention, a data processing method based on blockchain is provided, the method comprising:

[0005] Determine a business smart contract with the buyer and seller through the trading platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit;

[0006] Responding to business processing requests from buyers and / or sellers via the trading platform, processing the business processing requests, and obtaining business processing results;

[0007] generating a data processing instruction according to the business processing result, and sending the data processing instruction to the financial institution;

[0008] The financial institution calls the business smart contract to process the data processing instruction, and stores the data processing result in the blockchain network through the smart contract processing unit.

[0009] According to another aspect of the present invention, a data processing device based on blockchain is provided, the device comprising:

[0010] A smart contract determination module is used to determine a business smart contract with the buyer and seller through the trading platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit;

[0011] A business processing result determination module is used to respond to business processing requests from buyers and / or sellers through the trading platform, process the business processing requests, and obtain business processing results;

[0012] a data instruction generation module, configured to generate a data processing instruction based on the business processing result and send the data processing instruction to a financial institution;

[0013] The data processing module is used to call the business smart contract through the financial institution to process the data processing instruction, and store the data processing results in the blockchain network through the smart contract processing unit.

[0014] According to another aspect of the present invention, an electronic device is provided, comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the blockchain-based data processing method described in any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the blockchain-based data processing method described in any embodiment of the present invention when executed.

[0019] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the blockchain-based data processing method according to any embodiment of the present invention.

[0020] The technical solution of the embodiment of the present invention is to determine a business smart contract through the transaction platform, the buyer, and the seller, and deploy the business smart contract to the blockchain network through the smart contract processing unit; the transaction platform responds to the business processing request of the buyer and / or the seller, processes the business processing request, and obtains the business processing result; generates a data processing instruction based on the business processing result, and sends the data processing instruction to the financial institution; the financial institution calls the business smart contract to process the data processing instruction, and stores the data processing result in the blockchain network through the smart contract processing unit. The above technical solution introduces the blockchain network, determines the business smart contract through the smart contract processing unit, and performs data processing through the business smart contract during the business processing process, thereby improving transaction efficiency and security.

[0021] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 This is a flowchart of a blockchain-based data processing method provided according to an embodiment of the present invention;

[0024] Figure 2 This is a structural diagram of a bulk commodity trading system provided according to an embodiment of the present invention;

[0025] Figure 3 This is a structural diagram of a smart contract processing unit provided according to an embodiment of the present invention;

[0026] Figure 4 This is a flowchart of a blockchain-based data processing method provided according to an embodiment of the present invention;

[0027] Figure 5 This is a flowchart of a commodity trading business provided according to an embodiment of the present invention;

[0028] Figure 6 This is a schematic diagram of the structure of a blockchain-based data processing device provided according to an embodiment of the present invention;

[0029] Figure 7 2 is a schematic diagram of the structure of an electronic device that implements the blockchain-based data processing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] In addition, it should be noted that in the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of target transaction data, accounts and other related data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0033] Figure 1 This is a flowchart of a blockchain-based data processing method provided in accordance with an embodiment of the present invention. This embodiment is applicable to situations in which transaction efficiency and security are improved in commodity trading scenarios. The method can be executed by a blockchain-based data processing device, which can be implemented in the form of hardware and / or software and can be integrated into an electronic device that carries a blockchain-based data processing function, such as a blockchain-based data processing system. Optionally, the data processing system is composed of a trading platform (commodity trading platform) 210, a smart contract processing unit 220, a blockchain network 230, and financial institutions such as banks 240. Figure 2 As shown, commodity trading platform 210 accepts trade orders, pending orders, and trade inquiries from both buyers and sellers, connecting with funding banks 240 and smart contract processing unit 220. Smart contract processing unit 220 serves as a communication channel between bank unit 240 and blockchain network 230, isolating blockchain network 230 from accounting system 241. Smart contract processing unit 220 can be used to receive transaction requests, contract execution, and contract verification requests submitted by banks, synchronizing order flow and capital flow on trading platform 210 and verifying each capital transaction according to contract rules.

[0034] Blockchain network 230 can be implemented based on consortium chain technology, with the commodity trading contracts signed by the buyer and seller serving as nodes of blockchain network 230. Blockchain network 230 provides participating institutions with data services such as trusted storage of smart contracts, transaction verification, and multi-party consensus. It utilizes decentralized file storage and deploys multiple blockchain service nodes, all of which are responsible for receiving and forwarding information. Each service node in the blockchain network uses a consensus algorithm (such as Proof-of-Work (PoW), Proof-of-Stake (PoS), Delegated Proof-of-Stake (DPoS), Practical Byzantine Fault Tolerance (PBFT), and Proof of Participation (Proof of Participation)) as a consensus mechanism to achieve transaction consensus. Each accounting node executes according to predetermined rules, completes rule judgment, and performs corresponding processing.

[0035] A blockchain service node can include a contract release control unit, a contract key generation unit, a contract information query unit, and a contract transaction consensus unit. The contract release control unit is responsible for controlling contract release and on-chain, and supports the release of both individual and batch contracts, ensuring consistency between contract code and contract text. The contract key generation unit configures all symmetric keys and contract identifiers for the contract based on a homomorphic encryption algorithm, generating a contract private key and the corresponding contract public key. The contract trusted storage unit is responsible for storing the encrypted contract code and contract code identifier, completing the entire smart contract registration process. The contract information query unit is responsible for conditionally querying contract content and status, controlling the query scope. The contract transaction consensus unit is responsible for performing business logic verification on smart contract execution results to ensure contract consistency. This is achieved by sorting through the sorting node, generating blocks, and broadcasting them to all nodes to reach consensus and on-chain.

[0036] like Figure 1 As shown, the method includes:

[0037] S110. Determine the business smart contract with the buyer and the seller through the transaction platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit.

[0038] A business smart contract is a specific executable logic code that governs the processes and data involved in business transactions. Deployed on a blockchain network, when a transaction event is triggered, the smart contract is immediately executed and runs across all relevant nodes. After reaching consensus, the nodes record information such as state changes on the blockchain. With a high degree of autonomy, the business manifests itself as specific terms of service established by merchants for their customers based on the smart contract technology system. The construction and execution of smart contracts based on blockchain applications involves the following steps: 1) Signing a smart contract: Participants sign a smart contract through a negotiated agreement or an existing smart contract template. 2) The confirmed smart contract is disseminated through the P2P network and stored as a piece of information with an address in the blockchain. 3) When the conditions are triggered, the smart contract automatically executes and completes the relevant contractual provisions.

[0039] Commodity trading refers to the global buying and selling of standardized, fungible raw materials or primary products. Commodities include energy, metals, agricultural products, minerals, and other resources. These commodities are traded in spot, futures, or options formats, and include trading platforms and clearing services. The trading platform is a commodity trading platform.

[0040] The so-called smart contract processing unit includes an access unit 221, a user information management unit 222, a contract configuration review unit 223, a contract operation unit 224 and a contract warehouse 225. Figure 3 shown.

[0041] The access unit 221 is responsible for connecting to each trading platform 210 and verifying the legitimacy of the data.

[0042] The user management unit 222 is responsible for managing user roles, distinguishing between execution and review permissions, and maintaining different functional modules and menus according to roles.

[0043] The contract configuration review unit 223 is responsible for providing functions such as contract template creation, contract template review, contract parameter configuration, contract template query, and parameter contract submission. The contract template content includes the lender, borrower, usage method, credit status, loan product type, start and end time, etc. The dealer searches for the contract template based on the loan product type and, after reviewing it, submits it to the smart contract platform configuration center for review.

[0044] The contract operation and management unit 224 includes functional modules such as a contract loader and business condition triggers, providing clients with services such as contract signing, contract execution or termination, contract condition registration, and contract termination. This allows small and medium-sized enterprises (SMEs) such as distributors to access various supply chain financial services through channels such as mobile banking, the enterprise network, and bank-enterprise interconnection, completing business processes and fund operations such as loan application, issuance, entrusted payment, repayment, and reconciliation in accordance with the contractually agreed upon procedures. If a smart contract expires, the system automatically sets the contract status to terminated, and loan funds are recovered.

[0045] The contract loader is responsible for monitoring external smart contract call requests, pulling the smart contract declaration from the smart contract repository based on the smart contract ID in the request (determined when signing the contract), verifying the smart contract declaration, and then pulling the corresponding contract execution body and loading it, passing in the required business data.

[0046] Business condition triggers provide various events triggered by external trusted data, such as timed events, internal account payment collection events, and other events that trigger fund freezes. Event monitoring is performed through batch scanning according to the agreement during registration.

[0047] Specifically, buyers and sellers join the trading platform and become members, and can trade goods on the trading platform. It should be noted that there can be multiple buyers and sellers.

[0048] An optional method is to determine a business smart contract through a trading platform with the buyer and seller, and deploy the business smart contract to the blockchain network through a smart contract processing unit, including: obtaining target business parameters in response to the buyer and seller's processing operations on business processing matters; generating a business smart contract based on the target business parameters and the contract template through the smart contract processing unit; reviewing the business smart contract through the smart contract processing unit; and deploying the business smart contract to the blockchain network through the smart contract processing unit after the review is passed.

[0049] The target business parameters refer to the relevant parameters corresponding to the target business, which may be a specific commodity trading business.

[0050] Specifically, the trading platform can respond to the buyer and seller's processing operations on business processing matters related to the target business, such as contract accounts, payment limits, billing rules, trigger conditions and other processing operations, to obtain the target business parameters. The trading platform then sends the target business parameters to the smart contract processing unit. The smart contract processing unit can fill in the target business parameters into the corresponding contract template, generate a business smart contract, and review the business smart contract. After the review is passed, the business smart contract will be deployed to the blockchain network.

[0051] It is understandable that visual trading contract creation can be achieved through the trading platform, which reduces the difficulty of contract creation and improves the efficiency of contract creation.

[0052] S120: Respond to the business processing request of the buyer and / or seller through the transaction platform, process the business processing request, and obtain a business processing result.

[0053] S130: Generate a data processing instruction based on the business processing result, and send the data processing instruction to the financial institution.

[0054] S140. The financial institution calls the business smart contract to process the data processing instruction, and stores the data processing result in the blockchain network through the smart contract processing unit.

[0055] The term "business processing request" refers to a request for business processing; optionally, the business processing request may include an account creation request, an order placement request, an order placement request, a transaction query request, etc. The term "business processing result" refers to the result of processing the business processing request.

[0056] In an optional manner, the business processing request includes an account creation request; accordingly, the transaction platform responds to the business processing requests of the buyer and the seller, processes the business processing request, and obtains a business processing result, including: responding to the account creation processing requests of the buyer and the seller, creating a buyer platform account and a seller platform account for the buyer and the seller respectively; accordingly, generating a data processing instruction based on the business processing result, and sending the data processing instruction to the financial institution, including: generating an internal account creation instruction based on the buyer platform account and the seller platform account in the business processing result; sending the internal account creation instruction to the financial institution, for creating a buyer's internal account and a seller's internal account for the buyer and the seller respectively.

[0057] Specifically, buyers and sellers can initiate account creation processing requests to the trading platform. Accordingly, the trading platform responds to the account creation processing requests of buyers and sellers, creates a buyer platform account and a seller platform account for the buyer and seller respectively, and then generates an internal account creation instruction based on the buyer platform account and the seller platform account in the business processing results; and sends the internal account creation instruction to the financial institution for creating a buyer internal account and a seller internal account for the buyer and seller respectively.

[0058] Among them, internal accounts refer to accounts created by financial institutions such as banks for buyers and sellers, which are used to store the buyer's or seller's target transaction data, such as transaction funds.

[0059] It is understandable that by creating internal accounts for both parties of the buyer in a financial institution, the transaction funds in the internal accounts can accrue interest from the start to the completion of the transaction.

[0060] The technical solution provided by the embodiment of the present invention determines a business smart contract through the transaction platform, the buyer, and the seller, and deploys the business smart contract to the blockchain network through the smart contract processing unit. The transaction platform responds to the business processing request of the buyer and / or the seller, processes the business processing request, and obtains the business processing result. Data processing instructions are generated based on the business processing result and sent to the financial institution. The financial institution calls the business smart contract to process the data processing instruction, and the data processing result is stored in the blockchain network through the smart contract processing unit. The above technical solution introduces the blockchain network, determines the business smart contract through the smart contract processing unit, and performs data processing through the business smart contract during the business processing process, thereby improving transaction efficiency and security.

[0061] This invention targets buyers and sellers on the platform. By integrating transaction flows, goods flows, and capital flows, it establishes a closed-loop transaction system where payment is paid for goods. This solves the long-standing credit issues and inefficiencies in traditional commodity trading, providing brick-and-mortar businesses with a secure, convenient, real-time, standardized, and efficient environment for spot delivery and payment, meeting the demands of inter-enterprise commodity trading. By introducing blockchain smart contracts, this invention addresses the pain points of targeted commodity fund payments, reduces the cost of building trust between buyers and sellers, improves business efficiency, reduces regulatory costs, addresses the timeliness of fund settlement, and increases the settlement volume of trading platforms.

[0062] Figure 4 This is a flowchart of a data processing method based on blockchain provided by an embodiment of the present invention. Based on the above embodiment, this embodiment further optimizes "responding to the buyer's business processing request through the trading platform, processing the business processing request, and obtaining the business processing result" and provides an optional implementation plan. Figure 4 As shown, the method includes:

[0063] S210. Determine the business smart contract with the buyer and the seller through the transaction platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit.

[0064] S220: Respond to the business processing request of the buyer and / or seller through the transaction platform, process the business processing request, and obtain a business processing result.

[0065] S230: Generate a data processing instruction based on the business processing result, and send the data processing instruction to the financial institution.

[0066] S240. The financial institution calls the business smart contract to process the data processing instruction, and stores the data processing result in the blockchain network through the smart contract processing unit.

[0067] In one optional manner, the business processing request includes a pending order request. Accordingly, the trading platform responds to the seller's business processing request, processes the business processing request, and obtains a business processing result. This includes: the trading platform responds to the seller's pending order request, processes the pending order for the target transaction object in the pending order request, and obtains a business processing result, such as displaying the target transaction object, such as an energy product, on a business interface. The target transaction object may be a commodity object such as energy, metals, agricultural products, or minerals.

[0068] In an optional manner, the business processing request includes an order request, and accordingly, the trading platform responds to the buyer's business processing request, processes the business processing request, and obtains a business processing result, including: responding to the buyer's order request through the trading platform to obtain the target transaction data transferred by the buyer to the buyer's platform account; accordingly, generating a data processing instruction based on the business processing result, and sending the data processing instruction to the financial institution, including: generating a data transfer instruction based on the target transaction data, and sending the data transfer instruction to the financial institution, so that the financial institution transfers the target transaction data from the buyer's platform account to the buyer's internal account; wherein, the target transaction data in the buyer's internal account is controlled by a business smart contract.

[0069] The target transaction data may be the transaction amount and other related data of the target transaction object.

[0070] Specifically, the trading platform responds to a buyer's order request, which includes the target transaction object and corresponding target transaction data, such as the transaction amount. It obtains the target transaction data that the buyer is transferring to the buyer's platform account, then generates a data transfer instruction based on the target transaction data and sends the data transfer instruction to a financial institution, such as a bank. The financial institution, based on the data transfer instruction, invokes a business smart contract to verify the target transaction data and transfers the target transaction data from the buyer's platform account to the seller's internal account. At this point, the transaction status of the target transaction is updated to paid, and the transaction status is uploaded to the blockchain network for storage via the smart contract processing unit. The trading platform then notifies the buyer of the successful payment.

[0071] It is understandable that the flow of target transaction data associated with the order transaction is controlled by the smart contract, which can ensure the security of the transaction.

[0072] In an optional manner, the data processing instruction includes a data transfer instruction. Accordingly, the data processing instruction is processed by calling a business smart contract through a financial institution, and the data processing result is stored in the blockchain network through a smart contract processing unit, including: when it is identified that the buyer's transaction is completed, the target transaction data in the data transfer instruction is verified by calling the business smart contract through the financial institution; after the verification is passed, the target transaction data is transferred from the buyer's internal account to the seller's platform account; and the order status in the data processing result is stored in the blockchain network through the smart contract processing unit.

[0073] The data transfer instructions include transaction data such as business number, product type, delivery time, order amount, etc.

[0074] Specifically, after the trading platform confirms the buyer's receipt of the goods, that is, recognizes that the buyer's transaction is complete, it sends a data transfer instruction to the financial institution. The financial institution calls the corresponding business smart contract on the blockchain network to verify the target transaction data in the data transfer instruction, such as verifying the order amount, product type, and recipient. Once the verification is passed, the target transaction data is transferred from the buyer's internal account to the seller's platform account. At this time, the order status in the data processing result is updated to completed, and the order status is updated to the blockchain network through the smart contract processing unit. If the verification fails, the payment failure is returned, and the order payment is not completed. The trading platform will verify the order information.

[0075] It is understandable that when the target transaction data is transferred out, verification through the business smart contract can ensure transaction security.

[0076] It should be noted that, during the process of sending the target transaction to completion, the target transaction data generates value-added data in the buyer's internal account, that is, the transaction funds in the internal account can be accrued with interest and generate income.

[0077] It should be noted that the commodity trading business process diagram between the buyer and the seller in the trading platform is as follows: Figure 5 As shown. As a specific example, the deployment process of the charging pile billing transaction smart contract is as follows: 1) Determine N commodity trading contracts corresponding to N buyers and sellers, namely business smart contracts, where N is an integer greater than or equal to 1. 2) Submit the N business smart contracts to the financial institution for review. First, the contract developer can create N business smart contracts such as billing contracts in the contract configuration review unit 223 and submit them for review. The contract content includes information such as the contract name, contract description, unit price, counterparty, start and end time. Then, the bank reviewer selects the contract for review. After the review is passed, the contract is uploaded to the contract warehouse 225 to ensure that the contract code is consistent with the contract text. 3) If the review is passed, the N smart contracts are deployed to the blockchain network 230.

[0078] Specifically, before contract deployment, the buyer and seller sign a payment agreement with the bank. They select the directed payment or prepaid freeze contract template to sign the smart contract. A loan template is selected from the contract repository 225, and customized parameters are configured to generate a contract instance. The contract configuration review unit 223 uploads the parameters to the contract repository 125, and the access unit 221 publishes the contract code to the blockchain network. If the review fails, the contract is not deployed to the blockchain network. This avoids deploying substandard smart contract content, wasting resources, and even preventing financial losses from executing substandard contracts. Therefore, bank-side review before contract deployment can improve the consistency and legitimacy of smart contract content and strengthen fund oversight.

[0079] According to an embodiment of the present disclosure, deploying N business smart contracts to a blockchain network includes initiating a smart contract deployment transaction and broadcasting the N business smart contracts to the blockchain network. The blockchain network includes M consensus nodes, where M is an integer greater than or equal to 1. The blockchain network is configured to store the N smart contracts in the blockchain if verification results from the M consensus nodes meet deployment consensus conditions.

[0080] For example, M consensus nodes can reach a transaction consensus according to any consensus mechanism such as POW proof of work, POS proof of equity, DPOS authorized proof of equity, PBFT practical Byzantine fault tolerance and Proof of Participation, and upload the transaction to the chain after reaching a consensus.

[0081] Figure 6 This is a schematic diagram of the structure of a blockchain-based data processing device provided according to an embodiment of the present invention. This embodiment is applicable to how to improve transaction efficiency and security in commodity trading scenarios. The device can be implemented in the form of hardware and / or software and can be integrated into electronic devices that carry blockchain-based data processing functions, such as blockchain-based data processing systems. Optionally, the data processing system consists of a trading platform, a financial institution, a blockchain network, a smart contract processing unit, etc. Figure 6 As shown, the device includes:

[0082] The smart contract determination module 310 is used to determine the business smart contract with the buyer and seller through the trading platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit;

[0083] The business processing result determination module 320 is used to respond to the business processing request of the buyer and / or seller through the transaction platform, process the business processing request, and obtain the business processing result;

[0084] A data instruction generation module 330 is used to generate a data processing instruction based on the business processing result and send the data processing instruction to the financial institution;

[0085] The data processing module 340 is used to process the data processing instructions through the financial institution's call of the business smart contract, and store the data processing results in the blockchain network through the smart contract processing unit.

[0086] The technical solution provided by the embodiment of the present invention determines a business smart contract through the transaction platform, the buyer, and the seller, and deploys the business smart contract to the blockchain network through the smart contract processing unit. The transaction platform responds to the business processing request of the buyer and / or the seller, processes the business processing request, and obtains the business processing result. Data processing instructions are generated based on the business processing result and sent to the financial institution. The financial institution calls the business smart contract to process the data processing instruction, and the data processing result is stored in the blockchain network through the smart contract processing unit. The above technical solution introduces the blockchain network, determines the business smart contract through the smart contract processing unit, and performs data processing through the business smart contract during the business processing process, thereby improving transaction efficiency and security.

[0087] Optionally, the smart contract determination module 310 is specifically configured to:

[0088] In response to the buyer and the seller's processing operations on the business processing items, target business parameters are obtained;

[0089] Generate business smart contracts based on target business parameters and contract templates through the smart contract processing unit;

[0090] Review business smart contracts through the smart contract processing unit;

[0091] After the review is passed, the business smart contract will be deployed to the blockchain network through the smart contract processing unit.

[0092] Optionally, the business processing request includes an account creation request; accordingly, the business processing result determination module 320 is configured to:

[0093] In response to the account creation processing requests from the buyer and the seller, create a buyer platform account and a seller platform account for the buyer and the seller respectively;

[0094] Accordingly, the data instruction generation module 330 is used to:

[0095] Generate internal account creation instructions based on the buyer platform account and seller platform account in the business processing results;

[0096] The internal account creation instruction is sent to the financial institution to create a buyer's internal account and a seller's internal account for the buyer and the seller respectively.

[0097] Optionally, the business processing request includes an order request. Accordingly, the business processing result determination module 320 is configured to:

[0098] Responding to the buyer's order request through the trading platform, obtaining the target transaction data transferred by the buyer to the buyer's platform account;

[0099] Accordingly, the data instruction generation module 330 is used to:

[0100] Generate data transfer instructions based on target transaction data,

[0101] The data transfer instruction is sent to the financial institution, so that the financial institution transfers the target transaction data from the buyer's platform account to the buyer's internal account; wherein, the target transaction data in the buyer's internal account is controlled by the business smart contract.

[0102] Optionally, the data processing instruction includes a data transfer instruction. Accordingly, the data processing module 340 is configured to:

[0103] When the buyer's transaction is confirmed to be completed, the financial institution calls the business smart contract to verify the target transaction data in the data transfer instruction;

[0104] After verification, the target transaction data will be transferred from the buyer's internal account to the seller's platform account;

[0105] The order status in the data processing results is stored in the blockchain network through the smart contract processing unit.

[0106] Optionally, the target transaction data generates value-added data in the buyer's internal account.

[0107] The blockchain-based data processing device provided in the embodiment of the present invention can execute the blockchain-based data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0108] According to an embodiment of the present invention, the present invention further provides an electronic device, a readable storage medium, and a computer program product.

[0109] Figure 7 2 is a schematic diagram of the structure of an electronic device that implements the blockchain-based data processing method according to an embodiment of the present invention. Figure 7A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0110] like Figure 7 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0111] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0112] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the blockchain-based data processing method.

[0113] In some embodiments, the blockchain-based data processing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the blockchain-based data processing method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the blockchain-based data processing method by any other appropriate means (e.g., by means of firmware).

[0114] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0115] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0116] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0117] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0118] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0119] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0120] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0121] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A data processing method based on blockchain, characterized in that: include: Determine a business smart contract with the buyer and seller through the trading platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit; Responding to business processing requests from buyers and / or sellers via the trading platform, processing the business processing requests, and obtaining business processing results; generating a data processing instruction according to the business processing result, and sending the data processing instruction to the financial institution; The financial institution calls the business smart contract to process the data processing instruction, and stores the data processing result in the blockchain network through the smart contract processing unit.

2. The method according to claim 1, characterized in that Determine a business smart contract with the buyer and seller through the trading platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit, including: In response to the buyer and the seller's processing operations on the business processing items, target business parameters are obtained; Generate a business smart contract according to the target business parameters and the contract template through the smart contract processing unit; Reviewing the business smart contract through the smart contract processing unit; After the review is passed, the business smart contract is deployed to the blockchain network through the smart contract processing unit.

3. The method according to claim 1, characterized in that The business processing request includes an account creation request; accordingly, the transaction platform responds to the business processing requests of the buyer and the seller, processes the business processing request, and obtains a business processing result, including: In response to the account creation processing requests from the buyer and the seller, create a buyer platform account and a seller platform account for the buyer and the seller respectively; Accordingly, generating a data processing instruction according to the business processing result and sending the data processing instruction to the financial institution includes: Generate an internal account creation instruction based on the buyer platform account and the seller platform account in the business processing result; The internal account creation instruction is sent to a financial institution for creating a buyer's internal account and a seller's internal account for the buyer and the seller respectively.

4. The method according to claim 1, wherein The business processing request includes an order request. Accordingly, the transaction platform responds to the buyer's business processing request and processes the business processing request to obtain a business processing result, including: Responding to the buyer's order request through the trading platform, obtaining the target transaction data transferred by the buyer to the buyer's platform account; Accordingly, generating a data processing instruction according to the business processing result and sending the data processing instruction to the financial institution includes: Generate a data transfer instruction according to the target transaction data, The data transfer instruction is sent to a financial institution, so that the financial institution transfers the target transaction data from the buyer's platform account to the buyer's internal account; wherein the target transaction data is controlled by a business smart contract in the buyer's internal account.

5. The method according to claim 4, characterized in that The data processing instruction includes a data transfer instruction. Accordingly, the financial institution calls the business smart contract to process the data processing instruction, and stores the data processing result in the blockchain network through the smart contract processing unit, including: When it is recognized that the buyer's transaction is completed, the financial institution calls the business smart contract to verify the target transaction data in the data transfer instruction; After verification, the target transaction data is transferred from the buyer's internal account to the seller's platform account; The order status in the data processing results is stored in the blockchain network through the smart contract processing unit.

6. The method according to claim 4 or 5, characterized in that The target transaction data generates value-added data in the buyer's internal account.

7. A data processing device based on blockchain, characterized in that: include: A smart contract determination module is used to determine a business smart contract with the buyer and seller through the trading platform, and deploy the business smart contract to the blockchain network through the smart contract processing unit; A business processing result determination module is used to respond to business processing requests from buyers and / or sellers through the trading platform, process the business processing requests, and obtain business processing results; a data instruction generation module, configured to generate a data processing instruction based on the business processing result and send the data processing instruction to a financial institution; The data processing module is used to call the business smart contract through the financial institution to process the data processing instruction, and store the data processing results in the blockchain network through the smart contract processing unit.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the blockchain-based data processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the blockchain-based data processing method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product includes a computer program, which, when executed by a processor, implements the blockchain-based data processing method according to any one of claims 1 to 6.