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

Through blockchain technology, user credentials are obtained and verified in cross-border tax payment business, the high cost and inefficiency of cross-border tax payment business under the existing model is solved, the data is not tampered with and efficient transmission is realized, and the service quality and efficiency of taxpayers is improved.

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

Patent Information

Application Number
CN202510679202.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

Under the current model, cross-border tax payment business requires taxpayers to go to the offline tax service hall to handle tax registration, tax type verification and tax declaration, resulting in high labor costs and complicated processes. Business connection between tax authorities, bank of income and treasury departments relies on manual contact, which is not efficient.

Method used

Through blockchain technology, user credentials provided by tax nodes are obtained, remittance information is obtained based on user credentials and uploaded to the blockchain, and user payment results are generated and verified, data is not tampered with and efficient transmission, and online query and full-process tracking are supported.

Benefits of technology

It improves the accuracy and reliability of data, reduces labor costs, realizes efficient online processing of cross-border tax payment services, reduces taxpayers' time and labor costs, and improves service quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120563255A_ABST
    Figure CN120563255A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method based on a block chain. The method can be applied to the technical field of big data and the technical field of block chains. The method is applied to a financial node, and specifically comprises the steps of obtaining a user certificate provided by a tax node from a block chain, and obtaining user remittance information based on the user certificate. And uploading the user remittance information to the block chain, and based on the user remittance information, obtaining a user payment result corresponding to the user remittance information. And uploading a user payment result corresponding to the user remittance information to the block chain. The invention further provides a data processing device and equipment based on the block chain, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of big data technology, specifically to the field of blockchain technology, and in particular to a blockchain-based data processing method, device, equipment, medium and program product. Background Art

[0002] Cross-border tax payments are increasingly common among businesses, including banks, as the industry evolves. These primarily involve the payment of corporate income tax and stamp duty on equity transfers with both parties involved (accounting for over 95% of the total). Furthermore, foreign companies paying property tax and urban land use tax on real estate held in Shanghai; Hong Kong companies paying value-added tax on fees from the Shanghai-Hong Kong Stock Connect; foreign companies paying value-added tax on foreign exchange trading income through foreign exchange exchanges; and foreign individuals paying back individual income tax through final settlements.

[0003] Under the current model, taxpayers (or their agents) must go to an offline tax service hall to complete tax registration, tax type determination, and tax declaration before they can initiate remittance and tax payment operations. Furthermore, the collecting bank must first transfer the tax funds to the receiving treasury and notify the tax authorities to issue a paper bank node inquiry tax payment receipt, which is then completed by the receiving treasury. On the one hand, the labor cost of taxpayers (either in person or through their agents) visiting the tax authorities to handle business in person is high and the experience is poor. On the other hand, the business connection between the tax authorities, the collecting bank, and the treasury department relies entirely on manual communication and transmission, which is complicated and inefficient. Summary of the Invention

[0004] In view of the above problems, the present disclosure provides a blockchain-based data processing method, apparatus, device, medium and program product.

[0005] According to a first aspect of the present disclosure, a blockchain-based data processing method is provided, which is applied to a financial node. The method includes: obtaining user credentials provided by a tax node from a blockchain; obtaining user remittance information based on the user credentials; uploading the user remittance information to the blockchain; obtaining a user payment result corresponding to the user remittance information based on the user remittance information; and uploading the user payment result corresponding to the user remittance information to the blockchain.

[0006] According to an embodiment of the present disclosure, obtaining user credentials provided by a tax node from a blockchain includes: accessing the blockchain through a standardized interface provided by a business node cluster to obtain the user credentials provided by the tax node.

[0007] According to an embodiment of the present disclosure, obtaining user credentials provided by a tax node from a blockchain includes: accessing the blockchain through an embedded ledger to obtain user information on the chain.

[0008] According to an embodiment of the present disclosure, the user information includes: the key and value of the user information key-value pair, the embedded ledger includes: a block header and a state database, the state database includes: a historical transaction key-value pair index, the block header corresponds one-to-one to the key of the user information key-value pair, and accessing the blockchain through the embedded ledger to obtain the user information on the chain includes: obtaining the block header of the block where the user information on the chain is located; based on the block header, obtaining the key of the user information key-value pair corresponding to the block header; and based on the key of the user information key-value pair and the historical transaction key-value pair index, obtaining the value of the user information key-value pair.

[0009] According to an embodiment of the present disclosure, uploading the user remittance information to the blockchain includes: encapsulating the user remittance information to generate encapsulated data; encrypting the core data of the encapsulated data to generate encrypted data; performing hash calculation on the encrypted data to generate a hash value; submitting the hash value to the blockchain; and generating a smart contract based on preset business logic, and verifying the hash value through a consensus mechanism through the smart contract and writing it into a block.

[0010] According to an embodiment of the present disclosure, based on the user remittance information, obtaining a user payment result corresponding to the user remittance information includes: based on the user remittance information, obtaining key information corresponding to the user remittance information; based on preset information, verifying the key information and generating a verification result; generating a user payment result corresponding to the user remittance information based on the verification result; and obtaining the user payment result corresponding to the user remittance information.

[0011] According to a second aspect of the present disclosure, a blockchain-based data processing method is provided, which is applied to a tax node, the method comprising: obtaining user contract information and generating a user credential; uploading the user credential to the blockchain; obtaining user remittance information and a user payment result corresponding to the user remittance information from the blockchain, wherein the user remittance information and the user payment result corresponding to the user remittance information are generated at a financial node based on the user credential; judging whether the user has successfully paid based on the user remittance information and the user payment result corresponding to the user remittance information; and generating a tax payment certificate if the user has successfully paid.

