CN111489247A - Data processing method and device based on block chain, electronic equipment and storage medium - Google Patents

Data processing method and device based on block chain, electronic equipment and storage medium Download PDF

Info

Publication number
CN111489247A
CN111489247A CN202010283130.6A CN202010283130A CN111489247A CN 111489247 A CN111489247 A CN 111489247A CN 202010283130 A CN202010283130 A CN 202010283130A CN 111489247 A CN111489247 A CN 111489247A
Authority
CN
China
Prior art keywords
tax
unit
information
account
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010283130.6A
Other languages
Chinese (zh)
Inventor
戴传兵
欧阳宜虹
郑罗海
藏军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010283130.6A priority Critical patent/CN111489247A/en
Publication of CN111489247A publication Critical patent/CN111489247A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/10Tax strategies

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a device, electronic equipment and a medium based on a block chain, wherein the method comprises the following steps: receiving a request for completion of a tax for a first unit; generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification; uplink the related information of the first unit to a block chain; receiving a tax refund request of the first unit; determining a use case of the tax closing certification; and executing tax refunding operation according to the use condition of the tax completion certificate. By implementing the embodiment of the application, the real-time interaction and sharing of the information are realized, the problem that some people in the current society use the information asymmetry proved by tax completion to carry out arbitrage is solved, and the information interaction efficiency is improved.

Description

