Data processing method and related devices and equipment

By using the blockchain network to generate and upload tax payment receipts during the entrusted collection process, the numerous paper documents and regulatory difficulties in traditional entrusted collection are solved, paperless office and secure and reliable data supervision are achieved, and the tax bureau's regulatory capabilities are enhanced.

CN111260458BActive Publication Date: 2025-09-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010086237.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-11
Publication Date
2025-09-26
Estimated Expiration
2040-02-11

AI Technical Summary

Technical Problem

The traditional entrusted tax collection process relies on numerous paper documents, which are difficult to supervise, and it is difficult for the tax bureau to track the tax collector's tampering with the time or amount of tax payments.

Method used

The blockchain network is used to achieve paperless office. The tax payment slip is generated by the tax agent's equipment and uploaded to the blockchain network. After the payment is completed, the tax bureau equipment transfers the digital assets to the tax agent's account, and uses the blockchain's immutability to supervise.

Benefits of technology

It realizes paperless operation of the entrusted collection process, ensures data security and reliability, limits the manipulation of data by collectors, provides query functions, and improves the tax bureau's supervision ability over the entrusted collection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111260458B_ABST
    Figure CN111260458B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a data processing method and related devices and equipment. The data processing method generates a first tax payment certificate based on the number segment of the tax collector, the income of the first tax recipient, and the tax rate; uploads first transaction data to the blockchain network, and the first transaction data is used to indicate that the tax of the first tax recipient in the first tax payment certificate is transferred from the transaction address of the tax collector to the transaction address of the first tax bureau; pays the tax of the first tax recipient to the first tax bureau according to the first tax payment certificate, so that when the first tax bureau device detects that the tax of the first tax recipient has been paid, it uploads second transaction data to the blockchain network, and the second transaction data is used to indicate that the first digital asset is transferred from the transaction address of the first tax bureau to the transaction address of the tax collector. Through the above data processing method, paperless office can be realized, and supervision of the entrusted tax collection process can also be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a data processing method and related devices and equipment. Background Art

[0002] Entrusted tax collection, also known as "agent collection" or "agent payment," refers to a tax collection method whereby tax authorities entrust other entities to collect taxes in accordance with the law in areas where it is difficult to assign dedicated personnel, and to report and remit taxes to the tax authorities on a regular basis. Currently, this method requires written authorization, specifying the tax types, tax items, applicable tax rates, payment methods, and payment deadlines, along with clear responsibilities, the issuance of relevant certificates, tags, and necessary collection receipts, and the payment of prescribed handling fees. However, this method generates numerous paper documents, making the entrusted tax collection process difficult to oversee. Summary of the Invention

[0003] The embodiment of the present invention provides a data processing method and related devices and equipment, which can realize paperless office and supervision of the entrusted collection process.

[0004] In a first aspect, an embodiment of the present invention provides a data processing method, the data processing method comprising:

[0005] generating a first tax payment slip according to the number segment of the tax collector, the income of the first tax recipient, and the tax rate, wherein the first tax payment slip includes an identification code of the first tax payment slip and the tax amount of the first tax recipient;

[0006] Uploading first transaction data to the blockchain network, the first transaction data being used to indicate the transfer of a first digital asset from the tax agent's transaction address to the first tax bureau's transaction address, the first transaction data including the identification code of the first tax payment receipt, and the first digital asset being used to indicate the tax amount of the first taxee in the first tax payment receipt;

[0007] The tax of the first person being taxed is paid to the first tax bureau according to the first tax payment receipt, so that when the first tax bureau device detects that the tax of the first person being taxed has been paid, the first tax bureau device uploads second transaction data to the blockchain network, and the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0008] As a possible implementation, before generating the first tax payment receipt based on the tax agent's number segment, the first tax recipient's income, and the tax rate, the method further includes:

[0009] Sending a first request to a second tax bureau device, wherein the first request is used to request the second tax bureau device to send a number segment of the tax collector, wherein the number segment is used to identify the tax collector in a tax payment slip;

[0010] Receive the number segment of the tax collector sent by the second tax bureau equipment.

[0011] As a possible implementation, after generating the first tax payment receipt based on the tax agent's number segment, the first tax recipient's income, and the tax rate, the method further includes:

[0012] The first tax payment receipt is sent to the first tax payee.

[0013] As a possible implementation, paying the tax of the first tax payee to the first tax bureau according to the first tax payment notice includes:

[0014] Sending a transfer order to a third-party server, the transfer order including the identification code of the first tax payment receipt, the transfer order being used to instruct the transfer of a second digital asset from the tax agent's account to the first tax bureau's account, the second digital asset being used to represent the tax payment of the first tax payee;

[0015] Receive a transfer result of the transfer order sent by the third-party server, where the transfer result includes an identification code of the first tax payment receipt and an indicator indicating a successful transfer.

[0016] As a possible implementation manner, after receiving the transfer result of the transfer order sent by the third-party server, the method further includes:

[0017] The transfer order and / or the transfer result are uploaded to the blockchain network or sent to the first tax bureau device.

[0018] As a possible implementation, the method is performed by a tax agent device, and the method further includes:

[0019] The blockchain network includes at least one business node and at least one consensus node, the tax agent device is the business node, and the first tax bureau device is the consensus node.

[0020] In a second aspect, an embodiment of the present invention provides a data processing method, the data processing method comprising:

[0021] Receive first transaction data, where the first transaction data is uploaded to the blockchain network by a device of a tax collector, the first transaction data is used to indicate the transfer of a first digital asset from the transaction address of the tax collector to the transaction address of a first tax bureau, the first transaction data includes an identification code of the first tax payment receipt, the first tax payment receipt is generated by the device of the tax collector based on the number segment of the tax collector, the income of the first tax recipient, and the tax rate, the first tax payment receipt includes the tax amount of the first tax recipient, and the first digital asset is used to indicate the tax amount of the first tax recipient in the first tax payment receipt;

[0022] When it is detected that the tax payment of the first tax collector is completed according to the identification code of the first tax payment receipt, second transaction data is uploaded to the blockchain network, and the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax collector.

[0023] As a possible implementation manner, before receiving the first transaction data, the method further includes:

[0024] receiving a first request sent by the collection agent device;

[0025] generating a number segment of the tax agent according to the first request, wherein the number segment is used to identify the tax agent in the tax payment slip;

[0026] The number segment of the collection agent is sent to the collection agent's device.

[0027] As a possible implementation, the method further includes:

[0028] receiving a query request sent by a device of a tax payee, wherein the query request includes an identification code of the first tax payment receipt;

[0029] querying transaction data of the first tax payment receipt in the blockchain network according to the identification code of the first tax payment receipt;

[0030] determining the payment status of the first tax payment receipt based on the retrieved transaction data;

[0031] The payment status of the first tax payment receipt is sent to the device of the person being taxed.

[0032] As a possible implementation manner, before detecting that the tax payment of the first tax payee is completed according to the identification code of the first tax payment receipt, the method further includes:

[0033] Receive a transfer result of the transfer order sent by the third-party server, the transfer order including the identification code of the first tax payment receipt and the tax amount of the first tax payee, the transfer order is used to instruct the transfer of the second digital asset from the tax payee's account to the account of the first tax bureau, the second digital asset is used to indicate the tax amount of the first tax payee, and the transfer result includes the identification code of the first tax payment receipt and an indication of successful transfer.

[0034] As a possible implementation manner, the receiving the transfer result of the transfer order sent by the third-party server further includes:

[0035] Receive the transfer result of the transfer order sent by the collection agent device, where the transfer result of the transfer order is sent by the third-party server to the collection agent device.

[0036] In a third aspect, an embodiment of the present invention provides a data processing device, the data processing device comprising:

[0037] a generating unit, configured to generate a first tax payment receipt based on the number segment of the tax collector, the income of the first tax recipient, and the tax rate, wherein the first tax payment receipt includes an identification code of the first tax payment receipt and the tax amount of the first tax recipient;

