CN110599133A - Data processing method and device based on block chain network and storage medium - Google Patents

Data processing method and device based on block chain network and storage medium Download PDF

Info

Publication number
CN110599133A
CN110599133A CN201910909669.5A CN201910909669A CN110599133A CN 110599133 A CN110599133 A CN 110599133A CN 201910909669 A CN201910909669 A CN 201910909669A CN 110599133 A CN110599133 A CN 110599133A
Authority
CN
China
Prior art keywords
tax
enterprise
terminal
refund
notice
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.)
Granted
Application number
CN201910909669.5A
Other languages
Chinese (zh)
Other versions
CN110599133B (en
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 CN201910909669.5A priority Critical patent/CN110599133B/en
Publication of CN110599133A publication Critical patent/CN110599133A/en
Application granted granted Critical
Publication of CN110599133B publication Critical patent/CN110599133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Probability & Statistics with Applications (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a device and a storage medium based on a block chain network, wherein the method comprises the following steps: acquiring a successful enterprise tax refund declaration notification sent by a tax terminal; acquiring electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund declaration success notice, and calling an intelligent contract to send a verification notice to a tax terminal, wherein the intelligent contract runs on a virtual machine of each node in a plurality of nodes; if a verification success notice sent by the tax terminal is received, calling the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information; and sending the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identification according to the tax refund information. Through the implementation mode, the automation and intelligent requirements of enterprises on tax refunding of export products can be met, the tax refunding efficiency is improved under the condition of ensuring the safety, and the enterprise cost is reduced.

Description

Data processing method and device based on block chain network and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus based on a blockchain network, and a storage medium.
Background
At present, when an enterprise exports products, manual tax refund is mainly carried out through data required by the export tax refund and data such as conditions of the export products, and the manual tax refund mode is long in time consumption and low in efficiency. Therefore, how to more efficiently and quickly carry out export tax refund on enterprises becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device and a storage medium based on a block chain network, which can meet the automatic and intelligent requirements of enterprises on tax refunding of export products, improve the tax refunding efficiency and reduce the enterprise cost under the condition of ensuring the safety.
In a first aspect, an embodiment of the present invention provides a data processing method based on a blockchain network, where the blockchain network includes a plurality of nodes, and the method includes:
acquiring an enterprise tax refund declaration success notification sent by a tax terminal, wherein the enterprise tax refund declaration success notification carries an enterprise identifier;
acquiring electronic bill information corresponding to an enterprise identifier carried in the enterprise tax refund successful declaration notice, and calling an intelligent contract to send a verification notice to a tax terminal, wherein the verification notice is used for indicating the tax terminal to verify the electronic bill information, and the intelligent contract runs on a virtual machine of each node in the plurality of nodes;
if a verification success notice sent by the tax terminal is received, calling the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information, wherein the tax refund transaction comprises tax refund amount and an account specified by the enterprise;
and sending the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identification according to the tax refund information.
In a second aspect, an embodiment of the present invention provides a data processing apparatus, which is disposed on a node in a blockchain network, and includes:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring an enterprise tax return declaration success notification sent by a tax terminal, and the enterprise tax return declaration success notification carries an enterprise identifier;
the calling module is used for acquiring electronic bill information corresponding to an enterprise identifier carried in the enterprise tax refund successful declaration notification and calling an intelligent contract to send a verification notification to a tax terminal, wherein the verification notification is used for indicating the tax terminal to verify the electronic bill information, and the intelligent contract runs on a virtual machine of each node in the plurality of nodes;
the generating module is used for calling the intelligent contract to generate tax refunding transaction corresponding to the electronic bill information if a verification success notice sent by the tax terminal is received, wherein the tax refunding transaction comprises tax refunding amount and an account specified by the enterprise;
and the sending module is used for sending the tax refunding transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identifier according to the tax refunding information.
In a third aspect, an embodiment of the present invention provides a node, including: a processor and a memory, the processor to perform:
acquiring an enterprise tax refund declaration success notification sent by a tax terminal, wherein the enterprise tax refund declaration success notification carries an enterprise identifier;
acquiring electronic bill information corresponding to an enterprise identifier carried in the enterprise tax refund successful declaration notice, and calling an intelligent contract to send a verification notice to a tax terminal, wherein the verification notice is used for indicating the tax terminal to verify the electronic bill information, and the intelligent contract runs on a virtual machine of each node in the plurality of nodes;
if a verification success notice sent by the tax terminal is received, calling the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information, wherein the tax refund transaction comprises tax refund amount and an account specified by the enterprise;
and sending the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identification according to the tax refund information.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where program instructions are stored, and when the program instructions are executed, the computer-readable storage medium is configured to implement the method according to the first aspect.
According to the embodiment of the invention, the electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund successful declaration notice is obtained by obtaining the enterprise tax refund successful declaration notice sent by the tax terminal, the intelligent contract is called to send the verification notice to the tax terminal, if the verification successful notice sent by the tax terminal is received, the intelligent contract is called to generate the tax refund transaction corresponding to the electronic bill information, and the tax refund transaction is sent to the tax terminal, so that the tax terminal refunds to the specified account corresponding to the enterprise identification according to the tax refund information. Through the implementation mode, the automation and intelligent requirements of enterprises on tax refunding of export products can be met, the tax refunding efficiency is improved under the condition of ensuring the safety, and the enterprise cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a schematic structural diagram of a tax refund system according to an embodiment of the present invention;
fig. 1b is a schematic structural diagram of a block chain according to an embodiment of the present invention;
FIG. 1c is a schematic diagram of a process for generating a new block according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data processing method based on a blockchain network according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another data processing method based on a blockchain network according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a data processing interaction method based on a blockchain network according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a node according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly 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 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.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The data processing method based on the block chain network provided by the embodiment of the invention can be applied to a tax refunding system, wherein the tax refunding system comprises the block chain network, a tax terminal, a bill terminal, an enterprise terminal and an import and export management center. In some embodiments, the block chain network, the tax terminal, the bill terminal, the enterprise terminal and the import and export management center are connected in communication with each other. In some embodiments, the manner of the Communication connection may include, but is not limited to, Wi-Fi, Bluetooth, Near Field Communication (NFC), and the like.
Aiming at the problems of long time consumption and low efficiency commonly existing in the existing tax refund transaction, the embodiment of the invention provides a data processing method based on a block chain network, which can meet the automatic and intelligent requirements of enterprises on tax refund, improve the tax refund efficiency under the condition of ensuring the safety and reduce the enterprise cost.
The tax refund system provided by the embodiment of the invention is schematically described below with reference to fig. 1a and 1 b.
Referring to fig. 1a, fig. 1a is a schematic structural diagram of a tax refund system according to an embodiment of the present invention. The tax refund system comprises: a block chain network 11, a tax terminal 12, a bill terminal 13, an enterprise terminal 14 and an import and export management center 15. The blockchain network 11, the tax terminal 12, the bill terminal 13, the enterprise terminal 14 and the import/export management center 15 may establish communication connection with each other through wireless communication connection. In some scenarios, the block chain network 11, the tax terminal 12, the bill terminal 13, the enterprise terminal 14, and the import/export management center 15 may also establish communication connection with each other through wired communication connection. In some embodiments, the ticket terminal 13 and the enterprise terminal 14 may include, but are not limited to, smart terminal devices such as a smart phone, a tablet computer, a notebook computer, a desktop computer, an in-vehicle smart terminal, and a smart watch. In some embodiments, the tax terminal 12 and the import and export management center 15 may be servers.
In one embodiment, the blockchain network 11 refers to a network for performing data sharing between nodes, and the blockchain network may include a plurality of nodes 111. Each node 111 may receive input information and maintain shared data (i.e., blockchains) within the blockchain network based on the received input information while operating normally. In order To ensure information intercommunication in the blockchain network, each node may have information connection, and any two nodes may implement Peer-To-Peer (P2P) communication, and specifically may perform P2P communication through a wired communication link or a wireless communication link. For example, when any node in the blockchain network receives input information, other nodes 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 nodes in the blockchain network are consistent.
The tax terminal 12, the ticket terminal 13, the enterprise terminal 14, and the import-export management center 15 may access the blockchain network 11 and may communicate with nodes in the blockchain network 11.
It should be noted that the number of nodes shown in fig. 1a is only schematic, and any number of nodes may be deployed according to actual needs, and the tax terminal 12, the ticket terminal 13, the enterprise terminal 14, and the import/export management center 15 may communicate with the same node in the blockchain network 11, or communicate with different nodes in the blockchain network 11 respectively.
Each node in the blockchain network 11 has a corresponding node identifier, and each node in the blockchain network 11 may store node identifiers of other nodes in the blockchain network, so that the generated block is broadcast to other nodes in the blockchain network according to the node identifiers of other nodes. 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 Internet Protocol (IP) address or any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Each node in the blockchain network stores one identical blockchain. The block chain is composed of a plurality of blocks, and referring to fig. 1b, fig. 1b is a schematic structural diagram of a block chain according to an embodiment of the present invention. The block chain is composed of a plurality of blocks, the starting block comprises a block head and a block main body, the block head 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.
When generating each block in the block chain, referring to fig. 1c, fig. 1c is a schematic diagram of a process for generating a new block according to an embodiment of the present invention. When the node where the block chain is located receives input information, verifying the input information, storing the input information into a memory pool after the verification is completed, and updating a hash tree for recording the input information; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein, SHA256 is a characteristic value algorithm used for calculating a characteristic value; version is version information of the relevant block protocol in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. And then, the node where the block chain is located respectively sends the newly generated blocks to other nodes in the block chain network where the newly generated blocks are located according to the node identifications of the other nodes in the block chain network, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
The nodes of the blockchain network 11 may run an intelligent contract, the intelligent contract is implemented by a code executed when a certain condition is satisfied, and a developer may define a contract logic through a programming language, issue the contract logic to the blockchain (intelligent contract registration), call a key or trigger execution of other events according to the logic of contract terms, complete the contract logic, and provide functions of upgrading and deregistering the intelligent contract.
In some possible embodiments, a certain node 111 of the blockchain network 11 may obtain the enterprise tax refund successful declaration notification sent by the tax terminal 12, and acquires the electronic bill information corresponding to the enterprise identification carried in the notice of successful tax refund declaration of the enterprise, the method comprises the steps of sending a verification notice to the tax terminal 12 by calling an intelligent contract, and if receiving a verification success notice sent by the tax terminal 12, the intelligent contract is called to generate a tax refund transaction corresponding to the electronic bill information, the node 111 sends the tax refund transaction to the tax terminal 12, so that the tax terminal 12 refunds the tax to the specified account corresponding to the enterprise identification according to the tax refunding information, therefore, the enterprise tax refunding transaction can be completed quickly and efficiently through the block chain, the safety is effectively ensured, the tampering is effectively prevented, and the effectiveness and the traceability of the enterprise tax refunding data are ensured.
The following describes schematically a data processing method based on a blockchain network according to an embodiment of the present invention with reference to the accompanying drawings.
Referring to fig. 2 specifically, fig. 2 is a schematic flowchart of a data processing method based on a blockchain network according to an embodiment of the present invention, where the data processing method based on a blockchain network according to an embodiment of the present invention may be executed by a data processing device, where the data processing device is disposed at a node in a tax refunding system, the node is any one of a plurality of nodes in the blockchain network, and a specific explanation of the tax refunding system is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S201: and acquiring an enterprise tax refund declaration success notification sent by the tax terminal, wherein the enterprise tax refund declaration success notification carries an enterprise identifier.
In the embodiment of the invention, the node can obtain the enterprise tax refund declaration success notice sent by the tax terminal, and the enterprise tax refund declaration success notice carries the enterprise identification. In some embodiments, the enterprise identification includes, but is not limited to, any one or more characters of numbers, letters, words, etc., and in one example, the enterprise identification may be a number.
In an embodiment, when acquiring the enterprise tax refund successful declaration notification sent by the tax terminal, the node may acquire the enterprise tax refund successful declaration notification sent by the tax terminal after determining that the enterprise corresponding to the enterprise identifier carried in the enterprise tax refund declaration request satisfies the tax refund condition after acquiring the enterprise tax refund declaration request sent by the enterprise terminal.
In an embodiment, before the node obtains the notification of successful enterprise tax refund declaration sent by the tax terminal, the enterprise terminal may send an enterprise tax refund declaration request to the tax terminal, where the enterprise tax refund declaration request carries an enterprise identifier. The tax terminal can determine whether the enterprise corresponding to the enterprise identifier meets the tax refunding condition according to the enterprise identifier carried in the enterprise tax refunding request, and if the enterprise corresponding to the enterprise identifier meets the tax refunding condition, the tax terminal can send a successful notice of tax refunding and refunding to the node. In some embodiments, the enterprise satisfying the tax refund condition means that the enterprise belongs to a state-specified tax-free enterprise. By the implementation mode, the enterprise corresponding to the enterprise identification carried by the enterprise tax refunding request can meet the tax refunding condition, the enterprise which does not meet the tax refunding condition is prevented from being refunded, and the safety of tax refunding is improved.
In one embodiment, the enterprise terminal may include a tax return declaration request interface, and the user may input the enterprise identifier on the tax return declaration request interface. The enterprise terminal can generate an enterprise tax refund declaration request according to the enterprise identification input on the tax refund declaration request interface, and sends the enterprise tax refund declaration request to the tax block chain, so that the nodes in the tax block chain can receive the enterprise tax refund declaration request sent by the enterprise terminal. In some embodiments, the enterprise identification may include, but is not limited to, any one or more of an enterprise unified social credit code, an enterprise legal representative identification number, and the like. In some embodiments, the tax blockchain is a blockchain in the aforementioned blockchain network.
For example, a user may input an enterprise unified social credit code on a tax refund declaration request interface on an enterprise terminal, and the enterprise terminal may generate an enterprise tax refund declaration request according to the enterprise unified social credit code input on the tax refund declaration request interface, and send the enterprise tax refund declaration request to a tax block chain, so that a node in the tax block chain may receive the enterprise tax refund declaration request sent by the enterprise terminal, and verify whether an enterprise corresponding to an enterprise identifier carried in the enterprise tax refund declaration request is a tax-free enterprise meeting tax refund conditions, and if so, send a successful notification of tax refund declaration to the node in the tax block chain.
In one embodiment, before acquiring a successful notification of enterprise tax refund declaration sent by a tax terminal, the node may acquire electronic bill information and an enterprise identifier of an electronic bill sent by a bill terminal after issuing the electronic bill for an import/export transaction of the enterprise, write the electronic bill information and the enterprise identifier into a block after binding the electronic bill information and the enterprise identifier, and broadcast the block to other nodes in the plurality of nodes, so as to add the block into a tax block chain when the other nodes verify the block. By the implementation mode, tampering is effectively prevented, and the effectiveness and traceability of tax refund data are ensured.
In one embodiment, the node may obtain electronic ticket information and an enterprise identifier of an electronic ticket sent after an electronic ticket is issued for an import-export transaction of the enterprise, and calculate summary information of the electronic ticket information and summary information of the enterprise identifier. The node may bind the correspondence between the digest information of the electronic ticket information and the digest information of the enterprise identifier and write the bound information into a block, and broadcast the block to other nodes of the plurality of nodes, so that the block is added to a tax block chain when the other nodes verify the correspondence between the digest information of the electronic ticket information and the digest information of the enterprise identifier in the block. By this embodiment, the non-tamper-ability of the tax refund information is ensured.
In one embodiment, the electronic billing information includes, but is not limited to, information such as customs clearance notes, export sales invoices, incoming invoices, remittance statements for water bill collections, export freight statements and export insurance statements, proof of taxation for products, proof of certified export remittance, other materials related to export returns, and the like. In some embodiments, the customs declaration is a receipt for the import/export enterprise to transact declaration procedures to customs for customs to check and release the filling tool according to the declaration procedures.
In some embodiments, the export sales invoice is a document filled by the export enterprise according to a sales contract signed with the export buyer, is a main certificate of outsourcing purchase, and is a basis for the export enterprise financial department to make the sales income of the export product according to the account. In some embodiments, the invoice is mainly used to determine whether the supply unit, product name, measurement unit, quantity of the export product, the sale price of the production enterprise, the cost of its shipment by dividing and calculating, and the like. In some embodiments, the product is made by the manufacturer for direct export or entrusted export, and the export freight note and the export insurance note are sent after settlement at the arrival price. In some embodiments, an enterprise having a business of feeding and processing a re-export product shall also report the contract number, date, name, quantity, name of the re-export product, cost amount of feeding, and various tax amounts of real-time payment to the tax terminal.
S202: and acquiring electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund successful declaration notice, and calling an intelligent contract to send a verification notice to a tax terminal, wherein the verification notice is used for indicating the tax terminal to verify the electronic bill information.
In the embodiment of the present invention, a node may obtain electronic ticket information corresponding to an enterprise identifier carried in the notification of successful tax refund declaration of the enterprise, and invoke an intelligent contract to send a verification notification to a tax terminal, where the verification notification is used to instruct the tax terminal to verify the electronic ticket information, and in some embodiments, the intelligent contract runs on a virtual machine of each node of the plurality of nodes.
In one embodiment, the node may call the intelligent contract to send a verification notification to the tax terminal, where the verification notification carries the electronic bill information and the enterprise identifier. The tax terminal can compare and verify the electronic bill information and the enterprise identification carried in the verification notice with the bill information corresponding to the enterprise identification declared in the tax terminal in advance, if the verification result is consistent, the verification is successful, and if the verification result is inconsistent, the verification is failed. The electronic bill information is compared with the bill information declared by the enterprise in the tax terminal for verification, so that the authenticity of the electronic bill information and the corresponding relation between the electronic bill information and the enterprise can be ensured, and the safety of tax refunding of the enterprise export products is improved.
In one embodiment, when acquiring a successful notification of enterprise tax refund declaration sent by a tax terminal, the node may verify the electronic bill information and the enterprise identifier through a tax block chain, and if the electronic bill information and the enterprise identifier are verified to be matched, the tax refund device sends a tax refund request to the node of the block chain, so that the node may receive the tax refund request sent by a user through the tax refund device. The corresponding relation between the electronic bill information and the enterprise identification is verified through the node on the block chain, so that the safety of tax refunding operation can be further improved.
In one embodiment, the node may obtain first summary information of electronic ticket information and second summary information of the enterprise identifier, which are carried in the enterprise tax refund successful declaration notification, and query whether the electronic ticket information and the enterprise identifier, which are carried in the enterprise tax refund successful declaration notification, are matched from the tax block chain according to the first summary information and the second summary information, and if so, execute the step of invoking the intelligent contract to generate a tax refund transaction corresponding to the electronic ticket information.
In one embodiment, the node queries, from the tax block chain, whether a correspondence between the summary information of the electronic ticket information carried in the tax refund request and the summary information of the enterprise identifier matches a correspondence between the first summary information and the second summary information, and if so, executes the step of invoking the intelligent contract to generate a tax refund transaction corresponding to the electronic ticket information. Through the implementation mode, tampering is effectively prevented, false tax return is avoided, and the safety of tax return of the enterprise export products is ensured.
S203: and if a verification success notice sent by the tax terminal is received, calling the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information, wherein the tax refund transaction comprises tax refund amount and an account specified by the enterprise.
In the embodiment of the invention, if a verification success notice sent by the tax terminal is received, the node can generate a tax refund transaction corresponding to the electronic bill information by using the intelligent contract, wherein the tax refund transaction comprises tax refund amount and an account specified by the enterprise. In one example, the business-designated account may be the business-designated bank account.
In one embodiment, before the node invokes the intelligent contract to generate the tax refunding transaction corresponding to the electronic bill information, a tax refunding query request may be generated according to the electronic bill information, and the tax refunding query request is sent to the tax terminal, where the tax refunding query request is used to instruct the tax terminal to query whether an outlet product corresponding to the electronic bill information belongs to a tax refurbished product, and if the confirmation information sent by the tax terminal is obtained, the node may invoke the intelligent contract to generate the tax refunding transaction corresponding to the electronic bill information. By the implementation mode, the export products which do not belong to the tax refunding products can be prevented from being refunded, and the safety of refunding the export products of enterprises is further improved.
In some embodiments, the export product of the enterprise belonging to the tax refund product should have 4 conditions: first, it must be a product that falls within the range of product taxes, value-added taxes and special consumption taxes; secondly, customs clearance is required, which is one of the main standards for distinguishing whether the product belongs to the export product which is subject to tax refund, and the export customs receipt and the export sales invoice which are provided with the customs inspection stamp are taken as the standard; third, the mouth must be made financially; fourth, there must be export-remitted and certified products.
S204: and sending the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identification according to the tax refund information.
In the embodiment of the invention, the node can send the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identifier according to the tax refund information.
In an embodiment, before sending the tax refund transaction to the tax terminal, the node may send an import/export query request to an import/export management center, where the import/export query request includes an enterprise identifier carried in the notification of successful tax refund declaration for the enterprise; the node can acquire import and export information corresponding to the enterprise identification sent by the import and export management center, and determine whether an export product corresponding to the enterprise identification carried in the enterprise tax return declaration success notification is exported or not according to the import and export information; if the export is determined, the node may send the tax refund transaction to the tax terminal. By the implementation mode, tax refund can be ensured after the product is exported from the enterprise, and safe tax refund is realized.
In one embodiment, after the node sends the tax refund transaction to the tax terminal, the node may obtain tax refund information sent by the tax terminal, determine tax refunded electronic bill information according to the tax refunded information, and send the tax refunded electronic bill information to a designated tax refunded center for storage. By the implementation mode, the enterprise can conveniently inquire the historical tax refund records.
In the embodiment of the invention, a node acquires electronic bill information corresponding to an enterprise identifier carried in an enterprise tax refund successful declaration notice sent by a tax terminal, calls an intelligent contract to send a verification notice to the tax terminal, and if the verification successful notice sent by the tax terminal is received, calls the intelligent contract to generate tax refund transaction corresponding to the electronic bill information and sends the tax refund transaction to the tax terminal so that the tax terminal refunds to a specified account corresponding to the enterprise identifier according to the tax refund information. Through the implementation mode, the automation and intelligent requirements of enterprises on tax refunding of export products can be met, the tax refunding efficiency is improved under the condition of ensuring the safety, and the enterprise cost is reduced.
Specifically, referring to fig. 3, fig. 3 is a schematic flow chart of another data processing method based on a blockchain network according to an embodiment of the present invention, and specifically, the difference between the data processing method based on the blockchain network according to the embodiment of the present invention and the data processing method based on the blockchain network shown in fig. 2 is that the embodiment of the present invention describes in detail a situation that tax refund is performed in advance and tax refund funds are frozen, and the tax refund funds are thawed after an export product is exported, and specifically, the method according to the embodiment of the present invention includes the following steps.
S301: acquiring an enterprise tax refund notice sent by a bill terminal after issuing an electronic bill for an export transaction of an enterprise, wherein the enterprise tax refund notice carries an enterprise identifier and tax refund fund of an account specified by the enterprise.
In the embodiment of the invention, the node can acquire an enterprise tax refund notice sent by the bill terminal after issuing the electronic bill for the export transaction of the enterprise, wherein the enterprise tax refund notice carries the enterprise identification and tax refund fund of an account specified by the enterprise.
S302: and calling an intelligent contract to send a freezing notice to a tax terminal, wherein the freezing notice is used for indicating the tax terminal to freeze tax refund funds of the account appointed by the enterprise.
In the embodiment of the invention, the node can call the intelligent contract to send the freezing notice to the tax terminal, wherein the freezing notice is used for indicating the tax terminal to freeze the refund fund of the account appointed by the enterprise.
In one embodiment, when the bill terminal opens an electronic bill for an export transaction of an enterprise, the bill terminal may send tax refund funds and an account designated by the enterprise to the node, so that the node triggers an intelligent contract on the node to generate a freeze notification according to the tax refund funds and the account designated by the enterprise, the freeze notification is used for instructing the tax terminal to freeze the tax refund funds refunded to the account designated by the enterprise, and the node may send the freeze notification to the tax terminal, so that the tax terminal freezes the tax refund funds refunded to the account designated by the enterprise. By the implementation mode, tax refund can be realized in advance under the condition of ensuring safety, and the efficiency of tax refund is further improved.
For example, when an electronic bill is issued for an export transaction of an enterprise, a bill terminal may send a refund fund X and an account Y specified by the enterprise to a node of a tax block chain, so as to trigger an intelligent contract on the node to generate a freeze notification according to the refund fund X and the account Y specified by the enterprise, where the freeze notification is used to instruct the tax terminal to freeze the refund fund X refunded to the account Y specified by the enterprise, and the node may send the freeze notification to the tax terminal, so that the tax terminal freezes the refund fund X refunded to the account Y specified by the enterprise.
S303: inquiring whether the export products corresponding to the enterprise identifications carried in the enterprise tax refunding notice are exported or not from the import and export management center, if the export products are determined to be exported, executing the step S304, and if the export products are determined not to be exported within the preset time length, executing the step S305.
In this embodiment of the present invention, the node may query, to the import/export management center, whether an export product corresponding to the enterprise identifier carried in the enterprise tax refund notification has been exported, if it is determined that the export product has been exported, step S304 is executed, and if it is determined that the export product has not been exported within the preset time duration, step S305 is executed.
S304: and calling the intelligent contract to send a thawing notification to the tax terminal, wherein the thawing notification is used for indicating the tax terminal to remove the tax refund funds frozen in the account specified by the enterprise.
In the embodiment of the invention, if the export is determined, the node can call the intelligent contract to send a thawing notification to the tax terminal, wherein the thawing notification is used for indicating the tax terminal to remove the tax refund funds frozen in the account specified by the enterprise. By the implementation mode, the tax refund can be performed on the enterprise export product in advance, and the effectiveness of the tax refund is further improved.
S305: and calling the intelligent contract to send a tax refund fund recovery notice to the tax terminal, wherein the tax refund fund recovery notice is used for indicating the tax terminal to deduct the tax refund fund frozen in the account appointed by the enterprise.
In the embodiment of the invention, if the situation that the user is not out of the office within the preset time is determined, the node can call the intelligent contract to send a tax refund fund recovery notice to the tax terminal, wherein the tax refund fund recovery notice is used for indicating the tax terminal to deduct the frozen tax refund fund in the account appointed by the enterprise. By the implementation mode, the condition that no tax is deducted because the export product is not exported after time out can be avoided, and the effectiveness of tax refunding of the export product of the enterprise is further improved.
In the embodiment of the invention, a node calls an intelligent contract to send a freezing notice to a tax terminal by acquiring an enterprise tax refund notice sent by a bill terminal after issuing an electronic bill for the export transaction of an enterprise, inquires an import and export management center whether an export product corresponding to an enterprise identifier carried in the enterprise tax refund notice is exported, if the export is determined, the node can call the intelligent contract to send a thawing notice to the tax terminal, and if the condition that a user is not exported within a preset time length is determined, the node can call the intelligent contract to send a tax refund fund recovery notice to the tax terminal. Through the implementation mode, the tax refunding of the import and export products of the enterprise can be realized in advance, the tax refunding efficiency of the export products of the enterprise is further improved under the condition of ensuring the safety, and the consumption experience of users is improved.
Referring to fig. 4 specifically, fig. 4 is a schematic flowchart of a data processing interaction method based on a blockchain network according to an embodiment of the present invention, where the data processing interaction method based on a blockchain network according to an embodiment of the present invention may be executed by a tax refund system, where the tax refund system includes a node, a tax terminal, an enterprise terminal, and an import/export management center in a blockchain network, and a specific explanation of the tax refund system is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S401: the enterprise terminal sends an enterprise tax refunding request to the tax terminal, wherein the enterprise tax refunding request carries an enterprise identifier.
In the embodiment of the invention, the enterprise terminal can send an enterprise tax refunding request to the tax terminal, wherein the enterprise tax refunding request carries an enterprise identifier.
S402: and the tax terminal determines whether the enterprise corresponding to the enterprise identification meets tax refunding conditions or not according to the enterprise declaration request.
In the embodiment of the present invention, the tax terminal may determine whether the enterprise corresponding to the enterprise identifier meets a tax refund condition according to the enterprise declaration request, where the tax refund condition is as described above and is not described here again.
S403: and if the condition is met, the tax terminal sends an enterprise tax refund declaration success notice to the nodes in the block chain network.
In the embodiment of the invention, if the tax terminal determines that the enterprise corresponding to the enterprise identifier meets the tax refund condition, the tax terminal can send an enterprise tax refund declaration success notification to the node in the block chain network. In some embodiments, the enterprise tax refund declaration success notification carries electronic bill information corresponding to the enterprise identification.
S404: and the node acquires electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund declaration success notice, and calls an intelligent contract to send a verification notice to the tax terminal.
In the embodiment of the invention, the node can acquire the electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund successful declaration notice, and transfer the intelligent contract to send the verification notice to the tax terminal, so that the tax terminal verifies the authenticity of the cushion bill information.
S405: and the tax terminal verifies the electronic bill information, and if the verification is successful, a verification success notification is sent to the node.
In the embodiment of the invention, the tax terminal can verify the electronic bill information, and if the verification is successful, a verification success notice can be sent to the node.
S406: and the node receives the verification success notification and invokes an intelligent contract to generate a tax refund transaction corresponding to the electronic bill information.
In the embodiment of the invention, the node can receive the verification success notice sent by the tax terminal and call the intelligent contract to generate the tax refund transaction corresponding to the electronic bill information.
S407: and the node sends an import and export inquiry request to an import and export management center, wherein the import and export inquiry request comprises an enterprise identifier carried in the notice of successful tax return declaration of the enterprise.
In this embodiment of the present invention, the node may send an import/export query request to an import/export management center, where the import/export query request includes an enterprise identifier carried in the notification of successful tax return declaration for the enterprise, so that the import/export management center queries import/export information corresponding to the enterprise identifier carried in the notification of successful tax return declaration for the enterprise.
S408: and the import and export management center sends import and export information corresponding to the enterprise identification carried in the enterprise tax return declaration success notice to the node.
In the embodiment of the present invention, the import/export management center may send, to the node, import/export information corresponding to the enterprise identifier carried in the notification of successful tax return declaration for the enterprise.
S409: and the node sends the tax refund transaction to the tax terminal if determining that the export product corresponding to the enterprise identifier carried in the enterprise tax refund successful declaration notification is exported according to the import and export information.
In this embodiment of the present invention, if the node determines that the export product corresponding to the enterprise identifier carried in the notification of successful return tax declaration for the enterprise has been exported according to the import/export information, the node may send the return tax transaction to the tax terminal, where in some embodiments, the return tax transaction includes a return tax amount and an account specified by the enterprise.
S410: and the tax terminal refunds the tax refund amount included in the tax refund transaction to the account appointed by the enterprise included in the tax refund transaction according to the tax refund transaction.
In the embodiment of the invention, the tax terminal can refund the tax to the specified account corresponding to the enterprise identification according to the tax refunding information.
According to the embodiment of the invention, the electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund successful declaration notice is obtained by obtaining the enterprise tax refund successful declaration notice sent by the tax terminal, the intelligent contract is called to send the verification notice to the tax terminal, if the verification successful notice sent by the tax terminal is received, the intelligent contract is called to generate the tax refund transaction corresponding to the electronic bill information, and the tax refund transaction is sent to the tax terminal, so that the tax terminal refunds to the specified account corresponding to the enterprise identification according to the tax refund information. Through the implementation mode, the automation and intelligent requirements of enterprises on tax refunding of export products can be met, the tax refunding efficiency is improved under the condition of ensuring the safety, and the enterprise cost is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention. Specifically, the apparatus is disposed in a node in a block chain network, and the apparatus includes: an acquisition module 501, a calling module 502, a generation module 503 and a sending module 504;
an obtaining module 501, configured to obtain a successful enterprise tax refund declaration notification sent by a tax terminal, where the successful enterprise tax refund declaration notification carries an enterprise identifier;
a calling module 502, configured to obtain electronic ticket information corresponding to an enterprise identifier carried in the enterprise tax refund successful declaration notification, and call an intelligent contract to send a verification notification to a tax terminal, where the verification notification is used to instruct the tax terminal to verify the electronic ticket information, and the intelligent contract runs on a virtual machine of each node in the multiple nodes;
the generating module 503 is configured to invoke the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information if a verification success notification sent by the tax terminal is received, where the tax refund transaction includes a tax refund amount and an account specified by the enterprise;
a sending module 504, configured to send the tax refund transaction to the tax terminal, so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identifier according to the tax refund information.
Further, when the obtaining module 501 obtains the notification of successful enterprise tax refund declaration sent by the tax terminal, the obtaining module is specifically configured to:
and after the tax terminal acquires the enterprise tax return declaration request sent by the enterprise terminal, determining that the enterprise corresponding to the enterprise identification carried in the enterprise tax return declaration request meets tax return conditions, and then sending an enterprise tax return declaration success notice.
Further, before the obtaining module 501 obtains the successful notification of the enterprise tax refund declaration sent by the tax terminal, the obtaining module is further configured to:
acquiring electronic bill information and enterprise identification of the electronic bill sent by a bill terminal after issuing an electronic bill for import and export transaction of the enterprise;
binding the electronic bill information with the enterprise identification, writing the electronic bill information into a block, and broadcasting the block to other nodes in the plurality of nodes;
adding the block to a tax block chain when the other node verifies the block.
Further, before the generating module 503 invokes the intelligent contract to generate the tax refund transaction corresponding to the electronic ticket information, it is further configured to:
generating a tax refunding query request according to the electronic bill information, and sending the tax refunding query request to the tax terminal, wherein the tax refunding query request is used for indicating the tax terminal to query whether an outlet product corresponding to the electronic bill information belongs to a tax refunding product;
and if the confirmation information sent by the tax terminal is acquired, executing the step of calling the intelligent contract to generate the tax refund transaction corresponding to the electronic bill information.
Further, before the sending module 504 sends the tax refund transaction to the tax terminal, the sending module is further configured to:
sending an import and export inquiry request to an import and export management center, wherein the import and export inquiry request comprises an enterprise identifier carried in the enterprise tax return declaration success notification;
acquiring import and export information which is sent by the import and export management center and corresponds to the enterprise identification;
determining whether the export product corresponding to the enterprise identification carried in the enterprise tax refund declaration success notice is exported or not according to the import and export information;
and if the export is determined, executing the step of sending the tax refund transaction to the tax terminal.
Further, after the sending module 504 sends the tax refund transaction to the tax terminal, the sending module is further configured to:
acquiring tax refund information sent by the tax terminal;
and determining the refunded electronic bill information according to the refunded information, and sending the refunded electronic bill information to a specified refunded center for storage.
Further, the obtaining module 501 is further configured to:
acquiring an enterprise tax refund notice sent by a bill terminal after issuing an electronic bill for the export transaction of the enterprise, wherein the enterprise tax refund notice carries an enterprise identifier and tax refund fund of an account specified by the enterprise;
and calling the intelligent contract to send a freezing notice to the tax terminal, wherein the freezing notice is used for indicating the tax terminal to freeze refund funds of the account specified by the enterprise.
Further, the obtaining module 501 is further configured to:
inquiring whether export products corresponding to the enterprise identification carried in the enterprise tax refund notice are exported or not from an import and export management center;
if the export product is determined to be exported, calling the intelligent contract to send a thawing notification to the tax terminal, wherein the thawing notification is used for indicating the tax terminal to remove the tax refund funds frozen in the account specified by the enterprise;
and if the export product is determined not to be exported within the preset time, calling the intelligent contract to send a tax refund fund recovery notice to the tax terminal, wherein the tax refund fund recovery notice is used for indicating the tax terminal to deduct the frozen tax refund fund in the account specified by the enterprise.
According to the embodiment of the invention, the electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund successful declaration notice is obtained by obtaining the enterprise tax refund successful declaration notice sent by the tax terminal, the intelligent contract is called to send the verification notice to the tax terminal, if the verification successful notice sent by the tax terminal is received, the intelligent contract is called to generate the tax refund transaction corresponding to the electronic bill information, and the tax refund transaction is sent to the tax terminal, so that the tax terminal refunds to the specified account corresponding to the enterprise identification according to the tax refund information. Through the implementation mode, the automation and intelligent requirements of enterprises on tax refunding of export products can be met, the tax refunding efficiency of the enterprise export products is improved under the condition of ensuring the safety, and the enterprise cost is reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a node device according to an embodiment of the present invention. Specifically, the node device includes: memory 601, processor 602.
In an embodiment, the node device further includes a data interface 603, where the data interface 603 is used for transferring data information between the terminal and other devices.
The memory 601 may include a volatile memory (volatile memory); the memory 601 may also include a non-volatile memory (non-volatile memory); the memory 601 may also comprise a combination of memories of the kind described above. The processor 602 may be a Central Processing Unit (CPU). The processor 602 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
The memory 601 is used for storing programs, and the processor 602 can call the programs stored in the memory 601 for executing the following steps:
acquiring an enterprise tax refund declaration success notification sent by a tax terminal, wherein the enterprise tax refund declaration success notification carries an enterprise identifier;
acquiring electronic bill information corresponding to an enterprise identifier carried in the enterprise tax refund successful declaration notice, and calling an intelligent contract to send a verification notice to a tax terminal, wherein the verification notice is used for indicating the tax terminal to verify the electronic bill information, and the intelligent contract runs on a virtual machine of each node in the plurality of nodes;
if a verification success notice sent by the tax terminal is received, calling the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information, wherein the tax refund transaction comprises tax refund amount and an account specified by the enterprise;
and sending the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identification according to the tax refund information.
Further, when the processor 602 obtains the notification of successful enterprise tax refund declaration sent by the tax terminal, the method is specifically configured to:
and after the tax terminal acquires the enterprise tax return declaration request sent by the enterprise terminal, determining that the enterprise corresponding to the enterprise identification carried in the enterprise tax return declaration request meets tax return conditions, and then sending an enterprise tax return declaration success notice.
Further, before the processor 602 obtains the notification of successful enterprise tax refund declaration sent by the tax terminal, the processor is further configured to:
acquiring electronic bill information and enterprise identification of the electronic bill sent by a bill terminal after issuing an electronic bill for import and export transaction of the enterprise;
binding the electronic bill information with the enterprise identification, writing the electronic bill information into a block, and broadcasting the block to other nodes in the plurality of nodes;
adding the block to a tax block chain when the other node verifies the block.
Further, before the processor 602 invokes the intelligent contract to generate the tax refund transaction corresponding to the electronic ticket information, the processor is further configured to:
generating a tax refunding query request according to the electronic bill information, and sending the tax refunding query request to the tax terminal, wherein the tax refunding query request is used for indicating the tax terminal to query whether an outlet product corresponding to the electronic bill information belongs to a tax refunding product;
and if the confirmation information sent by the tax terminal is acquired, executing the step of calling the intelligent contract to generate the tax refund transaction corresponding to the electronic bill information.
Further, before the processor 602 sends the tax refund transaction to the tax terminal, the processor is further configured to:
sending an import and export inquiry request to an import and export management center, wherein the import and export inquiry request comprises an enterprise identifier carried in the enterprise tax return declaration success notification;
acquiring import and export information which is sent by the import and export management center and corresponds to the enterprise identification;
determining whether the export product corresponding to the enterprise identification carried in the enterprise tax refund declaration success notice is exported or not according to the import and export information;
and if the export is determined, executing the step of sending the tax refund transaction to the tax terminal.
Further, after the processor 602 sends the tax refund transaction to the tax terminal, the processor is further configured to:
acquiring tax refund information sent by the tax terminal;
and determining the refunded electronic bill information according to the refunded information, and sending the refunded electronic bill information to a specified refunded center for storage.
Further, the processor 602 is further configured to:
acquiring an enterprise tax refund notice sent by a bill terminal after issuing an electronic bill for the export transaction of the enterprise, wherein the enterprise tax refund notice carries an enterprise identifier and tax refund fund of an account specified by the enterprise;
and calling the intelligent contract to send a freezing notice to the tax terminal, wherein the freezing notice is used for indicating the tax terminal to freeze refund funds of the account specified by the enterprise.
Further, the processor 602 is further configured to:
inquiring whether export products corresponding to the enterprise identification carried in the enterprise tax refund notice are exported or not from an import and export management center;
if the export product is determined to be exported, calling the intelligent contract to send a thawing notification to the tax terminal, wherein the thawing notification is used for indicating the tax terminal to remove the tax refund funds frozen in the account specified by the enterprise;
and if the export product is determined not to be exported within the preset time, calling the intelligent contract to send a tax refund fund recovery notice to the tax terminal, wherein the tax refund fund recovery notice is used for indicating the tax terminal to deduct the frozen tax refund fund in the account specified by the enterprise.
According to the embodiment of the invention, the electronic bill information corresponding to the enterprise identification carried in the enterprise tax refund successful declaration notice is obtained by obtaining the enterprise tax refund successful declaration notice sent by the tax terminal, the intelligent contract is called to send the verification notice to the tax terminal, if the verification successful notice sent by the tax terminal is received, the intelligent contract is called to generate the tax refund transaction corresponding to the electronic bill information, and the tax refund transaction is sent to the tax terminal, so that the tax terminal refunds to the specified account corresponding to the enterprise identification according to the tax refund information. Through the implementation mode, the automation and intelligent requirements of enterprises on tax refunding of export products can be met, the tax refunding efficiency of the enterprise export products is improved under the condition of ensuring the safety, and the enterprise cost is reduced.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method described in the embodiment corresponding to fig. 2, fig. 3, or fig. 4 of the present invention, and also implements the apparatus corresponding to the embodiment corresponding to the present invention described in fig. 5, which are not described herein again.
The computer readable storage medium may be an internal storage unit of the device according to any of the foregoing embodiments, for example, a hard disk or a memory of the device. The computer readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the apparatus. The computer-readable storage medium is used for storing the computer program and other programs and data required by the server. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A data processing method based on a blockchain network, wherein the blockchain network comprises a plurality of nodes, the method comprising:
acquiring an enterprise tax refund declaration success notification sent by a tax terminal, wherein the enterprise tax refund declaration success notification carries an enterprise identifier;
acquiring electronic bill information corresponding to an enterprise identifier carried in the enterprise tax refund successful declaration notice, and calling an intelligent contract to send a verification notice to a tax terminal, wherein the verification notice is used for indicating the tax terminal to verify the electronic bill information, and the intelligent contract runs on a virtual machine of each node in the plurality of nodes;
if a verification success notice sent by the tax terminal is received, calling the intelligent contract to generate a tax refund transaction corresponding to the electronic bill information, wherein the tax refund transaction comprises tax refund amount and an account specified by the enterprise;
and sending the tax refund transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identification according to the tax refund information.
2. The method of claim 1, wherein obtaining the notification of successful enterprise tax refund declaration sent by the tax terminal comprises:
and after the tax terminal acquires the enterprise tax return declaration request sent by the enterprise terminal, determining that the enterprise corresponding to the enterprise identification carried in the enterprise tax return declaration request meets tax return conditions, and then sending an enterprise tax return declaration success notice.
3. The method of claim 1, wherein before obtaining the notification of successful return tax declaration of the enterprise sent by the tax terminal, the method further comprises:
acquiring electronic bill information and enterprise identification of the electronic bill sent by a bill terminal after issuing an electronic bill for import and export transaction of the enterprise;
binding the electronic bill information with the enterprise identification, writing the electronic bill information into a block, and broadcasting the block to other nodes in the plurality of nodes;
adding the block to a tax block chain when the other node verifies the block.
4. The method of claim 1, wherein prior to invoking the smart contract to generate a tax refund transaction corresponding to the electronic instrument information, further comprising:
generating a tax refunding query request according to the electronic bill information, and sending the tax refunding query request to the tax terminal, wherein the tax refunding query request is used for indicating the tax terminal to query whether an outlet product corresponding to the electronic bill information belongs to a tax refunding product;
and if the confirmation information sent by the tax terminal is acquired, executing the step of calling the intelligent contract to generate the tax refund transaction corresponding to the electronic bill information.
5. The method of claim 1, wherein before sending the tax refund transaction to the tax terminal, further comprising:
sending an import and export inquiry request to an import and export management center, wherein the import and export inquiry request comprises an enterprise identifier carried in the enterprise tax return declaration success notification;
acquiring import and export information which is sent by the import and export management center and corresponds to the enterprise identification;
determining whether the export product corresponding to the enterprise identification carried in the enterprise tax refund declaration success notice is exported or not according to the import and export information;
and if the export is determined, executing the step of sending the tax refund transaction to the tax terminal.
6. The method of claim 5, wherein after sending the tax refund transaction to the tax terminal, further comprising:
acquiring tax refund information sent by the tax terminal;
and determining the refunded electronic bill information according to the refunded information, and sending the refunded electronic bill information to a specified refunded center for storage.
7. The method of claim 1, further comprising:
acquiring an enterprise tax refund notice sent by a bill terminal after issuing an electronic bill for the export transaction of the enterprise, wherein the enterprise tax refund notice carries an enterprise identifier and tax refund fund of an account specified by the enterprise;
and calling the intelligent contract to send a freezing notice to the tax terminal, wherein the freezing notice is used for indicating the tax terminal to freeze refund funds of the account specified by the enterprise.
8. The method of claim 7, further comprising:
inquiring whether export products corresponding to the enterprise identification carried in the enterprise tax refund notice are exported or not from an import and export management center;
if the export product is determined to be exported, calling the intelligent contract to send a thawing notification to the tax terminal, wherein the thawing notification is used for indicating the tax terminal to remove the tax refund funds frozen in the account specified by the enterprise;
and if the export product is determined not to be exported within the preset time, calling the intelligent contract to send a tax refund fund recovery notice to the tax terminal, wherein the tax refund fund recovery notice is used for indicating the tax terminal to deduct the frozen tax refund fund in the account specified by the enterprise.
9. A data processing apparatus arranged in a node in a blockchain network, the apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring an enterprise tax return declaration success notification sent by a tax terminal, and the enterprise tax return declaration success notification carries an enterprise identifier;
the calling module is used for acquiring electronic bill information corresponding to an enterprise identifier carried in the enterprise tax refunding and declaring success notice and calling an intelligent contract to send a verification notice to a tax terminal, wherein the verification notice is used for indicating the tax terminal to verify the electronic bill information;
the generating module is used for calling the intelligent contract to generate tax refunding transaction corresponding to the electronic bill information if a verification success notice sent by the tax terminal is received, wherein the tax refunding transaction comprises tax refunding amount and an account specified by the enterprise;
and the sending module is used for sending the tax refunding transaction to the tax terminal so that the tax terminal refunds the tax to the specified account corresponding to the enterprise identifier according to the tax refunding information.
10. A computer-readable storage medium, having stored thereon program instructions for implementing the method of any one of claims 1-8 when executed.
CN201910909669.5A 2019-09-24 2019-09-24 Data processing method, device and storage medium based on blockchain network Active CN110599133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910909669.5A CN110599133B (en) 2019-09-24 2019-09-24 Data processing method, device and storage medium based on blockchain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910909669.5A CN110599133B (en) 2019-09-24 2019-09-24 Data processing method, device and storage medium based on blockchain network

Publications (2)

Publication Number Publication Date
CN110599133A true CN110599133A (en) 2019-12-20
CN110599133B CN110599133B (en) 2023-11-03

Family

ID=68863089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910909669.5A Active CN110599133B (en) 2019-09-24 2019-09-24 Data processing method, device and storage medium based on blockchain network

Country Status (1)

Country Link
CN (1) CN110599133B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111325586A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain
CN113129086A (en) * 2019-12-31 2021-07-16 航天信息股份有限公司 Value-added tax deduction method, device, system, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034701A (en) * 2018-07-25 2018-12-18 珠海宏桥高科技有限公司 International trade document transmission method, apparatus and system
CN109410022A (en) * 2018-09-30 2019-03-01 深圳市元征科技股份有限公司 A kind of overseas TAX FREE SHOPPING method and relevant device based on block chain technology
CN109829823A (en) * 2019-01-31 2019-05-31 山东浪潮商用***有限公司 One kind departure of passenger's shopping overseas refund business information management platform and method
GB201905600D0 (en) * 2019-04-19 2019-06-05 Ernst & Young Gmbh Tax compliance management system modelled as a multi-dimensional framework
KR102019478B1 (en) * 2018-05-17 2019-09-06 주식회사 네모파트너즈엔이씨 The apparatus and method of activation for energy transaction by using block chain of hybrid

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102019478B1 (en) * 2018-05-17 2019-09-06 주식회사 네모파트너즈엔이씨 The apparatus and method of activation for energy transaction by using block chain of hybrid
CN109034701A (en) * 2018-07-25 2018-12-18 珠海宏桥高科技有限公司 International trade document transmission method, apparatus and system
CN109410022A (en) * 2018-09-30 2019-03-01 深圳市元征科技股份有限公司 A kind of overseas TAX FREE SHOPPING method and relevant device based on block chain technology
CN109829823A (en) * 2019-01-31 2019-05-31 山东浪潮商用***有限公司 One kind departure of passenger's shopping overseas refund business information management platform and method
GB201905600D0 (en) * 2019-04-19 2019-06-05 Ernst & Young Gmbh Tax compliance management system modelled as a multi-dimensional framework

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113129086A (en) * 2019-12-31 2021-07-16 航天信息股份有限公司 Value-added tax deduction method, device, system, equipment and medium
CN113129086B (en) * 2019-12-31 2024-05-31 航天信息股份有限公司 Value-added tax deduction method, device, system, equipment and medium
CN111325586A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Bill generation method, device, server and medium based on block chain network
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain

Also Published As

Publication number Publication date
CN110599133B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
KR102263985B1 (en) Method and system for providing validated, auditable, and immutable inputs to a smart contract
CN109961365B (en) Account receiving record processing method and system based on block chain intelligent contract
CN110232565B (en) Resource clearing method, device, computer equipment and storage medium
CN109325729A (en) A kind of method and server generating electronic contract
CN112801658B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN110599133A (en) Data processing method and device based on block chain network and storage medium
CN110599349A (en) Data processing method based on block chain network, related equipment and storage medium
CN109472678B (en) Accounting book management method based on block chain, electronic device and readable storage medium
CN110599323A (en) Resource processing method and processing equipment
WO2020238250A1 (en) Capital chain information tracing method and system, and server and readable storage medium
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
CN111311277B (en) Bill processing method and device based on block chain network and related equipment
WO2018192931A1 (en) Delivery versus payment mechanism
CN110555684A (en) Account and system based on block chain system
CN110955724A (en) Data processing method and device based on block chain, node equipment and storage medium
CN110930152A (en) Data processing method based on block chain and related equipment
CN116167860A (en) Account checking processing method and device, electronic equipment and storage medium
CN111325586B (en) Bill generation method, device, server and medium based on block chain network
CN111415238A (en) Tax management method and device based on block chain and computer storage medium
CN110580624B (en) Chain code upgrading method and device
CN111047322A (en) Intelligent contract deployment method and device based on block chain and hardware equipment
CN110597886A (en) Data processing method and device and computer storage medium
CN114581088A (en) Aggregated payment method, device and system for SaaS (software as a service) system
CN114331729A (en) Data processing method and device of double-block chain architecture in data bank scene
CN115330365A (en) Data processing method and device based on block chain and computer equipment

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
GR01 Patent grant
GR01 Patent grant