Data processing method and device based on block chain, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a block chain-based data processing method, a block chain-based data processing apparatus, an electronic device, and a computer storage medium.
Background
With the development of society and the soundness of judicial system, the citizen needs to undertake the obligation of paying tax according to legal regulations, and after the taxpayer normally pays tax, the current taxpayer can apply for a tax completion certification in the tax bureau, go to a hall of the tax bureau for getting, and add a official seal by the tax bureau. After the taxpayer takes the tax completion certificate, the taxpayer can go to other government agencies to transact business, for example, the taxpayer can go in and out and apply for a certain number of business labels; the building department can be removed to apply for a certain number of public renting rooms and talent rooms; the system can go to a traffic committee to apply for a certain number of license plates of two places; the customs can be asked for refunds, etc. However, when the taxpayer goes to other government agencies to complete the related matters and then arrives at the tax bureau, the tax refund is applied, for example, the reason for the tax refund can be "contract cancelled", "goods returned", etc., and the tax refund can be completed according to the normal flow, but the taxpayer has obtained the enterprise preferential policy applied by other government agencies, and a certain profit margin exists. The main reasons for the above are the low efficiency of information interaction and the asymmetry between the tax bureau and other government agencies.
Disclosure of Invention
Embodiments of the present invention provide a data processing method and apparatus based on a block chain, an electronic device, and a computer storage medium, where information is transmitted on the block chain, so that the problems of information asymmetry and the like in some scenes are solved, and the efficiency of information interaction is improved.
In one aspect, an embodiment of the present invention provides a data processing method based on a block chain, where the data processing method based on the block chain includes:
receiving a request for completion of a tax for a first unit;
generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification;
uplink the related information of the first unit to a block chain;
receiving a tax refund request of the first unit;
determining a use case of the tax closing certification;
and executing tax refunding operation according to the use condition of the tax completion certificate.
In one possible implementation, the uplink of the related information of the first unit to a block chain includes:
determining a target account on the blockchain according to the tax completion request;
transferring a first quantity of assets to the target account in the identity of a primary account, wherein the remark information of the first quantity of assets comprises the relevant information of the first unit, and the primary account is an account corresponding to the first blockchain node on the blockchain.
In one possible implementation, the determining the use case of the tax closing certification comprises:
acquiring at least one asset transferred from the target account to the original account, wherein each asset in the at least one asset comprises remark information;
detecting whether the remark information comprises associated information of the first unit, wherein the associated information indicates that the first unit has a first right;
if yes, the use condition of the tax closing certificate is used.
If not, the use condition of the tax closing certificate is not used.
In one possible implementation, the using the duty closing certification is used, and the performing of the tax refund operation according to the using the duty closing certification includes:
transferring a second quantity of assets to the target account in the identity of the original account, wherein the quantity of the second quantity of assets is the same as the quantity of a first asset in the at least one asset, and the remark information of the first asset comprises the association information of the first unit;
receiving a third quantity of assets transferred from the target account by using the identity of the original account, wherein the remark information of the third quantity of assets comprises updated associated information of the first unit, and the updated associated information of the first unit represents that the first unit returns the first right;
verifying the updated association information of the first unit;
and if the verification result is that the first unit returns the first right and interest, transacting the tax refunding business of the first unit.
In one possible implementation, the receiving is subsequent to a request for refund of the first unit; before the determining the use of the tax closing certification, the method further comprises:
detecting whether there is a proof of completion of the first unit;
determining that there is a tax closing proof for the first unit.
In one possible implementation, the completion request includes attribute information, and after determining a target account on the blockchain according to the completion request and before transferring a first amount of assets to the target account in the identity of the original account, the method further includes:
inquiring a transaction record between the primary 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;
acquiring the total amount of resources of the first mechanism;
determining the ratio of the resource allocation amount to the total resource amount;
if the ratio is smaller than or equal to a preset threshold value, determining the first quantity according to the tax payment amount in the tax payment certification;
and if the ratio is larger than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
In another aspect, an embodiment of the present invention provides a data processing apparatus based on a block chain, where the data processing apparatus based on a block chain includes:
a communication unit for receiving a tax completion request of a first unit;
a processing unit for generating a tax closing certification and related information of the first unit according to the tax closing request, the related information indicating that the first unit owns the tax closing certification; and means for linking the related information of the first unit to a block chain;
the communication unit is further used for receiving a tax refund request of the first unit;
the processing unit is further used for determining the use condition of the tax closing certificate; and a tax return operation for executing a tax return operation according to the use case of the tax closing certification.
In another aspect, an embodiment of the present invention provides another data processing apparatus based on a blockchain, where the data processing apparatus based on a blockchain includes:
the processing unit is used for receiving a first quantity of assets transferred by an original account in the identity of a target account, wherein the first quantity of assets carry related information of a first unit, and the target account is an account corresponding to the second block chain node on the block chain;
a communication unit configured to receive a benefit application of the first unit;
the processing unit is further configured to perform an audit on the equity application according to the related information; and the system is used for processing a first interest associated with the first unit according to the related information and the interest application and generating associated information of the first unit, wherein the associated information indicates that the first unit owns the first interest; and the system is used for transferring the first asset to the original account by the identity of the target account, and the remark information of the first asset comprises the association information of the first unit.
In another aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes an input device and an output device, and the electronic device further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
receiving a request for completion of a tax for a first unit;
generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification;
uplink the related information of the first unit to a block chain;
receiving a tax refund request of the first unit;
determining a use case of the tax closing certification;
and executing tax refunding operation according to the use condition of the tax completion certificate.
In another aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes an input device and an output device, and the electronic device further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
receiving a first quantity of assets transferred by an original account in the identity of a target account, wherein the first quantity of assets carry related information of a first unit, and the target account is an account corresponding to the second block chain node on the block chain;
receiving a rights application for the first entity;
auditing the rights and interests application according to the related information;
generating associated information of the first unit according to the related information and the first interest associated with the first unit in the right application, wherein the associated information indicates that the first unit has the first interest;
and transferring a first asset to the original account by using the identity of the target account, wherein the remark information of the first asset comprises the associated information of the first unit.
In yet another aspect, an embodiment of the present invention provides a computer storage medium, where one or more instructions are stored, and the one or more instructions are adapted to be loaded by a processor and execute the following steps:
receiving a request for completion of a tax for a first unit;
generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification;
uplink the related information of the first unit to a block chain;
receiving a tax refund request of the first unit;
determining a use case of the tax closing certification;
and executing tax refunding operation according to the use condition of the tax completion certificate.
It can be seen that, in the embodiment of the present invention, the first block link point first receives the tax completion request of the first unit; secondly, generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification; secondly, the related information of the first unit is linked to the block chain; receiving a tax refund request of a first unit; determining the use condition of the tax completion certificate; finally, the tax refund operation is performed according to the use condition of the tax completion certification. Therefore, in the embodiment of the invention, after the first block chain node completes the tax completion certification of the first unit, the related information is linked up, so that other nodes in the block chain can acquire the related information of the first unit, and the information is acquired in real time; when the first block chain node receives the tax refund request, the tax refund operation is executed according to the use condition of the tax completion certificate, so that the tax refund operation is prevented from being executed under the condition that the use condition is not clear, the information interaction efficiency is further improved, the problem of information asymmetry is solved, and the arbitrage behavior in certain life scenes is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1A is a diagram of a data sharing system according to an embodiment of the present invention;
fig. 1B is a schematic diagram of a block chain according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present invention;
fig. 3A is a flowchart illustrating a data processing method based on a block chain according to another embodiment of the present invention;
fig. 3B is a flowchart illustrating a data processing method based on a block chain according to another embodiment of the present invention;
FIG. 3C is a diagram illustrating an interaction scenario provided by an embodiment of the invention;
fig. 4 is a schematic structural diagram of a data processing apparatus based on a block chain according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another data processing apparatus based on a block chain according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to the data sharing system shown in fig. 1A, a data sharing system 100 refers to a system for performing data sharing between nodes, the data sharing system may include a plurality of nodes, and the plurality of nodes may refer to respective clients in the data sharing system, in the figure, only 4 nodes are taken as an example to perform the related description of the embodiment of the present invention, and the 4 nodes are respectively a node 101, a node 102, a node 103, and a node 104. Specifically, in the embodiment of the present invention, the node 101 may be a node corresponding to a tax bureau, the node 102 may be a node corresponding to a building department, the node 103 may be a node corresponding to an entry/exit authority, and the node 104 may be a node corresponding to a traffic commission. Each node may receive input information while operating normally and maintain shared data within the data sharing system based on the received input information. In order to ensure information intercommunication in the data sharing system, information connection can exist between each node in the data sharing system, and information transmission can be carried out between the nodes through the information connection. For example, when an arbitrary node in the data sharing system receives input information, other nodes in the data sharing system acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all the nodes in the data sharing system are consistent.
Each node in the data sharing system has a node identifier corresponding thereto, and each node in the data sharing system may store a node identifier of another node in the data sharing system, so that the generated block is broadcast to the other node in the data sharing system according to the node identifier of the other node in the following. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node 3 117.118.169.155
Node 4 119.123.789.258
Each node in the data sharing system stores one identical blockchain. The block chain is composed of a plurality of blocks, referring to fig. 1B, the block chain is composed of a plurality of blocks, the starting block includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
Specifically, in the embodiment of the present invention, when receiving a tax closing request from a taxpayer, the node 101 corresponding to the tax bureau generates a tax closing certificate according to the tax closing request, generates related information, and broadcasts the information in the data sharing system, so that the node 102, the node 103, and the node 104 can all receive the related information of the tax closing certificate from the taxpayer. The node 101, the node 102, the node 103 and the node 104 all have account addresses, which may also be called wallet addresses, and meanwhile, the node 101 may determine the purpose of the tax closing certification according to the tax closing request or information input by the taxpayer, for example, the taxpayer may want to apply for a certain number of public renters from the building department after obtaining the tax closing certification, and then the person may just have a house; the node 101 transfers an asset to the node 102 by using the first account address of the node 101, and adds the information of the taxpayer in the remark information of the asset, and when the node 102 of the building department receives the application of the taxpayer, the node gives the taxpayer the rights and interests of having a public rental house and a talent house according to the transfer asset and the remark information of the node 101; transferring back assets of the node 101 through the node 102, and adding remark information into the transferred back assets, wherein the remark information comprises the interest information acquired by the taxpayer; when a sharee applies for tax refund to a tax bureau, the node 101 receives related information and detects whether tax closing certification information of a taxpayer exists in information stored in a block chain, because the node 101 transfers an asset to the node 102 after generating tax closing certification and determining a use path of the tax closing certification, remark information of the asset includes information of the taxpayer, and because a transaction record of the asset is recorded in the block chain of the sharing system 100, the tax closing certification information of the taxpayer exists in the information stored in the block chain; secondly, the node 101 judges whether the taxpayer uses the tax closing certification and whether the taxpayer obtains the related rights and interests through the tax closing certification, and since the node 102 transfers back an asset to the node 101 after giving the rights and interests to the taxpayer, and the remark information of the asset includes the rights and interests information obtained by the taxpayer, the transaction record of the asset is recorded on the block chain of the sharing system 100, so that the taxpayer can be determined to use the tax closing certification; the node 101 informs the taxpayer to settle the right of return application of the building department and transfers an asset to the node 102, and the remark information of the transfer asset comprises the information of the taxpayer and the information of return right application; when the taxpayer applies for returning the rights and interests to the building department, the node 102 updates the rights and interests information of the taxpayer, and transfers an asset to the node 101, wherein the remark information of the asset comprises the information that the taxpayer has returned the rights and interests; the information of the transfer is recorded on a block chain generated by the sharing system 100, and the node 101 determines that the taxpayer can perform tax refund and transact tax refund operation according to the information of the transfer on the block chain.
Based on the above description, an embodiment of the present invention provides a data processing method based on a block chain, where the data processing method based on a block chain is applied to a first block chain node. Referring to fig. 2, the data processing method based on the blockchain may include the following steps S201 to S206:
s201, the first block link point receives a tax completion request of the first unit.
In the embodiment of the present invention, the first block link point specifically refers to a node corresponding to a tax authority (tax bureau), and a tax payer needs to send a tax completion request to the first block link point when applying for tax completion certification or tax refund.
Wherein, the first unit specifically refers to a unit or an individual applying for tax payment, such as a taxpayer, a tax payment company, etc.; the first unit may send a tax closing request to the first blockchain node through the electronic device, where the tax closing request includes information for opening the tax closing certification, such as information of a dealer id card, so that the first blockchain node may handle the tax closing certification according to the information in the tax closing request.
It should be noted that the electronic device in the real-time embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to a wireless modem, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The terms "first," "second," and the like in the description and in the claims of embodiments of the invention are used for distinguishing between different objects and not for describing a particular order.
And S202, the first block chain node generates the tax closing certification and the related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification.
The related information includes information of the first unit and information of the tax completion certification (for example, the information may be a tax completion certification voucher number), and when the first block link point sends the related information to other nodes in the block chain, the other nodes may determine the information of the first unit and the information of the tax completion certification according to the related information.
S203, the first block link links the related information of the first unit to the block chain.
Specifically, the purpose of the tax closing certification can be included in the tax closing request; or the first unit can send the purpose of the tax completion certification to the first block link point, the first block link point determines a second block link node according to the purpose of the tax completion certification, the first block link node initiates an asset transfer to the account address of the second block link according to the account address corresponding to the first block link node, and the relevant information of the first unit is added to the remark information of the transfer; the account address can also be called a wallet address, and transaction transfer can be carried out between the account addresses in the blockchain. After the transfer is successful, the transfer is recorded on the block chain, when the second block chain node receives the right and interest application of the first unit, the information on the block chain can be inquired, whether the first unit has the information of the tax completion certificate and the tax completion certificate is determined according to the asset transfer of the first unit in the block chain and the related information, and then the related right and interest are handled. Specifically, the second block link point may determine the amount of transacted traffic according to the amount of transfer assets, or may determine the amount of transacted traffic according to the related information. For example, the tax bureau corresponds to a first block chain node, the building part corresponds to a second block chain node, the first block chain node corresponds to a first account address, and the second block chain node corresponds to a second account address; the first block chain link point determines that the duty completion certificate is used for applying for a public rental house by using the duty completion certificate, and then determines a second node corresponding to the building part; the first block link point determines that the tax in the tax completion certificate of the first unit is 40 ten thousand yuan, and sets that 1 token is transferred to each 10 ten thousand yuan, then the first block link node transfers 4 tokens to the second account address by using the first account address after generating the tax completion certificate of the first unit, and adds related information of the first unit in the remark information of the transfer, wherein the related information comprises the identity information of the first unit and the information of the tax completion certificate, and the transfer is recorded on the block link after the transfer is successful; when a second block chain node of the building part receives an application of a first unit to a public rental house, the second block chain node searches the transfer transaction related to the first unit in the block chain and obtains remark information of the transfer transaction; the establishment department can set the application amount of the rights and interests according to specific conditions, specifically comprising the conversion relation between the tax and the rights and the direct proportion relation between the tax and the rights and interests; specifically, the building department may set that one set of public rental houses can be applied for every 10 ten thousand dollar tax fund or one set of public rental houses can be applied for every 1 token, and the second block link node may determine that the first unit can apply for 4 sets of public rental houses according to 4 tokens or 40 ten thousand dollars of tax fund transferred, and complete the handling of the related rights and interests.
S204, the first block chain node receives a tax refund request of the first unit.
Specifically, the first unit can send a tax refund request to the first block link point through the electronic device.
S205, the first block link point determines the use of the tax closing certification.
When the first unit uses the finalization certification, the second block chain node transfers an asset to the first block chain link point, and the asset is recorded in the block chain, so that the first block chain link point only needs to search whether the transfer record of the block chain comprises the relevant first unit, and the transfer record is that the second block chain node transfers to the first block chain link point, if yes, the finalization certification is determined to be used, and otherwise, the finalization certification is not used.
And S206, the first block link point executes tax refund operation according to the use condition of the tax completed certificate.
It can be seen that, in the embodiment of the present invention, the first block link point first receives the tax completion request of the first unit; secondly, generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification; secondly, the related information of the first unit is linked to the block chain; receiving a tax refund request of a first unit; determining the use condition of the tax completion certificate; finally, the tax refund operation is performed according to the use condition of the tax completion certification. Therefore, in the embodiment of the invention, after the first block chain node completes the tax completion certification of the first unit, the related information is linked up, so that other nodes in the block chain can acquire the related information of the first unit, and the information is acquired in real time; when the first block chain node receives the tax refund request, the tax refund operation is executed according to the use condition of the tax completion certificate, so that the tax refund operation is prevented from being executed under the condition that the use condition is not clear, the information interaction efficiency is further improved, the problem of information asymmetry is solved, and the arbitrage behavior in certain life scenes is avoided.
In one possible embodiment, the uplink of the first unit of related information to the block chain includes: determining a target account on the blockchain according to the tax completion request; and transferring a first quantity of assets to the target account by using the identity of the original account, wherein the remark information of the first quantity of assets comprises related information of a first unit, and the original account is an account corresponding to the first block chain node on the block chain.
The method comprises the steps that a target account is an account corresponding to a link point of a second block on a block chain, an original account transfers a first amount of assets to the target account, the transfer is carried out from an account address of the original account (the account address can be also called as a wallet address) to the account address of the target account, and the transfer amount is the first amount. Wherein the first number is a positive integer. The method comprises the steps that a first amount of assets are transferred from an original account to a target account and are recorded on a block chain, so that each node in the block chain can obtain transfer records and related information from the original account to the target account, and further, it is determined that a current first unit has a tax closing certificate, and the tax closing certificate is used for obtaining rights and interests corresponding to the target account, for example, a department corresponding to the target account is a building department, and the rights and interests corresponding to the building department are public rental houses or talent houses, so that the tax closing certificate is used for obtaining the public rental houses or talent houses, and the rights and interests managed by the building department are waited. The first quantity is proportional to the amount of rights and interests that the first unit can apply for, for example, if the department corresponding to the target account is a building department, the larger the first quantity is, the more public rental houses and talent houses the first unit can apply for in the building department.
In one possible embodiment, determining the use of the tax closing certificate comprises: acquiring at least one asset transferred from a target account to an original account, wherein each asset in the at least one asset comprises remark information; detecting whether the remark information comprises associated information of a first unit, wherein the associated information indicates that the first unit has a first right; if yes, the use condition of the tax completion certificate is used; if not, the use condition of the tax closing certification is not used.
The remark information corresponding to each transfer in at least one asset comprises information of an associated unit; such as transfers associated with a first unit, transfers associated with a second unit, etc.
When the target account transacts related rights and interests according to the tax completion certificates of different users, the rights and interests transaction of each user initiates a transfer from the target account to the original account, and the transfer is recorded on the block chain. Therefore, when determining the use condition of the tax completion certificate of the first unit, the first block chain node only needs to query the transfer record of the target account to the original account and the remark information of the transfer record on the block chain, and then the use condition of the tax completion certificate of the first unit can be determined.
And if the use condition of the tax closing certification is not used, executing tax refunding operation aiming at the first unit.
In one possible embodiment, the usage of the tax closing certification is used, and the tax refund operation is performed according to the usage of the tax closing certification, including: transferring a second quantity of assets to the target account by the identity of the original account, wherein the quantity of the second quantity of assets is the same as the quantity of the first assets in the at least one asset, and the remark information of the first assets comprises the association information of a first unit; receiving a third quantity of assets transferred from the target account by using the identity of the original account, wherein the remark information of the third quantity of assets comprises updated associated information of the first unit, and the updated associated information of the first unit represents that the first unit returns the first right; verifying the updated association information of the first unit; and if the verification result is that the first unit returns the first right, transacting the tax refund business of the first unit.
After the first blockchain node transfers a second amount of assets to the target account in the identity of the original account, and before receiving a third amount of assets transferred from the target account in the identity of the original account, the method further comprises the following steps: and the second block chain link point recovers the rights issued to the first unit and updates the associated information of the first unit, and then the second block chain node transfers a third amount of assets to the original account of the first block chain node in the identity of the target account and adds the updated associated information in the remark information of the assets. The first number, the second number and the third number may be the same or different from each other in the embodiment of the present invention, and need to be adjusted according to a specific application scenario of the embodiment of the present invention.
In one possible embodiment, after receiving a request to refund a tax for a first unit; before determining the use case of the tax closing certification, the method further comprises: detecting whether there is a proof of completion of the first unit; it is determined that there is a tax closing proof for the first unit.
After generating the first unit of the proof of completion of duties, the first blockchain node transfers a first amount of assets to the target account in the identity of the primary account, and the transfer record is recorded on the blockchain, so that the first blockchain node detects whether the first unit of the proof of completion of duties exists: inquiring transfer records in the block chain, judging whether transfer records related to a first unit exist according to information of the transfer records, and if the transfer records related to the first unit exist, determining that a tax completion certificate of the first unit exists; if there is no transfer record of the first unit, it is determined that there is no proofs of completion of the first unit.
In one possible embodiment, the close tax request includes attribute information, and after determining a target account on the blockchain according to the close tax request and before transferring a first amount of assets to the target account in the identity of the original account, the method further includes: inquiring a transaction record between the primary 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; acquiring the total amount of resources of the first mechanism; determining the ratio of the resource allocation amount to the total resource amount; if the ratio is smaller than or equal to a preset threshold value, determining the first quantity according to the tax payment amount in the tax payment certification; and if the ratio is larger than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
When any unit applying the tax completion certification to the tax bureau obtains the tax completion certification and applies the corresponding rights and interests to the first mechanism by the tax completion certification, the first mechanism allocates the rights and interests to the unit, meanwhile, corresponding transfer is initiated to the original account on the block chain by the identity of the target account, and the value of the transfer is in direct proportion to the amount of the allocated rights and interests; thus, the first blockchain link point may query transaction records (and transfer records) between the primary account and the target account in the blockchain; and then determining the amount of resources currently allocated by the first organization according to the transaction record.
Wherein obtaining the total amount of resources of the first mechanism comprises: the first block chain node sends request information for acquiring the total amount of the resources to the original account by using the target account; then receiving the total amount of resources in the current period sent by the original account; specifically, the duration of the period may be set by the user of the primary account, for example, the period may be a natural day, a natural week or a natural month. The first block link point may determine the amount of resources that have been allocated in the current period.
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 certification, specifically, storing a corresponding relation between the interval and the quantity of the tax payment amount in a first block chain; for example, the interval of paying tax amount corresponds to the quantity A; b, paying tax amount intervals corresponding to the quantity B; c, paying tax amount interval, corresponding to C quantity; if the tax payment amount proved by tax completion is in the interval of the A tax payment amount, the first amount is equal to the A amount.
In an actual application scenario, the taxpayer may be an individual or a company, the individual has different professions, and the properties of the company may be different, so that the property and attribute information of the individual profession or the company in the embodiment of the present invention; if the ratio is larger than the preset threshold value, inquiring a preset matching relation according to the attribute information to obtain a coefficient value corresponding to the attribute information, wherein the coefficient value is a numerical value larger than 0 and smaller than 1; after determining the corresponding quantity according to the tax payment amount, multiplying the quantity by the coefficient value to obtain a first quantity; for example, if the tax payment amount of the tax closing certification is in the interval of the A tax payment amount, the first quantity is equal to the product of the A quantity and the coefficient value.
As can be seen, in this example, the first block chain node may adjust and determine the number of resources that can be acquired by the first unit according to the resource allocation amount and the total resource amount of the target account, so that dynamic regulation and control of resource allocation are realized, and the intelligence of the electronic device is improved.
Referring to fig. 3A, fig. 3A is a schematic flowchart of another block chain-based data processing method according to an embodiment of the present invention, where the block chain-based data processing method is applied to a second block chain node, and the block chain-based data processing method may include the following steps S301 to S305:
s301, a second block chain node receives a first quantity of assets transferred by an original account in the identity of a target account, wherein the first quantity of assets carry related information of a first unit, and the target account is an account corresponding to the second block chain node on a block chain;
the primary account is an account corresponding to the first block link point, and receiving a first amount of assets transferred by the primary account in the identity of the target account refers to: the transfer is made from the account address of the original account (the account address may also be referred to as or called wallet address) to the account address of the target account. The first number is a positive integer.
The related information may include a tax closing certification certificate number of the first unit.
Wherein the first number of assets carrying the first unit of related information refers to: the remark information for a first quantity of assets transferred from the transfer includes information related to the first unit.
S302, the second block chain node receives the right and interest application of the first unit;
s303, the second block link point checks the rights and interests application according to the related information;
and secondly, verifying whether the information of the first unit in the related information is the same as the information of the first unit in the interest application, and determining that the verification is passed if the information of the first unit in the related information is the same. The method can also comprise the following steps: determining the tax payment in the tax closing certification; and determining a preset equity application amount according to the tax, determining a first equity application amount in the equity application, judging whether the first equity application amount is less than or equal to the preset equity application amount, and if so, determining that the equity application is approved.
S304, the second block chain link point transacts the first interest associated with the first unit according to the related information and the interest application to generate the associated information of the first unit, and the associated information shows that the first unit has the first interest;
s305, the second block chain node transfers the first asset to the original account in the identity of the target account, and the remark information of the first asset comprises the associated information of a first unit;
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, so as to implement timely transmission of information, and meanwhile, records for tax completion certification and rights and interests issuance are implemented in the blockchain, so that reliability of information is ensured, and a risk of information tampering is avoided.
In one possible embodiment, after transferring the first asset to the primary account in the identity of the target account, the method further comprises: receiving a second amount of assets transferred from the original account by the identity of the target account, wherein the amount of the second amount of assets is the same as the amount of the first assets; receiving a rights return request of a first entity; updating the association information of the first unit so that the association information is used for indicating that the first unit does not have the first rights and interests; and transferring a third quantity of assets to the original account by using the identity of the target account, wherein the remark information of the third quantity of assets comprises the associated information of the first unit.
It should be noted that, in the embodiment of the present invention, the first number, the second number, and the third number may be equal or unequal.
Referring to fig. 3B, fig. 3B is a schematic flowchart of another data processing method based on a blockchain according to an embodiment of the present invention, where the schematic flowchart is a schematic diagram of a complete flow of the embodiment of the present application constructed based on fig. 2 and fig. 3A, and the schematic flowchart shows a complete interaction flow of a first blockchain node and a second blockchain node, and the data processing method based on a blockchain may include the following steps S401 to S414:
s401, the first block chain node receives a tax completion request of a first unit;
s402, generating a tax completion certificate and related information of the first unit by the first block chain node according to the tax completion request, wherein the related information is used for indicating that the first unit has the tax completion certificate;
s403, the first block chain link point determines a target account on the block chain according to the tax completion request;
s404, the first block chain node transfers a first amount of assets to a target account in the mode of the identity of an original account, the remark information of the first amount of assets comprises related information of a first unit, and the original account is an account corresponding to the first block chain node on the block chain;
s405, the second block chain node receives the right and interest application of the first unit;
s406, the second block link point checks the rights and interests application according to the related information;
s407, the second block link point transacts the first interest associated with the first unit according to the related information and the interest application to generate the associated information of the first unit, and the associated information indicates that the first unit has the first interest;
s408, the second block chain node transfers the first asset to the original account in the identity of the target account, and the remark information of the first asset comprises the associated information of the first unit;
s409, the first block chain node receives a tax refund request of a first unit;
s410, determining the use condition of the tax completion certificate by the first block link point;
s411, if the use condition of the tax completion certificate is used, the first block chain node transfers a second amount of assets to the target account by the identity of the original account, the amount of the second amount of assets is the same as the amount of the first assets in at least one item of assets, and the remark information of the first assets comprises the association information of a first unit;
s412, the second block chain node receives the interest return request of the first unit; updating the association information of the first unit so that the association information is used for indicating that the first unit does not have the first rights and interests;
s413, the second block chain node transfers a third amount of assets to the original account in the identity of the target account, and the remark information of the third amount of assets comprises the associated information of the first unit;
s414, the first block chain link point verifies the updated correlation information of the first unit; and if the verification result is that the first unit returns the first right interest, transacting the tax refund business of the first unit.
In the embodiment of the invention, the first block chain link point and the second block chain link point perform transfer transaction on the block chain, so that the real-time interaction and recording of information are realized, the current situation of asymmetric information in some scenes is solved, the risk of information tampering is reduced, when the nodes in the block chain need to use historical information, the corresponding information can be obtained only by inquiring the information in the block chain, the interaction efficiency of the information is improved, and the arbitrage behavior in the life scene is avoided.
Referring to fig. 3C, fig. 3C is a schematic diagram of an interactive scene according to an embodiment of the present invention; fig. 3C includes taxpayers, electronic devices, and a blockchain network, where the blockchain network includes a plurality of blockchain nodes, but the blockchain network in fig. 3C only shows 3 blockchain nodes as a schematic illustration. The electronic device and the nodes in the blockchain network may each communicate with each other. Assuming that the first block chain node is a node corresponding to the tax bureau, and the second block chain node and the third block chain node are nodes corresponding to other related organizations, the taxpayer can use the tax completion certificate to apply for related rights and interests in other related organizations; the taxpayer can send tax completing request information and tax refunding request information to the first block link node through the electronic equipment; the taxpayer can send right transaction information and request information of returning right to the second block link node or the third block link node through the electronic equipment; the first block link point can also send information of tax completion certificate transaction and information of tax refund completion to the electronic equipment; meanwhile, the first block chain node can initiate account transfer to the second block chain node and the third block chain node, and information of tax payer's tax completion certificate or tax return information of the tax payer is added to remark information of the account transfer, so that the second block chain node or the third block chain node transacts the right of tax payment heat according to the information. The second block chain node or the third block chain can also initiate account transfer to the first block chain node, and right transacting information or right return information of a taxpayer is added into the remark information, so that the first block chain link point obtains the service condition of the tax completion certificate, and the first block chain link point can transact tax return operation conveniently.
Based on the above description of the embodiment of the data processing method based on the blockchain, the embodiment of the present invention further discloses a data processing apparatus based on the blockchain, where the data processing apparatus based on the blockchain may be a computer program (including a program code) running in an electronic device. Referring to fig. 4, the data processing apparatus based on the blockchain may operate as follows:
a communication unit 401 for receiving a tax completion request of a first unit;
a processing unit 402, configured to generate a tax closing certificate and related information of the first unit according to the tax closing request, where the related information is used to indicate that the first unit owns the tax closing certificate; and means for linking the related information of the first unit to a block chain;
the communication unit 401 is further configured to receive a tax refund request of the first unit;
the processing unit 402, further configured to determine a usage of the tax closing certification; and a tax return operation for executing a tax return operation according to the use case of the tax closing certification.
In a possible implementation, the processing unit 401 is configured to, in use for uplink of the related information of the first unit to a block chain, specifically: determining a target account on the blockchain according to the tax completion request; transferring a first quantity of assets to the target account in the identity of a primary account, wherein the remark information of the first quantity of assets comprises the relevant information of the first unit, and the primary account is an account corresponding to the first blockchain node on the blockchain.
In a possible embodiment, the processing unit 401 is configured to determine the usage of the tax closing certificate, and is specifically configured to: acquiring at least one asset transferred from the target account to the original account, wherein each asset in the at least one asset comprises remark information; detecting whether the remark information comprises associated information of the first unit, wherein the associated information indicates that the first unit has a first right; if yes, the use condition of the tax completion certificate is used; if not, the use condition of the tax closing certificate is not used.
In a possible embodiment, the processing unit 401 is used in a use case for a tax closing certification, and the executing of the tax refund operation according to the use case of the tax closing certification comprises: transferring a second quantity of assets to the target account in the identity of the original account, wherein the quantity of the second quantity of assets is the same as the quantity of a first asset in the at least one asset, and the remark information of the first asset comprises the association information of the first unit; receiving a third quantity of assets transferred from the target account by using the identity of the original account, wherein the remark information of the third quantity of assets comprises updated associated information of the first unit, and the updated associated information of the first unit represents that the first unit returns the first right; verifying the updated association information of the first unit; and if the verification result is that the first unit returns the first right and interest, transacting the tax refund business of the first unit.
In a possible embodiment, the processing unit 401 is configured to receive a request for refund of said first unit; before determining the use condition of the tax closing certification, the method further comprises: detecting whether there is a proof of completion of the first unit; determining that there is a tax closing proof for the first unit.
In a possible implementation, the finalization request includes attribute information, and the processing unit 401, after determining a target account on the blockchain according to the finalization request, is further configured to, before transferring a first amount of assets to the target account in the identity of the original account: inquiring a transaction record between the primary 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; acquiring the total amount of resources of the first mechanism; determining the ratio of the resource allocation amount to the total resource amount; if the ratio is smaller than or equal to a preset threshold value, determining the first quantity according to the tax payment amount in the tax payment certification; and if the ratio is larger than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
The embodiment of the invention also discloses another data processing device based on the block chain, and the data processing device based on the block chain can be a computer program (comprising a program code) running in the electronic equipment. Referring to fig. 5, the block chain based data processing apparatus may operate as follows:
a processing unit 501, configured to receive a first quantity of assets transferred by an original account in an identity of a target account, where the first quantity of assets carries related information of a first unit, and the target account is an account corresponding to the second blockchain node on the blockchain;
a communication unit 502, configured to receive a rights application of the first unit;
the processing unit 501 is further configured to perform an audit on the equity application according to the relevant information; and the system is used for processing a first interest associated with the first unit according to the related information and the interest application and generating associated information of the first unit, wherein the associated information indicates that the first unit owns the first interest; and the system is used for transferring the first asset to the original account by the identity of the target account, and the remark information of the first asset comprises the association information of the first unit.
In one possible embodiment, the processing unit 501, after being configured to transfer the first asset to the primary account in the identity of the target account, is further configured to: receiving a second amount of assets transferred from the original account by the identity of the target account, wherein the amount of the second amount of assets is the same as the amount of the first assets; receiving a rights return request for the first entity; updating the association information of the first unit such that the association information is used to indicate that the first unit does not own the first entitlement; and transferring a third quantity of assets to the original account by using the identity of the target account, wherein the remark information of the third quantity of assets comprises the association information of the first unit.
According to another embodiment of the present invention, the units in the data processing apparatus based on the blockchain shown in fig. 4 or fig. 5 may be respectively or totally combined into one or several other units to form one or several other units, or some unit(s) therein may be further split into multiple units with smaller functions to form the same operation, without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the data processing apparatus based on the block chain may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present invention, the block chain based data processing apparatus device as shown in fig. 4 or fig. 5 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method in the embodiment of the present invention on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and a storage element, and the block chain based data processing method in the embodiment of the present invention may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the invention, the first block chain link point and the second block chain link point perform transfer transaction on the block chain, so that the real-time interaction and recording of information are realized, the current situation of asymmetric information in some scenes is solved, the falsification of the information is avoided, the interaction efficiency of the information is improved, and the arbitrage behavior in life scenes is avoided.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides electronic equipment. Referring to fig. 6, the electronic device includes at least a processor 601, an input device 606, an output device 603, and a computer storage medium 604. The processor 601, input device 606, output device 603, and computer storage medium 604 within the electronic device may be connected by a bus or other means.
A computer storage medium 604 may be stored in the memory of the electronic device, the computer storage medium 604 being for storing a computer program comprising program instructions, the processor 601 being for executing the program instructions stored by the computer storage medium 604. The processor 601 (or CPU) is a computing core and a control core of the electronic device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function; in one embodiment, the processor 601 according to the embodiment of the present invention may be configured to perform a series of data processing processes based on a blockchain, including: receiving a request for completion of a tax for a first unit;
generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification; uplink the related information of the first unit to a block chain; receiving a tax refund request of the first unit; determining a use case of the tax closing certification; and executing tax refunding operation according to the use condition of the tax completion certificate. .
An embodiment of the present invention further provides a computer storage medium (Memory), which is a Memory device in an electronic device and is used for storing programs and data. It is understood that the computer storage medium herein may include both a built-in storage medium in the electronic device and, of course, an extended storage medium supported by the electronic device. Computer storage media provide storage space that stores an operating system for an electronic device. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 601. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by processor 601 to perform the corresponding steps of the methods described above in connection with the blockchain-based data processing embodiment; in particular implementations, one or more instructions in the computer storage medium are loaded and executed by processor 601 to perform the steps of:
receiving a request for completion of a tax for a first unit;
generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification;
uplink the related information of the first unit to a block chain;
receiving a tax refund request of the first unit;
determining a use case of the tax closing certification;
and executing tax refunding operation according to the use condition of the tax completion certificate.
In one possible implementation, the one or more instructions, when executed by the processor 601, are further executable to: determining a target account on the blockchain according to the tax completion request; transferring a first quantity of assets to the target account in the identity of a primary account, wherein the remark information of the first quantity of assets comprises the relevant information of the first unit, and the primary account is an account corresponding to the first blockchain node on the blockchain.
In one possible implementation, the one or more instructions, in use for determining the usage of the tax closing certification, may be further loadable and specifically executable by the processor 601 to: acquiring at least one asset transferred from the target account to the original account, wherein each asset in the at least one asset comprises remark information; detecting whether the remark information comprises associated information of the first unit, wherein the associated information indicates that the first unit has a first right; if yes, the use condition of the tax completion certificate is used; if not, the use condition of the tax closing certificate is not used.
In one possible embodiment, where the use case of the tax closing certification is used, the one or more instructions may be further loaded and specifically executed by the processor 601 when the processor is configured to perform a tax refund operation based on the use case of the tax closing certification: transferring a second quantity of assets to the target account in the identity of the original account, wherein the quantity of the second quantity of assets is the same as the quantity of a first asset in the at least one asset, and the remark information of the first asset comprises the association information of the first unit; receiving a third quantity of assets transferred from the target account by using the identity of the original account, wherein the remark information of the third quantity of assets comprises updated associated information of the first unit, and the updated associated information of the first unit represents that the first unit returns the first right; verifying the updated association information of the first unit; and if the verification result is that the first unit returns the first right and interest, transacting the tax refund business of the first unit.
In one possible embodiment, after receiving a request for refund of the first unit; the one or more instructions may be further loaded and specifically executed by processor 601 prior to determining the usage of the tax closing certificate: detecting whether there is a proof of completion of the first unit; determining that there is a tax closing proof for the first unit.
In one possible implementation, the completion request includes attribute information, and the one or more instructions are further loadable and specifically executable by processor 601 after determining a target account on the blockchain from the completion request and before transferring a first amount of assets to the target account as identified by the original account: inquiring a transaction record between the primary 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; acquiring the total amount of resources of the first mechanism; determining the ratio of the resource allocation amount to the total resource amount; if the ratio is smaller than or equal to a preset threshold value, determining the first quantity according to the tax payment amount in the tax payment certification; and if the ratio is larger than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
It can be seen that, in the embodiment of the present invention, the first block link point first receives the tax completion request of the first unit; secondly, generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification; secondly, the related information of the first unit is linked to the block chain; receiving a tax refund request of a first unit; determining the use condition of the tax completion certificate; finally, the tax refund operation is performed according to the use condition of the tax completion certification. Therefore, in the embodiment of the invention, after the first block chain node completes the tax completion certification of the first unit, the related information is linked up, so that other nodes in the block chain can acquire the related information of the first unit, and the information is acquired in real time; when the first block chain node receives the tax refund request, the tax refund operation is executed according to the use condition of the tax completion certificate, so that the tax refund operation is prevented from being executed under the condition that the use condition is not clear, the information interaction efficiency is further improved, the problem of information asymmetry is solved, and the arbitrage behavior in certain life scenes is avoided.
The embodiment of the invention also provides another electronic device. Referring to fig. 7, the electronic device includes at least a processor 701, an input device 707, an output device 703, and a computer storage medium 704. The processor 701, the input device 707, the output device 703, and the computer storage medium 704 within the electronic device may be connected by a bus or other means.
A computer storage medium 704 may be stored in the memory of the electronic device, the computer storage medium 704 being used for storing a computer program comprising program instructions, the processor 701 being used for executing the program instructions stored by the computer storage medium 704. The processor 701 (or CPU) is a computing core and a control core of the electronic device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function; in one embodiment, the processor 701 according to the embodiment of the present invention may be configured to perform a series of data processing processes based on a blockchain, including: when a target application in first electronic equipment is started, sending a data request to second electronic equipment; receiving a first quantity of assets transferred by an original account in the identity of a target account, wherein the first quantity of assets carry related information of a first unit, and the target account is an account corresponding to the second block chain node on the block chain; receiving a rights application for the first entity; auditing the rights and interests application according to the related information; generating associated information of the first unit according to the related information and the first interest associated with the first unit in the right application, wherein the associated information indicates that the first unit has the first interest; and transferring a first asset to the original account by using the identity of the target account, wherein the remark information of the first asset comprises the associated information of the first unit.
An embodiment of the present invention further provides a computer storage medium (Memory), which is a Memory device in an electronic device and is used for storing programs and data. It is understood that the computer storage medium herein may include both a built-in storage medium in the electronic device and, of course, an extended storage medium supported by the electronic device. Computer storage media provide storage space that stores an operating system for an electronic device. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 701. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by processor 701 to perform the corresponding steps of the methods described above in connection with the blockchain-based data processing embodiment; in particular implementations, one or more instructions in the computer storage medium are loaded by processor 701 and perform the following steps:
receiving a first quantity of assets transferred by an original account in the identity of a target account, wherein the first quantity of assets carry related information of a first unit, and the target account is an account corresponding to the second block chain node on the block chain;
receiving a rights application for the first entity;
auditing the rights and interests application according to the related information;
generating associated information of the first unit according to the related information and the first interest associated with the first unit in the right application, wherein the associated information indicates that the first unit has the first interest;
and transferring a first asset to the original account by using the identity of the target account, wherein the remark information of the first asset comprises the associated information of the first unit.
In one possible implementation, after transferring the first asset to the primary account in the identity of the target account, the one or more instructions may be further loaded and specifically executed by processor 701 to: receiving a second amount of assets transferred from the original account by the identity of the target account, wherein the amount of the second amount of assets is the same as the amount of the first assets; receiving a rights return request for the first entity; updating the association information of the first unit such that the association information is used to indicate that the first unit does not own the first entitlement; and transferring a third quantity of assets to the original account by using the identity of the target account, wherein the remark information of the third quantity of assets comprises the association information of the first unit.
In the embodiment of the invention, the second block chain node performs account transfer operation with the first block chain node in the block chain, so that the information is transmitted in time, meanwhile, the records of tax completion certification and rights and interests are realized, the information interaction efficiency is improved, and the arbitrage phenomenon caused by asymmetric information is avoided.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A data processing method based on a block chain is applied to a first block chain node, and the method comprises the following steps:
receiving a request for completion of a tax for a first unit;
generating a tax closing certification and related information of the first unit according to the tax closing request, wherein the related information is used for indicating that the first unit owns the tax closing certification;
uplink the related information of the first unit to a block chain;
receiving a tax refund request of the first unit;
determining a use case of the tax closing certification;
and executing tax refunding operation according to the use condition of the tax completion certificate.
2. The method of claim 1, wherein the uplink of the related information in the first unit to a block chain comprises:
determining a target account on the blockchain according to the tax completion request;
transferring a first quantity of assets to the target account in the identity of a primary account, wherein the remark information of the first quantity of assets comprises the relevant information of the first unit, and the primary account is an account corresponding to the first blockchain node on the blockchain.
3. The method of claim 2, wherein the determining the use of the tax closing certificate comprises:
acquiring at least one asset transferred from the target account to the original account, wherein each asset in the at least one asset comprises remark information;
detecting whether the remark information comprises associated information of the first unit, wherein the associated information indicates that the first unit has a first right;
if yes, the use condition of the tax completion certificate is used;
if not, the use condition of the tax closing certificate is not used.
4. The method according to claim 3, wherein the use case of the tax closing certification is used, and the performing of the tax refund operation according to the use case of the tax closing certification comprises:
transferring a second quantity of assets to the target account in the identity of the original account, wherein the quantity of the second quantity of assets is the same as the quantity of a first asset in the at least one asset, and the remark information of the first asset comprises the association information of the first unit;
receiving a third quantity of assets transferred from the target account by using the identity of the original account, wherein the remark information of the third quantity of assets comprises updated associated information of the first unit, and the updated associated information of the first unit represents that the first unit returns the first right;
verifying the updated association information of the first unit;
and if the verification result is that the first unit returns the first right and interest, transacting the tax refund business of the first unit.
5. The method of claim 2, wherein the close tax request includes attribute information, and wherein after determining a target account on the blockchain based on the close tax request and before transferring a first amount of assets to the target account in the identity of the original account, the method further comprises:
inquiring a transaction record between the primary 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;
acquiring the total amount of resources of the first mechanism;
determining the ratio of the resource allocation amount to the total resource amount;
if the ratio is smaller than or equal to a preset threshold value, determining the first quantity according to the tax payment amount in the tax payment certification;
and if the ratio is larger than the preset threshold, determining the first quantity according to the attribute information and the tax payment amount.
6. A method for processing data based on a blockchain, the method being applied to a second blockchain node, the method comprising:
receiving a first quantity of assets transferred by an original account in the identity of a target account, wherein the first quantity of assets carry related information of a first unit, and the target account is an account corresponding to the second block chain node on the block chain;
receiving a rights application for the first entity;
auditing the rights and interests application according to the related information;
generating associated information of the first unit according to the related information and the first interest associated with the first unit in the right application, wherein the associated information indicates that the first unit has the first interest;
and transferring a first asset to the original account by using the identity of the target account, wherein the remark information of the first asset comprises the associated information of the first unit.
7. The method of claim 6, wherein after the transfer of the first asset to the primary account in the identity of the target account, the method further comprises:
receiving a second amount of assets transferred from the original account by the identity of the target account, wherein the amount of the second amount of assets is the same as the amount of the first assets;
receiving a rights return request for the first entity;
updating the association information of the first unit such that the association information is used to indicate that the first unit does not own the first entitlement;
and transferring a third quantity of assets to the original account by using the identity of the target account, wherein the remark information of the third quantity of assets comprises the association information of the first unit.
8. A blockchain-based data processing apparatus, comprising:
a communication unit for receiving a tax completion request of a first unit;
a processing unit for generating a tax closing certification and related information of the first unit according to the tax closing request, the related information indicating that the first unit owns the tax closing certification; and means for linking the related information of the first unit to a block chain;
the communication unit is further used for receiving a tax refund request of the first unit;
the processing unit is further used for determining the use condition of the tax closing certificate; and a tax return operation for executing a tax return operation according to the use case of the tax closing certification.
9. An electronic device comprising an input device and an output device, further comprising:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
computer storage medium having stored thereon one or more instructions adapted to be loaded by the processor and to execute the method of blockchain based data processing according to any of claims 1 to 7.
10. A computer storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to perform the method of blockchain based data processing according to any of claims 1 to 7.
CN202010283130.6A 2020-04-08 2020-04-08 Data processing method and device based on block chain, electronic equipment and storage medium Pending CN111489247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010283130.6A CN111489247A (en) 2020-04-08 2020-04-08 Data processing method and device based on block chain, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010283130.6A CN111489247A (en) 2020-04-08 2020-04-08 Data processing method and device based on block chain, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111489247A true CN111489247A (en) 2020-08-04