[0038] an uploading unit, configured to upload first transaction data to a blockchain network, wherein the first transaction data is used to indicate a transfer of a first digital asset from a transaction address of a tax agent to a transaction address of a first tax bureau, the first transaction data includes an identification code of the first tax payment receipt, and the first digital asset is used to indicate the tax amount of the first taxee in the first tax payment receipt;

[0039] The payment unit is configured to pay the tax of the first person being taxed to the first tax bureau according to the first tax payment receipt, so that when the first tax bureau device detects that the tax of the first person being taxed has been paid, the first tax bureau device uploads second transaction data to the blockchain network, wherein the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0040] As a possible implementation manner, the data processing device further includes: a sending unit and a receiving unit.

[0041] As a possible implementation, the sending unit is configured to send a first request to the second tax bureau device before the generating unit generates the first tax payment receipt based on the number segment of the tax collector, the income of the first tax recipient, and the tax rate. The first request is configured to request the second tax bureau device for the number segment of the tax collector, which number segment is used to identify the tax collector in the tax payment receipt.

[0042] The receiving unit is used to receive the number segment of the tax collector sent by the second tax bureau equipment.

[0043] As a possible implementation manner, the sending unit is used to send the first tax payment notice to the first tax recipient after the generating unit generates the first tax payment notice based on the tax collector's number segment, the income of the first tax recipient, and the tax rate.

[0044] As a possible implementation manner, the payment unit is specifically configured to:

[0045] Sending a transfer order to a third-party server, the transfer order including the identification code of the first tax payment receipt, the transfer order being used to instruct the transfer of a second digital asset from the tax agent's account to the first tax bureau's account, the second digital asset being used to represent the tax payment of the first tax payee;

[0046] Receive a transfer result of the transfer order sent by the third-party server, where the transfer result includes an identification code of the first tax payment receipt and an indicator indicating a successful transfer.

[0047] As a possible implementation manner, the uploading unit is further used to: upload the transfer order and / or the transfer result to the blockchain network or send it to the first tax bureau device.

[0048] In a fourth aspect, an embodiment of the present invention provides a data processing device, the data processing device comprising:

[0049] a receiving unit, configured to receive first transaction data, the first transaction data being uploaded to the blockchain network by a device of a tax collector, the first transaction data being used to indicate a transfer of a first digital asset from the transaction address of the tax collector to the transaction address of a first tax bureau, the first transaction data including an identification code of a first tax payment receipt, the first tax payment receipt being generated by the device of the tax collector based on the number segment of the tax collector, the income of a first taxee, and a tax rate, the first tax payment receipt including the tax amount of the first taxee, and the first digital asset being used to indicate the tax amount of the first taxee in the first tax payment receipt;

[0050] An uploading unit is configured to upload second transaction data to the blockchain network when it is detected that the tax payment of the first tax agent is completed according to the identification code of the first tax payment receipt, wherein the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0051] As a possible implementation manner, the receiving unit is further configured to receive a first request sent by the collection agent device before receiving the first transaction data;

[0052] The device further comprises:

[0053] a generating unit, configured to generate a number segment of the tax agent according to the first request, wherein the number segment is used to identify the tax agent in the tax payment slip;

[0054] The sending unit is used to send the number segment of the collection agent to the collection agent device.

[0055] As a possible implementation,

[0056] The receiving unit is further configured to receive a query request sent by the device of the tax payee, wherein the query request includes the identification code of the first tax payment receipt;

[0057] The apparatus may further include a processing unit configured to query transaction data of the first tax payment receipt in the blockchain network based on the identification code of the first tax payment receipt; and determine a payment status of the first tax payment receipt based on the query transaction data;

[0058] The sending unit is further configured to send the payment status of the first tax payment receipt to the device of the person being taxed.

[0059] As a possible implementation manner, the receiving unit is further used to: before the processing unit detects that the tax of the first tax collector has been paid according to the identification code of the first tax payment slip, receive the transfer result of the transfer order sent by the third-party server, the transfer order including the identification code of the first tax payment slip and the tax of the first tax collector, the transfer order is used to instruct the transfer of the second digital asset from the tax collector's account to the account of the first tax bureau, the second digital asset is used to indicate the tax of the first tax collector, and the transfer result includes the identification code of the first tax payment slip and an indication of successful transfer.

[0060] As a possible implementation manner, the receiving unit is further configured to:

[0061] Receive the transfer result of the transfer order sent by the collection agent device, where the transfer result of the transfer order is sent by the third-party server to the collection agent device.

[0062] In a fifth aspect, an embodiment of the present application provides a data processing device, which includes a processor and a memory, and the processor and the memory are coupled, wherein the memory is used to store computer instructions, and the processor is used to execute the computer instructions and call the program code to implement the data processing method disclosed in the first aspect or any embodiment of the first aspect.

[0063] In the sixth aspect, an embodiment of the present application provides a data processing device, which includes a processor and a memory, and the processor and the memory are coupled, wherein the memory is used to store computer instructions, and the processor is used to execute the computer instructions and call the program code to implement the data processing method disclosed in the second aspect or any embodiment of the second aspect.

[0064] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a computer device, it implements the data processing method disclosed in the first aspect or any implementation of the first aspect.

[0065] In an eighth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer device, implements the disclosed data processing method of the first aspect or any one of the implementations of the first aspect.

[0066] In the ninth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a computer device, it implements the data processing method disclosed in the second aspect or any implementation of the second aspect.

[0067] In a tenth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer device, implements the disclosed data processing method of the second aspect or any one of the implementations of the second aspect.

[0068] In an embodiment of the present invention, the tax collector's device generates a first tax payment receipt based on the tax collector's number segment, the income of the first taxee, and the tax rate. The first tax payment receipt includes an identification code of the first tax payment receipt and the tax of the first taxee; the tax collector's device uploads first transaction data to the blockchain network. The first transaction data is used to indicate the transfer of the first digital asset from the tax collector's transaction address to the transaction address of the first tax bureau. The first transaction data includes the identification code of the first tax payment receipt. The first digital asset is used to indicate the tax of the first taxee in the first tax payment receipt; the tax collector's device pays the tax of the first taxee to the first tax bureau according to the first tax payment receipt, so that when the first tax bureau device detects that the tax of the first taxee has been paid, the first tax bureau device uploads second transaction data to the blockchain network. The second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax collector. It can be seen that, firstly, the first tax payment receipt is generated by the tax collector's device, which reduces the offline business procedures compared to the traditional entrusted tax collection; secondly, the first transaction data and the second transaction data are both uploaded to the blockchain network, which restricts the tax collector's device from modifying the data at will, ensuring the security and reliability of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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 paying any creative work.

[0070] Figure 1 1 is a schematic diagram of the system architecture of a data processing method provided by an embodiment of the present invention;

[0071] Figure 2 This is a flow chart of a method for obtaining a conscript number segment provided by an embodiment of the present invention;

[0072] Figure 3 This is a schematic diagram of a data processing flow provided by an embodiment of the present invention;

[0073] Figure 4A This is a schematic diagram of a tax payment receipt provided by an embodiment of the present invention;

[0074] Figure 4B This is a flow chart of a method for querying the payment status of a tax payment receipt provided by an embodiment of the present invention;

[0075] Figure 5 is a structural diagram of a data processing device provided by an embodiment of the present invention;

[0076] Figure 6 is a structural diagram of another data processing device provided by an embodiment of the present invention;

[0077] Figure 7 is a structural diagram of another data processing device provided by an embodiment of the present invention;

[0078] Figure 8 It is a structural diagram of another data processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0079] First, the concepts involved in the embodiments of the present application are described:

[0080] (1) Blockchain: Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of data blocks generated using cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer.

[0081] Blockchains are generally divided into three types: public blockchain, private blockchain, and consortium blockchain.

[0082] Public chains are the most decentralized. A common example is Ethereum. Nodes and participants joining a public chain can access data, publish transactions, and compete for the right to record new blocks. Furthermore, each node and participant can freely join and exit the public chain. Private chains, on the other hand, are controlled by a specific organization or institution. Data access is also controlled by that organization or institution. Participants are limited and cannot join the chain at will, requiring approval from the organization or institution.

[0083] A consortium blockchain, also known as a community blockchain, is a blockchain whose consensus process is controlled by preselected nodes. It's a hybrid of public and private blockchains, achieving "partial decentralization." Each node on the chain typically has a corresponding entity or organization. Participants join the network through authorization and form a stakeholder alliance to jointly maintain the blockchain's operations. Consortium chains allow new participants to join an established blockchain and share data, rather than building it from scratch. Furthermore, by jointly solving common problems, companies can reduce development costs and time.

[0084] Whether it's a public, private, or consortium blockchain, they all offer smart contract functionality. Smart contracts on the blockchain are contracts that can be triggered and executed by transactions on the blockchain system. Smart contracts can be defined in code.

[0085] (2) A shared ledger is used to provide functions such as storage and query of data fingerprints, and to send the recorded data of operations on files or devices (also referred to as logs or benchmark data in this application) to other nodes in the blockchain network. After other nodes verify that the data is valid, they store the recorded data in a temporary block and can also send confirmation to the node that initiated the operation.

[0086] (3) Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented by deploying code on a shared ledger that is executed when certain conditions are met. The code is used to complete automated transactions based on actual business needs. Smart contracts are not limited to executing contracts for transactions, but can also execute contracts that process received information.

[0087] (4) Public key, private key, and transaction address

[0088] Nodes participating in a blockchain network possess a pair of public and private keys, which can be created using an asymmetric encryption algorithm. For example, a node can first randomly generate a private key. Then, based on the principles of an asymmetric encryption algorithm, the public key is calculated from the private key. The public key is then subjected to a series of digital signature operations to obtain the transaction address (also known as the wallet address). In other words, knowing a node's public key can calculate its transaction address. In some embodiments, the public key can also serve as a wallet address or an identifier for a wallet address.

[0089] Asymmetric encryption algorithms include, but are not limited to, the Elgamal algorithm, the Rabin algorithm, the Diffie-Hellman algorithm, and the Elliptic Curve Cryptography (ECC) algorithm. Key pairs consist of public and private keys; the public key is typically broadcast to the blockchain network, while the private key is maintained by the nodes. It should be noted that public and private keys are unique within the blockchain network.

[0090] (5) Collection and payment on behalf of others

[0091] Entrusted tax collection, also known as "agent collection" or "agent payment," refers to a tax collection method whereby the tax authorities entrust local township or village governments, villagers' organizations, or other entities to collect taxes in accordance with the law and submit them to the tax authorities on a regular basis in areas where tax sources are scattered and difficult to assign dedicated personnel to manage. Entrusted tax collection requires written authorization procedures that clearly specify the types of taxes, tax items, applicable tax rates, payment methods, and payment deadlines for the entrusted collection, as well as responsibilities. The relevant certificates, labels, and necessary collection vouchers are issued, and a handling fee is paid as required. The local township or village government, villagers' organization, or other entity entrusted by the tax authorities is called the "tax collector," and the person for whom the tax collector is responsible for collecting taxes is called the "person being collected."

[0092] For example, since the internet anchor working on Company A’s online platform has not signed an employment contract with the company, if the company collects taxes on behalf of the internet anchor, Company A is the tax collector and the internet anchor is the taxee.

[0093] For example, since the manager working at Company B has not signed an employment contract with the company, if the company collects taxes on behalf of the manager, Company B is the tax collector and the agent is the taxee.

[0094] The technical solutions in the embodiments of the present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention.

[0095] In the traditional entrusted collection system, the specific process is generally that the collector applies for the entrusted collection qualification from the tax bureau to which he belongs, and then goes to the tax bureau to obtain the relevant paper receipts to complete the collection process, that is, collect the relevant taxes from the persons being collected in accordance with the regulations and fill out the tax collection and payment slip, etc. Finally, at the end of the month, the data of taxes collected by the collector from all persons being collected are summarized, all taxes are paid to the tax bureau and deposited into the warehouse, and the completion procedures are completed with the tax bureau.

[0096] However, the above-mentioned method of entrusting tax collection has the following problems: 1. The process of entrusting tax collection is all offline operations, and many paper documents and receipts are required. For example, when the collector completes the collection, the person being collected needs to fill out a paper tax payment slip; 2. It is difficult for the tax bureau to supervise the process of entrusting tax collection. For example, if the "collector" tamper with the time or amount of tax collection, it is difficult for the tax bureau to detect; 3. Since it is difficult for the tax bureau to supervise the process of entrusting tax collection, the tax bureau does not allow the collector to issue invoices for the person being collected. However, often because the person being collected does not have the qualifications to issue invoices, the collector has the problem of not having invoices for accounting.

[0097] To address the above issues, embodiments of the present invention provide a blockchain-based tax payment receipt solution. In this solution, tax agents can delegate tax collection through the blockchain, achieving a paperless office environment. Data collected during the delegation process can be transmitted to the blockchain. Because data on the blockchain remains unmodified, the tax bureau can effectively monitor the delegation process.

[0098] like Figure 1 As shown, an embodiment of the present invention provides a data processing system, which may include a tax agent device 101, a first tax bureau device 102, a second tax bureau device 103, a device of the taxee 104, a third-party server 105, and a blockchain network 106.

[0099] The blockchain network 106 may include multiple nodes 1061. The tax agent device 101 and the first tax bureau device 102 are nodes in the blockchain network 106. The blockchain network 106 may be a private, public, or consortium blockchain. The tax agent device 101 is a device controlled by the tax agent; the first tax bureau device 102 and the second tax bureau device 103 may be one of the tax bureau devices (equipment of the tax bureau) in each region. In one scenario, the first tax bureau device 102 may be one of the tax bureau devices in each region, added to the blockchain network 106 as a node. The second tax bureau device 103 may be a computer device in communication with the first tax bureau device 102, such as a server or other computer device on the official website of the tax bureau in each region.

[0100] In some embodiments, blockchain network 106 may be a consortium chain, comprising at least one business node and at least one consensus node. Business nodes and consensus nodes have different permissions. Business nodes may possess one or more of the following functions: viewing, uploading, verifying, and storing transaction data. They require authorization from a consensus node or a tax bureau device (e.g., first tax bureau device 102 or second tax bureau device 103) to join the consortium chain. This may be a tax agent device 101. Consensus nodes possess functions such as viewing, uploading, verifying, and storing transaction data. They may be tax bureau devices, such as first tax bureau devices 101 in each region. Alternatively, business nodes in blockchain network 106, such as tax agent devices 101, may only possess functions of viewing and uploading transaction data.

[0101] To ensure information intercommunication within blockchain network 106, an information connection may exist between each node in blockchain network 106, and information can be transmitted between nodes via such information connection. For example, when any node in blockchain network 106 initially receives transaction data, it verifies the legitimacy of the transaction data. If the transaction data is legitimate, it may broadcast the transaction data to its neighboring nodes to facilitate receipt of the transaction data by other nodes in the blockchain network. It should be understood that after the node receives the same transaction data again, it will no longer broadcast it to neighboring nodes to avoid the unlimited propagation of the transaction data. In the embodiments of the present application, the transaction data may be the first transaction data, the second transaction data, etc.

[0102] After receiving the above transaction data, the nodes or consensus nodes in the blockchain network write the transaction data into the block according to the transaction data. After generating the block, the consensus node publishes the block to the blockchain network. The propagation method of the new block is similar to the propagation method of the transaction data, which will not be repeated here. The consensus node that receives the new block can detect the legitimacy of the block content and check whether the block is on the longest legal chain. Then, each consensus node can store the maximum legal chain to ensure the consistency of the data stored by each consensus node.

[0103] The third-party server 105 is a payment platform server used to complete the transfer of digital assets off-chain, for example, a WeChat server, a bank server, etc. Optionally, the tax payee device 104 can be a smart device such as a mobile phone or a computer, which is not limited here.

