Blockchain-based data processing method, device, electronic device and storage medium
By generating and opening tax payment certificates on the blockchain, the problem of information asymmetry between the Tax Bureau and other government agencies is solved, real-time acquisition and interaction of information is achieved, arbitrage behavior is avoided, and information interaction efficiency is improved.
Patent Information
- Application Number
- CN202010283130.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-08
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2040-04-08
AI Technical Summary
In the prior art, information interaction efficiency is low, and the arbitrage space caused by information asymmetry between the tax bureau and other government agencies has information asymmetry problem.
By transmitting information on the blockchain, generating tax payment certificates and putting them on the chain, determining the usage status after receiving the tax refund request, and performing tax refund operations to achieve real-time acquisition and interaction of information.
It improves information interaction efficiency, avoids arbitrage behavior, ensures real-time acquisition and reliability of information, and solves the problem of information asymmetry.
Smart Images

Figure CN111489247B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technologies, in particular to the field of blockchain technologies, and more particularly to a blockchain-based data processing method, a blockchain-based data processing device, an electronic device, and a computer storage medium. Background Art
[0002] With the development of society and the improvement of the judicial system, as a citizen, one needs to undertake the obligation of paying taxes according to legal provisions. Currently, after a taxpayer pays taxes normally, they can apply for a "tax payment certificate" at the tax bureau, collect it at the tax bureau hall, and have it stamped with the official seal of the tax bureau. After obtaining the tax payment certificate, the taxpayer can go to other government agencies to handle affairs. For example, they can apply for a certain number of business visas at the immigration and exit administration; they can apply for a certain number of public rental housing or talent housing at the Ministry of Housing and Urban-Rural Development; they can apply for a certain number of two-way vehicle licenses at the Transportation Commission; they can apply for some tax refunds at the customs, etc. However, when the taxpayer goes to other government agencies to complete relevant matters and then goes to the tax bureau to apply for a tax refund, for example, the reason for the tax refund can be "the contract has been cancelled", "the goods have been returned", etc., and the tax refund can be completed according to the normal process. However, the taxpayer has already obtained the above-mentioned enterprise preferential policies applied for at other government agencies, resulting in a certain arbitrage space. The main reasons for the above situation are the low information interaction efficiency and the information asymmetry between the tax bureau and other government agencies. Summary of the Invention
[0003] Embodiments of the present invention provide a blockchain-based data processing method, device, electronic device, and computer storage medium. By transmitting information on the blockchain, problems such as information asymmetry in certain scenarios are solved, and the efficiency of information interaction is improved.
[0004] On the one hand, embodiments of the present invention provide a blockchain-based data processing method, which includes:
[0005] Receiving a tax payment request from a first entity;
[0006] Generating a tax payment certificate and relevant information of the first entity according to the tax payment request, where the relevant information is used to indicate that the first entity has the tax payment certificate;
[0007] Uploading the relevant information of the first entity to the blockchain;
[0008] Receiving a tax refund request from the first entity;
[0009] Determining the usage situation of the tax payment certificate;
[0010] Performing a tax refund operation according to the usage situation of the tax payment certificate.
[0011] In a possible implementation, the process of uploading the relevant information of the first entity to the blockchain includes:
[0012] Determine the target account on the blockchain according to the tax payment request;
[0013] Transfer an amount of assets of a first quantity from the original account to the target account. The remarks information of the assets of the first quantity includes the relevant information of the first entity. The original account is the account corresponding to the first blockchain node on the blockchain.
[0014] In a possible implementation, the process of determining the usage status of the tax payment certificate includes:
[0015] Obtain at least one transfer of assets from the target account to the original account. Each transfer of assets among the at least one transfer of assets includes remarks information;
[0016] Detect whether the remarks information includes the associated information of the first entity. The associated information indicates that the first entity has a first right;
[0017] If yes, the usage status of the tax payment certificate is used.
[0018] If no, the usage status of the tax payment certificate is unused.
[0019] In a possible implementation, when the usage status of the tax payment certificate is used, the process of performing a tax refund operation according to the usage status of the tax payment certificate includes:
[0020] Transfer an amount of assets of a second quantity from the original account to the target account. The amount of the assets of the second quantity is the same as the amount of the first asset among the at least one transfer of assets. The remarks information of the first asset includes the associated information of the first entity;
[0021] Receive an amount of assets of a third quantity transferred from the target account to the original account. The remarks information of the assets of the third quantity includes the updated associated information of the first entity. The updated associated information of the first entity indicates that the first entity returns the first right;
[0022] Verify the updated associated information of the first entity;
[0023] If the verification result is that the first entity returns the first right, handle the tax refund business of the first entity.
[0024] In a possible implementation, after receiving the tax refund request of the first entity and before determining the usage of the tax payment certificate, the method further includes:
[0025] Detect whether there is a tax payment certificate of the first entity;
[0026] Determine that there is a tax payment certificate of the first entity.
[0027] In a possible implementation, the tax payment request includes attribute information. After determining the target account on the blockchain according to the tax payment request and before transferring an asset of a first quantity to the target account in the identity of the original account, the method further includes:
[0028] Query the transaction record between the original account and the target account in the blockchain;
[0029] Determine the resource allocation amount of the first institution corresponding to the target account according to the transaction record;
[0030] Obtain the total amount of resources of the first institution;
[0031] Determine the ratio of the resource allocation amount to the total amount of resources;
[0032] If the ratio is less than or equal to a preset threshold, determine the first quantity according to the tax payment amount in the tax payment certificate;
[0033] If the ratio is greater than the preset threshold, determine the first quantity according to the attribute information and the tax payment amount.
[0034] On the other hand, an embodiment of the present invention provides a blockchain-based data processing device, and the blockchain-based data processing device includes:
[0035] A communication unit, configured to receive a tax payment request of a first entity;
[0036] A processing unit, configured to generate a tax payment certificate and relevant information of the first entity according to the tax payment request, where the relevant information is used to indicate that the first entity has a tax payment certificate; and configured to upload the relevant information of the first entity to the blockchain;
[0037] The communication unit is further configured to receive a tax refund request of the first entity;
[0038] The processing unit is further configured to determine the usage of the tax payment certificate; and configured to perform a tax refund operation according to the usage of the tax payment certificate.
[0039] On the other hand, an embodiment of the present invention provides another blockchain-based data processing device, which includes:
[0040] A processing unit, configured to receive a first quantity of assets transferred from an original account in the identity of a target account, where the first quantity of assets carries relevant information of a first unit, and the target account is the account corresponding to the second blockchain node on the blockchain;
[0041] A communication unit, configured to receive a rights and interests application for the first unit;
[0042] The processing unit is further configured to review the rights and interests application according to the relevant information; and to handle a first right associated with the first unit according to the relevant information and the rights and interests application, generate associated information of the first unit, where the associated information indicates that the first unit has the first right; and to transfer a first asset to the original account in the identity of the target account, where the note information of the first asset includes the associated information of the first unit.
[0043] On the other hand, an embodiment of the present invention provides an electronic device, which includes an input device and an output device, and the electronic device further includes:
[0044] A processor, adapted to implement one or more instructions; and,
[0045] A computer storage medium, which stores one or more instructions, and the one or more instructions are adapted to be loaded and executed by the processor to perform the following steps:
[0046] Receive a tax payment request for the first unit;
[0047] Generate a tax payment certificate and relevant information of the first unit according to the tax payment request, where the relevant information is used to indicate that the first unit has the tax payment certificate;
[0048] Upload the relevant information of the first unit to the blockchain;
[0049] Receive a tax refund request for the first unit;
[0050] Determine the usage of the tax payment certificate;
[0051] Perform a tax refund operation according to the usage of the tax payment certificate.
[0052] On the other hand, an embodiment of the present invention provides an electronic device, which includes an input device and an output device, and the electronic device further includes:
[0053] A processor, adapted to implement one or more instructions; and,
[0054] A computer storage medium stores one or more instructions, and the one or more instructions are adapted to be loaded and executed by the processor to perform the following steps:
[0055] Receive a first quantity of assets transferred from an original account in the identity of a target account, where the first quantity of assets carries relevant information of a first unit, and the target account is the account corresponding to the second blockchain node on the blockchain;
[0056] Receive an application for rights and interests of the first unit;
[0057] Examine and verify the application for rights and interests according to the relevant information;
[0058] Handle the first rights and interests associated with the first unit according to the relevant information and the application for rights and interests, and generate association information of the first unit, where the association information indicates that the first unit owns the first rights and interests;
[0059] Transfer a first asset to the original account in the identity of the target account, and the note information of the first asset includes the association information of the first unit.
[0060] On the other hand, an embodiment of the present invention provides a computer storage medium that stores one or more instructions, and the one or more instructions are adapted to be loaded and executed by a processor to perform the following steps:
[0061] Receive a tax payment request for the first unit;
[0062] Generate a tax payment certificate and relevant information of the first unit according to the tax payment request, where the relevant information is used to indicate that the first unit owns the tax payment certificate;
[0063] Upload the relevant information of the first unit to the blockchain;
[0064] Receive a tax refund request for the first unit;
[0065] Determine the usage situation of the tax payment certificate;
[0066] Perform a tax refund operation according to the usage situation of the tax payment certificate.
[0067] It can be seen that in the embodiment of the present invention, the first blockchain node first receives the tax payment request of the first entity; secondly, generates a tax payment certificate and the relevant information of the first entity according to the tax payment request, and the relevant information is used to indicate that the first entity owns the tax payment certificate; secondly, uploads the relevant information of the first entity to the blockchain; receives the tax refund request of the first entity; determines the usage of the tax payment certificate; and finally, performs a tax refund operation according to the usage of the tax payment certificate. It can be seen that in the embodiment of the present invention, after the first blockchain node completes the tax payment certificate of the first entity, it uploads the relevant information to the blockchain, so that other nodes in the blockchain can obtain the relevant information of the first entity, realizing real-time acquisition of information; when the first blockchain node receives a tax refund request, it performs a tax refund operation according to the usage of the tax payment certificate, avoiding performing a tax refund operation when the usage is unclear, thereby improving the information interaction efficiency, solving the problem of information asymmetry, and avoiding arbitrage behaviors in certain life scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0069] Figure 1A is a schematic diagram of a data sharing system provided by an embodiment of the present invention;
[0070] Figure 1B is a schematic diagram of a blockchain provided by an embodiment of the present invention;
[0071] Figure 2 is a schematic flowchart of a data processing method based on a blockchain provided by an embodiment of the present invention;
[0072] Figure 3A is a schematic flowchart of a data processing method based on a blockchain provided by another embodiment of the present invention;
[0073] Figure 3B is a schematic flowchart of a data processing method based on a blockchain provided by another embodiment of the present invention;
[0074] Figure 3C is a schematic diagram of an interaction scenario provided by an embodiment of the present invention;
[0075] Figure 4 is a schematic diagram of the structure of a data processing device based on a blockchain provided by an embodiment of the present invention;
[0076] Figure 5It is a schematic structural diagram of another data processing device based on a blockchain provided by an embodiment of the present invention;
[0077] Figure 6 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;
[0078] Figure 7 It is a schematic structural diagram of another electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0079] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0080] Refer to Figure 1A The data sharing system shown. The data sharing system 100 refers to a system used for data sharing between nodes. The data sharing system may include multiple nodes. The multiple nodes may refer to each client in the data sharing system. In the figure, only 4 nodes are taken as examples for the relevant description of the embodiments of the present invention. The 4 nodes are node 101, node 102, node 103, and node 104 respectively. Specifically, in the embodiments of the present invention, node 101 may be the node corresponding to the tax bureau, node 102 may be the node corresponding to the Ministry of Housing and Urban-Rural Development, node 103 may be the node corresponding to the Exit-Entry Administration Bureau, and node 104 may be the node corresponding to the Transportation Commission. When each node is working normally, it can receive input information and maintain the shared data in the data sharing system based on the received input information. To ensure information interconnection in the data sharing system, there may be information connections between each node in the data sharing system, and the nodes can transmit information through the above information connections. For example, when any node in the data sharing system receives input information, other nodes in the data sharing system obtain the input information according to the consensus algorithm and store the input information as data in the shared data, so that the data stored on all nodes in the data sharing system is consistent.
[0081] For each node in the data sharing system, there is a corresponding node identifier, and each node in the data sharing system can store the node identifiers of other nodes in the data sharing system, so that subsequently, according to the node identifiers of other nodes, the generated blocks can be broadcast to other nodes in the data sharing system. Each node can maintain a node identifier list as shown in the following table, and store the node name and the node identifier correspondingly in this node identifier list. Among them, the node identifier can be an IP (Internet Protocol) address and any other information that can be used to identify the node. Only the IP address is used as an example in Table 1 for illustration.
[0082] Node Name Node Identifier Node 1 117.114.151.174 Node 2 117.116.189.145 Node 3 117.118.169.155 Node 4 119.123.789.258
[0083] Each node in the data sharing system stores an identical blockchain. The blockchain consists of multiple blocks. See Figure 1B , the blockchain consists of multiple blocks. The genesis block includes a block header and a block body. The block header stores the input information feature value, version number, timestamp, and difficulty value. The block body stores the input information; the next block of the genesis block uses the genesis block as the parent block. The next block also includes a block header and a block body. The block header stores the input information feature value of the current block, the block header feature value of the parent block, version number, timestamp, and difficulty value, and so on. In this way, the block data stored in each block in the blockchain is associated with the block data stored in the parent block, ensuring the security of the input information in the block.
[0084] Specifically, in the embodiments of the present invention, when the node 101 corresponding to the tax bureau receives the tax payment request from the taxpayer, it generates a tax payment certificate according to the tax payment request, generates relevant information, and broadcasts it in the data sharing system, so that the node 102, the node 103, and the node 104 can all receive the relevant information of the taxpayer's tax payment certificate. The node 101, the node 102, the node 103, and the node 104 all have account addresses, which can also be called wallet addresses. At the same time, the node 101 can determine the use of the tax payment certificate according to the tax payment request or the information input by the taxpayer. For example, after obtaining the tax payment certificate, the taxpayer wants to apply for a certain number of public rental housing and talent housing from the Ministry of Housing and Urban-Rural Development; then the node 101 transfers an asset to the node 102 from its own first account address, and adds the taxpayer's information to the remarks information of the asset. When the node 102 of the Ministry of Housing and Urban-Rural Development receives the taxpayer's application, it gives the taxpayer the rights and interests of public rental housing and talent housing according to the transferred asset and the remarks information of the node 101; and transfers an asset back to the node 101 through the node 102, and adds remarks information to the transferred asset, and the remarks information includes the rights and interests information obtained by the taxpayer; when the taxpayer applies for a tax refund from the tax bureau, the node 101 receives the relevant information and detects whether there is the taxpayer's tax payment certificate information in the information stored on the blockchain. Since the node 101 transfers an asset to the node 102 after generating the tax payment certificate and determining the use way of the tax payment certificate, the remarks information of the asset includes the taxpayer's information. Since the transaction record of the asset is recorded on the blockchain of the sharing system 100, it can be determined that there is the taxpayer's tax payment certificate information in the information stored on the blockchain; secondly, the node 101 judges whether the taxpayer has used the tax payment certificate and whether the taxpayer has obtained relevant rights and interests through the tax payment certificate. Since the node 102 transfers an asset back to the node 101 after giving the taxpayer the rights and interests, and the remarks information of the asset includes the rights and interests information obtained by the taxpayer, the transaction record of the asset is recorded on the blockchain of the sharing system 100, so it can be determined that the taxpayer has used the tax payment certificate; then the node 101 notifies the taxpayer to return the applied rights and interests to the Ministry of Housing and Urban-Rural Development, and transfers an asset to the node 102, and the remarks information of the transferred asset includes the taxpayer's information and the information of applying for returning the rights and interests; when the taxpayer applies to the Ministry of Housing and Urban-Rural Development to return the rights and interests, the node 102 updates the taxpayer's rights and interests information, transfers an asset to the node 101, and the remarks information of the asset includes the information that the taxpayer has returned the rights and interests; the information of this transfer is recorded on the blockchain generated by the sharing system 100, and the node 101 determines that the taxpayer can apply for a tax refund and handle the tax refund operation according to the information of this transfer on the blockchain.
[0085] Based on the above description, an embodiment of the present invention proposes a data processing method based on a blockchain. The data processing method based on a blockchain is applied to a first blockchain node. Please refer to Figure 2, the blockchain-based data processing method may include the following steps S201-S206:
[0086] S201, the first blockchain node receives a tax payment request for a first unit.
[0087] Among them, in the embodiments of the present invention, the first blockchain node specifically refers to the node corresponding to the tax authority (tax bureau). When a taxpayer applies for a tax payment certificate or tax refund, a tax payment request needs to be sent to the first blockchain node.
[0088] Among them, the first unit specifically refers to the unit or individual applying for tax payment, such as a taxpayer, a tax-paying company, etc.; the first unit can send a tax payment request to the first blockchain node through an electronic device. The tax payment request includes information for opening a tax payment certificate, such as the ID information of the handler, etc., so that the first blockchain node can handle the tax payment certificate according to the information in the tax payment request.
[0089] It should be noted that the electronic devices in the embodiments of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device), etc. For the convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
[0090] The terms "first", "second", etc. in the specification and claims of the embodiments of the present invention are used to distinguish different objects, rather than to describe a specific order.
[0091] S202, the first blockchain node generates a tax payment certificate and relevant information of the first unit according to the tax payment request. The relevant information is used to indicate that the first unit has a tax payment certificate.
[0092] Among them, the relevant information includes the information of the first unit and the information of the tax payment certificate (for example, it can be the tax payment certificate voucher number). When the first blockchain node sends the relevant information to other nodes in the blockchain, other nodes can determine the information of the first unit and the information of the tax payment certificate according to the relevant information.
[0093] S203, the first blockchain node uploads the relevant information of the first unit to the blockchain.
[0094] Specifically, the tax payment request may include the purpose of the tax payment certificate; alternatively, the first entity may send the purpose of the tax payment certificate to the first blockchain node, and the first blockchain node determines the second blockchain node according to the purpose of the tax payment certificate. The first blockchain node initiates an asset transfer from its corresponding account address to the account address of the second blockchain, and adds the relevant information of the first entity to the remarks information of the transfer; wherein, the account address can also be called the wallet address, and transactions and transfers can be made between account addresses in the blockchain. After the transfer is successful, it will be recorded on the blockchain. When the second blockchain node receives the rights and interests application of the first entity, it can query the information on the blockchain, and determine whether the first entity has a tax payment certificate and the information of the tax payment certificate according to the asset transfer and relevant information of the first entity in the blockchain, and then handle the relevant rights and interests. Specifically, the second blockchain node can determine the amount of business handled according to the amount of transferred assets, or can also determine the amount of business handled according to the relevant information. For example, the tax bureau corresponds to the first blockchain node, the Ministry of Housing and Urban-Rural Development corresponds to the second blockchain node, the first blockchain node corresponds to the first account address, and the second blockchain node corresponds to the second account address; the first blockchain node determines that the purpose of using the tax payment certificate is to apply for public rental housing with the tax payment certificate, and then determines the second node corresponding to the Ministry of Housing and Urban-Rural Development; the first blockchain node determines that the tax amount in the tax payment certificate of the first entity is 400,000 yuan, and sets that 1 resource is transferred for every 100,000 yuan. After the first blockchain node generates the tax payment certificate of the first entity, it transfers 4 resources from the first account address to the second account address, and adds the relevant information of the first entity to the remarks information of the transfer. The relevant information includes the identity information of the first entity and the information of the tax payment certificate. At the same time, this transfer is recorded on the blockchain after the transfer is successful; when the second blockchain node of the Ministry of Housing and Urban-Rural Development receives the application of the first entity for public rental housing, it searches for the transfer transaction associated with the first entity in the blockchain and obtains the remarks information of the transfer transaction; the Ministry of Housing and Urban-Rural Development can set the application volume of rights and interests according to the specific situation, specifically including the conversion relationship between tax amount and rights and interests, and the tax amount is directly proportional to the rights and interests; specifically, the Ministry of Housing and Urban-Rural Development can set that one set of public rental housing can be applied for every 100,000 yuan of tax amount, or can set that one set of public rental housing can be applied for every 1 resource. Then the second blockchain node can determine that the first entity can apply for 4 sets of public rental housing according to the transferred resource number of 4 resources or the tax amount of 400,000 yuan, and complete the handling of relevant rights and interests.
[0095] S204. The first blockchain node receives the tax refund request from the first entity.
[0096] Specifically, the first entity may send a tax refund request to the first blockchain node through an electronic device.
[0097] S205. The first blockchain node determines the usage situation of the tax payment certificate.
[0098] Among them, when the first entity uses the tax payment certificate, the second blockchain node will transfer an asset to the first blockchain node, and this asset will be recorded on the blockchain. Therefore, the first blockchain node only needs to check whether the transfer record on the blockchain includes the associated first entity, and this transfer record is the transfer from the second blockchain node to the first blockchain node. If it includes, it is determined that the tax payment certificate has been used; otherwise, the tax payment certificate has not been used.
[0099] S206, the first blockchain node performs a tax refund operation according to the usage situation of the tax payment certificate.
[0100] It can be seen that in the embodiment of the present invention, the first blockchain node first receives the tax payment request from the first entity; secondly, generates a tax payment certificate and relevant information of the first entity according to the tax payment request, and the relevant information is used to indicate that the first entity owns the tax payment certificate; secondly, uploads the relevant information of the first entity to the blockchain; receives the tax refund request from the first entity; determines the usage situation of the tax payment certificate; finally, performs a tax refund operation according to the usage situation of the tax payment certificate. It can be seen that in the embodiment of the present invention, after the first blockchain node completes the tax payment certificate of the first entity, it uploads the relevant information to the blockchain, so that other nodes in the blockchain can obtain the relevant information of the first entity, realizing real-time acquisition of information; when the first blockchain node receives a tax refund request, it performs a tax refund operation according to the usage situation of the tax payment certificate, avoiding performing a tax refund operation when the usage situation is unclear, thereby improving the information interaction efficiency, solving the problem of information asymmetry, and avoiding arbitrage behaviors in certain life scenarios.
[0101] In a possible implementation manner, uploading the relevant information of the first entity to the blockchain includes: determining a target account on the blockchain according to the tax payment request; transferring an asset of a first quantity to the target account in the identity of the original account, and the note information of the asset of the first quantity includes the relevant information of the first entity, and the original account is the account corresponding to the first blockchain node on the blockchain.
[0102] Among them, the target account is the account corresponding to the second blockchain node on the blockchain. The transfer of an asset with a first quantity from the original account to the target account specifically means transferring from the account address of the original account (the account address can also be referred to as the wallet address) to the account address of the target account, and the transfer amount is the first quantity. Among them, the first quantity is a positive integer. The transfer of an asset with a first quantity from the original account to the target account will be recorded on the blockchain, so that each node in the blockchain can obtain the transfer record and relevant information from the original account to the target account, and then determine that the current first unit already has a tax payment certificate, and the tax payment certificate will be used to obtain the rights and interests corresponding to the target account. For example, if the department corresponding to the target account is the Ministry of Housing and Urban-Rural Development, and the rights and interests corresponding to the Ministry of Housing and Urban-Rural Development are to obtain public rental housing or talent housing, then the tax payment certificate will be used to obtain public rental housing or talent housing, and other rights and interests managed by the Ministry of Housing and Urban-Rural Development. Among them, the first quantity is proportional to the quantity of rights and interests that the first unit can apply for. For example, if the department corresponding to the target account is the Ministry of Housing and Urban-Rural Development, then the larger the first quantity, the more public rental housing and talent housing the first unit can apply for in the Ministry of Housing and Urban-Rural Development.
[0103] In a possible implementation manner, determining the usage situation of the tax payment certificate includes: obtaining at least one asset transferred from the target account to the original account, and each asset in the at least one asset includes a note information; detecting whether the note information includes the associated information of the first unit, and the associated information indicates that the first unit has the first right and interest; if so, the usage situation of the tax payment certificate is used; if not, the usage situation of the tax payment certificate is not used.
[0104] The note information corresponding to each transfer in the at least one asset includes the information of the associated unit; such as the transfer associated with the first unit, the transfer associated with the second unit, etc.
[0105] Among them, when the target account handles relevant rights and interests according to the tax payment certificates of different users, a transfer from the target account to the original account will be initiated for the handling of the rights and interests of each user and recorded on the blockchain. Therefore, when the first blockchain node determines the usage situation of the tax payment certificate of the first unit, it only needs to query the transfer record from the target account to the original account on the blockchain and the note information of the transfer record to determine the usage situation of the tax payment certificate of the first unit.
[0106] Among them, if the usage situation of the tax payment certificate is not used, a tax refund operation for the first unit will be executed.
[0107] In a possible implementation, the usage status of the tax payment certificate is "used". A tax refund operation is performed according to the usage status of the tax payment certificate, including: transferring an asset of a second quantity from the original account to the target account. The amount of the asset of the second quantity is the same as the amount of the first asset in at least one asset, and the remarks information of the first asset includes the association information of the first unit; receiving an asset of a third quantity transferred from the target account in the name of the original account. The remarks information of the asset of the third quantity includes the updated association information of the first unit, and the updated association information of the first unit indicates that the first unit returns the first right; verifying the updated association information of the first unit; if the verification result is that the first unit returns the first right, then handle the tax refund business of the first unit.
[0108] Among them, after the first blockchain node transfers an asset of a second quantity from the original account to the target account and before receiving an asset of a third quantity transferred from the target account in the name of the original account, it further includes: the second blockchain node recovers the rights and interests already issued to the first unit and updates the association information of the first unit. After that, the second blockchain node transfers an asset of a third quantity from the target account to the original account of the first blockchain node in the name of the target account and adds the updated association information to the remarks information of this asset. Among them, in the embodiments of the present invention, the first quantity, the second quantity, and the third quantity may be the same or different from each other and need to be adjusted according to the specific application scenarios of the embodiments of the present invention.
[0109] In a possible implementation, after receiving the tax refund request of the first unit; before determining the usage status of the tax payment certificate, the method further includes: detecting whether there is a tax payment certificate of the first unit; determining that there is a tax payment certificate of the first unit.
[0110] Among them, after the first blockchain node generates the tax payment certificate of the first unit, it transfers an asset of a first quantity from the original account to the target account. This transfer record will be recorded on the blockchain. Therefore, the first blockchain node detects whether there is a tax payment certificate of the first unit: queries the transfer records in the blockchain and determines whether there is a transfer record associated with the first unit according to the information of the transfer records. If there is a transfer record associated with the first unit, it is determined that there is a tax payment certificate of the first unit; if there is no transfer record associated with the first unit, it is determined that there is no tax payment certificate of the first unit.
[0111] In a possible implementation, the tax payment request includes attribute information. After determining the target account on the blockchain according to the tax payment request and before transferring an asset of a first quantity to the target account in the identity of the original account, the method further includes: querying the transaction record between the original account and the target account in the blockchain; determining the resource allocation amount of a first institution corresponding to the target account according to the transaction record; obtaining the total amount of resources of the first institution; determining the ratio of the resource allocation amount to the total amount of resources; if the ratio is less than or equal to a preset threshold, determining the first quantity according to the tax payment amount in the tax payment certificate; if the ratio is greater than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
[0112] Among them, when any unit applying to the tax bureau for a tax payment certificate obtains the tax payment certificate and applies to the first institution for corresponding rights and interests with the tax payment certificate, the first institution will allocate rights and interests to the unit. At the same time, it will initiate a corresponding transfer to the original account on the blockchain in the identity of the target account, and the amount of the transfer is proportional to the amount of the allocated rights and interests. Therefore, the first blockchain node can query the transaction record (and transfer record) between the original account and the target account in the blockchain, and then determine the amount of resources that the first institution has currently allocated according to the transaction record.
[0113] Among them, obtaining the total amount of resources of the first institution includes: the first blockchain node sending a request message for obtaining the total amount of resources to the original account in the identity of the target account; and then receiving the total amount of resources in the current period sent by the original account. Specifically, the duration of the period can be set by the user of the original account. For example, the period can be a natural day, a natural week or a natural month. The first blockchain node can determine the amount of resources that have been allocated in the current period.
[0114] Among them, if the ratio is less than or equal to the preset threshold, determining the first quantity according to the tax payment amount in the tax payment certificate. Specifically, the corresponding relationship between the tax payment amount interval and the quantity is stored in the first blockchain. For example, for tax payment amount interval A, it corresponds to quantity A; for tax payment amount interval B, it corresponds to quantity B; for tax payment amount interval C, it corresponds to quantity C. Then, if the tax payment amount of the tax payment certificate is within tax payment amount interval A, the first quantity is equal to quantity A.
[0115] In actual application scenarios, taxpayers can be individuals or companies. Individuals have different occupations, and the natures of companies can also vary. Therefore, in the embodiments of the present invention, the occupations of individuals or the natures of companies are attribute information; for individuals or companies with different attribute information, the number of rights and interests that may be obtained under the same tax payment amount may be different. If the ratio is greater than the preset threshold, query the preset matching relationship according to the attribute information to obtain the coefficient value corresponding to the attribute information. The coefficient value is a numerical value greater than 0 and less than 1; after determining the corresponding quantity according to the tax payment amount, multiply the quantity by the coefficient value to obtain the first quantity; for example, if the tax payment amount of the tax payment certificate is within the A tax payment amount range, the first quantity is equal to the product of the A quantity and the coefficient value.
[0116] It can be seen that in this example, the first blockchain node can adjust and determine the resource quantity that the first unit can obtain according to the resource allocation quantity and the total resource quantity of the target account, realizing the dynamic regulation of resource allocation and enhancing the intelligence of the electronic device.
[0117] Please refer to Figure 3A , Figure 3A FIG. is a schematic flowchart of another blockchain-based data processing method provided by the embodiments of the present invention. This blockchain-based data processing method is applied to the second blockchain node, and this blockchain-based data processing method may include the following steps S301-S305:
[0118] S301. The second blockchain node receives an asset of the first quantity transferred from the original account in the identity of the target account. The asset of the first quantity carries the relevant information of the first unit. The target account is the account corresponding to the second blockchain node on the blockchain;
[0119] Among them, the original account is the account corresponding to the first blockchain node. Receiving an asset of the first quantity transferred from the original account in the identity of the target account means: transferring from the account address of the original account (the account address can also be called or referred to as the wallet address) to the account address of the target account. The first quantity is a positive integer.
[0120] Among them, the relevant information may include the tax payment certificate number of the first unit.
[0121] The fact that the asset of the first quantity carries the relevant information of the first unit means: the relevant information of the first unit is included in the remarks information of transferring an asset of the first quantity.
[0122] S302. The second blockchain node receives an application for the rights and interests of the first unit;
[0123] S303. The second blockchain node reviews the rights and interests application according to the relevant information;
[0124] Among them, first, it is determined that the first entity has a tax payment certificate. Secondly, it is verified whether the information of the first entity in the relevant information is the same as the information of the first entity in the rights and interests application. If they are the same, it is determined that the review is passed. It may also include: determining the tax amount in the tax payment certificate; determining the preset rights and interests application quantity according to the tax amount, determining the first rights and interests application quantity in the rights and interests application, and judging whether the first rights and interests application quantity is less than or equal to the preset rights and interests application quantity. If so, it is determined that the rights and interests application review is passed.
[0125] S304. The second blockchain node processes and associates the first rights and interests of the first entity according to the relevant information and the rights and interests application, and generates the association information of the first entity. The association information indicates that the first entity has the first rights and interests;
[0126] S305. The second blockchain node transfers the first asset to the original account in the name of the target account, and the note information of the first asset includes the association information of the first entity;
[0127] It can be seen that in the embodiment of the present invention, the second blockchain node performs a transfer operation with the first blockchain node in the blockchain, thereby realizing the timely transmission of information. At the same time, the records of the tax payment certificate and the rights and interests distribution are realized in the blockchain, ensuring the reliability of the information and avoiding the risk of information being tampered with. When a node in the blockchain needs to use historical information, it only needs to query the information in the blockchain to obtain the corresponding information, improving the information interaction efficiency and avoiding the arbitrage phenomenon caused by information asymmetry.
[0128] In a possible implementation manner, after transferring the first asset to the original account in the name of the target account, the method further includes: receiving a second quantity of assets transferred from the original account in the name of the target account, and the amount of the second quantity of assets is the same as the amount of the first asset; receiving a rights and interests return request of the first entity; updating the association information of the first entity so that the association information is used to indicate that the first entity does not have the first rights and interests; transferring a third quantity of assets to the original account in the name of the target account, and the note information of the third quantity of assets includes the association information of the first entity.
[0129] It should be noted that in the embodiment of the present invention, the first quantity, the second quantity, and the third quantity may be equal or unequal.
[0130] Please refer to Figure 3B , Figure 3B which is a schematic flowchart of another data processing method based on blockchain provided by the embodiment of the present invention. This schematic flowchart is based on Figure 2 and Figure 3A constructed for the complete process of the embodiment of the present application. This schematic flowchart shows the complete interaction process between the first block node and the second blockchain node. The data processing method based on blockchain may include the following steps S401 - S414:
[0131] S401, The first blockchain node receives a tax payment request for the first unit;
[0132] S402, The first blockchain node generates a tax payment certificate and relevant information of the first unit according to the tax payment request, and the relevant information is used to indicate that the first unit owns the tax payment certificate; ]>
[0133] S403, The first blockchain node determines the target account on the blockchain according to the tax payment request;
[0134] S404, The first blockchain node transfers an asset of a first quantity to the target account in the identity of the original account. The remarks information of the asset of the first quantity includes the relevant information of the first unit, and the original account is the account corresponding to the first blockchain node on the blockchain;
[0135] S405, The second blockchain node receives an equity application from the first unit;
[0136] S406, The second blockchain node conducts an audit on the equity application according to the relevant information;
[0137] S407, The second blockchain node processes the first equity associated with the first unit according to the relevant information and the equity application, and generates the associated information of the first unit. The associated information indicates that the first unit owns the first equity;
[0138] S408, The second blockchain node transfers the first asset to the original account in the identity of the target account. The remarks information of the first asset includes the associated information of the first unit;
[0139] S409, The first blockchain node receives a tax refund request from the first unit;
[0140] S410, The first blockchain node determines the usage status of the tax payment certificate;
[0141] S411, If the usage status of the tax payment certificate is used, the first blockchain node transfers an asset of a second quantity to the target account in the identity of the original account. The amount of the asset of the second quantity is the same as the amount of the first asset in at least one asset. The remarks information of the first asset includes the associated information of the first unit;
[0142] S412, The second blockchain node receives an equity return request from the first unit; updates the associated information of the first unit so that the associated information is used to indicate that the first unit does not own the first equity;
[0143] S413, The second blockchain node transfers an asset of a third quantity to the original account in the identity of the target account. The remarks information of the asset of the third quantity includes the associated information of the first unit;
[0144] S414, the first blockchain node verifies the associated information of the updated first unit; if the verification result is that the first unit has returned the first right, the tax refund business of the first unit is handled.
[0145] It can be seen that in the embodiments of the present invention, the first blockchain node and the second blockchain node realize real-time information interaction and recording by conducting transfer transactions on the blockchain, solve the current situation of information asymmetry in certain scenarios, and at the same time reduce the risk of information being tampered with. When the nodes in the blockchain need to use historical information, they only need to query the information in the blockchain to obtain the corresponding information, improve the information interaction efficiency, and thus avoid arbitrage behaviors in life scenarios.
[0146] Please refer to Figure 3C , Figure 3C is a schematic diagram of an interaction scenario provided by the embodiments of the present invention; Figure 3C includes taxpayers, electronic devices, and a blockchain network. The blockchain network includes multiple blockchain nodes, but Figure 3C only three blockchain nodes are drawn in the blockchain network for schematic illustration. The electronic devices and the nodes in the blockchain network can communicate with each other. Assume that the first blockchain node is the node corresponding to the tax bureau, and the second blockchain node and the third blockchain node are the nodes corresponding to other relevant institutions. Taxpayers can apply for relevant rights using the tax payment certificate at other relevant institutions; then taxpayers can send tax payment request information and tax refund request information to the first blockchain node through the electronic device; taxpayers can send right handling information and requests for returning rights to the second blockchain node or the third blockchain node through the electronic device; the first blockchain node can also send information indicating that the tax payment certificate has been processed and information indicating that the tax refund has been completed to the electronic device; at the same time, the first blockchain node can initiate a transfer to the second blockchain node and the third blockchain node, and add the information of the taxpayer's tax payment certificate or the taxpayer's tax refund information to the remarks information of the transfer, so that the second blockchain node or the third blockchain node handles the rights of the taxpayer according to the above information. The second blockchain node or the third blockchain can also initiate a transfer to the first blockchain node and add the taxpayer's right handling information or the information of returning rights to the remarks information, so that the first blockchain node obtains the usage situation of the tax payment certificate, which is convenient for the first blockchain node to handle the tax refund operation.
[0147] Based on the description of the above embodiments of the blockchain-based data processing method, embodiments of the present invention also disclose a blockchain-based data processing device. The blockchain-based data processing device can be a computer program (including program code) running on an electronic device. Please refer to Figure 4 , the blockchain-based data processing device can run the following units:
[0148] A communication unit 401, configured to receive a tax payment request of a first entity;
[0149] A processing unit 402, configured to generate a tax payment certificate and related information of the first entity according to the tax payment request, where the related information is used to indicate that the first entity has the tax payment certificate; and to upload the related information of the first entity to a blockchain;
[0150] The communication unit 401 is further configured to receive a tax refund request of the first entity;
[0151] The processing unit 402 is further configured to determine the usage status of the tax payment certificate; and to perform a tax refund operation according to the usage status of the tax payment certificate.
[0152] In a possible implementation manner, when the processing unit 401 is uploading the related information of the first entity to the blockchain, it is specifically configured to: determine a target account on the blockchain according to the tax payment request; transfer an asset of a first quantity to the target account in the identity of an original account, where the note information of the asset of the first quantity includes the related information of the first entity, and the original account is the account corresponding to the first blockchain node on the blockchain.
[0153] In a possible implementation manner, when the processing unit 401 is determining the usage status of the tax payment certificate, it is specifically configured to: obtain at least one asset transferred from the target account to the original account, and each asset in the at least one asset includes note information; detect whether the note information includes associated information of the first entity, where the associated information indicates that the first entity has a first right; if so, the usage status of the tax payment certificate is used; if not, the usage status of the tax payment certificate is unused.
[0154] In a possible implementation manner, when the usage status of the tax payment certificate determined by the processing unit 401 is used, the performing a tax refund operation according to the usage status of the tax payment certificate includes: transferring an asset of a second quantity to the target account in the identity of the original account, where the amount of the asset of the second quantity is the same as the amount of a first asset in the at least one asset, and the note information of the first asset includes the associated information of the first entity; receiving an asset of a third quantity transferred from the target account in the identity of the original account, where the note information of the asset of the third quantity includes the updated associated information of the first entity, and the updated associated information of the first entity indicates that the first entity has returned the first right; verifying the updated associated information of the first entity; if the verification result is that the first entity has returned the first right, then handle the tax refund business of the first entity.
[0155] In a possible implementation, after the processing unit 401 receives the tax refund request of the first entity; before determining the usage of the tax payment certificate, it is further configured to: detect whether there is a tax payment certificate of the first entity; determine that there is a tax payment certificate of the first entity.
[0156] In a possible implementation, the tax payment request includes attribute information. After the processing unit 401 determines the target account on the blockchain according to the tax payment request and before transferring a first quantity of assets to the target account in the identity of the original account, it is further configured to: query the transaction record between the original account and the target account in the blockchain; determine the resource allocation amount of the first institution corresponding to the target account according to the transaction record; obtain the total amount of resources of the first institution; determine the ratio of the resource allocation amount to the total amount of resources; if the ratio is less than or equal to a preset threshold, determine the first quantity according to the tax payment amount in the tax payment certificate; if the ratio is greater than the preset threshold, determine the first quantity according to the attribute information and the tax payment amount.
[0157] An embodiment of the present invention also discloses another blockchain-based data processing device. The blockchain-based data processing device may be a computer program (including program code) running in an electronic device. Please refer to Figure 5 , the blockchain-based data processing device may run the following units:
[0158] A processing unit 501, configured to receive a first quantity of assets transferred by an original account in the identity of a target account. The first quantity of assets carries relevant information of a first entity, and the target account is the account corresponding to the second blockchain node on the blockchain;
[0159] A communication unit 502, configured to receive the rights and interests application of the first entity;
[0160] The processing unit 501 is further configured to review the rights and interests application according to the relevant information; and to handle the first rights and interests associated with the first entity according to the relevant information and the rights and interests application, generate the association information of the first entity, where the association information indicates that the first entity has the first rights and interests; and to transfer a first asset to the original account in the identity of the target account, and the note information of the first asset includes the association information of the first entity.
[0161] In a possible implementation, after the processing unit 501 transfers the first asset to the original account in the name of the target account, it is further configured to: receive, in the name of the target account, a second quantity of assets transferred from the original account, where the amount of the second quantity of assets is the same as the amount of the first asset; receive a request for the return of the first unit of rights and interests; update the associated information of the first unit such that the associated information is used to indicate that the first unit does not own the first rights and interests; and transfer a third quantity of assets to the original account in the name of the target account, where the remarks information of the third quantity of assets includes the associated information of the first unit.
[0162] According to another embodiment of the present invention, Figure 4 or Figure 5 Each unit in the blockchain-based data processing device shown can be separately or entirely combined into one or several other units to form, or a certain one (or some) of the units can be further split into multiple smaller units with functionally smaller functions to form, which can achieve the same operations without affecting the realization of the technical effects of the embodiments of the present invention. The above units are divided based on logical functions. In practical applications, the function 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 blockchain-based data processing device may also include other units. In practical applications, these functions can also be assisted by other units and can be achieved through the cooperation of multiple units.
[0163] According to another embodiment of the present invention, a computer program (including program code) capable of executing the respective steps involved in the corresponding method of the embodiments of the present invention can be run on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM), to construct a Figure 4 or Figure 5 the blockchain-based data processing device shown in, and to implement the blockchain-based data processing method of the embodiments of the present invention. The computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above computing device through the computer-readable recording medium and run therein.
[0164] It can be seen that in the embodiments of the present invention, the first blockchain node and the second blockchain node achieve real-time interaction and recording of information by conducting transfer transactions on the blockchain, solve the current situation of information asymmetry in certain scenarios, avoid the tampering of information, improve the information interaction efficiency, and thus avoid arbitrage behaviors in life scenarios.
[0165] Based on the descriptions of the above method embodiments and apparatus embodiments, embodiments of the present invention further provide an electronic device. Please refer to Figure 6 , the electronic device at least includes a processor 601, an input device 606, an output device 603, and a computer storage medium 604. Among them, the processor 601, the input device 606, the output device 603, and the computer storage medium 604 in the electronic device can be connected through a bus or other means.
[0166] The computer storage medium 604 can be stored in the memory of the electronic device. The computer storage medium 604 is used to store a computer program. The computer program includes program instructions. The processor 601 is used to execute the program instructions stored in the computer storage medium 604. The processor 601 (or CPU (Central Processing Unit, central processor)) is the computing core and control core of the electronic device, and is suitable for implementing one or more instructions. Specifically, it is suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; in one embodiment, the processor 601 described in the embodiments of the present invention can be used for a series of blockchain-based data processing, including: receiving a tax payment request from a first entity;
[0167] generating a tax payment certificate and related information of the first entity according to the tax payment request, where the related information is used to indicate that the first entity has a tax payment certificate; uploading the related information of the first entity to the blockchain; receiving a tax refund request from the first entity; determining the usage status of the tax payment certificate; and performing a tax refund operation according to the usage status of the tax payment certificate.
[0168] Embodiments of the present invention further provide a computer storage medium (Memory). The computer storage medium is a memory device in the electronic device and is used to store programs and data. It can be understood that the computer storage medium here can include both the built-in storage medium in the electronic device and, of course, the extended storage medium supported by the electronic device. The computer storage medium provides a storage space, and this storage space stores the operating system of the electronic device. And, one or more instructions suitable for being loaded and executed by the processor 601 are also stored in this storage space. These instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory; optionally, it can also be at least one computer storage medium located far from the aforementioned processor.
[0169] In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by a processor 601 to implement the corresponding steps of the method in the above-described blockchain-based data processing embodiments; specifically, one or more instructions in the computer storage medium are loaded and executed by the processor 601 to perform the following steps:
[0170] Receive a tax payment request from a first entity;
[0171] Generate a tax payment certificate and related information of the first entity according to the tax payment request, where the related information is used to indicate that the first entity owns the tax payment certificate;
[0172] Upload the related information of the first entity to the blockchain;
[0173] Receive a tax refund request from the first entity;
[0174] Determine the usage status of the tax payment certificate;
[0175] Perform a tax refund operation according to the usage status of the tax payment certificate.
[0176] In a possible implementation manner, when used to upload the related information of the first entity to the blockchain, the one or more instructions may also be loaded and specifically executed by the processor 601: determine a target account on the blockchain according to the tax payment request; transfer an asset of a first quantity to the target account in the identity of the original account, where the note information of the asset of the first quantity includes the related information of the first entity, and the original account is the account corresponding to the first blockchain node on the blockchain.
[0177] In a possible implementation manner, when used to determine the usage status of the tax payment certificate, the one or more instructions may also be loaded and specifically executed by the processor 601: obtain at least one asset transferred from the target account to the original account, and each asset in the at least one asset includes note information; detect whether the note information includes associated information of the first entity, where the associated information indicates that the first entity owns a first right; if so, the usage status of the tax payment certificate is used; if not, the usage status of the tax payment certificate is unused.
[0178] In a possible implementation, the usage status of the tax payment certificate is "used". When used to perform a tax refund operation based on the usage status of the tax payment certificate, the one or more instructions can also be loaded and specifically executed by the processor 601: transfer an asset of a second quantity from the original account to the target account, where the amount of the asset of the second quantity is the same as the amount of the first asset in the at least one asset, and the associated information of the first unit is included in the remarks information of the first asset; receive an asset of a third quantity transferred from the target account in the name of the original account, where the updated associated information of the first unit is included in the remarks information of the asset of the third quantity, and the updated associated information of the first unit indicates that the first unit has returned the first right; verify the updated associated information of the first unit; if the verification result is that the first unit has returned the first right, handle the tax refund business of the first unit.
[0179] In a possible implementation, after receiving the tax refund request of the first unit; before determining the usage status of the tax payment certificate, the one or more instructions can also be loaded and specifically executed by the processor 601: detect whether there is a tax payment certificate of the first unit; determine that there is a tax payment certificate of the first unit.
[0180] In a possible implementation, the tax payment request includes attribute information. After determining the target account on the blockchain according to the tax payment request and before transferring an asset of a first quantity from the original account to the target account in the name of the original account, the one or more instructions can also be loaded and specifically executed by the processor 601: query the transaction record between the original account and the target account in the blockchain; determine the resource allocation amount of the first institution corresponding to the target account according to the transaction record; obtain the total resource amount of the first institution; determine the ratio of the resource allocation amount to the total resource amount; if the ratio is less than or equal to a preset threshold, determine the first quantity according to the tax payment amount in the tax payment certificate; if the ratio is greater than the preset threshold, determine the first quantity according to the attribute information and the tax payment amount.
[0181] It can be seen that in the embodiment of the present invention, the first blockchain node first receives the tax payment request of the first entity; secondly, generates a tax payment certificate and the relevant information of the first entity according to the tax payment request, and the relevant information is used to indicate that the first entity owns the tax payment certificate; secondly, uploads the relevant information of the first entity to the blockchain; receives the tax refund request of the first entity; determines the usage of the tax payment certificate; and finally, performs a tax refund operation according to the usage of the tax payment certificate. It can be seen that in the embodiment of the present invention, after the first blockchain node completes the tax payment certificate of the first entity, it uploads the relevant information to the blockchain, so that other nodes in the blockchain can obtain the relevant information of the first entity, realizing real-time acquisition of information; when the first blockchain node receives a tax refund request, it performs a tax refund operation according to the usage of the tax payment certificate, avoiding performing a tax refund operation when the usage is unclear, thereby improving the information interaction efficiency, solving the problem of information asymmetry, and avoiding arbitrage behaviors in certain life scenarios.
[0182] The embodiment of the present invention also provides another electronic device. Please refer to Figure 7 , the electronic device at least includes a processor 701, an input device 707, an output device 703, and a computer storage medium 704. Among them, the processor 701, the input device 707, the output device 703, and the computer storage medium 704 in the electronic device can be connected through a bus or other means.
[0183] The computer storage medium 704 can be stored in the memory of the electronic device. The computer storage medium 704 is used to store a computer program, and the computer program includes program instructions. The processor 701 is used to execute the program instructions stored in the computer storage medium 704. The processor 701 (or CPU (Central Processing Unit, central processor)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions. Specifically, it is suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function. In one embodiment, the processor 701 described in the embodiments of the present invention can be used for a series of blockchain-based data processing, including: when a target application in a first electronic device is started, sending a data request to a second electronic device; receiving, in the identity of a target account, a first quantity of assets transferred from an original account, where the first quantity of assets carries relevant information of a first unit, and the target account is the account corresponding to the second blockchain node on the blockchain; receiving the rights and interests application of the first unit; auditing the rights and interests application according to the relevant information; handling the first rights and interests associated with the first unit according to the relevant information and the rights and interests application, generating associated information of the first unit, where the associated information indicates that the first unit has the first rights and interests; transferring a first asset to the original account in the identity of the target account, and the note information of the first asset includes the associated information of the first unit.
[0184] Embodiments of the present invention also provide a computer storage medium (Memory). The computer storage medium is a memory device in an electronic device and is used to store programs and data. It can be understood that the computer storage medium here can include both the built-in storage medium in the electronic device and, of course, the extended storage medium supported by the electronic device. The computer storage medium provides a storage space, and the operating system of the electronic device is stored in this storage space. And, one or more instructions suitable for being loaded and executed by the processor 701 are also stored in this storage space. These instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory; optionally, it can also be at least one computer storage medium located far from the aforementioned processor.
[0185] In one embodiment, one or more instructions stored in the computer storage medium can be loaded and executed by the processor 701 to implement the corresponding steps of the method in the above-mentioned blockchain-based data processing embodiments. Specifically, when implemented, one or more instructions in the computer storage medium are loaded and executed by the processor 701 to perform the following steps:
[0186] Receive a first quantity of assets transferred from the original account in the identity of the target account, the first quantity of assets carrying relevant information of a first unit, and the target account being the account corresponding to the second blockchain node on the blockchain;
[0187] Receive the equity application for the first unit;
[0188] Review the equity application according to the relevant information;
[0189] Handle the first equity associated with the first unit according to the relevant information and the equity application, generate the associated information of the first unit, and the associated information indicates that the first unit owns the first equity;
[0190] Transfer the first asset to the original account in the identity of the target account, and the note information of the first asset includes the associated information of the first unit.
[0191] In a possible implementation manner, after transferring the first asset to the original account in the identity of the target account, the one or more instructions can also be loaded and specifically executed by the processor 701: Receive a second quantity of assets transferred from the original account in the identity of the target account, and the amount of the second quantity of assets is the same as the amount of the first asset; Receive the equity return request for the first unit; Update the associated information of the first unit so that the associated information is used to indicate that the first unit does not own the first equity; Transfer a third quantity of assets to the original account in the identity of the target account, and the note information of the third quantity of assets includes the associated information of the first unit.
[0192] It can be seen that in the embodiment of the present invention, the second blockchain node performs a transfer operation with the first blockchain node in the blockchain, thereby realizing the timely transmission of information. At the same time, the records of tax payment certificates and equity distribution are realized, the information interaction efficiency is improved, and the arbitrage phenomenon caused by information asymmetry is avoided.
[0193] The above-disclosed are only the preferred embodiments of the present invention. Of course, the scope of the rights of the present invention cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope covered by the present invention.
Claims
1. A data processing method based on blockchain, characterized in that, The method is applied to a first blockchain node, and the method includes: Receiving a tax payment request from a first entity; Generating a tax payment certificate and related information of the first entity according to the tax payment request, where the related information is used to indicate that the first entity owns the tax payment certificate; Uploading the related information of the first entity to the blockchain; Receiving a tax refund request from the first entity; Determining the usage status of the tax payment certificate; Performing a tax refund operation according to the usage status of the tax payment certificate.
2. The method according to claim 1, wherein The uploading the related information of the first entity to the blockchain includes: Determining a target account on the blockchain according to the tax payment request; Transferring an asset of a first quantity from the original account to the target account in the identity of the original account, where the remarks information of the asset of the first quantity includes the related information of the first entity, and the original account is the account corresponding to the first blockchain node on the blockchain.
3. The method according to claim 2, characterized in that, The determining the usage status of the tax payment certificate includes: Obtaining at least one asset transferred from the target account to the original account, and each asset in the at least one asset includes remarks information; Detecting whether the remarks information includes the associated information of the first entity, where the associated information indicates that the first entity has a first right; If so, the usage status of the tax payment certificate is used; If not, the usage status of the tax payment certificate is unused.
4. The method according to claim 3, wherein When the usage status of the tax payment certificate is used, the performing a tax refund operation according to the usage status of the tax payment certificate includes: Transferring an asset of a second quantity from the original account to the target account in the identity of the original account, where the amount of the asset of the second quantity is the same as the amount of the first asset in the at least one asset, and the remarks information of the first asset includes the related information of the first entity; Receiving an asset of a third quantity transferred from the target account to the original account in the identity of the original account, where the remarks information of the asset of the third quantity includes the updated associated information of the first entity, and the updated associated information of the first entity indicates that the first entity returns the first right; Verifying the updated associated information of the first entity; If the verification result is that the first entity has returned the first right, handling the tax refund business of the first entity.
5. The method according to claim 2, wherein After the tax payment request includes attribute information and after determining the target account on the blockchain according to the tax payment request and before transferring an asset of a first quantity from the original account to the target account in the identity of the original account, the method further includes: Querying the transaction record between the original account and the target account in the blockchain; Determining the resource allocation amount of the first institution corresponding to the target account according to the transaction record; Obtaining the total amount of resources of the first institution; Determining the ratio of the resource allocation amount to the total amount of resources; If the ratio is less than or equal to a preset threshold, determining the first quantity according to the tax payment amount in the tax payment certificate; If the ratio is greater than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
6. A data processing device based on a blockchain, characterized in that, including: A communication unit, configured to receive a tax payment request from a first entity; A processing unit, configured to generate a tax payment certificate and relevant information of the first entity according to the tax payment request, where the relevant information is used to indicate that the first entity has the tax payment certificate; and configured to upload the relevant information of the first entity to a blockchain; The communication unit is further configured to receive a tax refund request from the first entity; The processing unit is further configured to determine the usage situation of the tax payment certificate; and perform a tax refund operation according to the usage situation of the tax payment certificate.
7. An electronic device, comprising an input device and an output device, characterized in that, It further includes: A processor, adapted to implement one or more instructions; and, A computer storage medium storing one or more instructions, where the one or more instructions are adapted to be loaded and executed by the processor to perform the blockchain-based data processing method according to any one of claims 1-5.
8. A computer storage medium, characterized in that, The computer storage medium stores one or more instructions, where the one or more instructions are adapted to be loaded and executed by the processor to perform the blockchain-based data processing method according to any one of claims 1-5.
9. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, the blockchain-based data processing method according to any one of claims 1-5 is implemented.
Citation Information
Patent Citations
Block-chain-based data transaction method
CN108011709A