Family

ID=71798311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010283130.6A Pending CN111489247A (en) 2020-04-08 2020-04-08 Data processing method and device based on block chain, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111489247A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain
CN115277108A (en) * 2022-07-05 2022-11-01 成都安恒信息技术有限公司 Method and system for defending decentralized application race attack
CN117333318A (en) * 2023-11-17 2024-01-02 江苏青农信息技术有限公司 Tax settlement method, device, equipment and system based on digital general evidence

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain
CN115277108A (en) * 2022-07-05 2022-11-01 成都安恒信息技术有限公司 Method and system for defending decentralized application race attack
CN115277108B (en) * 2022-07-05 2024-06-11 成都安恒信息技术有限公司 Method and system for defending anti-centralised application first-aid running attack
CN117333318A (en) * 2023-11-17 2024-01-02 江苏青农信息技术有限公司 Tax settlement method, device, equipment and system based on digital general evidence

Similar Documents

Publication Publication Date Title
US11321783B2 (en) Method and device for data processing based on blockchain
CN109064291B (en) House property leasing method, system, computer equipment and storage medium
CN109886677B (en) Commodity purchasing method and device based on block chain
CN108805627B (en) Media resource allocation method, device, system, medium and equipment
CN112200571B (en) Resource distribution method and device based on block chain and electronic equipment
WO2019144745A1 (en) Smart contract generation method and apparatus
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN111489247A (en) Data processing method and device based on block chain, electronic equipment and storage medium
CN112200567B (en) Resource management method and device based on block chain and electronic equipment
CN112200568B (en) Block chain based account creation method and device and electronic equipment
CN111127187A (en) Electronic contract order pledge loan method and equipment based on intelligent contracts
CN110910230A (en) Accounting method, accounting system and storage medium
CN111783150A (en) Resource allocation method and device based on block chain
CN110490568B (en) Method and device for exchanging object, storage medium and electronic device
CN110599348B (en) Method, device, equipment and storage medium for stock right incentive
KR20190057909A (en) Real estate contract method and broker system based on block chain
CN110135922A (en) A kind of method and apparatus of business processing
CN112200572A (en) Resource distribution method and device based on block chain and electronic equipment
CN111784517B (en) Coupon management method, system, electronic equipment and storage medium based on block chain
KR102540415B1 (en) Blockchain-based secure and trusted data trading methods and platform system
CN112200570A (en) Resource distribution method and device based on block chain and electronic equipment
CN110598479A (en) Data processing method and device and computer readable storage medium
CN111882436B (en) Data processing method, device and equipment based on block chain
CN114444120A (en) Financing method and device based on block chain, electronic equipment and storage medium
CN112036850A (en) Digital asset data access method and device and digital asset transaction system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination