CN110535664B - Data processing method and device based on block chain, server and storage medium - Google Patents

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

Info

Publication number
CN110535664B
CN110535664B CN201910902075.1A CN201910902075A CN110535664B CN 110535664 B CN110535664 B CN 110535664B CN 201910902075 A CN201910902075 A CN 201910902075A CN 110535664 B CN110535664 B CN 110535664B
Authority
CN
China
Prior art keywords
public key
terminal
sub
enterprise
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910902075.1A
Other languages
Chinese (zh)
Other versions
CN110535664A (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 CN201910902075.1A priority Critical patent/CN110535664B/en
Publication of CN110535664A publication Critical patent/CN110535664A/en
Application granted granted Critical
Publication of CN110535664B publication Critical patent/CN110535664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/006Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving public key infrastructure [PKI] trust models
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3242Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Computing 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 device, a server and a storage medium based on a block chain, wherein the method comprises the following steps: acquiring to-be-processed bill data, wherein the to-be-processed bill data is formed when a first terminal and a second terminal perform asset transaction; acquiring a first public key of the first terminal; deriving a sub public key of the first public key according to the first public key; and uploading the to-be-processed bill data and the sub public key of the first public key to a block chain network, so that the block chain network stores the to-be-processed bill data into a storage address allocated to the sub public key of the first public key, and the leakage of the transaction information of a confidential enterprise can be avoided.

Description

Data processing method and device based on block chain, server 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 block chain, a server, and a storage medium.
Background
With the continuous development of the blockchain technology, because the data stored in the blockchain network has the characteristic of being not tampered, in order to avoid tax evasion of enterprises, after a server corresponding to a tax system receives bill data (such as an invoice) sent by an enterprise terminal, the bill data can be sent to the blockchain network for storage, so as to prevent the bill data from being maliciously tampered. After the block chain network receives the bill data and stores the bill data, the received bill data needs to be disclosed in the block chain network, so that each node device in the block chain network can acquire the bill data, an enterprise generating the bill data can be determined, and the bill data generated based on the transaction information of the enterprise of the confidential type needs to be stored in a confidential mode.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, a server and a storage medium based on a block chain, which can avoid the leakage of transaction information of a confidential enterprise.
In one aspect, an embodiment of the present invention provides a data processing method based on a block chain, where the method includes:
acquiring to-be-processed bill data, wherein the to-be-processed bill data is formed when a first terminal and a second terminal perform asset transaction;
acquiring a first public key of the first terminal;
deriving a sub public key of the first public key according to the first public key;
and uploading the bill data to be processed and the sub public key of the first public key to a block chain network, so that the block chain network stores the bill data to be processed into a storage address allocated to the sub public key of the first public key.
In another aspect, an embodiment of the present invention provides a data processing apparatus based on a block chain, where the apparatus includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring to-be-processed bill data which is formed when a first terminal and a second terminal perform asset transaction;
the obtaining unit is further configured to obtain a first public key of the first terminal;
the derivation unit is used for deriving a sub public key of the first public key according to the first public key;
and the uploading unit is used for uploading the to-be-processed bill data and the sub public key of the first public key to a block chain network, so that the block chain network stores the to-be-processed bill data into a storage address allocated to the sub public key of the first public key.
In another aspect, an embodiment of the present invention provides a server, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the foregoing method, where the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:
acquiring to-be-processed bill data, wherein the to-be-processed bill data is formed when a first terminal and a second terminal perform asset transaction;
acquiring a first public key of the first terminal;
deriving a sub public key of the first public key according to the first public key;
and uploading the bill data to be processed and the sub public key of the first public key to a block chain network, so that the block chain network stores the bill data to be processed into a storage address allocated to the sub public key of the first public key.
In yet another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which computer program instructions are stored, and when executed by a processor, the computer program instructions are configured to perform the method for processing data based on a blockchain according to the first aspect.
In the embodiment of the present invention, a server may obtain to-be-processed bill data, so that after obtaining a first public key of a first terminal, a sub public key of the first public key may be derived based on the first public key, further, the server may upload the sub public key of the first public key and the to-be-processed bill data obtained by the server to a blockchain network, so that the blockchain network may store the to-be-processed bill data in a storage address allocated to the sub public key of the first public key, based on a one-way property of a sub-derived public key algorithm, other node devices in the blockchain network may not obtain the first public key based on a back-push of the sub public key of the first public key, that is, a first terminal corresponding to the first public key and an enterprise corresponding to the first terminal may not be determined, and leakage of asset transaction information of the enterprise corresponding to the first terminal may be effectively prevented, the secure storage of the asset transaction of the enterprise corresponding to the first terminal can be realized, and the characteristic that the bill data to be processed cannot be tampered when stored in the blockchain network is ensured based on the characteristic of data storage in the blockchain network.
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 schematic diagram of an asset transaction system provided by an embodiment of the present invention;
FIG. 1b is a schematic diagram of an asset transaction system provided in accordance with another embodiment of the present invention;
fig. 2 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a data processing method based on a block chain according to another embodiment of the present invention;
fig. 4 is a schematic block diagram of a data processing apparatus based on a block chain according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a server according to an embodiment of the present invention.
Detailed Description
An embodiment of the present invention provides a data processing method based on a block chain, which can ensure security of data of a ticket generated based on an asset transaction, and specifically, the data processing method based on the block chain can be applied to an asset transaction system shown in fig. 1a, where the asset transaction system includes: the system comprises a server 10 corresponding to a tax system, a first terminal 11 corresponding to a purchasing enterprise (namely a buyer), and a second terminal 12 corresponding to a supplying enterprise (namely a seller), wherein if the purchasing enterprise corresponding to the first terminal 11 is a confidential type enterprise, confidential processing needs to be performed on transaction data generated based on an asset transaction behavior initiated by the first terminal 11 so as to prevent leakage of asset transaction information of the purchasing enterprise. Meanwhile, in order to avoid malicious tampering of transaction data generated by asset transaction behavior of the first terminal 11, the transaction data generated by the first terminal 11 may be uploaded to a blockchain network for storage, and in one embodiment, the transaction data includes ticket data and the like generated by asset transaction behavior of the first terminal, where the server 10, the first terminal 11, and the second terminal 12 are node devices on the blockchain network, and the blockchain network may receive asset transaction data corresponding to each node device in the network and store the asset transaction data in the blockchain network.
In one embodiment, the purchasing enterprise may send an asset transaction requirement to the second terminal 12 corresponding to the supplying enterprise through the first terminal 11, and after the second terminal 12 receives the asset transaction requirement, the asset transaction requirement may be analyzed to determine the commodity name and the commodity quantity of the specified transaction of the purchasing enterprise. After the second terminal 12 determines the commodity name and quantity of the commodity for the purchasing enterprise-specified transaction, the name of the stock goods and the corresponding quantity of the goods can be further obtained, after the name of the stock goods and the corresponding quantity of the goods are obtained by the second terminal 12, the item name and quantity of the specified transaction may be compared to the inventory item name and corresponding quantity, determining at said second terminal 12 that there is said procurement enterprise's designated trade item among the inventory items based on the item name of said designated trade, and the corresponding inventory quantity is greater than or equal to the quantity of the specified asset transaction, the second terminal 12 may then send the corresponding quantity of merchandise to the purchasing enterprise, and meanwhile, the bill data can be generated based on the asset transaction behavior and sent to the server 10 corresponding to the tax system.
In one embodiment, when the purchasing enterprise is a confidential type enterprise, the enterprise information and the asset transaction information of the purchasing enterprise need to be processed in a confidential manner, and in order to process the asset transaction information of the purchasing enterprise in a confidential manner, after the first terminal 11 corresponding to the purchasing enterprise registers in the tax system, the server 10 may generate the first public key corresponding to the first terminal 11 and store the first public key in the local system of the server 10, so as to ensure the confidential storage of the registration information of the first terminal. Based on the type of business of the purchasing enterprise, the first terminal is not a node device on the blockchain, and the server 10 and the second terminal 12 may or may not be node devices on the blockchain.
In one embodiment, when the server 10 and the second terminal 12 are node devices in the blockchain, as shown in fig. 1b, the first terminal 11 may first send an asset transaction request to a node device, such as node device 13, adjacent to the first terminal in the blockchain when sending the asset transaction request to the second terminal 12, where the node device adjacent to the first terminal includes: the node device closest to the geographical position of the first terminal in the block chain network or the node device closest to an Internet Protocol (IP) address of the first terminal. After the first terminal sends the asset transaction requirement to the node device 13 adjacent to the first terminal, the adjacent node device 13 may send the asset transaction requirement to the second terminal 12, and if the second terminal 12 is not a node device on the block chain, the first terminal 11 may directly send the asset transaction requirement to the second terminal 12.
In one embodiment, after the second terminal 12 generates the bill data and sends the generated bill data to the server 10, in order to store the bill data in a confidential manner, the server 10 may obtain the first public key corresponding to the first terminal 11 from a local system, and further, the server 10 may derive a sub public key of the first public key based on the first public key, so that the sub public key of the first public key and the bill data may be uploaded to a blockchain network, so that the blockchain network stores the sub public key of the first public key and the bill data in an associated manner, where the bill data may be, for example, invoice data.
In one embodiment, the server 10 may generate a first public key corresponding to the first terminal 11 based on a generation algorithm of a parent public key in a hierarchical Deterministic wallet (HD Wallets) technology, so that a child public key corresponding to the first public key may be subsequently generated based on the first public key, where the generation algorithm of the parent public key in the HD wallet technology includes: the method comprises the steps of obtaining a root seed from a random number generator, wherein the obtained root seed is a random number of 128-256 bits, and after the root seed is obtained, performing one-way hash calculation on the root seed to obtain a corresponding father public key. After the server 10 generates the first public key (i.e. the parent public key) corresponding to the first terminal 11 based on the HD wallet technology, further, the server 10 may derive a child public key of at least one of the first public keys based on the first public key, and when the server 10 derives a plurality of child private keys based on the first public key, the blockchain identifier generated by the server 10 when generating the first public key may be determined in advance, so that the child public key of the first public key may be generated based on the blockchain identifier and the first public key, and in an embodiment, the blockchain identifier generated by the server 10 when generating the first public key includes: a blockchain code, the blockchain code being a backbone code (chain code) corresponding to a backbone in the blockchain.
In an embodiment, when the server 10 derives the sub public key of the first public key based on the first public key, the sub public key of the first public key may be derived according to a preset public key derivation algorithm, specifically, the server 10 may first obtain a blockchain identifier of the blockchain from the blockchain network, so that hash calculation may be performed on the first public key and the blockchain identifier to obtain the sub public key of the first public key, where the server 10 may derive at least one sub public key of the first public key based on the first public key, and when the server 10 stores the ticket data and the sub public key of the first public key in an associated manner, the server 10 may store the ticket data in a storage address allocated to the sub public key of the first public key. In one embodiment, since the sub public key of the first public key is derived based on the first public key, the sub public key of the first public key does not point to the first terminal, and based on the one-way property of the hash algorithm, the power saving device on the blockchain network cannot derive the first public key based on the sub public key of the first public key, and cannot determine the purchasing enterprise corresponding to the bill data, thereby implementing the secure storage of the asset transaction information of the purchasing enterprise.
Referring to fig. 2, a flowchart of a data processing method based on a block chain according to an embodiment of the present invention is shown in fig. 2, where the method includes:
s201, obtaining bill data to be processed, wherein the bill data to be processed is formed when the first terminal and the second terminal conduct asset transaction.
In one embodiment, a server corresponding to the tax system may obtain, from a second terminal, bill data generated after an asset transaction is performed by a purchasing enterprise to the second terminal through a first terminal, where the asset transaction includes a material transaction or a fund transaction, and when an enterprise type of the enterprise corresponding to the first terminal (i.e., the purchasing enterprise mentioned above) is a confidential type, since the asset transaction information of the confidential type enterprise needs to be processed in a confidential manner, the first terminal does not belong to a node device of a block chain, and the second terminal and the server may belong to a node device of the block chain or not belong to a node device on the block chain. The billing data comprises invoice data and the like, and the invoice data is used for recording each asset transaction of the first terminal and the second terminal.
In one embodiment, if the second terminal and/or the server belongs to a node device on the blockchain, the first terminal may first send an asset transaction request to a node device on the blockchain that is closest to the first terminal, so that the closest node device may forward asset transaction information of the first terminal to the second terminal.
In an embodiment, when acquiring to-be-processed ticket data, the server may first receive registration information of an enterprise corresponding to the first terminal, which is sent by the first terminal, determine a first public key corresponding to the first terminal based on the registration information, and store the first public key in a local system of the server.
S202, acquiring a first public key of the first terminal.
In one embodiment, the first public key of the first terminal is generated by a server after the first terminal sends registration information of a corresponding enterprise to the server. When the server generates the first public key of the first terminal, a root seed may be randomly generated first, so that the root seed may be subjected to one-way Hash calculation to obtain the first public key corresponding to the first terminal, where the calculation rule for performing one-way Hash includes a calculation rule of a Hash-based Message Authentication Code (HMAC), where the calculation rule of the HMAC includes an HMAC-SHA512 calculation rule, and the registration information of the enterprise corresponding to the first terminal includes: after the server receives registration information of an enterprise corresponding to the first terminal, the enterprise type of the enterprise corresponding to the first terminal can be determined based on the registration information, and when the server determines that the enterprise type of the enterprise corresponding to the first terminal is a confidential type, the server can locally store a first public key of the first terminal after generating the first public key of the first terminal in order to realize confidentiality of the enterprise corresponding to the first terminal; or, if the server determines that the enterprise type of the enterprise corresponding to the first terminal is the public type, after generating the first public key of the first terminal, the server may send the first public key to the blockchain network, so as to prevent the information transaction of the first terminal from being tampered. The confidential type enterprises include related enterprises related to military security, national security or social stability.
In an embodiment, after acquiring the to-be-processed ticket data, if the server determines that the enterprise corresponding to the first terminal is a confidential enterprise, in order to implement confidential storage of the asset transaction information of the first terminal, the server may acquire the first public key of the first terminal from a local system, so as to derive a sub-public key of the first public key based on the first public key, that is, turn to execute step S203. Or, the server may further obtain a root seed used for generating the first public key of the first terminal, and determine the first public key of the first terminal based on the root seed.
S203, deriving a sub public key of the first public key according to the first public key.
In an embodiment, the server may derive the child public key of the first public key according to a preset child public key derivation algorithm, specifically, the preset child public key derivation algorithm may be, for example, a derivation algorithm for generating a corresponding child public key based on a parent public key in an HD wallet, when the server generates the first public key of the first terminal based on registration information of an enterprise corresponding to the first terminal, the server may simultaneously determine a backbone code corresponding to the blockchain network, and when the server derives the child public key of the first public key according to the first public key, the server may first obtain the backbone code determined when the first public key is generated, so that the child public key of the first public key may be determined according to a one-way hash operation rule based on the backbone code and the first public key.
In an embodiment, when the server derives the sub public key of the first public key, after acquiring the to-be-processed ticket data each time, the server may derive a corresponding sub public key, so that the to-be-processed ticket data may be stored in a storage address corresponding to the derived sub public key, or the server may also derive a plurality of sub public keys at the same time, and the server may select a target sub public key for storing the to-be-processed ticket data from the derived plurality of sub public keys and store the to-be-processed ticket data in the storage address corresponding to the target sub public key.
In an embodiment, when the server derives the corresponding sub public key based on the first public key, the server may first determine the enterprise type of the enterprise corresponding to the first terminal, and when the server determines that the enterprise type of the enterprise corresponding to the first terminal is a confidential type, the deriving step is performed. If the server determines that the enterprise type of the enterprise corresponding to the first terminal is the public type, the server can execute the step of uploading the to-be-processed bill data and the first public key to a block chain network, so that the block chain network can store the to-be-processed bill data in a storage address allocated for the first public key.
S204, uploading the bill data to be processed and the sub public key of the first public key to a block chain network, so that the block chain network stores the bill data to be processed in a storage address allocated to the sub public key of the first public key.
In one embodiment, after acquiring to-be-processed bill data and determining a sub public key derived based on the first public key, in order to ensure that the to-be-processed bill data is not tampered and asset transaction information of an enterprise corresponding to the first terminal is not leaked, the server may upload the acquired to-be-processed bill data and the sub public key of the first public key to a block chain network, and when uploading the to-be-processed bill data and the sub public key of the first public key to the block chain network, the server may directly upload the to-be-processed bill data and the sub public key corresponding to the first public key to the block chain network, so that the block chain network stores the to-be-processed bill data into a storage address allocated to the sub public key of the first public key after receiving the uploaded to-be-processed bill data and the sub public key of the first public key, malicious tampering of the to-be-processed bill data by other nodes can be avoided, and the to-be-processed bill data is not stored in the storage address corresponding to the first public key of the first terminal, so that other node devices in the blockchain network cannot determine the enterprise generating the asset transaction indicated by the to-be-processed bill data, and confidential storage of asset transaction information of the enterprise corresponding to the first terminal is realized.
In an embodiment, the server may also sign the ticket data based on a sub-private key corresponding to a sub-public key of the first public key, and further, the server may upload the signed ticket data and the sub-public key of the first public key to the block chain network, and after receiving the signed ticket data, the block chain network may verify the signed ticket data based on the sub-public key of the first public key to determine the authenticity and validity of the ticket data to be processed, and may effectively avoid a possibility that the ticket data to be processed is tampered during transmission.
In the embodiment of the present invention, a server may obtain to-be-processed bill data, so that after obtaining a first public key of a first terminal, a sub public key of the first public key may be derived based on the first public key, further, the server may upload the sub public key of the first public key and the to-be-processed bill data obtained by the server to a blockchain network, so that the blockchain network may store the to-be-processed bill data in a storage address allocated to the sub public key of the first public key, based on a one-way property of a sub-derived public key algorithm, other node devices in the blockchain network may not obtain the first public key based on a back-push of the sub public key of the first public key, that is, a first terminal corresponding to the first public key and an enterprise corresponding to the first terminal may not be determined, and leakage of asset transaction information of the enterprise corresponding to the first terminal may be effectively prevented, the secure storage of the asset transaction of the enterprise corresponding to the first terminal can be realized, and the characteristic that the bill data to be processed cannot be tampered when stored in the blockchain network is ensured based on the characteristic of data storage in the blockchain network.
Referring to fig. 3, a schematic flow chart of a data processing method based on a block chain according to another embodiment of the present invention is shown in fig. 3, where the method includes:
s301, acquiring bill data to be processed.
In an embodiment, a specific implementation manner of step S301 may refer to a specific implementation manner of step S201 in the foregoing embodiment, and is not described herein again.
S302, a first public key of the first terminal is obtained.
In an embodiment, before acquiring the first public key of the first terminal, the server stores the first public key in a local system after generating the first public key, and when the enterprise corresponding to the first terminal is a confidential enterprise, in order to avoid leakage of asset transaction information of the enterprise corresponding to the first terminal, the server may set an acquisition authority for acquiring the first public key after storing the first public key in the local system, and when subsequently acquiring the first public key of the first terminal, the server needs to acquire the first public key of the first terminal from the local system after determining to acquire the authority.
In an embodiment, the server stores the first public key in a local system, and after setting an acquisition permission of the first public key, the server may send the permission to the first terminal, so as to ensure secure storage of the first public key, and may effectively avoid leakage of transaction information of an enterprise corresponding to the first terminal.
S303, obtaining the blockchain identifier from the blockchain network.
S304, carrying out Hash calculation on the first public key and the block chain identification to obtain a sub public key of the first public key.
In an embodiment, steps S303 and S304 are specific refinements of step S203 in the foregoing embodiment, where before deriving the sub-public key of the first public key from the first public key of the first terminal, the server may further determine an enterprise type of the enterprise corresponding to the first terminal, and the server may determine the enterprise type of the enterprise corresponding to the first terminal based on the registration information of the enterprise corresponding to the first terminal. Specifically, the server may obtain registration information of an enterprise corresponding to the first terminal, and determine an enterprise type of the enterprise corresponding to the first terminal according to the registration information, where the enterprise type includes a confidential type and a public type, the confidential type is a type in which a public key generated by the corresponding terminal is not public, the public type is a type in which the public key generated by the corresponding terminal is public, and the confidential type of enterprise includes enterprises related to national security, military security, social stability, and the like.
In an embodiment, when determining that the enterprise type of the enterprise corresponding to the first terminal is the confidential type, the server may derive a sub public key of the first public key according to the first public key of the first terminal, and after determining a storage address allocated to the sub public key of the first public key, store the to-be-processed ticket data in the storage address allocated to the sub public key of the first public key, that is, execute step S305 instead, so as to implement confidential storage of the to-be-processed ticket data and prevent leakage of asset transaction information of the enterprise corresponding to the first terminal. If the server determines that the enterprise type of the enterprise corresponding to the first terminal is the public type, the server does not perform the step of deriving the sub public key of the first public key, and can determine the storage address allocated to the first public key, so that the bill data to be processed can be stored in the storage address allocated to the first public key, the safe storage of the bill data is realized, and the malicious tampering of the bill data can be prevented.
S305, uploading the bill data to be processed and the sub public key of the first public key to a block chain network, so that the block chain network stores the bill data to be processed in a storage address allocated to the sub public key of the first public key.
After the server uploads the to-be-processed bill data and the sub public key of the first public key to the block chain network, the server can collect taxes on enterprises corresponding to terminals performing asset transactions based on the bill data stored in the block chain network. In an embodiment, the server may collect taxation on the second terminal, and when the server collects taxation on the second terminal, the server may obtain, from a blockchain network, billing data corresponding to all asset transactions performed by an enterprise corresponding to the second terminal (i.e., the above-mentioned supply enterprise), where all the billing data corresponding to all asset transactions performed by the enterprise corresponding to the second terminal, which are stored in the blockchain network, are uploaded by the second terminal and stored in the blockchain network. The server may establish an association relationship between a public key corresponding to each terminal performing asset transaction with the second terminal and a second public key corresponding to the second terminal, so that the server may obtain all the bill data formed by performing asset transaction with the enterprise corresponding to the second terminal from the blockchain network.
In one embodiment, the server, when establishing the association relationship between the first public key and the second public key of the first terminal performing the asset transaction with the second terminal, a second public key of the second terminal may be obtained first, where the second public key of the second terminal is generated by the server when the server receives the registration information of the corresponding enterprise sent by the second terminal, and further, the server may determine, based on registration information of an enterprise corresponding to the second terminal, an enterprise type of the enterprise corresponding to the second terminal, and if it is determined that the enterprise type of the enterprise corresponding to the second terminal is a public type, may upload the generated second public key of the second terminal to the blockchain network, and when the server collects taxes on the enterprise corresponding to the second terminal, the server can acquire a second public key of the second terminal from the block chain network.
In one embodiment, after receiving the second public key of the second terminal uploaded by the server, the blockchain network may allocate a storage address to the second public key, and further, the server may determine an association relationship between the storage address of the second public key and a storage address corresponding to a sub-public key of the first public key. When an asset transaction is formed between the first terminal and the second terminal, an association relationship exists between a storage address of the second public key and a storage address corresponding to a sub public key of the first public key, and further, the server can store the association relationship into a storage address allocated for the second public key, so that the server can obtain all bill data participated by an enterprise corresponding to the second terminal based on the second public key of the second terminal and a public key associated with the second public key stored in the storage address allocated for the second public key, and thus, tax collection of the enterprise corresponding to the second terminal is realized.
In an embodiment, when performing tax collection on the second terminal, a server may receive a tax declaration request sent by the second terminal, and according to the tax declaration request, the server may obtain, from the blockchain network, a public key set associated with the second public key, where the tax declaration request includes enterprise information of an enterprise corresponding to the second terminal, and the enterprise information may be, for example, an enterprise identifier of the enterprise corresponding to the second terminal, based on the enterprise identifier, the server may determine the enterprise for which the tax declaration request indicates declaration, and may obtain, from the blockchain network, a public key set associated with the second public key based on the enterprise identifier, and an asset transaction exists between the enterprise indicated by each public key in the public key set and the second terminal. After the server determines the public key set associated with the second public key, the server may obtain the bill data generated by the second terminal from the blockchain network based on the storage address of each public key in the public key set, so that the server may obtain all the bill data generated by the second terminal from the blockchain network.
In one embodiment, when deriving the sub public key of the first public key, the server may obtain a plurality of sub public keys of the first public key, where a storage address corresponding to each sub public key is used to store the ticket data formed by one asset transaction in which the first terminal participates. After the server uploads the to-be-processed bill data and the sub public key of the first public key to a block chain network, the server can also collect taxes on the first terminal based on the bill data stored in the block chain. When the server collects taxes for the first terminal, the server may receive a tax declaration request sent by the first terminal, where the tax declaration request sent by the first terminal includes enterprise information of an enterprise corresponding to the first terminal, and determine a first public key corresponding to the first terminal based on the enterprise information of the enterprise corresponding to the first terminal, so that a storage address corresponding to a sub-public key of the first public key may be obtained from the block chain network based on the sub-public key of the first public key.
After the server determines the storage address corresponding to the sub public key of the first public key, the server may obtain, from the blockchain network, the ticket data formed by the asset transaction in which the first terminal participates, according to the storage address corresponding to the sub public key of the first public key, and further, the server can determine the tax corresponding to the first terminal according to the bill data formed by the transaction in which the first terminal participates, and acquire the electronic resource with the tax and the like of the first terminal from the first terminal, in one embodiment, the electronic resource includes electronic currency, or the like, that is exchanged from the issuer with an amount of cash or credit and obtains data representing the same amount, and the balance in the bank can be transferred by using some electronic way, thereby realizing the currency of the transaction.
In one embodiment, after receiving a tax declaration request sent by the first terminal, the server may derive all sub public keys of the first public key based on the first public key of the first terminal, so that the bill data formed by the asset transaction in which the first terminal participates may be determined based on the storage address corresponding to the sub public keys, and the tax corresponding to the first terminal may be determined based on the bill data formed by the asset transaction in which the first terminal participates, thereby implementing tax collection on an enterprise corresponding to the first terminal.
In the embodiment of the present invention, after acquiring to-be-processed ticket data and a first public key of the first terminal, the server may acquire an identifier of a block chain from a block chain network, so that a sub public key of the first public key may be determined based on the identifier of the block chain and the first public key, and after determining the sub public key of the first public key, the server may upload the sub public key of the first public key and the to-be-processed ticket data to the block chain network, so that the block chain network may store the to-be-processed ticket data in a storage address allocated to the sub public key of the first public key. Furthermore, the server can collect tax on the enterprise based on the bill data stored in the blockchain network, and can avoid tax evasion and tax leakage of the enterprise based on the characteristic that the data stored in the blockchain cannot be tampered.
Based on the above description of the embodiment of the data processing method based on the blockchain, an embodiment of the present invention further provides a data processing apparatus based on the blockchain, where the data processing apparatus based on the blockchain may be a computer program (including a program code) running in the server. The block chain based data processing apparatus may be configured to perform the block chain based data processing method shown in fig. 2 and 3, and referring to fig. 4, the block chain based data processing apparatus may include: an acquisition unit 401, a derivation unit 402 and an upload unit 403.
An obtaining unit 401, configured to obtain to-be-processed ticket data, where the to-be-processed ticket data is formed when a first terminal and a second terminal perform asset transaction;
the obtaining unit 401 is further configured to obtain a first public key of the first terminal;
a deriving unit 402, configured to derive a sub public key of the first public key according to the first public key;
an uploading unit 403, configured to upload the to-be-processed ticket data and the sub public key of the first public key to a block chain network, so that the block chain network stores the to-be-processed ticket data in a storage address allocated to the sub public key of the first public key.
In one embodiment, the apparatus further comprises: a determination unit 404.
The obtaining unit 401 is further configured to obtain registration information of an enterprise corresponding to the first terminal;
a determining unit 404, configured to determine, according to the registration information, an enterprise type of an enterprise corresponding to the first terminal, where the enterprise type includes a secret type and a public type, and the secret type is a type in which a public key generated by a corresponding terminal is not disclosed;
the deriving unit 402 is further configured to, when it is determined that the enterprise type of the enterprise corresponding to the first terminal is the security type, execute the step of deriving a sub public key of the first public key according to the first public key.
In an embodiment, the deriving unit 402 is specifically configured to:
acquiring a block chain identifier from the block chain network;
and carrying out Hash calculation on the first public key and the block chain identification to obtain a sub public key of the first public key.
In one embodiment, the apparatus further comprises: a memory unit 405.
The obtaining unit 401 is further configured to obtain a second public key of the second terminal, and upload the second public key to the blockchain network, so that the blockchain network allocates a storage address for the second public key;
the obtaining unit 401 is further configured to obtain, from the blockchain network, a storage address allocated to a sub public key of the first public key;
the determining unit 404 is further configured to determine an association relationship between a storage address of the second public key and a storage address corresponding to a sub public key of the first public key;
a storage unit 405, configured to store the association relationship in a storage address allocated to the second public key.
In one embodiment, the apparatus further comprises: a receiving unit 406.
A receiving unit 406, configured to receive a tax declaration request sent by the second terminal, and acquire a public key set associated with the second public key from the blockchain network;
the obtaining unit 401 is further configured to obtain, from the blockchain network, ticket data generated by the second terminal based on a storage address of each public key in the public key set;
the obtaining unit 401 is further configured to determine the tax fund of the second terminal according to the ticket data generated by the second terminal, and obtain an electronic resource with an amount equal to the tax fund of the second terminal from the second terminal.
In one embodiment, the number of the sub public keys of the first public key is multiple, and the corresponding storage address of each sub public key is used for storing the bill data formed by one asset transaction in which the first terminal participates.
In an embodiment, the receiving unit 406 is further configured to receive a tax declaration request sent by the first terminal;
the obtaining unit 401 is further configured to obtain, based on the sub public key of the first public key, a storage address corresponding to the sub public key of the first public key from the blockchain network;
the obtaining unit 401 is further configured to obtain, from the blockchain network, ticket data formed by an asset transaction in which the first terminal participates according to a storage address corresponding to a sub public key of the first public key;
the determining unit 404 is further configured to determine a tax corresponding to the first terminal according to the data of the ticket formed by the transaction in which the first terminal participates;
the obtaining unit 401 is further configured to obtain, from the first terminal, an electronic resource that is equal to the tax fund of the first terminal.
In one embodiment, the apparatus further comprises: a transmitting unit 407.
A sending unit 407, configured to send an authorization request to the first terminal, where the authorization request is used to request to obtain a first public key of the first terminal;
the obtaining unit 401 is further configured to obtain the first public key of the first terminal after obtaining the authorization.
In this embodiment of the present invention, the obtaining unit 401 obtains ticket data to be processed, and after obtaining a first public key of a first terminal, the deriving unit 402 derives a sub public key of the first public key based on the first public key, further, the uploading unit 403 may upload the sub public key of the first public key and the obtained ticket data to be processed to a block chain network, so that the block chain network may store the ticket data to be processed in a storage address allocated to the sub public key of the first public key, based on a single-direction of a sub derived public key algorithm, other node devices in the block chain network may not obtain the first public key based on a back-deduction of the sub public key of the first public key, that is, a first terminal corresponding to the first public key and an enterprise corresponding to the first terminal may not be determined, which may effectively prevent leakage of asset transaction information of the enterprise corresponding to the first terminal, the secure storage of the asset transaction of the enterprise corresponding to the first terminal can be realized, and the characteristic that the bill data to be processed cannot be tampered when stored in the blockchain network is ensured based on the characteristic of data storage in the blockchain network.
Fig. 5 is a schematic block diagram of a server according to an embodiment of the present invention. The server in the present embodiment as shown in fig. 5 may include: one or more processors 501; one or more input devices 502, one or more output devices 503, and memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 504 is used for storing a computer program comprising program instructions, and the processor 501 is used for executing the program instructions stored by the memory 504.
The memory 504 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 504 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 504 may also comprise a combination of the above-described types of memory.
The processor 501 may be a Central Processing Unit (CPU). The processor 501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like. The processor 501 may also be a combination of the above structures.
In the embodiment of the present invention, the memory 504 is used for storing a computer program, the computer program includes program instructions, and the processor 501 is used for executing the program instructions stored in the memory 504, so as to implement the steps of the corresponding methods in fig. 2 and fig. 3.
In one embodiment, the processor 501 is configured to call the program instructions to perform:
acquiring to-be-processed bill data, wherein the to-be-processed bill data is formed when a first terminal and a second terminal perform asset transaction;
acquiring a first public key of the first terminal;
deriving a sub public key of the first public key according to the first public key;
and uploading the bill data to be processed and the sub public key of the first public key to a block chain network, so that the block chain network stores the bill data to be processed into a storage address allocated to the sub public key of the first public key.
In one embodiment, the processor 501 is further configured to call the program instructions for performing:
acquiring registration information of an enterprise corresponding to the first terminal, and determining an enterprise type of the enterprise corresponding to the first terminal according to the registration information, wherein the enterprise type comprises a confidential type and a public type, and the confidential type refers to a type that a public key generated by the corresponding terminal is not public;
and when the enterprise type of the enterprise corresponding to the first terminal is determined to be the secret type, the step of deriving the sub public key of the first public key according to the first public key is executed.
In one embodiment, the processor 501 is further configured to call the program instructions for performing:
acquiring a block chain identifier from the block chain network;
and carrying out Hash calculation on the first public key and the block chain identification to obtain a sub public key of the first public key.
In one embodiment, the processor 501 is further configured to call the program instructions for performing:
acquiring a second public key of the second terminal, and uploading the second public key to the block chain network, so that the block chain network allocates a storage address for the second public key;
obtaining a storage address allocated to a sub public key of the first public key from the blockchain network;
and determining the association relationship between the storage address of the second public key and the storage address corresponding to the sub public key of the first public key, and storing the association relationship into the storage address allocated to the second public key.
In one embodiment, the processor 501 is further configured to call the program instructions for performing:
receiving a tax declaration request sent by the second terminal, and acquiring a public key set associated with the second public key from the block chain network;
acquiring bill data generated by the second terminal from the blockchain network based on the storage address of each public key in the public key set;
and determining the tax of the second terminal according to the bill data generated by the second terminal, and acquiring the electronic resources with the same amount as the tax of the second terminal from the second terminal.
In one embodiment, the number of the sub public keys of the first public key is multiple, and the corresponding storage address of each sub public key is used for storing the bill data formed by one asset transaction in which the first terminal participates.
In one embodiment, the processor 501 is further configured to call the program instructions for performing:
receiving a tax declaration request sent by the first terminal, and acquiring a storage address corresponding to a sub public key of the first public key from the block chain network based on the sub public key of the first public key;
acquiring bill data formed by asset trading participated by the first terminal from the blockchain network according to a storage address corresponding to a sub public key of the first public key;
and determining the tax corresponding to the first terminal according to the bill data formed by the transaction in which the first terminal participates, and acquiring electronic resources with the same amount as the tax of the first terminal from the first terminal.
In one embodiment, the processor 501 is further configured to call the program instructions for performing:
sending an authorization request to the first terminal, wherein the authorization request is used for requesting to acquire a first public key of the first terminal;
and acquiring a first public key of the first terminal after obtaining the authorization.
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 particular embodiment, 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 block chain is characterized by comprising the following steps:
acquiring to-be-processed bill data, wherein the to-be-processed bill data is formed when a first terminal and a second terminal perform asset transaction;
acquiring a first public key of the first terminal;
acquiring registration information of an enterprise corresponding to the first terminal, and determining an enterprise type of the enterprise corresponding to the first terminal according to the registration information, wherein the enterprise type comprises a confidential type and a public type, and the confidential type refers to a type that a public key generated by the corresponding terminal is not public;
when the enterprise type of the enterprise corresponding to the first terminal is determined to be the confidential type, deriving a sub public key of the first public key according to the first public key;
and uploading the bill data to be processed and the sub public key of the first public key to a block chain network, so that the block chain network stores the bill data to be processed into a storage address allocated to the sub public key of the first public key.
2. The method of claim 1, wherein deriving the sub-public key of the first public key from the first public key comprises:
acquiring a block chain identifier from the block chain network;
and carrying out Hash calculation on the first public key and the block chain identification to obtain a sub public key of the first public key.
3. The method of claim 1, further comprising:
acquiring a second public key of the second terminal, and uploading the second public key to the block chain network, so that the block chain network allocates a storage address for the second public key;
obtaining a storage address allocated to a sub public key of the first public key from the blockchain network;
and determining the association relationship between the storage address of the second public key and the storage address corresponding to the sub public key of the first public key, and storing the association relationship into the storage address allocated to the second public key.
4. The method of claim 3, further comprising:
receiving a tax declaration request sent by the second terminal, and acquiring a public key set associated with the second public key from the block chain network;
acquiring bill data generated by the second terminal from the blockchain network based on the storage address of each public key in the public key set;
and determining the tax of the second terminal according to the bill data generated by the second terminal, and acquiring the electronic resources with the same amount as the tax of the second terminal from the second terminal.
5. The method according to claim 1, wherein the number of the sub public keys of the first public key is plural, and the storage address corresponding to each sub public key is used for storing the ticket data formed by one asset transaction in which the first terminal participates.
6. The method of claim 5, further comprising:
receiving a tax declaration request sent by the first terminal, and acquiring a storage address corresponding to a sub public key of the first public key from the block chain network based on the sub public key of the first public key;
acquiring bill data formed by asset trading participated by the first terminal from the blockchain network according to a storage address corresponding to a sub public key of the first public key;
and determining the tax corresponding to the first terminal according to the bill data formed by the transaction in which the first terminal participates, and acquiring electronic resources with the same amount as the tax of the first terminal from the first terminal.
7. The method of claim 1, wherein before obtaining the first public key of the first terminal, the method further comprises:
sending an authorization request to the first terminal, wherein the authorization request is used for requesting to acquire a first public key of the first terminal;
and acquiring a first public key of the first terminal after obtaining the authorization.
8. A blockchain-based 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 to-be-processed bill data which is formed when a first terminal and a second terminal perform asset transaction;
the obtaining unit is further configured to obtain a first public key of the first terminal;
the acquiring unit is further configured to acquire registration information of an enterprise corresponding to the first terminal;
a determining unit, configured to determine, according to the registration information, an enterprise type of an enterprise corresponding to the first terminal, where the enterprise type includes a secret type and a public type, and the secret type is a type in which a public key generated by a corresponding terminal is not disclosed;
the deriving unit is used for deriving a sub public key of the first public key according to the first public key when the enterprise type of the enterprise corresponding to the first terminal is determined to be the secret type;
and the uploading unit is used for uploading the to-be-processed bill data and the sub public key of the first public key to a block chain network, so that the block chain network stores the to-be-processed bill data into a storage address allocated to the sub public key of the first public key.
9. A server, comprising a processor, a memory, and a communication interface, the processor, the memory, and the communication interface being interconnected, wherein the memory is configured to store computer program instructions and the processor is configured to execute the program instructions to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, are adapted to perform the method of blockchain-based data processing according to any one of claims 1 to 7.
CN201910902075.1A 2019-09-20 2019-09-20 Data processing method and device based on block chain, server and storage medium Active CN110535664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910902075.1A CN110535664B (en) 2019-09-20 2019-09-20 Data processing method and device based on block chain, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910902075.1A CN110535664B (en) 2019-09-20 2019-09-20 Data processing method and device based on block chain, server and storage medium

Publications (2)

Publication Number Publication Date
CN110535664A CN110535664A (en) 2019-12-03
CN110535664B true CN110535664B (en) 2021-03-26

Family

ID=68669754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910902075.1A Active CN110535664B (en) 2019-09-20 2019-09-20 Data processing method and device based on block chain, server and storage medium

Country Status (1)

Country Link
CN (1) CN110535664B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861285A (en) * 2020-08-07 2020-10-30 浙江华电器材检测研究所有限公司 Power distribution network material quality data high-reliability real-time management and control method and system based on block chain technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017145048A1 (en) * 2016-02-23 2017-08-31 nChain Holdings Limited Cryptographic method and system for secure extraction of data from a blockchain
CN107480986A (en) * 2017-08-14 2017-12-15 飞天诚信科技股份有限公司 A kind of method and hardware wallet that digital cash wallet is realized using hardware
CN108809953A (en) * 2018-05-22 2018-11-13 飞天诚信科技股份有限公司 A kind of method and device of the anonymous Identity certification based on block chain
CN110008738A (en) * 2019-02-21 2019-07-12 网易(杭州)网络有限公司 For the caching method of block chain contract data, device, medium and calculate equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10102526B1 (en) * 2017-03-31 2018-10-16 Vijay K. Madisetti Method and system for blockchain-based combined identity, ownership, integrity and custody management
CN109409874A (en) * 2018-09-17 2019-03-01 烨链(上海)科技有限公司 Method of payment, offline terminal and online terminal based on block chain
CN109903025B (en) * 2019-02-11 2023-01-13 杭州复杂美科技有限公司 Red packet processing method, device and storage medium
CN109934566B (en) * 2019-02-11 2023-04-14 杭州复杂美科技有限公司 Red packet processing method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017145048A1 (en) * 2016-02-23 2017-08-31 nChain Holdings Limited Cryptographic method and system for secure extraction of data from a blockchain
CN107480986A (en) * 2017-08-14 2017-12-15 飞天诚信科技股份有限公司 A kind of method and hardware wallet that digital cash wallet is realized using hardware
CN108809953A (en) * 2018-05-22 2018-11-13 飞天诚信科技股份有限公司 A kind of method and device of the anonymous Identity certification based on block chain
CN110008738A (en) * 2019-02-21 2019-07-12 网易(杭州)网络有限公司 For the caching method of block chain contract data, device, medium and calculate equipment

Also Published As

Publication number Publication date
CN110535664A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
US10790976B1 (en) System and method of blockchain wallet recovery
CN109255084B (en) Electronic bill query method, device, storage medium and computer equipment
CN110009337B (en) Data processing method and device based on block chain
CN107438002B (en) Block chain based system and electronic device and method in system
US11481375B2 (en) Point-to-point distributed decentralized system
US20160342977A1 (en) Device, method and system for virtual asset transactions
TWI748209B (en) Two-dimensional code anti-counterfeiting method, equipment and system based on security application
CN112215608A (en) Data processing method and device
CN111476572B (en) Block chain-based data processing method, device, storage medium and equipment
KR20180014534A (en) Verification system and method for transaction based block chain
CN113508410A (en) Computer-implemented system and method for effecting transfers over blockchain networks
CN110546672A (en) System and method for distributing data records using blockchains
US10992465B2 (en) Blockchain authorization information generation
CN115632854A (en) Data processing method and device based on block chain
CN110633963A (en) Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
CN111383021A (en) Node management method, device, equipment and medium based on block chain network
CN111314172B (en) Block chain-based data processing method, device, equipment and storage medium
CN110149323B (en) Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity
CN111416709B (en) Voting method, device, equipment and storage medium based on block chain system
CN111369257B (en) Method and device for realizing asset withholding on block chain through intelligent contract
US20220036351A1 (en) Method and apparatus for resource exchange
US11502837B2 (en) Techniques for performing secure operations
US11943210B2 (en) System and method for distributed, keyless electronic transactions with authentication
US20220286291A1 (en) Secure environment for cryptographic key generation
CN110535664B (en) Data processing method and device based on block chain, server and storage medium

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