[0104] The tax collector's device 1011 can request a number segment from the first tax bureau device 102 or the second tax bureau device 103. For example, a first request is sent to the tax bureau device, where the first request is used to request the tax bureau's number segment for the tax collector. This number segment is used to identify the tax collector in the tax payment slip, i.e., to uniquely identify the tax collector in the tax payment slip. In some implementations, the identification code of the tax payment slip includes the tax collector's number segment, which can be located in a fixed position in the identification code of the tax payment slip, such as the first n digits, where n is the total number of digits in the number segment. Optionally, the first request can carry the tax collector's identifier. For example, if the tax collector is a company, the tax collector's identifier can be the company name.

[0105] The tax bureau device receives the first request, generates a number segment of the tax agent according to the first request, and sends the number segment of the tax agent to the tax agent device 101 .

[0106] The tax collector device 101 can obtain personal information about the first tax recipient, such as the tax recipient's name, ID number, bank account used for payment, and monthly / annual income. Furthermore, the tax collector device 101 can generate a first tax payment receipt based on the tax collector's number segment, the first tax recipient's income, and the tax rate. Furthermore, the tax collector device 101 can generate first transaction data based on the identification code and the tax amount of the first tax recipient in the first tax payment receipt, and upload the first transaction data to the blockchain network 106. The first tax payment receipt includes the identification code and the tax amount of the first tax recipient. The first transaction data indicates the transfer of a first digital asset from the tax collector's transaction address to the transaction address of the first tax bureau. The first transaction data includes the identification code of the first tax payment receipt, and the first digital asset indicates the tax amount of the first tax recipient in the first tax payment receipt. It should be understood that if taxes are paid monthly, a tax payment receipt can be generated for each tax recipient per month.

[0107] After the tax collector's device 101 generates a tax payment notice, it can send the tax payment notice to the device of the person being taxed. The device 104 of the person being taxed can query the payment status based on the identification code of the tax payment notice. For example, after the tax collector's device 101 generates the first tax payment notice, it can send the first tax payment notice to the device of the first person being taxed. The person being taxed can send a query request carrying the identification code of the first tax payment notice to the tax collector's device 101 or the tax bureau device. The tax collector's device 101 queries the transaction data of the first tax payment notice on the blockchain network 106, determines the payment status of the first tax payment notice based on the queried transaction data, and then sends the payment status of the first tax payment notice to the device of the first person being taxed.

[0108] The tax collector's device 101 can complete the payment of the tax payment notice through a third party (such as online banking, Alipay, WeChat, ePay, etc.), or pay the tax manually at the tax bureau counter, although this embodiment of the present application is not limited thereto. For example, the tax collector's device 101 sends a first transfer order to a third-party server 105 (such as an online banking, Alipay, WeChat, ePay, etc. server). The first transfer order includes the identification code of the first tax payment notice and instructs the transfer of a second digital asset from the tax collector's account to an account at the first tax bureau. The second digital asset represents the tax payment of the first tax payee. After receiving the first transfer order, the third-party server 105 transfers the second digital asset from the tax collector's account to the first tax bureau's account. It then sends the transfer result of the first transfer order to the first tax bureau device 102 or the second tax bureau device 103. The transfer result includes the identification code of the first tax payment notice and an indication of successful transfer. The third-party server 105 may also send the transfer result of the first transfer order to the tax agent device 101 , and then the tax agent device 101 sends the transfer result to the first tax bureau device 102 or the tax agent device 101 uploads the transfer result to the blockchain network 106 .

[0109] When the first tax bureau device 102 detects that the tax on the first tax payment slip has been paid, it can upload the second transaction data to the blockchain network 106. The second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0110] It should be noted that the first tax bureau device 102 and the second tax bureau device 103 can be the same device or different devices. In the case where the first tax bureau device 102 and the second tax bureau device 103 are different devices, the first tax bureau device 102 can share data with the second tax bureau device 103, such as the payment status of the first tax payment receipt, transaction data of the first tax payment receipt, transfer results, etc.

[0111] It can be seen that the data processing scheme proposed in the embodiment of the present invention may have at least the following advantages: 1. Converting traditional offline processing into online processing, realizing convenient operation of the entrusted collection process, and realizing paperless processing; 2. Utilizing the openness and transparency of the blockchain network, the uploaded data is independent of the tax agent's equipment, which not only ensures the security and reliability of the data and is not easy to lose, but also limits the tax agent's equipment's control over the data and cannot modify the data at will; 3. In the process of entrusted collection, the transaction data is uploaded to the blockchain network, adding a query function to the traditional entrusted collection, and the person being collected can query the status of personal tax payment.

[0112] Based on the above description, an embodiment of the present invention proposes a data processing method, which can be executed by the data processing system mentioned above. The method includes some or all of the following processes / steps:

[0113] (1) Collecting number segments on behalf of tax payers

[0114] See also Figure 2 , Figure 2 This is a flow chart of a method for a tax payer to obtain a number segment according to an embodiment of the present application. The method for a tax payer to obtain a number segment may include:

[0115] S202: The tax agent device sends a first request to the second tax bureau device. The first request is used to apply to the second tax bureau for a number segment of a tax payment slip. The number segment is used to identify the tax agent in the tax payment slip.

[0116] The second tax bureau device and the first tax bureau device may be the same device or different devices. Optionally, the first request may also carry the identifier of the tax agent. For example, if the tax agent is an enterprise, the identifier of the tax agent may be the enterprise's name or taxpayer identification number.

[0117] This number segment is used to generate the identification code of the tax payment slip after being arranged and combined with other numbers according to certain rules. The identification code of a tax payment slip uniquely corresponds to a tax payment slip. The identification code of a tax payment slip is generally a row of numbers in the upper right corner of the tax payment slip.

[0118] S204: The second tax bureau device receives the first request and generates a number segment for the tax collector according to the first request.

[0119] After receiving the first request, the second tax bureau device can randomly generate N characters, which serve as the tax agent's number segment. These N characters do not conflict with the number segments of other tax agents. Therefore, the tax agent's number segment uniquely corresponds to one tax agent and serves as an identifier to distinguish different tax agents.

[0120] S206: The second tax bureau device sends the number segment of the tax agent to the tax agent device.

[0121] The second tax bureau device can send the tax payer's number segment to the tax payer's device via email or other methods. Since each number segment uniquely corresponds to a tax payer, the tax payer generates a tax payment receipt identification code based on the number segment, which is used to identify the tax payment receipt of the tax payer for the tax payer.

[0122] (2) The tax collector pays taxes on behalf of the tax recipient

[0123] See also Figure 3 , Figure 3 This is a flow chart of a data processing method provided in an embodiment of the present application. The method may include some or all of the following steps:

[0124] S302: The tax collector's device generates a first tax payment receipt according to the tax collector's number segment, the income of the first tax recipient, and the tax rate. The first tax payment receipt includes an identification code of the first tax payment receipt and the tax of the first tax recipient.

[0125] The first tax payment receipt may also include the identification of the first person being taxed.

[0126] See also Figure 4A , Figure 4A A schematic diagram of a tax payment slip provided in an embodiment of the present application. In this embodiment, the tax payee is also known as the taxpayer, the tax authority is also known as the taxpayer, and the tax agent is also known as the tax collection agency. The identification code of the first tax payment slip is the serial number in the upper right corner of the tax payment slip. The tax payment slip includes: taxpayer name, tax rate, tax authority, tax collection agency, and serial number. The identification code of the first tax payment slip includes the tax agent's number segment, which is used to indicate the information of the first tax payee. For example, each tax payee has a unique corresponding tax payment slip each month, and each tax payment slip has a unique identification code.

[0127] It should be noted that it is not limited to Figure 4A The schematic diagram of the tax payment slip provided can also be designed into other tax payment slip styles according to functional requirements.

[0128] S304: The tax agent's device uploads the first transaction data to the blockchain network. The first transaction data is used to transfer the first digital asset from the tax agent's transaction address to the transaction address of the first tax bureau. The first transaction data includes the identification code of the first tax payment receipt. The first digital asset is used to indicate the tax of the first tax recipient in the first tax payment receipt.

[0129] Based on the first tax payment receipt, the tax agent's device can generate first transaction data. The first transaction data includes at least the identification code of the first tax payment receipt and data indicating the transfer of the first digital asset from the tax agent's transaction address to the transaction address of the first tax bureau. The tax agent's device signs the first transaction data using the tax agent's private key and uploads the signed first transaction data to the blockchain network, causing the blockchain network to store the first transaction data. The tax agent's device then broadcasts the first transaction data to other nodes in the blockchain network, causing the blockchain network to store the first transaction data.

[0130] In one implementation, other nodes in the blockchain network receive the first transaction data, wherein the business node stores the first transaction data through a consensus algorithm, packages the first data into the latest block, and then broadcasts the latest block so that other nodes in the blockchain network receive the latest block and synchronize the block to the blockchain stored by the node.

[0131] S306: The tax collector pays the tax of the first tax collector to the first tax bureau according to the first tax payment notice.

[0132] A specific implementation method of the tax collection agent completing the payment of the tax on the first tax payment slip may include the following steps S3061-S3063:

[0133] The tax payer's device can complete the payment of the first tax payment slip through a third-party server. The third-party server is the payment platform's server, which is used to complete the transfer of digital assets off-chain, such as WeChat's server, bank's server, etc.

[0134] S3061: The collection agent's device sends a transfer order to the third-party server.

[0135] The transfer order includes the identification code of the first tax payment receipt, which is used to instruct the transfer of the second digital asset from the tax agent's account to the first tax bureau's account, and the second digital asset is used to indicate the tax payment of the first tax agent. For example, the account of the first tax bureau

[0136] S3062: The third-party server receives the transfer order and transfers the second digital asset from the tax agent's account to the first tax bureau's account according to the transfer order.

[0137] S3063: The third-party server sends the transfer result of the transfer order to the first tax bureau device. The transfer result includes the identification code of the first tax payment receipt and a transfer success indicator.

[0138] In one implementation of S3063, the third-party server sends the transfer result of the transfer order to the tax agent's device, and then the tax agent's device sends the transfer result to the first tax bureau's device.

[0139] In another implementation of S3063, the third-party server sends the transfer result of the transfer order to the collection agent device, and then the collection agent device uploads the transfer result to the blockchain network.

[0140] It should be noted that, the implementation method is not limited to the above, and step S306 may also include other implementation methods, such as the tax collector paying the fees offline at the tax bureau, etc., which will not be repeated here.

[0141] S308: The first tax bureau device detects whether the tax payment of the first tax payee has been completed based on the identification code of the first tax payment receipt.

[0142] In step S3063, the third-party server sends the transfer result of the transfer order to the first tax bureau device. The transfer result includes the identification code of the first tax payment order and the transfer success mark. Then, the tax payment of the first tax payment order is completed.

[0143] It should be noted that, the implementation method is not limited to the above, and step S308 may also include other implementation methods. For example, after the tax bureau staff receives the tax in the first tax payment notice, they input an instruction indicating that the payment has been completed into the tax bureau equipment, etc., which will not be repeated here.

[0144] S310: When the first tax bureau device detects that the tax on the first tax payment notice has been paid, the first tax bureau device uploads second transaction data to the blockchain network, where the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0145] The uploading of the first transaction data to the blockchain network can be described in the above-mentioned step S304 and will not be repeated here. The second transaction data may also include the identification code of the first tax payment receipt, the transfer order, and the transfer result of the transfer order, etc., which are not limited in this embodiment.

[0146] In this embodiment of the present invention, after the tax collector's device generates a first tax payment receipt based on the tax collector's number segment, the first tax recipient's income, and the tax rate, it uploads first transaction data to the blockchain network. This first transaction data indicates the transfer of a first digital asset from the tax collector's transaction address to the first tax bureau's transaction address. Subsequently, the tax collector's device pays the tax indicated in the first tax payment receipt to the first tax bureau. Upon detecting that the tax payment for the first tax recipient has been completed, the first tax bureau uploads second transaction data to the blockchain network. This second transaction data indicates the transfer of the first digital asset from the first tax bureau's transaction address to the tax collector's transaction address. It can be seen that, firstly, having the tax collector's device generate the first tax payment receipt reduces the need for offline transactions compared to traditional entrusted tax collection. Secondly, both the first and second transaction data are uploaded to the blockchain network, preventing the tax collector's device from arbitrarily modifying the data, thus ensuring data security and reliability.

[0147] In some embodiments, the tax bureau equipment can periodically update the transaction data on the blockchain to the tax bureau system. For example, the transaction data can be updated once every hour, and the person being taxed can check the payment status of the tax payment slip through the tax bureau system.

[0148] (3) The tax payee inquires about the payment status of the tax payment receipt

[0149] In an embodiment of the present invention, a method is provided for a tax payee to query the payment status of a tax payment receipt. Figure 4B As shown, after step S302, the method may include some or all of the following steps:

[0150] S402: After the tax collection agent device generates the tax payment receipt, it sends the first tax payment receipt to the first tax collection agent.

[0151] After the tax agent device generates the first tax payment receipt, it can send the first tax payment receipt to the first tax recipient via email, etc. The first tax payment receipt can be in electronic form or other forms, which are not limited in this embodiment.

[0152] S404: The device of the tax payee receives the first tax payment receipt and sends a query request to the tax bureau device. The query request includes the identification code of the first tax payment receipt.

[0153] Specifically, the tax bureau device can provide a query portal through the tax bureau system. The first tax payee can log in to the tax bureau system on the tax payee's device and enter a query request at the query portal. The query request can be the identification code of the first tax payment receipt, or the identification code of the first tax price receipt and the name of the first tax payee. The tax bureau device can be a node in the blockchain network, such as the first tax bureau device or the second tax bureau device, or it can be an off-chain tax bureau server. For example, the tax bureau server can interact with the first tax bureau device and regularly update and obtain the tax payee's transaction data from the first tax bureau device.

[0154] S406: The tax bureau device receives the query request and queries the transaction data of the first tax payment receipt in the blockchain network according to the identification code of the first tax payment receipt.

[0155] Specifically, when the tax bureau device regularly updates the transaction data of the blockchain to the tax bureau system, the tax bureau device can query the transaction status of the first tax payment slip in the tax bureau system based on the identification code of the first tax payment slip.

[0156] S408: The tax bureau device determines the payment status of the first tax payment receipt based on the queried transaction data.

[0157] Since transaction data on the blockchain network is uploaded by the tax agent's device using a private key signature, and the public key and private key correspond one-to-one, the transaction data uploaded with the private key signature can only be verified by the public key corresponding to the private key. Therefore, the tax bureau's device can obtain the transaction data uploaded and signed by the tax agent's private key on the blockchain network through the tax agent's public key.

[0158] When the tax bureau equipment queries the first transaction data in the blockchain network, it determines that the payment status of the first tax payment notice is "being processed". The payment status of the first tax payment notice may also include more detailed payment data, such as the tax of the first person being collected in the first tax payment notice and the time when the first transaction data was uploaded.

[0159] When the tax bureau equipment queries the second transaction data on the blockchain network, it determines that the payment status of the first tax payment slip is "processing completed". The payment status of the first tax payment slip may also include more detailed payment data, such as the transfer order, the transfer result of the transfer order, and the time when the second transaction data is uploaded.

[0160] S410: The tax bureau device sends the payment status of the first tax payment receipt to the device of the tax payee.

[0161] Specifically, the first tax payee logs into the tax bureau system on the tax payee's device, and the tax bureau system sends the payment status of the determined first tax payment notice to the tax payee's device, and the first tax payee can query the real-time payment status of the first tax payment notice.

[0162] It should be noted that the method for the tax collector to inquire about the payment status of the tax payment receipt is not limited to the above method, and may also include other implementation methods, which will not be repeated here.

[0163] In an embodiment of the present invention, the tax collector's device generates a first tax payment receipt based on the tax collector's number segment, the income of the first taxee, and the tax rate. The first tax payment receipt includes an identification code of the first tax payment receipt and the tax of the first taxee; the tax collector's device uploads first transaction data to the blockchain network. The first transaction data is used to indicate the transfer of the first digital asset from the tax collector's transaction address to the transaction address of the first tax bureau. The first transaction data includes the identification code of the first tax payment receipt. The first digital asset is used to indicate the tax of the first taxee in the first tax payment receipt; the tax collector's device pays the tax of the first taxee to the first tax bureau according to the first tax payment receipt, so that when the first tax bureau device detects that the tax of the first taxee has been paid, the first tax bureau device uploads second transaction data to the blockchain network. The second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax collector. It can be seen that, firstly, the first tax payment receipt is generated by the tax collector's device, which reduces the offline business procedures compared to the traditional entrusted tax collection; secondly, the first transaction data and the second transaction data are both uploaded to the blockchain network, which restricts the tax collector's device from modifying the data at will, ensuring the security and reliability of the data.

[0164] Based on the description of the above method embodiment, the embodiment of the present invention further proposes a data processing device 500, which can be operated in the following manner: Figure 1 In the tax agent device 101 shown, the data processing device 500 may be the tax agent device 101 or a computer program (including program code) running in the tax agent device 101. Figure 5 , the data processing device 500 can run the following units:

[0165] Generating unit 501, configured to generate a first tax payment receipt based on the number segment of the tax collector, the income of the first tax recipient, and the tax rate, wherein the first tax payment receipt includes an identification code of the first tax payment receipt and the tax amount of the first tax recipient;

[0166] Uploading unit 502 is configured to upload first transaction data to the blockchain network, wherein the first transaction data is used to indicate the transfer of a first digital asset from the transaction address of the tax agent to the transaction address of the first tax bureau, the first transaction data includes an identification code of the first tax payment receipt, and the first digital asset is used to indicate the tax amount of the first tax recipient in the first tax payment receipt;

[0167] The payment unit 503 is configured to pay the tax of the first tax payee to the first tax bureau according to the first tax payment receipt, so that when the tax bureau device detects that the tax of the first tax payee has been paid, the tax bureau device uploads second transaction data to the blockchain network, where the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax payee.

[0168] In some embodiments, the data processing device 500 further includes: a sending unit 504 and a receiving unit 505 .

[0169] In one embodiment, the sending unit 504 is configured to send a first request to the second tax bureau device before the generating unit 501 generates the first tax payment receipt based on the number segment of the tax collector, the income of the first tax recipient, and the tax rate. The first request is configured to request the second tax bureau device for the number segment of the tax collector, which is used to identify the tax collector in the tax payment receipt.

[0170] The receiving unit 505 is configured to receive the number segment of the tax collector sent by the second tax bureau device.

[0171] In one embodiment, the sending unit 501 is configured to send the first tax payment receipt to the first tax recipient after the generating unit 501 generates the first tax payment receipt based on the tax collector's number segment, the income of the first tax recipient, and the tax rate.

[0172] In one embodiment, the payment unit 503 is specifically configured to:

[0173] Sending a transfer order to a third-party server, the transfer order including the identification code of the first tax payment receipt, the transfer order being used to instruct the transfer of a second digital asset from the tax agent's account to the first tax bureau's account, the second digital asset being used to represent the tax payment of the first tax payee;

[0174] Receive a transfer result of the transfer order sent by the third-party server, where the transfer result includes an identification code of the first tax payment receipt and an indicator indicating a successful transfer.

[0175] In one embodiment, the uploading unit 502 is further configured to upload the transfer result to the blockchain network or send it to the tax bureau device.

[0176] According to one embodiment of the present invention, the above Figure 2 、 Figure 3 and Figure 4B Part or all of the steps performed by the agent device in the corresponding method embodiment can be performed by Figure 5 For example, Figure 3 The step S302 shown in FIG can be performed by the generating unit 501. According to another embodiment of the present invention, Figure 5 The various units in the data processing device shown can be individually or entirely combined into one or several other units to form the same operation, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present invention, the device based on data processing can also include other units. In actual applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0177] According to another embodiment of the present invention, the program can be executed by running a program on a general-purpose computing device such as a computer including a central processing unit (CPU), a random access memory (RAM), a read-only memory (ROM), and other processing elements and storage elements. Figure 3 A computer program (including program code) for each step involved in the corresponding method shown in FIG. Figure 7 The data processing device shown in the figure can realize the data processing method of the embodiment of the present invention. The computer program can be recorded on a computer readable recording medium, for example, and loaded into the computing device through the computer recording medium and run therein.

[0178] In an embodiment of the present invention, the tax collector's device generates a first tax payment receipt based on the tax collector's number segment, the income of the first taxee, and the tax rate. The first tax payment receipt includes an identification code of the first tax payment receipt and the tax of the first taxee; the tax collector's device uploads first transaction data to the blockchain network. The first transaction data is used to indicate the transfer of the first digital asset from the tax collector's transaction address to the transaction address of the first tax bureau. The first transaction data includes the identification code of the first tax payment receipt. The first digital asset is used to indicate the tax of the first taxee in the first tax payment receipt; the tax collector's device pays the tax of the first taxee to the first tax bureau according to the first tax payment receipt, so that when the tax bureau device detects that the tax of the first taxee has been paid, the tax bureau device uploads second transaction data to the blockchain network. The second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax collector. It can be seen that, firstly, the first tax payment receipt is generated by the tax collector's device, which reduces the offline business procedures compared to the traditional entrusted tax collection; secondly, the first transaction data and the second transaction data are both uploaded to the blockchain network, which restricts the tax collector's device from modifying the data at will, ensuring the security and reliability of the data.

[0179] Based on the description of the above method embodiment, the embodiment of the present invention further proposes a data processing device 600, which can be operated on Figure 1 In the first tax bureau device 102 or the second tax bureau device 103 shown, the data processing device may be the tax bureau device or the first tax bureau device, or a computer program (including program code) running in the tax bureau device; see Figure 6 As shown, the data processing device 600 can run the following units:

[0180] Receiving unit 601 is configured to receive first transaction data, the first transaction data being uploaded to the blockchain network by a tax agent's device, the first transaction data being used to indicate the transfer of a first digital asset from the tax agent's transaction address to the first tax bureau's transaction address, the first transaction data including an identification code of a first tax payment receipt, the first tax payment receipt being generated by the tax agent's device based on the tax agent's number segment, the first taxee's income, and the tax rate, the first tax payment receipt including the first taxee's tax payment, and the first digital asset being used to indicate the first taxee's tax payment in the first tax payment receipt;

[0181] The uploading unit 602 is used to upload second transaction data to the blockchain network when it is detected that the tax payment of the first tax agent is completed according to the identification code of the first tax payment receipt, and the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0182] In one embodiment, the receiving unit 601 is further configured to receive a first request sent by the collection agent device before receiving the first transaction data;

[0183] The data processing device 600 further includes:

[0184] A generating unit 603 is configured to generate a number segment of the tax agent according to the first request, wherein the number segment is used to identify the tax agent in the tax payment receipt;

[0185] The sending unit 604 is configured to send the number segment of the collection agent to the collection agent device.

[0186] In one embodiment, the receiving unit 603 is further configured to receive a query request sent by a device of the tax payee, wherein the query request includes the identification code of the first tax payment receipt;

[0187] The apparatus may further include a processing unit 605 configured to query transaction data of the first tax payment receipt in the blockchain network based on the identification code of the first tax payment receipt; and determine a payment status of the first tax payment receipt based on the query transaction data;

[0188] The sending unit 604 is further configured to send the payment status of the first tax payment receipt to the device of the tax payee.

[0189] In one embodiment, the receiving unit 601 is further used to: receive the transfer result of the transfer order sent by the third-party server before the processing unit 605 detects that the tax of the first tax collector has been paid according to the identification code of the first tax payment receipt, the transfer order includes the identification code of the first tax payment receipt and the tax of the first tax collector, the transfer order is used to instruct the transfer of the second digital asset from the tax collector's account to the account of the first tax bureau, the second digital asset is used to indicate the tax of the first tax collector, and the transfer result includes the identification code of the first tax payment receipt and an indication of successful transfer.

[0190] In one embodiment, the receiving unit 601 is further configured to receive a transfer result of the transfer order sent by the collection agent device, where the transfer result of the transfer order is sent by the third-party server to the collection agent device.

[0191] According to one embodiment of the present invention, the above Figure 2 、 Figure 3 and Figure 4B Part or all of the steps performed by the tax bureau device, the first tax bureau device or the second tax bureau device in the corresponding method embodiment can be performed by Figure 6 For example, Figure 3 The step S306 shown in FIG can be performed by the uploading unit 602. According to another embodiment of the present invention, Figure 6 The various units in the data processing device shown can be individually or entirely combined into one or several other units to form the same operation, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present invention, the device based on data processing can also include other units. In actual applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0192] Figure 7 FIG is a structural diagram of another data processing device 700 provided by an embodiment of the present invention. The data processing device 700 may be specifically Figure 1 The agent device 101 in the embodiment may include: a processor 701, a bus 702, a user interface 703, a network interface 704 and a memory 705. The communication bus 702 is used to realize the connection and communication between these components. The user interface 703 may optionally include a display screen and a keyboard. The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface). Figure 7 As shown, the memory 705 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module and a device control application. When the device 700 is running, the above-mentioned operating system, network communication module, user interface module and the application for implementing the above-mentioned data processing method on behalf of the device can be used.

[0193] In such Figure 7 In the data processing device 700 shown, the network interface 704 can provide network communication functions; and the processor 701 can call the device program stored in the memory 705 to execute:

[0194] generating a first tax payment slip according to the number segment of the tax collector, the income of the first tax recipient, and the tax rate, wherein the first tax payment slip includes an identification code of the first tax payment slip and the tax amount of the first tax recipient;

[0195] Uploading first transaction data to the blockchain network via network interface 704, wherein the first transaction data is used to indicate the transfer of a first digital asset from the tax agent's transaction address to the first tax bureau's transaction address, the first transaction data includes an identification code of the first tax payment receipt, and the first digital asset is used to indicate the tax amount of the first tax recipient in the first tax payment receipt;

[0196] The tax of the first person being taxed is paid to the first tax bureau according to the first tax payment receipt, so that when the tax bureau device detects that the tax of the first person being taxed has been paid, the tax bureau device uploads second transaction data to the blockchain network through the network interface 704, and the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax agent.

[0197] In a possible implementation, before executing the step of generating the first tax payment receipt according to the number segment of the tax agent, the income of the first tax recipient, and the tax rate, the processor 701 is further configured to execute:

[0198] Sending a first request to the second tax bureau device via the network interface 704, wherein the first request is used to request the second tax bureau device to send the number segment of the tax collector, wherein the number segment is used to identify the tax collector in the tax payment slip;

[0199] The number segment of the tax collector sent by the second tax bureau equipment is received through the network interface 704.

[0200] In a possible implementation, after executing the step of generating the first tax payment receipt based on the number segment of the tax agent, the income of the first tax recipient, and the tax rate, the processor 701 is further configured to execute:

[0201] The first tax payment receipt is sent to the first tax payee via the network interface 704 .

[0202] In a possible implementation, the processor 701 executing the step of paying the tax of the first tax payee to the first tax bureau according to the first tax payment notice may specifically include:

[0203] Sending a transfer order to a third-party server via network interface 704, the transfer order including the identification code of the first tax payment receipt, the transfer order being used to instruct the transfer of a second digital asset from the tax agent's account to the first tax bureau's account, the second digital asset being used to represent the tax payment of the first tax payee;

[0204] The transfer result of the transfer order sent by the third-party server is received through the network interface 704, where the transfer result includes the identification code of the first tax payment receipt and an indication of successful transfer.

[0205] Optionally, after the processor 701 receives the transfer result of the transfer order sent by the third-party server through the network interface 704, it may also execute: uploading the transfer result to the blockchain network or sending it to the first tax bureau device through the network interface 704.

[0206] It should be noted that the above Figure 5 The uploading unit 502, the sending unit 503, and the receiving unit 504 can be Figure 7 The network interface 704 is implemented as above. Figure 5 The generation unit 501 and the payment unit 507 in Figure 7 It is implemented by the processor 701 in.

[0207] It should be understood that the data processing device 700 described in the embodiment of the present invention can execute the above Figure 2 、 Figure 3 and Figure 4B The description of the data processing method in the corresponding method embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated here either.

[0208] Figure 8 FIG is a structural diagram of another data processing device 800 provided by an embodiment of the present invention. The data processing device 800 may be specifically Figure 1 The first tax bureau device 102 in the embodiment may include: a processor 801, a bus 802, a user interface 803, a network interface 804, and a memory 805. The communication bus 802 is used to realize the connection and communication between these components. The user interface 803 may optionally include a display screen and a keyboard. The network interface 804 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface). Figure 8 As shown, the memory 805 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module and a device control application. When the device 800 is running, the above-mentioned operating system, network communication module, user interface module and the application for the tax bureau device or the first tax bureau device to implement the above-mentioned data processing method can be used.

[0209] In such Figure 8 In the data processing device 800 shown, the network interface 804 can provide network communication functions; and the processor 801 can be used to call the application program stored in the memory 805 to execute:

[0210] Receive first transaction data via network interface 804. The first transaction data is uploaded to the blockchain network by the tax agent's device. The first transaction data is used to indicate the transfer of the first digital asset from the tax agent's transaction address to the first tax bureau's transaction address. The first transaction data includes an identification code of the first tax payment receipt. The first tax payment receipt is generated by the tax agent's device based on the tax agent's number segment, the first taxee's income, and the tax rate. The first tax payment receipt includes the first taxee's tax payment. The first digital asset is used to indicate the first taxee's tax payment in the first tax payment receipt.

[0211] When it is detected that the tax payment of the first tax collector is completed according to the identification code of the first tax payment receipt, the second transaction data is uploaded to the blockchain network through the network interface 804, and the second transaction data is used to indicate the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax collector.

[0212] In one implementation of the embodiment of the present application, before the processor 801 executes the receiving of the first transaction data, the processor 801 may further execute:

[0213] Receiving a first request sent by the agent device through the network interface 804;

[0214] generating a number segment of the tax agent according to the first request, wherein the number segment is used to identify the tax agent in the tax payment slip;

[0215] The number segment of the collection agent is sent to the collection agent device through the network interface 804.

[0216] In one implementation of the embodiment of the present application, the processor 801 may further execute:

[0217] receiving, via the network interface 804, a query request sent by the device of the tax payee, the query request including the identification code of the first tax payment receipt;

[0218] querying transaction data of the first tax payment receipt in the blockchain network according to the identification code of the first tax payment receipt;

[0219] determining the payment status of the first tax payment receipt based on the retrieved transaction data;

[0220] The payment status of the first tax payment receipt is sent to the device of the tax payee through the network interface 804 .

[0221] In one implementation of the embodiment of the present application, before the processor 801 detects, based on the identification code of the first tax payment receipt, that the tax of the first tax payee has been paid, the processor 801 may further execute:

[0222] The transfer result of the transfer order sent by the third-party server is received through the network interface 804. The transfer order includes the identification code of the first tax payment receipt and the tax amount of the first tax payee. The transfer order is used to instruct the transfer of the second digital asset from the tax payee's account to the account of the first tax bureau. The second digital asset is used to indicate the tax amount of the first tax payee. The transfer result includes the identification code of the first tax payment receipt and an indication of successful transfer.

[0223] In one implementation of the embodiment of the present application, receiving the transfer result of the transfer order sent by the third-party server through the network interface 804 includes:

[0224] The transfer result of the transfer order sent by the collection agent device is received through the network interface 804, and the transfer result of the transfer order is sent to the collection agent device by the third-party server.