[0012] According to a third aspect of the present disclosure, a blockchain-based data processing device is provided, which is applied to a financial node. The device includes: a first acquisition module, which is used to obtain user credentials provided by a tax node from a blockchain; a second acquisition module, which is used to obtain user remittance information based on the user credentials; a first upload module, which is used to upload the user remittance information to the blockchain; a third acquisition module, which is used to obtain a user payment result corresponding to the user remittance information based on the user remittance information; and a second upload module, which is used to upload the user payment result corresponding to the user remittance information to the blockchain.

[0013] According to an embodiment of the present disclosure, the user information includes: the key and value of the user information key-value pair, the embedded ledger includes: a block header and a state database, the state database includes: a historical transaction key-value pair index, the block header corresponds one-to-one to the key of the user information key-value pair, and the first acquisition module includes: a fifth acquisition module, which is used to obtain the block header of the block where the user information on the chain is located; a sixth acquisition module, which is used to obtain the key of the user information key-value pair corresponding to the block header based on the block header; and a seventh acquisition module, which is used to obtain the value of the user information key-value pair based on the key of the user information key-value pair and the historical transaction key-value pair index.

[0014] According to an embodiment of the present disclosure, the first upload module includes: a third generation module, which is used to encapsulate the user remittance information and generate encapsulated data; a fourth generation module, which is used to encrypt the core data of the encapsulated data and generate encrypted data; a fifth generation module, which is used to perform hash calculation on the encrypted data and generate a hash value; a submission module, which is used to submit the hash value to the blockchain; and a writing module, which is used to generate a smart contract based on preset business logic, and verify the hash value through a consensus mechanism through the smart contract and write it into the block.

[0015] According to an embodiment of the present disclosure, the third acquisition module includes: an eighth acquisition module, which is used to obtain key information corresponding to the user remittance information based on the user remittance information; a sixth generation module, which is used to verify the key information based on preset information and generate a verification result; a seventh generation module, which is used to generate a user payment result corresponding to the user remittance information based on the verification result; and a ninth acquisition module, which is used to obtain the user payment result corresponding to the user remittance information.

[0016] According to a fourth aspect of the present disclosure, a blockchain-based data processing device is provided, which is applied to a tax node, and the device includes: a first generation module, used to obtain user contract information and generate user credentials; a third upload module, used to upload the user credentials to the blockchain; a fourth acquisition module, used to obtain user remittance information and user payment results corresponding to the user remittance information from the blockchain, wherein the user remittance information and the user payment results corresponding to the user remittance information are generated at a financial node based on the user credentials; a first judgment module, used to judge whether the user has successfully paid based on the user remittance information and the user payment results corresponding to the user remittance information; and a second generation module, used to generate a tax payment certificate if the user has successfully paid.

[0017] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned blockchain-based data processing method.

[0018] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, on which executable instructions or computer programs are stored. When the instructions or computer programs are executed by a processor, the processor executes the above-mentioned blockchain-based data processing method.

[0019] According to a seventh aspect of the present disclosure, a computer program product is also provided, including a computer program, which implements the above-mentioned blockchain-based data processing method when executed by a processor.

[0020] This disclosure ensures that data cannot be tampered with and enhances data accuracy and reliability by storing user credentials, remittance information, and payment results in the blockchain. At the same time, blockchain technology provides more efficient data transmission and more secure communication access for information on the chain for tax authorities, collection banks, and other parties. It can not only realize online query and sharing of settlement information, tax payment information, remittance information, reconciliation information, etc., but also simultaneously carry out the technical effect of full-process tracking of treasury collection business. It can solve the technical problems that under the current model, users must go to the offline tax service hall to handle tax registration, tax type assessment, tax declaration, etc. before they can start remittance and tax payment operations. The labor cost of users going to the tax authorities to handle business on site is high and the experience is poor. At the same time, the business connection between tax authorities, collection banks, and treasury departments relies entirely on manual contact and manual transmission, and the process is complicated and inefficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0022] Figure 1 The following schematically illustrates an application scenario diagram of a blockchain-based data processing method and device according to an embodiment of the present disclosure;

[0023] Figure 2 A flowchart schematically illustrates the application of a blockchain-based data processing method to a financial node according to an embodiment of the present disclosure;

[0024] Figure 3 A flowchart schematically illustrates a method for processing data based on blockchain according to an embodiment of the present disclosure, applied to a financial node to obtain on-chain user information through an embedded ledger;

[0025] Figure 4 The flowchart schematically shows the blockchain-based data processing method according to an embodiment of the present disclosure applied to uploading blockchain of a financial node;

[0026] Figure 5 A flowchart schematically illustrates the application of the blockchain-based data processing method according to an embodiment of the present disclosure to a financial node to obtain payment results;

[0027] Figure 6 A flowchart schematically illustrates the application of a blockchain-based data processing method to a tax node according to an embodiment of the present disclosure;

[0028] Figure 7 The following schematically shows a structural diagram of a blockchain-based data processing system according to an embodiment of the present disclosure;

[0029] Figure 8 The flowchart of an embodiment of a data processing method based on blockchain according to an embodiment of the present disclosure is schematically shown;

[0030] Figure 9 The following schematically shows a structural block diagram of a blockchain-based data processing device for a financial node according to an embodiment of the present disclosure;

[0031] Figure 10 Schematically shows a structural block diagram of a data processing device for a tax node based on blockchain according to an embodiment of the present disclosure; and

[0032] Figure 11 A block diagram of an electronic device suitable for implementing a blockchain-based data processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0033] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0034] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of the features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0035] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0036] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0037] The accompanying drawings illustrate some block diagrams and / or flow charts. It should be understood that some blocks in the block diagrams and / or flow charts, or combinations thereof, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable control device, so that when executed by the processor, these instructions may create a device for implementing the functions / operations described in the block diagrams and / or flow charts.

[0038] First, let’s explain the technical terms that appear in this article as follows:

[0039] Embedded ledger: This is a technology that deeply combines distributed ledger technology with embedded systems. Its core lies in embedding accounting processing functions directly into devices or business systems through collaborative design combining hardware and software, realizing real-time recording, verification and sharing of data.

[0040] Block header: It is the "metadata collection" of each block in the blockchain. It is located at the beginning of the block and is used to store the basic information required to verify the legitimacy of the block. It generates a unique block identifier (hash value) through a hash value algorithm and links with the previous block to form an unalterable chain structure.

[0041] The Merkle root, or the root node of a Merkle tree, is the final top-level hash value generated by the Merkle tree. A Merkle tree is a binary tree where leaf nodes store the hash values ​​of the original data blocks. Non-leaf nodes are generated by concatenating the hash values ​​of their two child nodes and then hashing them. The final top-level hash value is the root node of the Merkle tree.

[0042] Embodiments of the present disclosure provide a blockchain-based data processing method, which is applied to a financial node and specifically includes: obtaining user credentials provided by a tax node from a blockchain; obtaining user remittance information based on the user credentials; uploading the user remittance information to the blockchain; obtaining a user payment result corresponding to the user remittance information based on the user remittance information; and uploading the user payment result corresponding to the user remittance information to the blockchain.

[0043] According to the disclosed embodiment, by storing user credentials, remittance information and payment results in the blockchain, it can be ensured that the data cannot be tampered with, and the accuracy and reliability of the data can be enhanced. At the same time, blockchain technology provides more efficient data transmission and more secure communication access for tax authorities, collection banks and other parties to upload information to the chain. It can not only realize online query and sharing of settlement information, tax payment information, remittance information, reconciliation information, etc., but also can simultaneously carry out the technical effect of full-process tracking of treasury collection business. It can solve the current model. Users must go to the offline tax service hall to handle tax registration, tax type assessment, tax declaration and other matters before they can start remittance and tax payment operations. The labor cost of users going to the tax authorities to handle business on site is high and the experience is poor. At the same time, the business connection between the tax authorities, collection banks and treasury departments relies entirely on manual contact and manual transmission, and the process is complicated and inefficient. Technical problems.

[0044] Figure 1 The following schematically illustrates an application scenario diagram of the blockchain-based data processing method and device according to an embodiment of the present disclosure. It should be noted that: Figure 1 The examples shown are merely examples of scenarios in which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0045] like Figure 1As shown, the application scenario 100 according to this embodiment may include an application scenario of blockchain-based data processing. The network 104 is used as a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0046] A user may use a first terminal device 101, a second terminal device 102, or a third terminal device 103 to interact with a server 105 via a network 104 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, or the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (for example only).

[0047] The first terminal device 101 , the second terminal device 102 , and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0048] The server 105 may be a server that provides various services, such as a background management server (for example only) that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process received data such as user requests, and feed back processing results (e.g., web pages, information, or data obtained or generated based on user requests) to the terminal devices.

[0049] It should be noted that the blockchain-based data processing method provided in the embodiments of the present disclosure can generally be executed by the server 105. Accordingly, the blockchain-based data processing device provided in the embodiments of the present disclosure can generally be set in the server 105. The blockchain-based data processing method provided in the embodiments of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the blockchain-based data processing device provided in the embodiments of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0050] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0051] The following will be based on Figure 1 The scene described by Figures 2 to 7 The blockchain-based data processing method of the disclosed embodiment is described in detail. It should be noted that the above application scenarios are only provided to facilitate understanding of the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.

[0052] Figure 2 The flowchart of the data processing method based on blockchain according to an embodiment of the present disclosure is schematically shown.

[0053] like Figure 2 As shown, the method 200 includes steps S201 to S205.

[0054] Step S201: Obtain user credentials provided by the tax node from the blockchain.

[0055] For example, the blockchain can be accessed through a standardized interface provided by a business node cluster to obtain user credentials provided by a tax node. Alternatively, the blockchain can be accessed through a standardized interface provided by a private or consortium chain to obtain user credentials provided by a tax node.

[0056] Through private chains, consortium chains, or node clusters provided by third-party service platforms, participants interact with the blockchain through standardized interfaces. For example, participants access the blockchain through a locally deployed business node cluster, private chain, or consortium chain. Because the third-party service platform maintains the node cluster, overall blockchain maintenance costs are reduced, and support for multi-chain access and high concurrency requests improves computing efficiency.

[0057] Alternatively, participants can access the blockchain through its APIs, allowing them to use its data services according to their authorization. This approach is suitable for participants who need to exchange data or collaborate with the blockchain but do not require data localization. Participants using this access method do not need to prepare additional computing and storage resources.

[0058] It is also possible to access the blockchain through an embedded ledger to obtain on-chain user information. The user information includes the key and value of the user information key-value pair. The embedded ledger includes a block header and a state database. The state database includes an index of historical transaction key-value pairs. The block header corresponds one-to-one with the key of the user information key-value pair.

[0059] Figure 3 The flowchart schematically shows a blockchain-based data processing method according to an embodiment of the present disclosure applied to a financial node to obtain on-chain user information through an embedded ledger.

[0060] like Figure 3 As shown, the method 300 includes steps S301 to S303.

[0061] Step S301: Obtain the block header of the block where the user information on the chain is located.

[0062] For example, the block header includes a version number, a hash value of the previous block, a Merkle root, and a timestamp. The version number identifies the blockchain protocol version, while the hash value of the previous block records the hash value of the previous block, forming a chain structure. If the content of the previous block is tampered with, the change in its hash value will invalidate all subsequent blocks, ensuring the irreversibility of the chain. The hash value of all transactions within the Merkle root is calculated layer by layer through the Merkle tree. This hash value can quickly verify whether the transaction has been tampered with without traversing all transaction data. The timestamp records the specific time of block generation, coordinates time synchronization among nodes across the entire network, and prevents duplicate transactions. In this method, the block header corresponds one-to-one with the key of the user information key-value pair, which can also be a one-to-one correspondence between the Merkle root and the key of the user information key-value pair.

[0063] Step S302: Based on the block header, obtain the key of the user information key-value pair corresponding to the block header.

[0064] For example, based on the block header, obtain the key of the user information key-value pair corresponding to the block header.

[0065] Step S303: Acquire the value of the user information key-value pair based on the key of the user information key-value pair and the historical transaction key-value pair index.

[0066] By distributing the path for obtaining on-chain user information (block header-key-value), and simultaneously improving data verification efficiency through the timestamp and version number in the block header, this technology achieves the technical effect of saving computing resources and improving computing efficiency. Through the embedded ledger access strategy, it can achieve technical effects such as reducing the amount of computing, improving computing efficiency, and reducing network transmission.

[0067] Return to reference Figure 2 In step S202, user remittance information is obtained based on the user credentials.

[0068] Step S203: Upload the user remittance information to the blockchain.

[0069] Figure 4 The flowchart schematically shows the application of the blockchain-based data processing method according to an embodiment of the present disclosure to the uploading blockchain of a financial node.

[0070] like Figure 4 As shown, the method 400 includes steps S401 to S405.

[0071] Step S401: encapsulate the user remittance information to generate encapsulated data.

[0072] Step S402: encrypt the core data of the encapsulated data to generate encrypted data.

[0073] Step S403: performing hash calculation on the encrypted data to generate a hash value.

[0074] Step S404: submit the hash value to the blockchain.

[0075] Step S405: Generate a smart contract based on the preset business logic, verify the hash value through the smart contract using the consensus mechanism and write it into the block.

[0076] Encryption and hashing ensure that core data is not leaked while ensuring data integrity, enhancing data security and privacy protection. At the same time, the setting of smart contracts reduces manual intervention and improves data processing efficiency.

[0077] Return to reference Figure 2 In step S204, based on the user remittance information, a user payment result corresponding to the user remittance information is obtained.

[0078] Figure 5 A flowchart of the blockchain-based data processing method according to an embodiment of the present disclosure applied to a financial node to obtain payment results is schematically shown.

[0079] like Figure 5 As shown, the method 500 includes steps S501 to S504.

[0080] Step S501: Based on the user remittance information, key information corresponding to the user remittance information is acquired.

[0081] For example, the key information corresponding to the user remittance information may include: three elements of the postscript information, specifically including: electronic tax invoice number, taxpayer identification number and tax authority code.

[0082] Step S502: Verify the key information based on preset information and generate a verification result.

[0083] For example, you can directly preset information to verify the electronic tax invoice number, taxpayer identification number and tax authority code, or you can query the horizontal networking system of the finance and taxation database and then preset information for verification.

[0084] Step S503: generating a user payment result corresponding to the user remittance information based on the verification result.

[0085] For example, the user payment result may include: payment completion information or payment failure information caused by incorrect remarks, inaccurate three elements, insufficient amount, etc.

[0086] Step S504: Obtain the user payment result corresponding to the user remittance information.

[0087] By verifying key information, the accuracy of user payment results is improved and the user experience is enhanced.

[0088] Return to reference Figure 2 In step S205, the user payment result corresponding to the user remittance information is uploaded to the blockchain.

[0089] Figure 6 The flowchart schematically shows the application of the blockchain-based data processing method to a tax node according to an embodiment of the present disclosure.

[0090] like Figure 6 As shown, the method 600 includes steps S601 to S605.

[0091] Step S601: Obtain user contract information and generate user credentials.

[0092] Step S602: Upload the user credentials to the blockchain.

[0093] Step S603: Obtain user remittance information and a user payment result corresponding to the user remittance information from the blockchain, wherein the user remittance information and the user payment result corresponding to the user remittance information are generated at a financial node based on the user credential.

[0094] Step S604: Based on the user remittance information and the user payment result corresponding to the user remittance information, it is determined whether the user payment is successful.

[0095] Step S605: If the user pays successfully, a tax payment certificate is generated.

[0096] According to the issuance method, users do not need to go back and forth to the tax authorities multiple times to handle verification, declaration, and invoicing, nor do they need to repeatedly submit tax information to the collection bank. This greatly reduces the time and manpower costs of cross-border tax processing, shortens the duration of the entire business process, and improves the quality and efficiency of services to taxpayers.

[0097] In the present disclosure, a user enters user contract information through a tax node, generates a user credential, and uploads the credential to the blockchain. A financial node then retrieves the user credential provided by the tax node from the blockchain. Based on the credential, the user remittance information and the corresponding user payment result are retrieved, and the user remittance information and the corresponding user payment result are uploaded to the blockchain. The tax node then retrieves the user remittance information and the corresponding user payment result from the blockchain. Based on the user remittance information and the corresponding user payment result, a determination is made as to whether the user has successfully paid. If the user has successfully paid, a tax payment receipt is generated.

[0098] Figure 7 The figure schematically shows a structural diagram of a blockchain-based data processing system according to an embodiment of the present disclosure.

[0099] like Figure 7 As shown, the system 700 includes an electronic tax information system, a blockchain system, a finance and taxation treasury horizontal networking system, an agent treasury system, a bank foreign exchange settlement and sales system, and a bank cross-border remittance system.

[0100] The electronic tax information system is a computer information system responsible for collecting, storing, and managing tax data, forming the foundational information for the entire system. The blockchain system, at its core, facilitates the sharing of information between multiple parties, preventing inefficiencies and distortions in data transmission and ensuring real-time sharing and mutual recognition of transaction confirmation, fund settlement, and deduction declaration results. The blockchain utilizes a multi-party collaborative model, with each party on the chain receiving a unique identity. Message subscription and notification services are provided to improve the efficiency of information synchronization between application systems and the blockchain. Tax payment data is shared through the blockchain, ensuring transparency and control over the entire tax payment process. The overall blockchain system architecture consists of four components: the user layer, the data service layer, the underlying platform, and the monitoring layer. At the user layer, authentication and authorization are performed on the unified user identity system, enabling integration with the tax blockchain. A web interface is established for user login, logout, and detailed cross-border tax payment queries. The data service layer provides the blockchain's evidence data service capabilities to upper-level applications in a flexible and diverse manner, offering participants three access methods: business nodes, embedded ledgers, and API interfaces. Finally, the monitoring capabilities of the blockchain's operating status, basic computing resources, etc. are provided to the blockchain monitoring layer in the form of service encapsulation for standard modular applications.

[0101] Participants access the blockchain through its APIs, authorizing access to its data services. This approach is suitable for participants who need to exchange data or collaborate with the blockchain but do not require data localization. Participants using this access method do not need to prepare additional computing and storage resources, and are primarily used by banking clients.

[0102] Participants access the blockchain through an embedded ledger using a development kit (SDK) that includes specific software packages and frameworks. This approach differs significantly from the API approach in that it is tightly coupled with business systems, allowing participants to flexibly integrate with various local business systems using the SDK. Participants using this access method do not need to prepare additional computing and storage resources. The "distributed ledger" records information on non-resident tax payments, remittances, payments, remittance returns, tax authority confirmations, and pending declarations (submitted to the treasury). All users on the blockchain share this information according to the access specifications. The state database records the current values ​​of transaction key-value pairs in blocks and is essentially a key-value directory indexing the current transaction history on the blockchain. When executing a transaction, the current state of the ledger must be read, and the latest state of the key-value can be quickly retrieved from the state database. The purpose of the state database is to enable chaincode to retrieve the current state of the transaction key-value in the index without having to traverse all transactions related to the key-value in the entire blockchain.

[0103] Participants access the blockchain through locally deployed business nodes. This approach is suitable for participants with a certain scale of business and data localization requirements. Participants can synchronize their relevant business data from the blockchain to the local business node in real time. The business node data is highly consistent with the on-chain data, allowing participants to quickly verify data authenticity based on the local business node. Participants using this access method must prepare the appropriate computing and storage resources to deploy business node services, application access services, and monitoring services. They are also responsible for the daily operation and maintenance of local computing and storage resources. This approach is often used in provincial tax systems.

[0104] The monitoring layer provides visualization for blockchain management and monitoring, supporting relevant personnel in blockchain operation monitoring and daily management. This layer encompasses both management and monitoring. The management platform manages basic chain management, application scenarios, basic resources, and the basic platform through a visual interface. The monitoring platform primarily monitors on-chain data such as nodes and blocks, as well as related business data instruments. The system incorporates automated monitoring and adaptation mechanisms, providing automatic alerts when anomalies occur, thereby reducing the burden on operations and maintenance personnel.

[0105] The Finance, Taxation, Treasury, and Banking Horizontal Networking System utilizes information technology and network technologies to establish an electronic information channel between finance, taxation, the treasury, and commercial banks, following a unified networking scheme, business standards, interface specifications, and software development. This system provides secure, accurate, and efficient electronic processing for tax revenue collection, deposits, refunds, corrections, and reconciliation. The Treasury Agent System is a computer system used by banks to handle treasury collection and collection operations. The Bank Foreign Exchange Settlement and Sales System is a computer information system responsible for completing foreign exchange transactions. The Bank Cross-Border Remittance System is a computer information system responsible for completing cross-border remittances.

[0106] The shared information that needs to be uploaded to the chain in this system includes: tax payment forecast information, fund settlement information, bank node query tax payment voucher and tax payment information.

[0107] This information is derived from information on tax items, tax amounts, remittance accounts, and remittance transactions submitted by overseas taxpayers through the electronic tax information system and confirmed by the tax authorities. Foreign exchange settlement information is derived from the settlement bank's actual receipt of remittances from overseas taxpayers. For remittances in foreign currency, this information is the amount after settlement. This information is used to ensure that tax payments have reached the designated account in full and that deductions can be processed. Bank nodes query tax payment vouchers based on invoice information from the Finance, Taxation, Treasury, and Banking Transverse Network System. This information, combined with pre-populated information, also includes late payment penalty information to determine the actual amount payable by overseas taxpayers and initiate deduction instructions. Tax remittance information is derived from the deduction results from the Finance, Taxation, Treasury, and Banking Transverse Network System. After a successful deduction, overseas taxpayers can issue a tax payment voucher in the electronic tax information system. The completion of blockchain business transactions facilitates tracking and management by all parties, as well as subsequent business operations.

[0108] In this system, blockchain technology provides more efficient data transmission and more secure communication access for tax authorities, collection banks and other parties to upload information to the chain. It not only enables online query and sharing of information such as foreign exchange settlement, tax payment, refund, and reconciliation, but also allows for simultaneous full-process tracking of treasury collection business.

[0109] For cross-border tax payments where the amount of foreign exchange settled exceeds the tax payable, taxpayers fail to make the full payment within the deadline, or taxpayers proactively request a refund, the new model optimizes account settings and enables the return of funds to the original remittance account. For any small amount of funds remaining in the account that is insufficient to cover the refund of handling fees, the branch bank will work with the Finance Bureau to issue a payment receipt, which will be deposited into the bank at the end of the year.

[0110] Relevant countermeasures and compensation measures have been provided for unusual situations such as incorrect filling or loss of the three elements of remittance information, late payment fees due to overdue payment declarations caused by multiple and lengthy transfer and remittance links, as well as network interruptions and system failures, to further improve and perfect cross-border tax payment services.

