CN110599273A - Data processing method, data processing device, node equipment and storage medium - Google Patents

Data processing method, data processing device, node equipment and storage medium Download PDF

Info

Publication number
CN110599273A
CN110599273A CN201910898432.1A CN201910898432A CN110599273A CN 110599273 A CN110599273 A CN 110599273A CN 201910898432 A CN201910898432 A CN 201910898432A CN 110599273 A CN110599273 A CN 110599273A
Authority
CN
China
Prior art keywords
information
data
target
chain
purchaser
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
CN201910898432.1A
Other languages
Chinese (zh)
Other versions
CN110599273B (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 CN201910898432.1A priority Critical patent/CN110599273B/en
Publication of CN110599273A publication Critical patent/CN110599273A/en
Application granted granted Critical
Publication of CN110599273B publication Critical patent/CN110599273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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/12Accounting
    • G06Q40/123Tax preparation or submission
    • 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/12Accounting
    • G06Q40/128Check-book balancing, updating or printing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Bioethics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a data processing device, node equipment and a storage medium, wherein the method comprises the following steps: acquiring target bill data, wherein the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information; sending the target bill data to a tax data chain of a block chain network so that the tax data chain stores the target bill data; and acquiring the buyer information from the buyer information chain of the block chain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data. By adopting the embodiment of the invention, a safe and effective invoice data storage mode can be provided, and the safety of the invoice data is ensured.

Description

Data processing method, data processing device, node equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a data processing method and apparatus, a node device, and a storage medium.
Background
The invoice is used as an important basis for tax authorities to control tax sources and collect taxes, and all enterprises and individuals have the right to issue invoices in purchasing and selling commodities, providing or receiving services and performing other business activities. The general invoicing process is: after the purchase transaction between the seller and the purchaser is finished, the seller provides invoice data to the purchaser according to transaction data generated during the purchase transaction and purchaser information. The purchaser information may include a name of an individual or a business, an established time, a tax payment identifier of the purchaser, and the like.
In order to ensure that the tax collection work of the tax authority is effectively carried out, the safe storage of the invoice data is indispensable. The current common storage method of invoice data is managed by the buyer by arranging a special person, or the buyer stores the invoice information in a designated storage device for storage. But such a storage method is easy to lose the invoice data or to tamper the invoice data. Therefore, how to safely and effectively store invoices becomes a hot issue of current research.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, node equipment and a storage medium, which can provide a safe and effective invoice data storage mode and ensure the safety of invoice data.
In one aspect, an embodiment of the present invention provides a data processing method, including:
acquiring target bill data, wherein the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information;
sending the target bill data to a tax data chain of a block chain network, so that the tax data chain stores the target bill data;
and acquiring the buyer information from a buyer information chain of the block chain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data.
In one aspect, an embodiment of the present invention provides a data processing apparatus, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target bill data, and the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information;
a sending unit, configured to send the target ticket data to a tax data chain of a block chain network, so that the tax data chain stores the target ticket data;
the obtaining unit is further configured to obtain the buyer information from a buyer information chain of the blockchain network according to the target information identifier;
and the processing unit is used for establishing the association relationship between the buyer information and the target bill data.
In one aspect, an embodiment of the present invention provides a node device, where the node device is located in a blockchain network, and the node device 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 and executed by the processor to:
acquiring target bill data, wherein the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information;
sending the target bill data to a tax data chain of a block chain network, so that the tax data chain stores the target bill data;
and acquiring the buyer information from a buyer information chain of the block chain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data.
In one aspect, an embodiment of the present invention further provides a computer storage medium, where computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, the computer storage medium is configured to execute the data processing method according to the first aspect.
In the embodiment of the invention, the node equipment of the block link network acquires the target bill data and sends the acquired target bill data to the tax data link of the block link network, so that the tax data link stores the target bill data, and the storage safety of the target bill data is ensured based on the non-tamper property of the block link. In addition, the target bill data acquired by the node device includes transaction data generated by the buyer terminal and the seller terminal in the process of executing business transaction and a target information identifier corresponding to the buyer information, and the target information identifier corresponding to the buyer information is carried in the target bill data instead of directly carrying the buyer information in the target bill data, so that the buyer information can be protected from being disclosed. In this case, in order to ensure the authenticity of the target ticket data, the node device obtains the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishes an association relationship between the buyer information and the target ticket data. In this way, the authenticity of the target bill data can be verified subsequently through the association relationship between the two. In summary, the embodiments of the present invention can implement both the storage of the target ticket data in the blockchain network to ensure its security and the protection of the privacy of the buyer information.
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 block diagram of a data processing system according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a user interface of a purchaser terminal according to an embodiment of the present invention;
FIG. 1c is a schematic view of a user interface of another buyer terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another data processing method provided by the embodiment of the invention;
FIG. 4 is a schematic diagram of a method for modifying purchaser information and target billing data 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 device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The embodiment of the invention provides a data processing scheme, which can realize safe storage of bill data and can protect the privacy of purchaser information. Specifically, the data processing scheme may include: acquiring target bill data, wherein the target bill data can be any one of bill data, such as catering bill data, digital bill data, accommodation bill data and the like, the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in a process of executing business transaction and a target information identifier corresponding to buyer information, the transaction data can refer to names, quantities, unit prices and the like of goods or services purchased by the buyer from the seller, and the target information identifier is obtained by encrypting the buyer information; the node equipment of the block chain network sends the acquired target bill data to a tax data chain of the block chain network so that the tax data chain stores the target bill data; and the node equipment acquires the buyer information from the buyer information chain of the block chain network according to the target information identifier and establishes an association relation between the buyer information and the target bill data.
The tax data chain can be an alliance chain formed by tax related departments in various places, and is used for storing bill data uploaded by various buyer terminals or seller terminals and ensuring the safety of the bill data. The purchaser information chain may be a private chain in which a plurality of purchaser information is stored, and the purchaser information stored in the chain is not disclosed, so that privacy and security of the purchaser information can be ensured. Optionally, the buyer information chain may be connected to a service node in the blockchain network, so as to provide corresponding buyer information for the taxing bureau inspectors, judicial authorities and financial auditors.
Based on the above data processing scheme, an embodiment of the present invention provides a schematic structural diagram of a data processing system, as shown in fig. 1 a. The data processing system shown in fig. 1a may comprise a buyer terminal 101, a seller terminal 102 and a node device 103 of a blockchain network, and the node device 103 may be any node device located in the blockchain network. The purchaser terminal 101 and the seller terminal 102 may be terminal devices such as a smart phone, a tablet computer, and a smart wearable device, and these terminal devices have functions such as network communication. The purchaser terminal 101 is a terminal device used by a purchaser, and the seller terminal is a terminal device used by a seller.
The purchaser may perform business transactions with the seller through the purchaser terminal 101, such as purchasing goods, catering consumption, internet traffic consumption, and the like. The seller terminal 102 may provide the purchaser with the billing data when the business transaction between the purchaser and the seller is ended. Alternatively, the seller terminal 102 may provide the ticket data to the purchaser by issuing a ticket data for each transaction; alternatively, multiple business transactions are aggregated together to produce a single billing datum. In other words, the number of target ticket data may be one or more.
For example, assuming that the purchaser makes 3 business transactions with the seller through the purchaser terminal 101, and purchases a notebook having a value of 5 yuan, a pen having a value of 10 yuan, and a pencil having a value of 2 yuan, respectively, the seller may provide three billing data to the purchaser: wherein, the note data of the notebook computer comprises the number, unit price, buyer information, seller information, etc. of the purchased notebook computer; the bill data about the pens includes the number of purchased pens, unit price, purchaser information, seller information, and the like; the bill data about the pencil includes the number of purchased pencils, unit price, purchaser information, seller information, and the like. In other embodiments, the seller may provide a ticket data for the purchaser, and the purchased goods information is displayed in the ticket data.
In one embodiment, after the seller terminal 101 provides the ticket data to the purchaser, the purchaser may view and save the ticket data through the purchaser terminal 101. Optionally, the purchaser terminal 101 displays a prompt message for receiving and storing the ticket data on the user interface, the purchaser may select a storage address for storing the ticket data with respect to the prompt message, and the purchaser terminal 101 stores the ticket data in the storage address selected by the user. The storage address may be any one or more of a local storage, a cloud storage, and a blockchain storage of the purchaser terminal 101. The block chain becomes a more common bill data storage address because of its non-tamper property.
For example, referring to fig. 1b, a schematic diagram of a user interface of a buyer terminal according to an embodiment of the present invention is provided, when the buyer terminal receives ticket data provided by a seller terminal, a prompt message for receiving and storing the ticket data may be displayed in the user interface. Also included in the user interface are a trigger 104 to view ticket data and a trigger 105 to store ticket data. If the purchaser clicks 105, a storage address selection interface may be invoked, which may include a plurality of storage addresses, such as a local C disk, a local E disk, a cloud storage, a block chain storage, and the like. Assuming that the user selects the blockchain storage, the purchaser terminal outputs notification information uploaded to the blockchain storage in the user interface according to the purchaser's selection as shown in fig. 1 c. The block chain may include a tax data chain specially used for storing the ticket data, and the tax data chain may be a federation chain, and the data stored in the chain is public, and if the buyer does not want the buyer information to be public, the buyer information included in the ticket data may be selected to be stored in an encrypted manner.
Optionally, in the user interface shown in fig. 1c, a trigger button 106 for storing the buyer information in an encrypted manner may be further displayed, and after the buyer clicks 106, the buyer terminal 101 may replace the buyer information in the ticket data with the target information identifier to obtain target ticket data; the target ticket data is then published to the blockchain network. In other embodiments, the purchaser terminal 101 may also generate an encrypted storage request according to a click operation of the purchaser, carry the ticket data in the encrypted storage request, send the encrypted storage request to the blockchain network, generate a target information identifier corresponding to the purchaser information by a node device of the blockchain network, and replace the purchaser information included in the ticket data with the target information identifier to obtain the target ticket data.
After acquiring target bill data, the node device 103 in the block chain network executes the data processing scheme, that is, the target bill data is sent to a tax data chain of the block chain network, so that the tax data chain stores the target bill data; and acquiring the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data.
Based on the data processing system, an embodiment of the present invention further provides a data processing method, and reference is made to fig. 2, which is a schematic flow chart of the data processing method provided in the embodiment of the present invention. The data processing method may be performed by any node device in the blockchain network, and may specifically be performed by a processor of the node device. The data processing method shown in fig. 2 may include the steps of:
step S201, obtaining target ticket data, where the target ticket data includes transaction data generated by the purchaser terminal and the seller terminal in the service transaction process and a target information identifier corresponding to the purchaser information.
The business transaction between the purchaser terminal and the seller terminal can be executed through a point-to-point payment channel between the purchaser terminal and the seller terminal, and the point-to-point payment channel is a transaction channel under a chain, so that compared with the business transaction executed on the chain, the business transaction executed by adopting the point-to-point payment channel has higher business execution efficiency. After the transaction is ended in the point-to-point payment channel, the settlement transaction is issued to the blockchain network according to the multiple business transactions of the purchaser terminal and the seller terminal, and the blockchain is responsible for transaction settlement. The business transaction may refer to a transaction of purchasing goods, lodging consumption, dining consumption, and the like. The transaction data may refer to the name of the item purchased, the quantity, the unit price, the total price, and so on.
In one embodiment, the target ticket data may be issued by a purchaser terminal into a blockchain network. Specifically, optionally, the purchaser terminal receives initial ticket data provided by the seller terminal, where the initial ticket data includes transaction data and purchaser information generated by the purchaser terminal and the seller terminal in the process of executing the business transaction. The transaction data may include names, quantities, prices, etc. of goods purchased by the purchaser, and the purchaser information may include names of purchasers, tax payment identification codes of the purchaser, etc.; if the buyer inputs a trigger operation of encrypting and storing the buyer information in a user interface of the buyer terminal, the buyer terminal acquires the buyer information included in the initial bill data and encrypts the acquired buyer information to obtain a target information identifier corresponding to the buyer information; then, replacing the buyer information in the initial bill data with a target information identifier to obtain target bill data; and finally, issuing the target bill data to the blockchain network.
In other embodiments, the target ticket data may also be generated by a blockchain network. Specifically, optionally, after the purchaser terminal receives the initial ticket number data provided by the seller terminal, the notification information of the received initial ticket data and the stored ticket data is displayed in the user interface, and the trigger button is further included for encrypting and storing the purchaser information; if the purchaser clicks a trigger button for storing purchase information in an encrypted manner, the purchaser terminal can send an encrypted storage request carrying initial bill data to the blockchain network; acquiring purchaser information in initial bill data by a block chain network, and encrypting the purchaser information to obtain a target information identifier; and replacing the buyer information in the initial bill data with the target information identifier to obtain target bill data.
Step S202, the target bill data is sent to a tax data chain of the block chain network, so that the tax data chain stores the target bill data.
In one embodiment, the blockchain network may include service nodes, the node device may be any one of the service nodes, the blockchain network may further include service nodes, and the tax data link may be a federation link composed of various local tax-related departments. The node equipment can send the target bill data to the service node, and the service node sends the target bill data to the tax data chain, so that the consensus node corresponding to the tax data chain performs consensus verification and storage on the target bill data.
In one embodiment, the number of tax data chains may be one or more, and each tax data chain may store one type of ticket data. It should be appreciated that categorizing different types of ticket data stores facilitates management of the ticket data and subsequent querying. Optionally, the target ticket data acquired by the node device may further include a target ticket type, and the sending of the target ticket data to the tax data link in the block link network includes: acquiring a tax data chain for storing target bill data according to the type of the target bill; and sending the target bill data to the acquired tax data chain. The bill type can comprise catering bills, office supplies bills, accommodation bills and other bills, and the target bill type can be any one of the above bills types.
In other embodiments, the number of the tax data chains may be one or more, and each tax data chain may store various types of ticket data. Optionally, the sending, by the node device, the target ticket data to the tax data link in the block link network includes: acquiring tax data chains for storing target bill data according to the block height of each tax data chain; and sending the target bill data to the acquired tax data chain. The method for acquiring the tax data chain for storing the target bill data according to the block height of each tax data chain may be as follows: acquiring the block height of each tax data chain; and taking the tax data chain meeting the preset block height condition as the tax data chain for storing the target bill data. The preset block height adjustable condition can refer to a block height threshold, and in each tax data chain, tax data chain storage target bill data with the block height smaller than or equal to the block height threshold is obtained; alternatively, the preset block height condition may refer to: and selecting the tax data chain with the smallest block height from the block heights as the tax data chain for storing the target bill data.
It should be understood that the above are only two exemplary ways to send target ticket data to the tax data chain according to the embodiments of the present invention. In practical application, an appropriate manner can be selected according to actual requirements, and is not limited to the two manners.
Step S203, acquiring the buyer information from the buyer information chain of the block chain network according to the target information identification, and establishing the association relationship between the buyer information and the target bill data.
In one embodiment, if the purchaser wants to store his own ticket data in the blockchain, the purchaser may upload his own purchaser information to the purchaser information chain of the blockchain network in advance through the purchaser terminal for storage, so that the subsequent blockchain network associates the target ticket data with the purchaser information stored in the purchaser information chain when acquiring the target ticket data of the purchaser, so that the purchaser information chain and the tax data chain are associated with each other for reconciliation. The buyer information chain is a private chain, information stored in the private chain cannot be disclosed, only a specified user can view the information, and the privacy of the buyer can be protected.
Optionally, the node device in the blockchain network obtains a storage request related to the buyer information, where the storage request includes the buyer information and a target information identifier corresponding to the buyer information; the node device sends a storage request to the purchaser information chain such that the purchaser information chain stores the purchaser information and the target information identification.
In one embodiment, the storage request may be issued by the purchaser terminal into the blockchain network, specifically, the purchaser inputs purchaser information through the purchaser terminal and inputs a trigger for uploading to the blockchain network encrypted storage; the purchaser terminal encrypts the purchaser information to obtain a target information identifier; and generating a storage request according to the target information identifier and the trigger operation of the purchaser, and sending the storage request to the block chain network.
In other embodiments, the storage request may also be generated by a blockchain network. Specifically, the purchaser inputs purchaser information and triggers the operation of encrypting and storing the purchaser information through the purchaser, and then the purchaser terminal issues the purchaser information to the block chain network; the block chain network encrypts the purchaser information to obtain a target information identifier corresponding to the purchaser information; and generating a storage request according to the target information identification and the buyer information.
It should be understood that, when the block chain network stores data, the data to be stored is subjected to hash processing to obtain a hash value corresponding to the data to be stored, and the hash value is stored in a block. The embodiment of establishing the association relationship between the buyer information and the target ticket data in the step S203 may be: acquiring a target hash value corresponding to the purchaser information on the purchaser information chain; and determining the target hash value as the hash value of the target information identifier. In short, the hash value of the ticket header in the target ticket is equal to the hash value of the corresponding purchaser information in the purchaser information chain.
In the embodiment of the invention, the node equipment of the block link network acquires the target bill data and sends the acquired target bill data to the tax data link of the block link network, so that the tax data link stores the target bill data, and the storage safety of the target bill data is ensured based on the non-tamper property of the block link. In addition, the target bill data acquired by the node device includes transaction data generated by the buyer terminal and the seller terminal in the process of executing business transaction and a target information identifier corresponding to the buyer information, and the target information identifier corresponding to the buyer information is carried in the target bill data instead of directly carrying the buyer information in the target bill data, so that the buyer information can be protected from being disclosed. In this case, in order to ensure the authenticity of the target ticket data, the node device obtains the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishes an association relationship between the buyer information and the target ticket data. In this way, the authenticity of the target bill data can be verified subsequently through the association relationship between the two. In summary, the embodiments of the present invention can implement both the storage of the target ticket data in the blockchain network to ensure its security and the protection of the privacy of the buyer information.
Based on the above data processing method, an embodiment of the present invention further provides another data processing method, and referring to fig. 3, a schematic flow diagram of another data processing method provided in an embodiment of the present invention is shown. The data processing method shown in fig. 3 may be executed by a node device in a blockchain network, and may specifically be executed by a processor of the node device. The data processing method shown in fig. 3 may include the steps of:
step S301, target bill data is obtained, wherein the target bill data comprises transaction data generated by the purchaser terminal and the seller terminal in the process of executing business transaction and a target information identifier corresponding to the purchaser information.
Step S302, the target bill data is sent to a tax data chain of the block chain network, so that the tax data chain stores the target bill data.
Step S303, acquiring the buyer information from the buyer information chain of the block chain network according to the target information identifier, and establishing the association relationship between the buyer information and the target bill data.
In an embodiment, some possible implementations included in steps S301 to S303 may refer to descriptions of related steps in the embodiment shown in fig. 2, and are not described herein again.
Step S304, a change request about the buyer information is acquired.
Step S305, sending a change request to the buyer information chain for instructing the buyer information chain to change the stored buyer information and/or the target information identification based on the change request.
In one embodiment, the buyer information may include first attribute information and a first status of a buyer before modification, the buyer being any one of an individual user or an enterprise user; if the purchaser is an individual user, the first attribute information includes an identity for identifying the identity of the individual user, and the first state includes that the credit score of the purchaser is greater than a preset value or the credit score is not greater than a preset value; if the purchaser is an enterprise user, the first attribute information includes enterprise identification information for identifying the enterprise, and the first state includes a logout state or a business state.
The purchaser information may change over time, and if the purchaser is an individual user, the purchaser information change may refer to a change in the first attribute information, for example, the identification information of the individual user is expired, for example, the identification information is an identification card, and the expiration of the identification information may refer to the expiration of the validity period of the identification card; the purchaser information change may also refer to a first status change of the individual user, such as an increase or decrease in credit score. If the purchaser is a business user, the purchaser information change may refer to a change in the first attribute information, for example, a change in business identification information of the business, for example, the business identification information may be a business name, if the business name is changed, indicating that the purchaser information is changed; alternatively, the buyer information change may also refer to a first status change, such as the enterprise user changing from an open status to a logged off status, or from a logged off status to an open status.
In order to ensure the accuracy of the buyer information stored on the buyer information chain, the information of the buyer on the buyer information chain needs to be updated synchronously once the buyer information changes. In one embodiment, the change request may be generated and issued by the purchaser terminal to the blockchain network in step S304, or the blockchain network may be generated according to new purchaser information produced by the purchaser terminal.
In one embodiment, the buyer information stored in the buyer information chain may include first attribute information and a first state of the buyer before the change, and the change request includes one or more of second attribute information, a second state of the buyer after the change and a new information identifier, and the change request is sent to the buyer information chain for instructing the buyer information to change the stored buyer information and/or target information identifier based on the change request, including: if the second attribute information and the new identification information are included in the change request, the change request is used for instructing the buyer information chain to change the first attribute information into the second attribute information and change the target information identification into the new information identification; if the second state is included in the change request, the change request is used to instruct the purchaser information chain to change the first state to the second state.
As can be seen from the foregoing, the destination information identifier is obtained by encrypting the purchaser information by the purchaser terminal or the node device in the blockchain network, where the purchaser information may specifically refer to the first attribute information of the purchaser, and if the first attribute information included in the purchaser is changed into the second attribute information, the destination information identifier is also changed, and if the first state included in the purchaser is changed into the second state, the destination information identifier is not changed; alternatively, the purchaser information described herein may include first attribute information and a first status of the purchaser, in which case, if the first attribute information included in the purchaser is changed to second attribute information and/or the first status is changed to a second status, the destination information identification may be changed accordingly. In the embodiment of the present invention, the first case is described as an example.
Therefore, if the change request includes the second attribute information, it indicates that the first attribute information included in the purchaser information is changed, and at this time, the change request also carries a new information identifier obtained by encrypting the second attribute information, and at this time, after the purchaser information chain receives the change request, the first attribute information in the purchaser information stored in the purchaser information chain is changed to the second attribute information, and the target information is changed to the new information identifier. If the second state is included in the change request, it indicates that the first attribute information of the purchaser information is not changed, and only the first state is changed, and at this time, the purchaser information chain only needs to change the first state in the purchaser information to the second state.
In one embodiment, the tax data chain may also set access rights for the target ticket data when storing the target ticket data. If the second state is included in the change request, the first state indicates that the purchaser is a valid purchaser, and the second state indicates that the purchaser is an invalid purchaser, if it is detected that the first state included in the purchaser information on the purchaser information chain is changed to the second state, a second data change notification is initiated to the tax data chain, the second change notification being used for indicating that the tax data chain sets the access right of the target ticket data to be only visible to the tax manager. If the buyer is an individual user, the buyer can indicate that the credit score of the buyer is greater than a preset value for effective buyers and the credit score of the buyer is not greater than the preset value for ineffective buyers; if the buyer is an enterprise user, the buyer being valid may indicate that the enterprise is in an open state, and the buyer being invalid may indicate that the enterprise is in a logout state or a sealed state.
To summarize, when the purchaser is a valid purchaser, the access rights of the target ticket data associated with the purchaser information may be set to be visible to all users; when the purchaser is an invalid purchaser, the access authority of the target ticket data associated with the purchaser information may be set to be visible only to the tax manager, facilitating management of the tax data.
Step S306, if the target information identification on the purchaser information chain is detected to be changed, a first data change notice is sent to the tax data chain, and the first data change notice is used for indicating the tax data chain to change the target bill identification included in the target bill data into a new information identification.
In order to ensure the accuracy of the ticket data, once the target information identifier of the buyer information is detected to be changed, the target information identifier in the target ticket data needs to be updated synchronously. Specifically, if the target information identifier on the purchaser information chain is detected to be changed, a first data change notification is initiated to the tax data chain, and the tax data chain changes the target information identifier in the target bill data to a new information identifier indicated in the first data change notification.
For example, fig. 4 is a schematic diagram for associating the modified target information identifier with the target ticket data according to an embodiment of the present invention. In fig. 4, it is assumed that the creation block responsible for the tax data association in the block chain network hastens two block chains, one is a tax data chain and is responsible for executing tax control service; one is a purchaser information chain responsible for managing purchaser information. As can be seen from fig. 4, a plurality of pieces of ticket data, such as ticket data a, ticket data B, ticket data X, and ticket data Y, are stored in the tax data chain, and it is assumed that the ticket data X is the target ticket data. The purchaser information chain stores a plurality of purchaser information, such as corporate a information, business B information, corporate C information, and corporate D information.
It is assumed that, when the ticket data a, the ticket data B, and the ticket data Y are stored in the tax data chain, the buyer corresponding to the ticket data does not input the trigger operation of the buyer information encryption storage at the corresponding buyer terminal, and therefore, the ticket data includes the transaction data and the corresponding buyer information. If the purchaser corresponding to the ticket data X is a legal person C, and the legal person C inputs a trigger operation of encrypting and storing purchaser information when the ticket data X is stored, the ticket data C includes transaction data and a target information identifier of the purchaser information.
The billing data X is associated with corporate C information on the purchaser information chain. Assuming that the legal information C changes, the node device sends a notification to the tax data chain to cause the tax data chain to change the ticket data X. Assuming that the first state included in the information of the legal person C is a business state, if a change request of the information of the legal person C is detected, the change request indicates to change the first state into the second state, and the second state indicates that the legal person C is in a logout state. At this time, the node device sends a first data change notification to the tax data chain, and the visibility state of the ticket data X is changed by the tax data chain, as shown in fig. 4. Assuming that the information identifier corresponding to the legal person information C is changed from the target information identifier to a new information identifier, the node device sends a data change request to the tax data chain, and the tax data chain changes the target information identifier included in the ticket data X to the new information identifier (not shown in fig. 4).
In other embodiments, the buyer information chain may be externally connected to a buyer information query service, which may provide buyer information to tax authorities such as tax authorities or jurisdictions. Optionally, the buyer information chain may be a private chain, the block chain network may include a service node, the service node is configured to provide a query service for the buyer information stored in the facet information chain, and the node device interacts with the buyer information chain through the service node. Specifically, the node equipment acquires a query request aiming at the buyer information; the query request is sent to the service node to cause the service node to obtain the buyer information from the buyer information chain based on the buyer identification included in the query request.
In the embodiment of the invention, the node equipment of the block link network acquires the target bill data and sends the acquired target bill data to the tax data link of the block link network so that the tax data link stores the target bill data. In addition, the target bill data acquired by the node device includes transaction data generated by the buyer terminal and the seller terminal in the process of executing business transaction and a target information identifier corresponding to the buyer information, and the target information representation corresponding to the buyer information is carried in the target bill data instead of directly carrying the buyer information in the target bill data, so that the buyer information can be protected from being disclosed. In this case, in order to ensure the authenticity of the target ticket data, the node device obtains the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishes an association relationship between the buyer information and the target ticket data. In this way, the authenticity of the target bill data can be verified subsequently through the association relationship between the two. In summary, the embodiments of the present invention can implement both the storage of the target ticket data in the blockchain network to ensure its security and the protection of the privacy of the buyer information.
Further, if a change request regarding the purchaser information is obtained, a change request is sent to the purchaser information chain for instructing the purchaser information chain to change the stored purchaser information and/or target information identification based on the change request. And sending a first data change request to the tax data chain to instruct the tax data chain to change the target information identifier included in the target bill data into a new information identifier once the change of the target information identifier corresponding to the buyer information on the buyer information chain is detected. Therefore, the synchronization of the buyer information and the target bill data can be kept at any time, and the accuracy of the target bill data storage is ensured.
Based on the description of the foregoing method embodiment, an embodiment of the present invention further provides a data processing apparatus, and referring to fig. 5, a schematic structural diagram of the data processing apparatus provided in the embodiment of the present invention is shown, where the data processing apparatus may operate the following units:
an obtaining unit 501, configured to obtain target ticket data, where the target ticket data includes transaction data generated by a buyer terminal and a seller terminal in a process of executing a business transaction and a target information identifier corresponding to buyer information;
a sending unit 502, configured to send the target ticket data to a tax data chain of a block chain network, so that the tax data chain stores the target ticket data;
the obtaining unit 501 is further configured to obtain the buyer information from a buyer information chain of a blockchain network according to the target information identifier;
a processing unit 503, configured to establish an association relationship between the buyer information and the target ticket data.
In one embodiment, the processing unit 503 performs the following operations when establishing the association between the buyer information and the target ticket data: acquiring a target hash value corresponding to the purchaser information on the purchaser information chain; and determining the target hash value as the hash value of the target information identifier.
In one embodiment, the obtaining unit 501 is further configured to obtain a storage request related to the buyer information, where the storage request includes the buyer information and the target information identifier corresponding to the buyer information; the sending unit 502 is further configured to send the storage request to the buyer information chain, so that the buyer information chain stores the buyer information and the target information identifier.
In one embodiment, the obtaining unit 501 is further configured to obtain a change request regarding the buyer information; the sending unit 502 is further configured to send the change request to the buyer information chain, so as to instruct the buyer information chain to change the stored buyer information and/or the target information identifier based on the change request.
In one embodiment, the buyer information comprises the first attribute information and the first state of the buyer before the modification, and the modification request comprises one or more of the second attribute information, the second state of the buyer after the modification and a new information identifier, then the sending unit 502 performs the following operations when sending the modification request to the buyer information chain for instructing the buyer information chain to modify the stored buyer information and/or the target information identifier based on the modification request: if the second attribute information and the new identification information are included in the change request, the change request is used for instructing the buyer information chain to change the first attribute information into the second attribute information and change the target information identification into the new information identification; if the second state is included in the change request, the change request is used to instruct the purchaser information chain to change the first state to the second state.
In one embodiment, the processing unit 503 is further configured to initiate a first data change notification to the tax data chain if it is monitored that the target information identifier on the purchaser information chain is changed, where the first data change notification is used to instruct the tax data chain to change the target information identifier included in the target ticket data to the new information identifier.
In one embodiment, if a second status is included in the change request and the first status indicates that the purchaser is a valid purchaser and the second status indicates that the purchaser is an invalid purchaser, the processing unit 503 is further configured to initiate a second data change notification to the tax data chain if it is detected that the first status included in the purchaser information on the purchaser information chain is changed to the second status, the second data change notification being configured to indicate that the tax data chain sets the access rights of the target ticket data to be visible only to a tax administrator.
In one embodiment, the purchaser is any of an individual user or an enterprise user; if the purchaser is an individual user, the first attribute information comprises an identity for identifying the identity of the individual user, and the first state comprises that the credit score of the purchaser is greater than a preset value or the credit score is not greater than preset value information; if the purchaser is an enterprise user, the first attribute information includes enterprise identification information for identifying the enterprise, and the first state includes a logout state or a business state.
In one embodiment, the buyer information chain is a private chain, the blockchain network includes a service node for providing a query service for the buyer information stored in the buyer information chain, and the obtaining unit 501 is further configured to obtain a query request for the buyer information; the sending unit 502 is further configured to send the query request to the service node, so that the service node obtains the buyer information from the buyer information chain based on the buyer identifier included in the query request.
In one embodiment, the target ticket data further includes a target ticket type, and the sending unit 502 performs the following operations when sending the target ticket data to the tax data chain in the block chain network: acquiring a tax data chain for storing the target bill data according to the target bill type; and sending the target bill data to the acquired tax data chain.
According to an embodiment of the present invention, each step in the data processing method shown in fig. 2 and 3 may be performed by each unit in the data processing apparatus shown in fig. 5. For example, step S201 shown in fig. 2 may be performed by the acquisition unit 501 in the data processing apparatus shown in fig. 5, step S202 may be performed by the transmission unit 502 in the data processing apparatus shown in fig. 5, and step S203 may be performed by the acquisition unit 501 and the processing unit 503 in the data processing apparatus shown in fig. 5; as another example, steps S301 and S304 shown in fig. 3 may be performed by the acquisition unit 501 in the data processing apparatus shown in fig. 5, step S302 may be performed by the transmission unit 502 in the data processing apparatus shown in fig. 5, step S303 may be performed by the acquisition unit 501 and the processing unit 503 in the data processing apparatus shown in fig. 5, and step S305 and step S306 may be performed by the processing unit 503 in the data processing apparatus shown in fig. 5.
According to an embodiment of the present invention, the units in the data processing apparatus shown in fig. 5 may be respectively or entirely 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 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 an embodiment of the present invention, the data processing apparatus device shown in fig. 5 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods shown in fig. 2 and 3 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 implementing the data processing method of the embodiment of the present invention. 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 target bill data is acquired and sent to the tax data link of the block link network, so that the tax data link stores the target bill data, and the storage safety of the target bill data is ensured based on the non-tamper property of the block link. In addition, the target bill data acquired by the node device includes transaction data generated by the buyer terminal and the seller terminal in the process of executing business transaction and a target information identifier corresponding to the buyer information, and the target information identifier corresponding to the buyer information is carried in the target bill data instead of directly carrying the buyer information in the target bill data, so that the buyer information can be protected from being disclosed. In this case, in order to ensure the authenticity of the target ticket data, the node device obtains the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishes an association relationship between the buyer information and the target ticket data. In this way, the authenticity of the target bill data can be verified subsequently through the association relationship between the two. In summary, the embodiments of the present invention can implement both the storage of the target ticket data in the blockchain network to ensure its security and the protection of the privacy of the buyer information.
Based on the above method, the embodiment of the present invention further provides a node device, where the node device may be located in a block chain network, and the node device may be a terminal or a server. Referring to fig. 6, which is a schematic structural diagram of a node device according to an embodiment of the present invention, the node device shown in fig. 6 may include a processor 601 and a computer storage medium 602.
A computer storage medium 602 may be stored in the memory of the terminal, said computer storage medium 602 being used for storing a computer program comprising program instructions, said processor 601 being used for executing the program instructions stored by said computer storage medium 601. The processor 601 or CPU (Central Processing Unit) is a computing core and a control core of the terminal, 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 may be configured to perform: acquiring target bill data, wherein the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information; sending the target bill data to a tax data chain of a block chain network, so that the tax data chain stores the target bill data; and acquiring the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data.
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. The computer storage media provides storage space in which one or more instructions, which may be one or more computer programs (including program code), are stored that are suitable for loading and execution by the processor 601. It should be noted that 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, processor 601, when loading and executing one or more instructions, is configured to perform: acquiring target bill data, wherein the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information; sending the target bill data to a tax data chain of a block chain network, so that the tax data chain stores the target bill data; and acquiring the buyer information from a buyer information chain of the blockchain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data.
In one embodiment, the processor 601, when establishing the association between the buyer information and the target ticket data, performs the following operations: acquiring a target hash value corresponding to the purchaser information on the purchaser information chain; and determining the target hash value as the hash value of the target information identifier.
In one embodiment, the processor 601 is further configured to perform: acquiring a storage request related to the buyer information, wherein the storage request comprises the buyer information and the target information identifier corresponding to the buyer information; sending the storage request to the purchaser information chain such that the purchaser information chain stores the purchaser information and the target information identification.
In one embodiment, the processor 601 is further configured to perform: acquiring a change request about the purchaser information; sending the change request to the buyer information chain for instructing the buyer information chain to change the stored buyer information and/or the target information identification based on the change request.
In one embodiment, the purchaser information includes the first attribute information and the first state of the purchaser before the alteration, and the alteration request includes one or more of the second attribute information, the second state of the purchaser after the alteration, and a new information identifier, then the processor 601, when sending the alteration request to the purchaser information chain for instructing the purchaser information chain to alter the stored purchaser information and/or the target information identifier based on the alteration request, performs the following operations: if the second attribute information and the new identification information are included in the change request, the change request is used for instructing the buyer information chain to change the first attribute information into the second attribute information and change the target information identification into the new information identification; if the second state is included in the change request, the change request is used to instruct the purchaser information chain to change the first state to the second state.
In one embodiment, the processor 601 is further configured to perform: and if the target information identification on the purchaser information chain is monitored to be changed, initiating a first data change notification to the tax data chain, wherein the first data change notification is used for indicating the tax data chain to change the target information identification included in the target bill data into the new information identification.
In one embodiment, if a second status is included in the change request, and the first status indicates that the purchaser is a valid purchaser, the second status indicates that the purchaser is an invalid purchaser, the processor 601 is further configured to perform: initiating a second data change notification to the tax data chain if it is detected that the first state included in the purchaser information on the purchaser information chain is changed to the second state, the second data change notification indicating that the tax data chain sets the access rights of the target ticket data to be visible only to a tax manager.
In one embodiment, the purchaser is any of an individual user or an enterprise user; if the purchaser is an individual user, the first attribute information comprises an identity for identifying the identity of the individual user, and the first state comprises that the credit score of the purchaser is greater than a preset value or the credit score is not greater than preset value information; if the purchaser is an enterprise user, the first attribute information includes enterprise identification information for identifying the enterprise, and the first state includes a logout state or a business state.
In one embodiment, the buyer information chain is a private chain, the blockchain network includes a service node for providing a query service regarding the buyer information stored by the buyer information chain, and the processor 601 is further configured to perform: acquiring a query request aiming at the buyer information; sending the query request to the service node to cause the service node to obtain the buyer information from the buyer information chain based on a buyer identification included in the query request.
In one embodiment, the target ticket data further includes a target ticket type, and the processor 601 performs the following operations when sending the target ticket data to a tax data chain in a block chain network: acquiring a tax data chain for storing the target bill data according to the target bill type; and sending the target bill data to the acquired tax data chain.
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.
The above disclosure is intended to be illustrative of only some embodiments of the invention, and is not intended to limit the scope of the invention.

Claims (13)

1. A data processing method, comprising:
acquiring target bill data, wherein the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information;
sending the target bill data to a tax data chain of a block chain network, so that the tax data chain stores the target bill data;
and acquiring the buyer information from a buyer information chain of the block chain network according to the target information identifier, and establishing an association relation between the buyer information and the target bill data.
2. The method of claim 1, wherein said establishing an association between said purchaser information and said target instrument data comprises:
acquiring a target hash value corresponding to the buyer information stored in the buyer information chain;
and determining the target hash value as the hash value of the target information identifier.
3. The method of claim 1, wherein prior to obtaining the purchaser information from a purchaser information chain of the blockchain network in accordance with the target information identification, the method further comprises:
obtaining a storage request related to the buyer information, wherein the storage request comprises the buyer information and the target information identifier corresponding to the buyer information;
sending the storage request to the purchaser information chain such that the purchaser information chain stores the purchaser information and the target information identification.
4. The method of claim 1, wherein the method further comprises:
acquiring a change request about the purchaser information;
sending the change request to the buyer information chain for instructing the buyer information chain to change the stored buyer information and/or the target information identification based on the change request.
5. The method of claim 4 wherein the purchaser information includes first attribute information and a first state of the purchaser prior to the alteration, and the alteration request includes one or more of second attribute information, a second state of the purchaser after the alteration, and a new information identifier, sending the alteration request to the purchaser information chain for instructing the purchaser information chain to alter the stored purchaser information and/or the target information identifier based on the alteration request, comprising:
if the change request includes the second attribute information and the new identification information, the change request is for instructing the purchaser information chain to change the first attribute information to the second attribute information and to change the target information identification to the new information identification;
if the change request includes the second state, the change request is to instruct the purchaser information chain to change the first state to the second state.
6. The method of claim 5, wherein the method further comprises:
and if the target information identification on the purchaser information chain is monitored to be changed, initiating a first data change notification to the tax data chain, wherein the first data change notification is used for indicating the tax data chain to change the target information identification in the target bill data into the new information identification.
7. The method of claim 5, wherein if the change request includes a second state, and the first state indicates that the purchaser is a valid purchaser, the second state indicates that the purchaser is an invalid purchaser, the method further comprising:
if the first state included in the purchaser information on the purchaser information chain is detected to be changed to the second state, a second data change notification is initiated to the tax data chain, the second data change notification being used for indicating that the tax data chain sets the access right of the target ticket data to be visible only to a tax manager.
8. The method of claim 5, wherein the purchaser is any one of an individual user or an enterprise user; if the purchaser is an individual user, the first attribute information comprises an identity for identifying the identity of the individual user, and the first state comprises that the credit score of the purchaser is greater than a preset value or the credit score is not greater than the preset value; if the purchaser is an enterprise user, the first attribute information includes an enterprise identifier for identifying the enterprise, and the first state includes a logout state or a business state.
9. The method of claim 1, wherein the purchaser information chain is a private chain, the blockchain network includes a service node for providing query services with respect to the purchaser information stored by the purchaser information chain, the method further comprising:
acquiring a query request aiming at the buyer information;
sending the query request to the service node to cause the service node to obtain the buyer information from the buyer information chain based on a buyer identification included in the query request.
10. The method of claim 1, wherein the target ticket data further comprises a target ticket type, and wherein sending the target ticket data to a tax data chain in a blockchain network comprises:
acquiring a tax data chain for storing the target bill data according to the target bill type;
and sending the target bill data to the acquired tax data chain.
11. A data processing apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target bill data, and the target bill data comprises transaction data generated by a buyer terminal and a seller terminal in the process of executing business transaction and a target information identifier corresponding to buyer information;
the sending unit is used for sending the target bill data to a tax data chain of a block chain network so as to enable the tax data chain to store the target bill data;
the obtaining unit is further configured to obtain the buyer information from a buyer information chain of the blockchain network according to the target information identifier;
and the processing unit is used for establishing the association relationship between the buyer information and the target bill data.
12. A node device, wherein the node device is located in a blockchain network, and wherein the node device comprises: a processor adapted to implement one or more instructions; and the number of the first and second groups,
computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the data processing method according to any of claims 1-10.
13. A computer storage medium having computer program instructions stored therein, which when executed by a processor, are adapted to perform a data processing method according to any one of claims 1-10.
CN201910898432.1A 2019-09-20 2019-09-20 Data processing method, data processing device, node equipment and storage medium Active CN110599273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910898432.1A CN110599273B (en) 2019-09-20 2019-09-20 Data processing method, data processing device, node equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910898432.1A CN110599273B (en) 2019-09-20 2019-09-20 Data processing method, data processing device, node equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110599273A true CN110599273A (en) 2019-12-20
CN110599273B CN110599273B (en) 2021-07-06

Family

ID=68862389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910898432.1A Active CN110599273B (en) 2019-09-20 2019-09-20 Data processing method, data processing device, node equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110599273B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488777A (en) * 2020-10-31 2021-03-12 远光软件股份有限公司 Bill processing method and related device
CN112737974A (en) * 2020-12-24 2021-04-30 平安普惠企业管理有限公司 Service flow processing method and device, computer equipment and storage medium
CN113129088A (en) * 2021-03-31 2021-07-16 郭军 Payment terminal financial bill big data management method and system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain
CN107924389A (en) * 2015-07-02 2018-04-17 纳斯达克公司 The system and method traced to the source the safety of distributed transaction database
CN107968709A (en) * 2017-11-15 2018-04-27 财付通支付科技有限公司 Business data processing method, identity management method and operating audit method
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain
CN108961030A (en) * 2018-08-15 2018-12-07 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, system, medium and equipment
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109087024A (en) * 2018-08-28 2018-12-25 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109191219A (en) * 2018-08-13 2019-01-11 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109510860A (en) * 2018-08-31 2019-03-22 深圳市元征科技股份有限公司 A kind of data processing method, relevant device and system
CN109636492A (en) * 2018-12-07 2019-04-16 深圳市智税链科技有限公司 Tax administration method, apparatus, medium and electronic equipment based on block catenary system
CN109636427A (en) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 Method for processing business, device, medium and electronic equipment based on block catenary system
CN110060112A (en) * 2018-12-13 2019-07-26 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107924389A (en) * 2015-07-02 2018-04-17 纳斯达克公司 The system and method traced to the source the safety of distributed transaction database
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain
CN110233739A (en) * 2017-11-15 2019-09-13 财付通支付科技有限公司 Identity management method, device and storage medium
CN107968709A (en) * 2017-11-15 2018-04-27 财付通支付科技有限公司 Business data processing method, identity management method and operating audit method
CN108305106A (en) * 2018-01-31 2018-07-20 复旦大学 A kind of electronic invoice register method based on block chain
CN109191219A (en) * 2018-08-13 2019-01-11 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN108961030A (en) * 2018-08-15 2018-12-07 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, system, medium and equipment
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109087024A (en) * 2018-08-28 2018-12-25 腾讯科技(深圳)有限公司 About the data processing method of electronic bill, device, storage medium and equipment
CN109510860A (en) * 2018-08-31 2019-03-22 深圳市元征科技股份有限公司 A kind of data processing method, relevant device and system
CN109636492A (en) * 2018-12-07 2019-04-16 深圳市智税链科技有限公司 Tax administration method, apparatus, medium and electronic equipment based on block catenary system
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
CN110060112A (en) * 2018-12-13 2019-07-26 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN109636427A (en) * 2019-01-29 2019-04-16 深圳市智税链科技有限公司 Method for processing business, device, medium and electronic equipment based on block catenary system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488777A (en) * 2020-10-31 2021-03-12 远光软件股份有限公司 Bill processing method and related device
CN112488777B (en) * 2020-10-31 2024-01-16 远光软件股份有限公司 Bill processing method and related device
CN112737974A (en) * 2020-12-24 2021-04-30 平安普惠企业管理有限公司 Service flow processing method and device, computer equipment and storage medium
CN113129088A (en) * 2021-03-31 2021-07-16 郭军 Payment terminal financial bill big data management method and system
CN113129088B (en) * 2021-03-31 2022-12-02 郭军 Payment terminal financial bill big data management method and system

Also Published As

Publication number Publication date
CN110599273B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
US11694207B2 (en) Securing an exchange item associated with fraud
US20200058023A1 (en) Decentralized Data Marketplace
CN109727134B (en) Picture copyright trading method and device
CN110599276B (en) Bill reimbursement method, device and equipment and computer storage medium
US10679267B2 (en) Method and system for consumption based redemption in an exchange item marketplace network
JP2020503579A (en) Blockchain-based method and system for specifying recipients of electronic communication
WO2021135169A1 (en) Blockchain-based management method, terminal, apparatus, and storage medium
US20190066079A1 (en) Methods and systems using a computing platform for routing virtual receipts to customers with a scan-able code generated by the merchant
CN109690539A (en) Self-cleaning token pool
CN110599273B (en) Data processing method, data processing device, node equipment and storage medium
KR20190028517A (en) Distributing digital assets by transactional devices
JP4639676B2 (en) Rental server system
CA3183038A1 (en) Systems and methods for building blockchains for verifying assets for smart contracts
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN109559164B (en) Preferential information processing method and device, electronic equipment and computer readable medium
CN111680989A (en) Online transaction account system and online transaction method
CN112492533A (en) 5G rich media message pushing method and device based on block chain technology
CN111125785A (en) Account checking method based on block chain, account checking device and readable storage medium
CN110622189A (en) Efficient method and system for providing digital receipts
WO2021213474A1 (en) Blockchain-based tax administration method and apparatus, and computer storage medium
CN110599176B (en) Block chain-based data processing method and device, storage medium and node equipment
CN111383109A (en) Copyright transaction method and device for picture
CN110599184A (en) Method and device for network service account transaction, server and storage medium
KR20200130558A (en) Method for operating a crypto-currency exchange
WO2022204041A1 (en) Systems and methods for generating and transmitting digital proofs of ownership for purchased products

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