[0225] It should be noted that the above Figure 6 The receiving unit 601, uploading unit 602 and sending unit 604 in the embodiment can be composed of Figure 8 The network interface 804 is implemented as above. Figure 6 The processing unit 605, the generating unit 603, can be Figure 8 It is implemented by the processor 801.

[0226] In addition, it should be noted that: the embodiment of the present invention further provides a computer storage medium, and the computer storage medium stores the computer program executed by the data processing device 500 and the data processing device 700 mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figure 2 、 Figure 3 and Figure 4B The method executed by the tax collector's device in the corresponding method embodiment will not be described in detail here.

[0227] The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program executed by the aforementioned data processing device 600 and the data processing device 800, and the computer program includes program instructions. When the processor executes the program instructions, the aforementioned Figure 2 、 Figure 3 and Figure 4B The first tax bureau device, the second tax bureau device or the method performed by the tax bureau device in the corresponding method embodiment will not be described in detail here.

[0228] In addition, the beneficial effects of the same method will not be described in detail. For technical details not disclosed in the computer storage medium embodiment of the present invention, please refer to the description of the method embodiment of the present invention.

[0229] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0230] The above disclosure is merely a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A data processing method, characterized in that: The method comprises: The tax collector device generates a first tax payment receipt based on the tax collector's number segment, the income of the first tax recipient, and the tax rate. The first tax payment receipt includes an identification code of the first tax payment receipt and the tax amount of the first tax recipient. After the tax collector's device generates a first tax payment receipt, it sends the tax payment receipt to the device of the first tax recipient, where the tax payment receipt is used to enable the first tax recipient's device to query the payment status based on the identification code of the tax payment receipt; The tax agent's device uploads first transaction data to the blockchain network. The first transaction data is used to indicate the transfer of a first digital asset from the tax agent's transaction address to the first tax bureau's transaction address. The first transaction data includes the identification code of the first tax payment receipt. The first digital asset is used to indicate the tax amount of the first tax recipient in the first tax payment receipt. The tax collector device pays the tax of the first taxee to the first tax bureau according to the first tax payment notice; Upon detecting that the tax payment of the first tax payee has been completed, the first tax bureau device uploads second transaction data to the blockchain network, where the second transaction data is used to instruct the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax payee; Among them, the first tax collector's device queries the payment status based on the identification code of the tax payment slip, including: the first tax collector enters a query request at the query entrance provided by the tax bureau system, and the query request includes the identification code of the first tax payment slip; when the tax bureau device queries the first transaction data in the blockchain network, it determines that the payment status of the first tax payment slip is in a processing state, wherein the tax bureau device obtains the first transaction data uploaded by the tax collector's private key signature in the blockchain network through the tax collector's public key; when the tax bureau device queries the second transaction data in the blockchain network, it determines that the payment status of the first tax payment slip is in a processing completed state; the first tax bureau device sends the payment status of the first tax payment slip to the tax collector's device.

2. The method according to claim 1, characterized in that Before the tax agent device generates the first tax payment receipt based on the tax agent's number segment, the income of the first tax recipient, and the tax rate, the method further includes: The tax agent device sends a first request to the second tax bureau device, wherein the first request is used to request the second tax bureau device for the number segment of the tax agent, and the number segment is used to identify the tax agent in the tax payment slip; The tax collection agent device receives the tax collection agent's number segment sent by the second tax bureau device.

3. The method according to claim 1, characterized in that The tax collector device pays the tax of the first taxee to the first tax bureau according to the first tax payment notice, including: The tax agent's device sends a transfer order to the third-party server. The transfer order includes the identification code of the first tax payment receipt. The transfer order is used to instruct the transfer of a second digital asset from the tax agent's account to the first tax bureau's account. The second digital asset is used to represent the tax payment of the first tax payee. The tax collection agent device receives the transfer result of the transfer order sent by the third-party server, where the transfer result includes the identification code of the first tax payment receipt and an indicator of successful transfer.

4. The method according to claim 3, characterized in that After the collection agent device receives the transfer result of the transfer order sent by the third-party server, the method further includes: The tax agent's device uploads the transfer result to the blockchain network or sends it to the first tax bureau's device.

5. A data processing method, characterized in that: The method comprises: The first tax bureau device receives first transaction data, where the first transaction data is uploaded to the blockchain network by the tax agent device. The first transaction data is used to indicate the transfer of the first digital asset from the tax agent's transaction address to the first tax bureau's transaction address. The first transaction data includes an identification code of a first tax payment slip. The first tax payment slip is generated by the tax agent device based on the tax agent's number segment, the income of the first taxee, and the tax rate. The first tax payment slip includes the tax amount of the first taxee, and the first digital asset is used to indicate the tax amount of the first taxee in the first tax payment slip. After generating the first tax payment slip, the tax agent device sends the tax payment slip to the first taxee's device. The tax payment slip is used to enable the first taxee's device to query the payment status based on the identification code of the tax payment slip. Upon detecting that the tax payment of the first tax payee has been completed, the first tax bureau device uploads second transaction data to the blockchain network, where the second transaction data is used to instruct the transfer of the first digital asset from the transaction address of the first tax bureau to the transaction address of the tax payee; The first tax payee's device inquiring about the payment status based on the identification code of the tax payment slip includes: the first tax payee inputs a query request at a query entry provided by the tax bureau system, the query request including the identification code of the first tax payment slip; when the tax bureau device inquires about the first transaction data on the blockchain network, it determines that the payment status of the first tax payment slip is in a processing state, wherein the tax bureau device obtains the first transaction data uploaded and signed by the tax payee's private key on the blockchain network through the tax payee's public key; when the tax bureau device inquires about the second transaction data on the blockchain network, it determines that the payment status of the first tax payment slip is in a processing completed state. The first tax bureau device sends the payment status of the first tax payment receipt to the device of the person being taxed.

6. The method according to claim 5, characterized in that Before the first tax office device receives the first transaction data, the method further includes: The first tax bureau device receives the first request sent by the tax agent device; The first tax bureau device generates a number segment of the tax agent according to the first request, wherein the number segment is used to identify the tax agent in the tax payment slip; The first tax bureau device sends the number segment of the tax collector to the tax collector device.

7. The method according to claim 5, characterized in that The method further comprises: The first tax bureau device receives a query request sent by the device of the tax payee, wherein the query request includes the identification code of the first tax payment receipt; The first tax bureau device queries the blockchain network for transaction data of the first tax payment receipt according to the identification code of the first tax payment receipt; The first tax bureau device determines the payment status of the first tax payment receipt based on the queried transaction data.

8. The method according to claim 5, characterized in that Before the first tax bureau device detects, based on the identification code of the first tax payment receipt, that the tax of the first tax payee has been paid, the method further includes: The first tax bureau device receives a transfer result of a transfer order sent by a third-party server, wherein the transfer order includes an identification code of the first tax payment receipt and the tax amount of the first tax payee. The transfer order is used to instruct the transfer of a second digital asset from the tax payee's account to the first tax bureau's account, and the second digital asset is used to indicate the tax amount of the first tax payee. The transfer result includes an identification code of the first tax payment receipt and an indication of a successful transfer.

9. The method according to claim 8, characterized in that The first tax bureau device receives the transfer result of the transfer order sent by the third-party server, including: The first tax bureau device receives the transfer result of the transfer order sent by the tax agent device, and the transfer result of the transfer order is sent to the tax agent device by the third-party server.

10. A data processing device, characterized in that: include: A processor and a memory, wherein the processor and the memory are coupled, wherein the memory is used to store computer instructions, and the processor is used to execute the computer instructions to implement the data processing method according to any one of claims 1 to 4.

11. A data processing device, characterized in that: include: A processor and a memory, wherein the processor and the memory are coupled, wherein the memory is used to store computer instructions, and the processor is used to execute the computer instructions to implement the data processing method according to any one of claims 5 to 9.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer device, the computer device implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Tax entrusting and authorized collection management system

    CN102831247A

  • Logistics collection-on-delivery management and control system based on block chain technology

    CN107516184A

  • Resource transfer method and device based on block chain, equipment and storage medium

    CN110659975A