[0111] Figure 8 The flowchart of an embodiment of a blockchain-based data processing method according to an embodiment of the present disclosure is schematically shown.

[0112] like Figure 8 As shown, embodiment 800 is a blockchain-based cross-border tax payment process flow chart. In embodiment 800, after the tax node reviews and approves the payee's contract information, the payee initiates a tax return, and the tax authority issues a bank node verification receipt. The tax authority requires the payee to initiate a remittance to the bank's designated internal account for pending tax return settlement, specifying the "taxpayer identification number, bank node verification receipt serial number, and tax collection authority code" in the "Notes." The tax authority pushes the non-resident information to the bank, thereby uploading it to the blockchain and making it accessible to all banks. After receiving the remittance, the bank node manually collects the "Notes" information (three elements: electronic tax invoice number, taxpayer identification number, and tax collection authority code). Foreign currency or RMB settlement is processed at the transaction window, and the funds are transferred to the "Budget Revenue to be Reported" account. The remittance information (including the three elements) is also uploaded to the blockchain and pushed to the municipal tax authority. If the "Notes" is blank, the three elements remain blank. If the "Notes" information is incorrect, the bank enters it as incorrect and waits for the tax authority to send the correct three elements. The bank node queries the horizontally connected finance and taxation system based on the three elements of the remittance note. If the three elements are inaccurate or the amount is insufficient, the error information will be uploaded to the chain. If there are errors in the remittance note, the tax authorities will verify the tax information and initiate a correction to the note, which the Treasury Collection Office will then handle based on. If the tax invoice has expired, the bank can deposit it into the warehouse as normal. The payer will pay the late payment fee later. For each remittance, the bank must process a payment and, after payment, synchronize the results to the chain and push them to the tax authorities. The bank node will handle foreign currency exchange settlement or RMB settlement based on the currency. For foreign currency only, after payment, the excess funds will be purchased in foreign currency after deducting the handling fee and returned to the original remittance account. For RMB only, after payment, the excess funds will be returned after deducting the handling fee and returned to the original remittance account after deducting the handling fee. For a combination of foreign currency and RMB, after payment, the excess RMB funds will be returned after deducting the handling fee and returned to the original RMB remittance account after deducting the handling fee. After settlement, the bank will upload the return information to the chain.

[0113] For certain refunds, the tax authorities must confirm and upload the information to the blockchain. The bank then completes subsequent operations according to the tax authorities' instructions. For example, if a taxpayer transfers funds to the wrong account or requests a full refund due within the deadline, the tax authorities will confirm and process the refund in advance. Alternatively, if the three elements in the remittance note are incorrect or the system requires the tax invoice to be reissued due to system reasons, the tax authorities will provide the correct three elements to complete the tax payment. A remittance will not have a tax authority by default. Once the bank completes the three-element re-entry, a tax authority will be identified. If the three elements are incorrect, the tax authorities will forward the correct tax authority. If the remittance is incorrect, the tax authorities will forward the correct tax authority.

[0114] Based on the bank node's on-chain information, tax officials can query the remittance details and tax payment progress on the user-level application, including fields such as remittance account number, remittance account name, remittance bank name, remittance date, currency type, currency name, remittance amount, postscript, actual bank exchange rate, actual RMB exchange amount, and exchange timestamp. This information is available in real time. After tax payment is completed, the bank completes the international balance of payments declaration or cross-border RMB declaration.

[0115] The above method can solve the problem under the current model where, due to exchange rate differences and other reasons, the taxpayer's payment funds exceed the tax payable after settlement. The settled funds must first be deposited in full. The excess funds are not directly returned to the original remittance account, but the taxpayer must apply for a refund from the tax authorities. Moreover, since the deadline for payment after tax declaration is only a few days, and the time for overseas remittance is uncontrollable, additional late payment fees will be incurred once the deadline is exceeded. The impact of exchange rate fluctuations during the remittance period is even more uncontrollable. Therefore, if taxpayers want to reduce procedures and costs, they need to communicate with the tax authorities to confirm the amount of tax payable before formally declaring, remit the money first and then declare. At the same time, they also need to comprehensively consider factors such as the declaration period, payment deadline and remittance arrival time of various taxes and fees, which to a certain extent increases the difficulty of tax payment operations.

[0116] In this new business model, all taxpayer transactions are processed online. Taxpayers no longer need to make multiple trips to tax authorities for verification, declaration, and invoicing, nor do they need to repeatedly submit tax documents to collection banks. This significantly reduces the time and labor costs associated with cross-border tax processing, shortens the overall transaction process, and improves the quality and efficiency of taxpayer services. Leveraging blockchain technology for cross-border remittance tax payment services effectively addresses the duplication and inefficiency caused by the lack of synchronization and data sharing between tax payment information and funds. By uploading exchange settlement, tax payment, refund, and reconciliation information to the blockchain, tax payment information and funds flows can be aligned, ensuring seamless integration across all links and meeting the needs of all parties involved in the transaction for timely and secure information sharing. This enables comprehensive monitoring and management of the entire process, improving transaction processing timelines while further strengthening oversight of tax collection and payment, enabling tax authorities, collection banks, and the treasury to monitor the progress of funds arrival and deposit. At the same time, it can facilitate taxpayers to complete tax payment declaration and remittance operations on time and accurately, and provide them with value-added query services of relevant information in a timely manner, continuously improving taxpayers' service experience and recognition, and further enhancing the social credibility and authority of the People's Bank of China and the financial and taxation departments.

[0117] Figure 9 The present invention schematically shows a structural block diagram of a blockchain-based data processing device applied to a financial node according to an embodiment of the present disclosure.

[0118] like Figure 9As shown, the device 900 includes: a first acquisition module 901 , a second acquisition module 902 , a first upload module 903 , a third acquisition module 904 and a second upload module 905 .

[0119] The first acquisition module 901 is used to obtain the user credentials provided by the tax node from the blockchain. In one embodiment, the first acquisition module 901 can be used to execute step S201 described above.

[0120] The first acquisition module 901 includes: a fifth acquisition module, a sixth acquisition module and a seventh acquisition module.

[0121] The fifth acquisition module is used to obtain the block header of the block where the user information on the chain is located. In one embodiment, the fifth acquisition module can be used to execute step S301 described above, which will not be repeated here.

[0122] The sixth acquisition module is configured to acquire, based on the block header, the key of the user information key-value pair corresponding to the block header. In one embodiment, the sixth acquisition module may be configured to execute step S302 described above, which will not be described in detail here.

[0123] The seventh acquisition module is configured to acquire the value of the user information key-value pair based on the key of the user information key-value pair and the historical transaction key-value pair index. In one embodiment, the seventh acquisition module may be configured to execute step S303 described above, which will not be described in detail here.

[0124] The second acquisition module 902 is used to obtain the user remittance information based on the user credentials. In one embodiment, the second acquisition module 902 can be used to execute the step S202 described above, which will not be repeated here.

[0125] The first uploading module 903 is used to upload the user remittance information to the blockchain. In one embodiment, the first uploading module 903 can be used to execute step S203 described above.

[0126] The first uploading module 903 includes: a third generating module, a fourth generating module, a fifth generating module, a submitting module and a writing module.

[0127] The third generating module is used to perform data encapsulation on the user remittance information to generate encapsulated data. In one embodiment, the third generating module can be used to execute step S401 described above, which will not be repeated here.

[0128] The fourth generating module is configured to perform core data encryption on the encapsulated data to generate encrypted data. In one embodiment, the fourth generating module may be configured to execute step S402 described above, which will not be described in detail herein.

[0129] The fifth generating module is configured to perform a hash calculation on the encrypted data to generate a hash value. In one embodiment, the fifth generating module may be configured to execute step S403 described above, which will not be described in detail herein.

[0130] A submission module is configured to submit the hash value to the blockchain. In one embodiment, the submission module may be configured to execute step S404 described above, which will not be described in detail here.

[0131] The writing module is used to generate a smart contract based on the preset business logic, verify the hash value through the consensus mechanism through the smart contract, and write it into the block. In one embodiment, the writing module can be used to perform step S405 described above, which will not be repeated here.

[0132] The third acquisition module 904 is configured to acquire, based on the user remittance information, a user payment result corresponding to the user remittance information. In one embodiment, the third acquisition module 904 may be configured to execute step S204 described above.

[0133] The third acquisition module 904 includes: an eighth acquisition module, a sixth generation module, a seventh generation module and a ninth acquisition module.

[0134] The eighth acquisition module is used to acquire key information corresponding to the user remittance information based on the user remittance information. In one embodiment, the eighth acquisition module can be used to execute step S501 described above, which will not be repeated here.

[0135] The sixth generating module is configured to verify the key information based on the preset information and generate a verification result. In one embodiment, the sixth generating module may be configured to execute step S502 described above, which will not be described in detail here.

[0136] The seventh generating module is used to generate a user payment result corresponding to the user remittance information based on the verification result. In one embodiment, the seventh generating module can be used to execute step S503 described above, which will not be repeated here.

[0137] The ninth acquisition module is used to obtain the user payment result corresponding to the user remittance information. In one embodiment, the ninth acquisition module can be used to execute step S504 described above, which will not be repeated here.

[0138] The second uploading module 905 is used to upload the user payment result corresponding to the user remittance information to the blockchain. In one embodiment, the second uploading module 905 can be used to execute step S205 described above, which will not be repeated here.

[0139] Figure 10The present invention schematically shows a structural block diagram of a data processing device for a tax node based on blockchain according to an embodiment of the present disclosure.

[0140] like Figure 10 As shown, the device 1000 includes: a first generating module 1001 , a third uploading module 1002 , a fourth acquiring module 1003 , a first judging module 1004 and a second generating module 1005 .

[0141] The first generating module 1001 is used to obtain user contract information and generate user credentials. In one embodiment, the first generating module 1001 can be used to execute the step S601 described above, which will not be repeated here.

[0142] The third uploading module 1002 is used to upload the user credentials to the blockchain. In one embodiment, the third uploading module 1002 can be used to perform step S602 described above, which will not be repeated here.

[0143] A fourth acquisition module 1003 is configured to obtain user remittance information and a corresponding user payment result from the blockchain, wherein the user remittance information and the corresponding user payment result are generated at a financial node based on the user credential. In one embodiment, the fourth acquisition module 1003 may be configured to execute step S603 described above, and will not be further described here.

[0144] The first judgment module 1004 is used to judge whether the user has successfully paid the fee based on the user remittance information and the user payment result corresponding to the user remittance information. In one embodiment, the first judgment module 1004 can be used to execute step S604 described above, which will not be repeated here.

[0145] The second generating module 1005 is used to generate a tax payment certificate if the user pays successfully. In one embodiment, the second generating module 1005 can be used to execute the step S605 described above, which will not be repeated here.

[0146] According to embodiments of the present disclosure, any multiple of the first acquisition module 901, the second acquisition module 902, the first upload module 903, the third acquisition module 904, and the second upload module 905 can be combined into a single module, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module. According to embodiments of the present disclosure, at least one of the first acquisition module 901, the second acquisition module 902, the first upload module 903, the third acquisition module 904, and the second upload module 905 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or any appropriate combination of any of these. Alternatively, at least one of the first acquisition module 901, the second acquisition module 902, the first upload module 903, the third acquisition module 904 and the second upload module 905 can be at least partially implemented as a computer program module, which can perform corresponding functions when executed.

[0147] Figure 11 A block diagram of an electronic device suitable for implementing a blockchain-based data processing method according to an embodiment of the present disclosure is schematically shown.

[0148] like Figure 11 As shown, the electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage portion 1108 into a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0149] Various programs and data required for the operation of the electronic device 1100 are stored in the RAM 1103. The processor 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. The processor 1101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the programs in the ROM 1102 and / or the RAM 1103. It should be noted that the programs may also be stored in one or more memories other than the ROM 1102 and the RAM 1103. The processor 1101 may also perform various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in the one or more memories.

[0150] According to an embodiment of the present disclosure, electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to bus 1104. Electronic device 1100 may also include one or more of the following components connected to I / O interface 1105: an input section 1106 including a keyboard, mouse, etc.; an output section 1107 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 1108 including a hard disk; and a communication section 1109 including a network interface card such as a LAN card or modem. Communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to I / O interface 1105 as needed. Removable media 1111, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 1110 as needed, so that computer programs read from the removable media can be installed into storage section 1108 as needed.

[0151] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when executed, implements the method according to the embodiments of the present disclosure.

[0152] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include ROM 1102 and / or RAM 1103 described above, and / or one or more memories other than ROM 1102 and RAM 1103.

[0153] The embodiments of the present disclosure also include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is executed in a computer system, the program code is used to enable the computer system to implement the blockchain-based data processing method provided by the embodiments of the present disclosure.

[0154] The computer program executes the above functions defined in the system / device of the embodiment of the present disclosure when the computer program is executed by the processor 1101. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0155] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 1109, and / or installed from removable media 1111. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0156] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1109 and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above-described functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.

[0157] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).

[0158] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0159] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of this disclosure may be combined and / or coupled in various ways, even if such combinations and / or couplings are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or couplings are intended to fall within the scope of this disclosure.

[0160] The embodiments of the present disclosure are described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be used in combination to advantage. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A data processing method based on blockchain, characterized in that: Applied to a financial node, the method includes: Obtain user credentials provided by the tax node from the blockchain; Based on the user credentials, obtaining user remittance information; Uploading the user remittance information to the blockchain; Based on the user remittance information, obtaining a user payment result corresponding to the user remittance information; and The user payment result corresponding to the user remittance information is uploaded to the blockchain.

2. The method according to claim 1, characterized in that Obtain user credentials provided by the tax node from the blockchain, including: Access the blockchain through the standardized interface provided by the business node cluster and obtain the user credentials provided by the tax node.

3. The method according to claim 1, characterized in that Obtain user credentials provided by the tax node from the blockchain, including: Access the blockchain through the embedded ledger to obtain user information on the chain.

4. The method according to claim 3, characterized in that The user information includes: the key and value of the user information key-value pair; the embedded ledger includes: a block header and a state database; the state database includes: an index of historical transaction key-value pairs; the block header corresponds one-to-one to the key of the user information key-value pair; accessing the blockchain through the embedded ledger to obtain on-chain user information includes: Get the block header of the block containing the user information on the chain; Based on the block header, obtaining a key of a user information key-value pair corresponding to the block header; and Based on the key of the user information key-value pair and the historical transaction key-value pair index, the value of the user information key-value pair is obtained.

5. The method according to claim 1, wherein Uploading the user remittance information to the blockchain includes: Encapsulating the user remittance information to generate encapsulated data; Performing core data encryption on the encapsulated data to generate encrypted data; Performing hash calculation on the encrypted data to generate a hash value; submitting the hash value to the blockchain; and A smart contract is generated based on the preset business logic, and the hash value is verified by the smart contract through a consensus mechanism and written into the block.

6. The method according to any one of claims 1 to 5, characterized in that Based on the user remittance information, obtaining a user payment result corresponding to the user remittance information includes: Based on the user remittance information, acquiring key information corresponding to the user remittance information; Based on the preset information, verify the key information and generate a verification result; Generating a user payment result corresponding to the user remittance information based on the verification result; and Obtain the user payment result corresponding to the user remittance information.

7. A data processing method based on blockchain, characterized in that: Applied to the tax node, the method includes: Obtain user contract information and generate user credentials; Uploading the user credentials to the blockchain; Obtaining user remittance information and a user payment result corresponding to the user remittance information from the blockchain, wherein the user remittance information and the user payment result corresponding to the user remittance information are generated at a financial node based on the user credential; Determining whether the user payment is successful based on the user remittance information and the user payment result corresponding to the user remittance information; and If the user pays successfully, a tax payment voucher will be generated.

8. A data processing device based on blockchain, characterized in that: Applied to financial nodes, the device includes: A first acquisition module is used to obtain user credentials provided by the tax node from the blockchain; A second acquisition module, configured to acquire user remittance information based on the user credentials; A first uploading module, configured to upload the user remittance information to the blockchain; A third acquisition module is configured to acquire, based on the user remittance information, a user payment result corresponding to the user remittance information; and The second uploading module is used to upload the user payment result corresponding to the user remittance information to the blockchain.

9. A data processing device based on blockchain, characterized in that: Applied to the tax node, the device includes: The first generation module is used to obtain user contract information and generate user credentials; A third uploading module, configured to upload the user credentials to the blockchain; a fourth acquisition module, configured to acquire user remittance information and a user payment result corresponding to the user remittance information from the blockchain, wherein the user remittance information and the user payment result corresponding to the user remittance information are generated at a financial node based on the user credential; A first judgment module is configured to judge whether the user has successfully paid based on the user remittance information and the user payment result corresponding to the user remittance information; and The second generation module is used to generate a tax payment certificate if the user pays successfully.

10. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

12. 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 7 are implemented.