CN111461799A - Data processing method, data processing device, computer equipment and medium - Google Patents

Data processing method, data processing device, computer equipment and medium Download PDF

Info

Publication number
CN111461799A
CN111461799A CN202010249536.2A CN202010249536A CN111461799A CN 111461799 A CN111461799 A CN 111461799A CN 202010249536 A CN202010249536 A CN 202010249536A CN 111461799 A CN111461799 A CN 111461799A
Authority
CN
China
Prior art keywords
node
self
bill
transaction data
target transaction
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
CN202010249536.2A
Other languages
Chinese (zh)
Other versions
CN111461799B (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 CN202010249536.2A priority Critical patent/CN111461799B/en
Publication of CN111461799A publication Critical patent/CN111461799A/en
Application granted granted Critical
Publication of CN111461799B publication Critical patent/CN111461799B/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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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/602Providing cryptographic facilities or services
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application discloses a data processing method, a data processing device, computer equipment and a medium; the method comprises the following steps: the self-building node receives consumption information sent by a consumption user and constructs a target bill according to the consumption information; signing the target bill by adopting a user private key of a consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information; generating target transaction data according to the first signature information, the second signature information and the target bill; the target transaction data are sent to the bill node, so that the bill node verifies the legality of the target transaction data, and the target transaction data are broadcasted to the consensus node after the target transaction data pass the verification; and after the target transaction data passes the consensus, submitting the target transaction data to a block chain of the block chain network. This application can effectively promote the efficiency of making an invoice, reduces the human cost.

Description

Data processing method, data processing device, computer equipment and medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to the field of communication computing technologies, and in particular, to a data processing method based on a blockchain network, a data processing apparatus, a computer device, and a computer storage medium.
Background
At present, when enterprises or individuals have the billing requirements of bills, consumption information is generally required to be provided for professional billing personnel; constructing a bill according to the consumption information in the electronic tax bureau by the invoicer, and storing the constructed bill in the electronic tax bureau. Therefore, the conventional invoicing mode needs the manual participation of professional invoices, and the invoicing efficiency and the labor cost are low; and, the bill is stored in the electronic tax bureau, so that the safety of the bill is low.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, computer equipment and a data processing medium based on a block chain network, which can reduce the labor cost, effectively improve the billing efficiency and the bill safety.
In one aspect, an embodiment of the present invention provides a data processing method based on a blockchain network, where the blockchain network includes a self-established node, a note node, and a consensus node; the method comprises the following steps:
the self-building node receives consumption information sent by a consumption user and constructs a target bill according to the consumption information; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
signing the target bill by adopting a user private key of the consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information;
generating target transaction data according to the first signature information, the second signature information and the target bill;
sending the target transaction data to the bill node, so that the bill node verifies the legality of the target transaction data, and broadcasting the target transaction data to the consensus node after the target transaction data passes the verification; and enabling the consensus node to perform consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one aspect, an embodiment of the present invention provides a data processing method based on a blockchain network, where the blockchain network includes a self-established node, a note node, and a consensus node; the method comprises the following steps:
the ticket node receives target transaction data sent by the self-establishment node, wherein the target transaction data is generated by the self-establishment node according to the first signature information, the second signature information and the target ticket; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by adopting a user private key of the consumption user, and the second signature information is obtained by signing the target bill by adopting a node private key of the self-constructed node; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
verifying the legality of the target transaction data;
and if the target transaction data passes the validity verification, broadcasting the target transaction data to the consensus node, so that the consensus node performs consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one aspect, an embodiment of the present invention provides a data processing apparatus, where the data processing apparatus operates in a self-established node in a blockchain network, and the apparatus includes:
the receiving unit is used for receiving consumption information sent by a consumption user and constructing a target bill according to the consumption information; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
the processing unit is used for signing the target bill by adopting a user private key of the consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information;
the processing unit is further used for generating target transaction data according to the first signature information, the second signature information and the target bill;
the sending unit is used for sending the target transaction data to the bill node, so that the bill node verifies the legality of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and enabling the consensus node to perform consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one aspect, an embodiment of the present invention provides a data processing apparatus, where the data processing apparatus operates in a ticket node in a blockchain network, and the apparatus includes:
the receiving unit is used for receiving target transaction data sent by the self-establishment node, and the target transaction data is generated by the self-establishment node according to the first signature information, the second signature information and the target bill; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by adopting a user private key of the consumption user, and the second signature information is obtained by signing the target bill by adopting a node private key of the self-constructed node; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
the verification unit is used for verifying the legality of the target transaction data;
and the sending unit is used for broadcasting the target transaction data to the consensus node if the target transaction data passes the validity verification, so that the consensus node performs consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one aspect, an embodiment of the present invention provides a computer device, where the computer device is the above-mentioned self-building node or the above-mentioned note node; the computer device includes an input interface and an output interface, the computer device further including:
a processor adapted to implement one or more instructions; and, a computer storage medium;
if the computer device is a self-building node, the computer storage medium stores one or more first instructions adapted to be loaded by the processor and perform the steps of:
receiving consumption information sent by a consumption user, and constructing a target bill according to the consumption information; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
signing the target bill by adopting a user private key of the consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information;
generating target transaction data according to the first signature information, the second signature information and the target bill;
sending the target transaction data to the bill node, so that the bill node verifies the legality of the target transaction data, and broadcasting the target transaction data to the consensus node after the target transaction data passes the verification; and enabling the consensus node to perform consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
If the computer device is a ticketing node, the computer storage medium having stored thereon one or more second instructions adapted to be loaded by the processor and perform the steps of:
receiving target transaction data sent by the self-construction node, wherein the target transaction data is generated by the self-construction node according to the first signature information, the second signature information and the target bill; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by adopting a user private key of the consumption user, and the second signature information is obtained by signing the target bill by adopting a node private key of the self-constructed node; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
verifying the legality of the target transaction data;
and if the target transaction data passes the validity verification, broadcasting the target transaction data to the consensus node, so that the consensus node performs consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one aspect, an embodiment of the present invention provides a computer storage medium, where one or more first instructions are stored, where the one or more first instructions are adapted to be loaded by a processor and execute the data processing method executed by a self-built node; alternatively, the computer storage medium stores one or more second instructions adapted to be loaded by the processor and to perform the above-described data processing method performed by the Ticket node.
In the embodiment of the invention, a self-building node can be created in a blockchain network by a consuming user, and the self-building node provides a bill service for the consuming user; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. When making a bill, the self-building node can construct a target bill according to consumption information of a consumption user; then, a user private key of a consuming user and a node private key of a self-built node can be adopted to perform double signature on the target bill to obtain first signature information and second signature information; then generating target transaction data according to the first signature information, the second signature information and the target bill, and sending the target transaction data to a bill node; the bill node verifies the legality of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus by the consensus node. The embodiment of the invention can effectively improve the reliability and the safety of the target bill by carrying out double signature on the target bill and storing the two pieces of signature information and the target bill in the block chain 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 structural diagram of a block chain according to an embodiment of the present invention;
FIG. 1b is a block diagram of a data processing system 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 a data processing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of adding a self-established node to a blockchain network according to an embodiment of the present invention;
fig. 5a is a schematic flowchart of a process for obtaining identity authorization information according to an embodiment of the present invention;
fig. 5b is a schematic flowchart of a process for obtaining identity authorization information according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of sending target transaction data according to an embodiment of the present invention;
FIG. 7a is a diagram illustrating a method for packing target transaction data into target blocks according to an embodiment of the present invention;
FIG. 7b is a flowchart illustrating a process of adding a target block to a blockchain according to an embodiment of the present invention;
FIG. 8 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a computer 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 blockchain network is a network formed by a peer-to-peer network (P2P network) and a blockchain, and may include a plurality of node devices (nodes for short) inside; by node is meant a computer device in a blockchain network that performs data processing, which may include, but is not limited to: the system comprises terminal equipment such as an intelligent terminal, a tablet computer, a desktop computer and the like, an APP (application) running in the terminal equipment, service equipment (such as a data server and a cloud server) and the like. Each node stores an identical blockchain inside, and the blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission (P2P transmission), consensus mechanism, encryption algorithm and the like, and is essentially a decentralized database.
Referring to fig. 1a, a block chain may be composed of a plurality of blocks; the tile herein refers to a data structure for recording input information (e.g., transaction data), and the transaction data refers to any data that needs to be uploaded to the blockchain network, and does not refer to commercialized data. The starting block (i.e. the first block) includes a block header and a block body, the block header stores a hash value, a random number, a version number, a current timestamp and a current difficulty value of input information, and the block body stores input information of the starting block. The next block of the starting block takes the starting block as a parent block, and the next block also comprises a block head and a block main body; the block head stores the hash value of the input information of the current block, the hash value of the parent block, the random number, the version number, the current timestamp and the current difficulty value, and the block body stores the input information of the current block. By analogy, the block data stored in each block in the block chain is associated with the block data stored in the parent block, so that the safety of the input information in the block can be effectively ensured. The version number refers to version information of a related block protocol in a block chain; the parent block hash value refers to the hash value of the block head of the last block; the current timestamp refers to the system time when the block header is composed; the current difficulty value refers to a calculated difficulty value that is constant over a fixed time period and is determined again after the fixed time period is exceeded.
An embodiment of the present invention provides a data processing system based on a block chain network, as shown in fig. 1 b. In particular, the data processing system may include at least a blockchain network 11 and clients 12 located outside of the blockchain network. The blockchain network 11 may include: self-construction node 111, ticket node 112, and consensus node 113. The self-building node 111 is a node which is created in the blockchain network by a consuming user and has registered the bill service in the bill node; the bill node 112 is a node corresponding to a bill management organization in a block chain network, and can be responsible for checking the validity of a bill; the consensus node 113 refers to a node that can participate in consensus in the blockchain network, and the number of the consensus nodes 113 may be one or more. The client 12 may be configured to perform human-computer interaction with a consuming user, and send consumption information or a related request of the consuming user to the self-established node 111 in the blockchain network 11; the client 12 may specifically include any of: terminal equipment such as an intelligent terminal, a tablet computer or a desktop computer, or an APP running in the terminal equipment, and the like. It should be noted that fig. 1b is only an exemplary illustration of the system architecture of the data processing system according to the embodiment of the present invention, and does not limit the specific architecture of the data processing system. For example, in FIG. 1b, self-construction node 111 communicates with Ticket node 112; in practical applications, the self-established node 111 may also communicate with the consensus node 113. For another example, in addition to the self-establishing node 111, the billing node 112, and the consensus node 113, the blockchain network may further include other nodes (e.g., SPV (simple payment verification) node that only provides storage service), service nodes that provide service processing service, and so on.
Based on the data processing system, the embodiment of the invention also provides a data processing scheme to better realize the issuing of the target bill. The general principle of this data processing scheme is as follows: firstly, a consuming user can create a self-building node in a block chain network and authorize a user private key and a user certificate of the consuming user to the self-building node; and the self-built node can register the bill service with the bill node and deploy the own node certificate and the node private key in the bill node. When the consuming user wants to make a bill, the consuming information can be sent to the self-building node; the self-built node can construct a target bill according to the consumption information, and double signatures are carried out on the target bill by adopting a user private key of a consumption user and a node private key of the self-built node to obtain two pieces of signature information. Then, the self-building node can send the two pieces of signature information and the target bill to the bill node; correspondingly, the bill node can verify the legality of the target bill, and after the target bill passes the verification, the two pieces of signature information and the target bill are sent to the consensus node for consensus, so that the consensus node performs consensus on the target bill, and after the consensus passes the two pieces of signature information and the target bill are added to the block chain for storage.
Therefore, the embodiment of the invention provides the bill service for the consuming user through the self-built node created by the consuming user in the blockchain network; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. In addition, in the billing process, the self-established node can acquire two signature information of the target bill by adopting a double signature mode, and stores the two signature information and the target bill in the block chain network together, so that the reliability and the safety of the target bill can be effectively improved.
Based on the above description, an embodiment of the present invention provides a data processing method based on a block chain network. Referring to fig. 2, the data processing method may include the following steps S201 to S206:
s201, the self-built node receives consumption information sent by a consumption user and constructs a target bill according to the consumption information.
In the embodiment of the present invention, the consuming user may refer to an independent user or a user organization (e.g. an enterprise) including a plurality of users. As can be seen from the foregoing, a self-established node is a node that is created by a consuming user in a blockchain network and is capable of performing invoicing actions based on ticketing services; therefore, when a consuming user wants to make a bill according to the consumption information, the consumption information can be sent to the self-construction node through the client, and the self-construction node constructs the target bill according to the consumption information. Correspondingly, the self-building node can receive consumption information sent by a consumption user through the client and construct a target bill according to the consumption information.
S202, the self-built node signs the target bill by adopting a user private key of a consuming user to obtain first signature information; and signing the target bill by adopting a node private key of the self-built node to obtain second signature information.
And S203, generating target transaction data by the self-built node according to the first signature information, the second signature information and the target bill.
In steps S202-S203, after the self-built node constructs the target ticket, the user private key of the consuming user and the node private key of the self-built node may be obtained from the storage space. The private key of the user of the consumption user is sent to the self-construction node when the consumption user authorizes the self-construction node in advance, and the private key of the node of the self-construction node is generated by the self-construction node in advance by adopting a key algorithm. Secondly, the self-built node can respectively adopt a user private key of a consuming user to sign the target bill to obtain first signature information; and signing the target bill by adopting a node private key of the self-built node to obtain second signature information. After the two pieces of signature information are obtained, the self-built node can package the first signature information, the second signature information and the target bill to obtain target transaction data.
It should be understood that, in the embodiment of the present invention, the order of the two signature steps mentioned in step S202 is not limited; the self-built node can concurrently adopt the user private key and the node private key to sign the target bill respectively, and simultaneously obtain first signature information and second signature information; or the self-built node can also adopt a user private key to sign the target bill to obtain first signature information, and then adopts a node private key to sign the target bill to obtain second signature information; or the self-built node can also adopt the node private key to sign the target bill to obtain second signature information, and then adopts the user private key to sign the target bill to obtain first signature information.
And S204, the self-built node sends the target transaction data to the billing node.
After the self-built node obtains the target transaction data, the target transaction data can be sent to the bill node, so that the bill node verifies the legality of the target transaction data, and the target transaction data are broadcasted to the consensus node after the target transaction data are verified; and after the target transaction data passes the consensus, submitting the target transaction data to a block chain of the block chain network.
Accordingly, the Ticket node may receive the target transaction data sent from the construction node and perform the following steps S205-S206. The target transaction data is generated by the self-establishing node according to the first signature information, the second signature information and the target bill; the target ticket is constructed based on consumption information sent by the consuming user. And the first signature information is obtained by signing the target bill by using a user private key of a consuming user, and the second signature information is obtained by signing the target bill by using a node private key of the self-built node.
S205, the bill node verifies the legality of the target transaction data.
In a specific implementation, the note node may first detect whether a target note in the target transaction data is legal; and if the target bill is illegal, determining that the target transaction data does not pass the validity verification. And if the target bill is legal, verifying the first signature information by adopting a user certificate of the consuming user, and verifying the second signature information by adopting a node certificate of the self-established node. If the verification is successful, determining that the target transaction data passes the validity verification; and if the verification fails, or one signature information in the first signature information and the second signature information fails, determining that the target transaction data fails in validity verification.
The specific implementation manner of the ticket node detecting whether the target ticket in the target transaction data is legal may be: detecting whether a target bill in the target transaction data contains a bill supervision stamp issued by the bill node; if the target bill contains the bill check stamp, the target bill is determined to be legal; otherwise, the target bill is determined to be illegal. In one embodiment, the target ticket includes a user name (e.g., a business name) corresponding to the consuming user and a taxpayer identification number; then, upon determining that the target ticket contains a ticket escrow stamp, the ticket node may further detect whether a taxpayer identification number exists in the target ticket. If the taxpayer identification number exists, detecting whether the user name corresponding to the taxpayer identification number is the same as the user name in the target bill or not; and if the target bill is the same, determining that the target bill is legal. And if the taxpayer identification number does not exist, or the user name corresponding to the taxpayer identification number is different from the user name in the target bill, determining that the target bill is illegal. In one embodiment, the target instrument includes a consumption type (such as diet, transportation), a unit of measurement, a consumption amount, a consumption unit price, a consumption amount, a tax rate, and a tax amount; then, after determining that the target ticket contains the ticket escrow stamp, the ticket node may further calculate the total amount according to the calculation units, the consumption amount, and the consumption unit price in the target ticket. If the calculated total amount is the same as the consumption amount in the target bill, the applicable tax rate can be determined according to the consumption type in the target bill. If the applicable tax rate is the same as the tax rate in the target bill, calculating the tax payment according to the consumption amount and the tax rate; and if the calculated tax payment is the same as the tax amount in the target bill, determining that the target bill is legal. Otherwise, the target ticket may be determined to be illegal.
And S206, if the target transaction data passes the validity verification, the bill node broadcasts the target transaction data to the consensus node.
If the target transaction data passes the validity verification, the bill node can broadcast the target transaction data to the consensus node, so that the consensus node performs consensus on the target transaction data, and submits the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In the embodiment of the invention, a self-building node can be created in a blockchain network by a consuming user, and the self-building node provides a bill service for the consuming user; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. When making a bill, the self-building node can construct a target bill according to consumption information of a consumption user; then, a user private key of a consuming user and a node private key of a self-built node can be adopted to perform double signature on the target bill to obtain first signature information and second signature information; then generating target transaction data according to the first signature information, the second signature information and the target bill, and sending the target transaction data to a bill node; the bill node verifies the legality of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus by the consensus node. The embodiment of the invention can effectively improve the reliability and the safety of the target bill by carrying out double signature on the target bill and storing the two pieces of signature information and the target bill in the block chain network.
Fig. 3 is a schematic flow chart of another data processing method based on a blockchain network according to an embodiment of the present invention. Referring to fig. 3, the data processing method may include the following steps S301 to S313:
s301, the self-built node responds to the node building instruction of the consuming user to acquire the equipment information of the self-built node.
In a specific implementation, if a consuming user wants to create a self-created node in a blockchain network, one device can be selected as the self-created node, and a node creation instruction is sent to the self-created node; the node creation instruction is used for indicating a self-created node to join the blockchain network and registering a bill service to a bill node in the blockchain network. Accordingly, the self-established node may receive a node establishment instruction sent by a consuming user. The bill node usually has a certain requirement on the encryption performance of the node to which the bill service is to be registered, so that the safety of the bill is ensured. Therefore, the self-construction node can respond to the node construction instruction and acquire the equipment information of the self-construction node; and generating a node creation request carrying the equipment information through steps S302-S303, and sending the node creation request to the bill node, so that the bill node can evaluate the encryption performance of the self-created node according to the equipment information. The device information of the self-established node comprises: the equipment identification of the self-built node and the hardware module information of the self-built node; the hardware module information can be used for reflecting the hardware module included in the self-building node.
And S302, the self-built node generates a node creation request carrying equipment information, wherein the node creation request is used for indicating that the self-built node is to be added into the block chain network and is to open a bill service.
And S303, the self-building node sends the node building request to the bill node.
After generating the node creation request, the self-created node may send the node creation request to the ticket node to request the ticket node to check whether the self-created node is qualified for service according to the device information, and broadcast the node creation request to the consensus node after determining that the self-created node is qualified for service. Accordingly, the ticket node may receive a node creation request sent from the creation node. As can be seen from the foregoing, the node creation request is generated by the self-created node in response to the node creation instruction of the consuming user, acquiring the device information of the self-created node, and according to the device information. The Ticket node may then perform steps S304-306.
S304, the bill node verifies whether the self-built node has service qualification according to the equipment information.
In one embodiment, the ticket node may determine whether one or more of the cryptographic engine and the cryptographic chip are included in the self-established node based on the device information. Wherein, the cipher machine is a device under the action of a secret key; the encryption chip is a security chip which integrates various symmetric and asymmetric algorithms inside, has extremely high security level and can ensure that keys and information data stored inside cannot be illegally read and tampered. If the self-built node comprises one or more of a cipher machine and an encryption chip, the encryption performance of the self-built node can be determined to be better; at this point, the ticketing node may determine that the self-created node qualifies for service. If the self-built node does not contain at least one of the cipher machine and the encryption chip, the encryption performance of the self-built node can be determined to be poor; at this point, the ticker node may determine that the self-created node is not eligible for service.
In one embodiment, if the self-building node comprises an encryption chip, the bill node can further detect the security level of the encryption chip; if the security level of the encryption chip is greater than a preset level, determining that the self-established node has service qualification; otherwise, it may be determined that the self-established node is not eligible for service. Similarly, if the self-built node comprises a cipher machine, the bill node can further detect the security level of the cipher machine; if the security level of the cipher machine is greater than the preset level, determining that the self-established node has service qualification; otherwise, it may be determined that the self-established node is not eligible for service.
S305, if the self-establishment node is determined to have the service qualification, the bill node broadcasts the node establishment request to the consensus node.
After the self-establishment node is determined to have the service qualification by the bill node, the bill node can broadcast the node establishment request to the consensus node, so that the consensus node performs consensus on the node establishment request, and returns an agreement establishment notification to the bill node after the node establishment request passes the consensus. It should be noted that, if the ticket node determines that the self-established node does not have the service qualification, the ticket node may directly return a creation rejection notification to the self-established node, and end the process.
Correspondingly, the consensus node can receive the node creation request sent by the ticket node and perform consensus on the node creation request based on a consensus mechanism. Specifically, each consensus node in the block chain network can vote for the node creation request to obtain a voting result of each consensus node; the voting result here may include a support voting result indicating that the node creation request is supported by consensus or a pair voting result against which the node creation request is opposed to consensus. If the number of the voting support results meets a preset condition, determining that the node creation request passes consensus; in this case, the consensus node may return an agreement creation notification to the Ticket node. Wherein the preset condition may include any one of: the number of supported voting results is greater than the number of anti-voting results, the number of supported voting results is greater than a number threshold, and so on.
S306, if the creation approval notice is received, the bill node opens the bill service for the self-created node, and a creation success notice is returned to the self-created node.
S307, if receiving the successful creation notification returned by the bill node, the self-created node joins the block chain network and starts the bill service.
And if a successful creation notice returned by the bill node is received, indicating that the consensus node and the bill node in the block chain network agree that the self-created node is added into the block chain network, and the bill node opens a bill service for the self-created node. Therefore, at this time, the self-established node can join the blockchain network (as shown in fig. 4) and open the billing service. The successful creation notice is sent by the self-establishing node after the self-establishing node opens the bill service and responds to the creation approval notice sent by the consensus node.
In one embodiment, if a creation success notification returned by the ticket node is received, the self-created node may send an authorization prompt to the consuming user to prompt the consuming user to perform identity authorization on the self-created node. Specifically, the self-building node may send an authorization prompt to a client of the consuming user, so that the client may output the authorization prompt in a user interface. After seeing the authorization prompt on the user interface, the consuming user can input corresponding identity authorization information on the user interface and instruct the client to send the identity authorization information to the self-building node. Correspondingly, the self-building node can receive the identity authorization information sent by the consuming user and store the identity authorization information of the consuming user. Wherein, the identity authorization information comprises: a user private key of the consuming user, and a user certificate of the consuming user; and the identity authorization information can be used for authorizing the self-built node to carry out signature by adopting a user private key. It should be noted that, after seeing the authorization prompt, the consuming user can directly input the identity authorization information on the user interface, thereby completing the authorization operation; in this case, a schematic flow chart of identity authorization can be seen in fig. 5 a. Or after seeing the authorization prompt, the consumer can firstly carry out identity authentication in the bill node; if the identity authentication is successfully carried out in the bill node, identity authorization information can be input in a user interface, so that the authorization operation is completed; in this case, the identity authorization information is sent by the consuming user after the authentication at the ticket node is successful, and a corresponding flow diagram of identity authorization can be seen in fig. 5 b.
In one embodiment, if a creation success notification returned by the ticket node is received, the self-created node may further obtain a node certificate of the self-created node and a node private key of the self-created node. Specifically, the self-established node may generate a key pair by using a key algorithm, and a private key in the key pair is used as a node private key of the self-established node; sending a certificate issuing request carrying a public key in the key pair to a certificate issuing authority to request the certificate issuing authority to issue a node certificate for the self-established node; then, the node certificate returned by the certificate issuing authority can be received. After the node certificate and the node private key are obtained, the self-built node can generate an identity registration request according to the node certificate and the node private key; and sending the identity registration request to the bill node to request the bill node to register and backup the node certificate and the node private key of the self-built node, so that the node certificate and the node private key can be obtained again from the bill node after the node certificate and the node private key are lost by the subsequent self-built node. Accordingly, the note node can receive an identity registration request sent by the self-construction node, wherein the identity registration request is generated by the self-construction node according to a node certificate of the self-construction node and a node private key. Then, the bill node can register the node certificate and the node private key of the self-built node and back up the node certificate and the node private key; and returning a registration success notice to the self-construction node. And if the self-building node receives the registration success notification returned by the bill node, the self-building node can determine that the identity registration is completed.
In one embodiment, if the self-built node detects that the node certificate and the node private key are lost, the self-built node may send a data acquisition request to the ticket node to request the ticket node to return the node certificate and the node private key. Correspondingly, if the bill node receives a data acquisition request sent by the self-built node, the backed-up node certificate and the node private key can be acquired; the data acquisition request is sent by the self-construction node after detecting that the node certificate and the node private key are lost. Then, the bill node can return the node certificate and the node private key to the self-established node; correspondingly, the self-built node can receive the node certificate and the node private key returned by the bill node.
S308, the self-built node receives the consumption information sent by the consumption user and constructs a target bill according to the consumption information.
S309, the self-built node signs the target bill by adopting a user private key of the consuming user to obtain first signature information; and signing the target bill by adopting a node private key of the self-built node to obtain second signature information.
And S310, generating target transaction data by the self-built node according to the first signature information, the second signature information and the target bill.
S311, the self-built node sends the target transaction data to the billing node.
In one embodiment, after obtaining the target transaction data, the self-construction node may directly send the target transaction data to the billing node. In still another embodiment, as can be seen from the foregoing, the self-established node may include a communication chip and an encryption chip. The communication chip and the bill node are in first communication connection; the encryption chip comprises a root key of the self-building node, and the encryption chip and the bill node are kept in second communication connection. In this embodiment, the self-established node may obtain the root key of the self-established node from the encryption chip, and generate a random number by using a random algorithm; the root key here refers to the key from which the other keys are derived. Secondly, the self-building node can generate a temporary key according to the root key and the random number, and encrypt target transaction data by adopting the temporary key; the temporary key is a key valid only for this encryption process, and the temporary key generated each time is different. The self-established node may then send the encrypted target transaction data to the ticker node based on the first communication connection and send the temporary key to the ticker node based on the second communication connection, such that the ticker node decrypts the encrypted target transaction data with the temporary key, as shown in fig. 6. Therefore, the double protection of the target transaction data can be realized by adopting the embodiment: the first protection is to encrypt by using a temporary key, and the other protection is to separately transmit encrypted target transaction data and the temporary key by using two communication connections; through a double protection mechanism, the safety of target transaction data can be effectively improved.
Accordingly, the Ticket node may receive the target transaction data sent from the SetNode and perform steps S312-S313. In one embodiment, if the self-established node is the target transaction data sent directly to the ticketing node, the ticketing node can directly receive the target transaction data sent from the self-established node. In an embodiment, if the self-established node sends the encrypted target transaction data to the ticketing node, the specific implementation manner that the ticketing node receives the target transaction data sent by the self-established node may be: the bill node can receive encrypted target transaction data sent by the self-construction node based on the first communication connection; the encrypted target transaction data is obtained by encrypting the target transaction data by the self-established node by adopting a temporary key, and the temporary key is generated according to a root key and a random number generated by adopting a random algorithm. And, the ticket node may also receive the temporary key sent from the originating node based on the second communication connection. Then, the billing node can decrypt the encrypted target transaction data by using the temporary key to obtain the target transaction data.
It should be understood that if the self-establishing node needs to send the temporary key to the ticket node, the self-establishing node may also establish a second communication connection with the ticket node before sending the temporary key. Specifically, the self-established node may first obtain a communication address of the encryption chip; and then the communication address of the encryption chip is sent to the bill node, so that the bill node establishes a second communication connection based on the communication address and the encryption chip. Correspondingly, the bill node can receive the communication address of the encryption chip sent by the self-construction node; and establishing a second communication connection based on the communication address and the encryption chip.
S312, the bill node verifies the legality of the target transaction data.
And S313, if the target transaction data passes the validity verification, the billing node broadcasts the target transaction data to the consensus node.
If the target transaction data passes the validity verification, the billing node may broadcast the target transaction data to the consensus node. Correspondingly, the consensus node can perform consensus on the target transaction data; it should be noted that the principle of consensus on the target transaction data is similar to the aforementioned principle of consensus on the node creation request, and is not described herein again. After the target transaction data passes the consensus, the consensus node may submit the target transaction data into a blockchain of the blockchain network. Specifically, if the target transaction data passes the consensus, the consensus node may pack the target transaction data into the target block. The specific process of packaging the transaction data into the target block is as follows: the consensus node may add the transaction data to the tile body of the target tile, as shown in FIG. 7 a. Secondly, the consensus node can perform hash operation on the target transaction data in the block main body by adopting a merkel Tree algorithm (Merkle Tree algorithm) to obtain a hash value of the target transaction data. Then, the consensus node may generate a random number by using a random algorithm, and form a block header of the target block by using the hash value of the target transaction data, the random number, the version number, the parent block hash value, the current timestamp, and the current difficulty value obtained by calculation. Performing multiple hash operations on the content contained in the head of the block by using a characteristic value algorithm (such as SHA256 algorithm) to obtain a hash value of the head of the block of the target block; the number of hash operations can be determined according to the calculation difficulty, and the larger the calculation difficulty is, the more the number of hash operations is. If the hash value of the block head of the target block is smaller than the preset threshold, the block head of the target block is valid, and then the valid target block can be obtained. If the characteristic value of the block head of the target block is not less than the preset threshold value, indicating that the block head of the target block is invalid; at this time, it is necessary to jump to the step of "generating a random number using a random algorithm" until a valid block header is generated. After the target block is obtained, the consensus node may add the target block to the blockchain of the blockchain network, as shown in fig. 7 b.
In the embodiment of the invention, a self-building node can be created in a blockchain network by a consuming user, and the self-building node provides a bill service for the consuming user; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. When making a bill, the self-building node can construct a target bill according to consumption information of a consumption user; then, a user private key of a consuming user and a node private key of a self-built node can be adopted to perform double signature on the target bill to obtain first signature information and second signature information; then generating target transaction data according to the first signature information, the second signature information and the target bill, and sending the target transaction data to a bill node; the bill node verifies the legality of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus by the consensus node. The embodiment of the invention can effectively improve the reliability and the safety of the target bill by carrying out double signature on the target bill and storing the two pieces of signature information and the target bill in the block chain network.
Based on the description of the data processing method embodiment, the embodiment of the invention also discloses a data processing device. The data processing apparatus, which may be a computer program (comprising program code) running in a self-contained node in a blockchain network, may perform some of the method steps shown in fig. 2 and 3. Referring to fig. 8, the data processing apparatus may operate the following units:
the receiving unit 801 is used for receiving consumption information sent by a consumption user and constructing a target bill according to the consumption information;
the processing unit 802 is configured to sign the target ticket by using a user private key of the consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information;
the processing unit 802 is further configured to generate target transaction data according to the first signature information, the second signature information, and the target ticket;
a sending unit 803, configured to send the target transaction data to the ticket node, so that the ticket node verifies the validity of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and after the target transaction data passes the consensus, submitting the target transaction data to a block chain of the block chain network.
In one embodiment, the processing unit 802 is further operable to: responding to a node creating instruction of a consuming user, and acquiring equipment information of a self-created node, wherein the equipment information comprises: the equipment identification of the self-built node and the hardware module information of the self-built node; generating a node creation request carrying equipment information, wherein the node creation request is used for indicating that a self-created node is to be added to a block chain network and is to open a bill service; the sending unit 803 may also be configured to: sending the node creation request to a note node to request the note node to check whether the self-created node has service qualification according to the equipment information, and broadcasting the node creation request to a consensus node after determining that the self-created node has the service qualification; enabling the consensus node to perform consensus on the node creation request, and returning an agreement creation notice to the note node after the node creation request passes the consensus; the processing unit 802 may also be configured to: if receiving a successful creation notification returned by the bill node, adding the bill node into the block chain network and starting a bill service; the successful creation notice is sent by the bill node after responding to the creation approval notice sent by the consensus node and opening the bill service for the self-created node.
In one embodiment, the sending unit 803 is further configured to: if receiving a successful creation notification returned by the bill node, sending an authorization prompt to the consuming user to prompt the consuming user to perform identity authorization on the self-created node; the receiving unit 801 may further be configured to: receiving identity authorization information sent by a consuming user, wherein the identity authorization information is sent by the consuming user after the identity authentication of the consuming user at a bill node is successful; the identity authorization information comprises: a user private key of the consuming user, and a user certificate of the consuming user; the identity authorization information is used for authorizing the self-built node to carry out signature by adopting a user private key; the processing unit 802 may also be configured to: and storing the identity authorization information of the consuming user.
In one embodiment, the processing unit 802 is further operable to: if receiving a successful creation notification returned by the bill node, acquiring a node certificate of the self-created node and a node private key of the self-created node; generating an identity registration request according to the node certificate and the node private key; the sending unit 803 may also be configured to: sending an identity registration request to a note node to request the note node to register and backup a node certificate and a node private key of a self-built node; the processing unit 802 may also be configured to: and if a registration success notice returned by the bill node is received, determining that the identity registration is completed.
In one embodiment, the sending unit 803 is further configured to: if the node certificate and the node private key are detected to be lost, sending a data acquisition request to the bill node to request the bill node to return the node certificate and the node private key; the receiving unit 801 may further be configured to: and receiving the node certificate and the node private key returned by the bill node.
In one embodiment, the self-built node comprises a communication chip and an encryption chip; the communication chip and the bill node are in first communication connection; the encryption chip comprises a root key of the self-built node, and the encryption chip is in second communication connection with the bill node; correspondingly, the sending unit 803, when being used for sending the target transaction data to the ticketing node, may specifically be configured to: acquiring a root key of a self-built node from an encryption chip, and generating a random number by adopting a random algorithm; generating a temporary key according to the root key and the random number, and encrypting the target transaction data by adopting the temporary key; and sending the encrypted target transaction data to the bill node based on the first communication connection, and sending the temporary key to the bill node based on the second communication connection, so that the bill node decrypts the encrypted target transaction data by adopting the temporary key.
In one embodiment, the processing unit 802 is further operable to: acquiring a communication address of an encryption chip; the sending unit 803 may also be configured to: and sending the communication address of the encryption chip to the bill node, so that the bill node establishes a second communication connection based on the communication address and the encryption chip.
According to an embodiment of the present invention, some steps involved in the method shown in fig. 2 or fig. 3 may be performed by respective units in the data processing apparatus shown in fig. 8. For example, step S201 shown in fig. 2 may be performed by the receiving unit 801 shown in fig. 8, steps S202 to S203 may be performed by the processing unit 802 shown in fig. 8, and step S204 may be performed by the transmitting unit 803 shown in fig. 8; as another example, steps S301 and S308 shown in fig. 3 may be performed by the receiving unit 801 shown in fig. 8, steps S302, S307, and S309-S310 may be performed by the processing unit 802 shown in fig. 8, and steps S303 and S311 may be performed by the transmitting unit 803 shown in fig. 8.
According to another embodiment of the present invention, the units in the data processing apparatus shown in fig. 8 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 another embodiment of the present invention, the data processing apparatus device shown in fig. 8 may be constructed by running a computer program (including program codes) capable of executing a part of steps involved in the corresponding method shown in fig. 2 or fig. 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, a self-building node can be created in a blockchain network by a consuming user, and the self-building node provides a bill service for the consuming user; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. When making a bill, the self-building node can construct a target bill according to consumption information of a consumption user; then, a user private key of a consuming user and a node private key of a self-built node can be adopted to perform double signature on the target bill to obtain first signature information and second signature information; then generating target transaction data according to the first signature information, the second signature information and the target bill, and sending the target transaction data to a bill node; the bill node verifies the legality of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus by the consensus node. The embodiment of the invention can effectively improve the reliability and the safety of the target bill by carrying out double signature on the target bill and storing the two pieces of signature information and the target bill in the block chain network.
Based on the description of the data processing method embodiment, the embodiment of the invention also discloses a data processing device. The data processing apparatus, which may be a computer program (comprising program code) running in a self-contained node in a blockchain network, may perform some of the method steps shown in fig. 2 and 3. Referring to fig. 9, the data processing apparatus may operate the following units:
a receiving unit 901, configured to receive target transaction data sent by a self-established node, where the target transaction data is generated by the self-established node according to the first signature information, the second signature information, and the target ticket; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by using a user private key of the consumption user, and the second signature information is obtained by signing the target bill by using a node private key of a self-built node;
a verification unit 902, configured to verify validity of the target transaction data;
a sending unit 903, configured to broadcast the target transaction data to the consensus node if the target transaction data passes the validity verification, so that the consensus node performs consensus on the target transaction data, and submit the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one embodiment, the receiving unit 901 may further be configured to: receiving a node creating request sent by a self-created node, wherein the node creating request is generated by the self-created node responding to a node creating instruction of a consuming user, acquiring equipment information of the self-created node and generating the equipment information; the device information includes: the equipment identification of the self-built node and the hardware module information of the self-built node; the node creation request is used for indicating that a self-created node is to be added into a block chain network and is to open a bill service; the verification unit 902 is also operable to: checking whether the self-built node has service qualification according to the equipment information; the sending unit 903 may further be configured to: if the self-establishment node is determined to have the service qualification, broadcasting the node establishment request to the consensus node; enabling the consensus node to perform consensus on the node creation request, and returning an agreement creation notice to the note node after the node creation request passes the consensus; and if receiving the notice of agreeing to create, opening the bill service for the self-created node, and returning a notice of successful creation to the self-created node.
In one embodiment, the receiving unit 901 may further be configured to: receiving an identity registration request sent by a self-construction node, wherein the identity registration request is generated by the self-construction node according to a node certificate of the self-construction node and a node private key; the verification unit 902 is also operable to: registering a node certificate and a node private key of a self-built node, and backing up the node certificate and the node private key; the sending unit 903 may further be configured to: and returning a registration success notice to the self-building node.
In one embodiment, the receiving unit 901 may further be configured to: if a data acquisition request sent by a self-built node is received, a backed-up node certificate and a node private key are acquired; the data acquisition request is sent by the self-built node after detecting that the node certificate and the node private key are lost; the sending unit 903 may further be configured to: and returning the node certificate and the node private key to the self-built node.
In one embodiment, the self-built node comprises a communication chip and an encryption chip; the communication chip and the bill node are in first communication connection; the encryption chip comprises a root key of the self-built node, and the encryption chip is in second communication connection with the bill node; correspondingly, when the receiving unit 901 is used for receiving the target transaction data sent by the self-established node, it may specifically be used to: receiving encrypted target transaction data sent by a self-construction node based on a first communication connection, wherein the encrypted target transaction data is obtained by encrypting the target transaction data by the self-construction node by adopting a temporary key, and the temporary key is generated according to a root key and a random number generated by adopting a random algorithm; receiving a temporary key sent by a self-construction node based on a second communication connection; and decrypting the encrypted target transaction data by adopting the temporary key to obtain the target transaction data.
In one embodiment, the receiving unit 901 may further be configured to: receiving a communication address of an encryption chip sent by a self-construction node; the sending unit 903 may further be configured to: and establishing a second communication connection based on the communication address and the encryption chip.
According to an embodiment of the present invention, some steps involved in the method shown in fig. 2 or fig. 3 may be performed by respective units in the data processing apparatus shown in fig. 9. For example, step S205 shown in fig. 2 may be performed by the authentication unit 902 shown in fig. 9, and step S206 may be performed by the transmission unit 903 shown in fig. 9; as another example, steps S304 and S312 shown in fig. 2 may be performed by the authentication unit 902 shown in fig. 9, and steps S305 to S306 and S313 may be performed by the transmission unit 903 shown in fig. 9.
According to another embodiment of the present invention, the units in the data processing apparatus shown in fig. 9 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 another embodiment of the present invention, the data processing apparatus device shown in fig. 9 may be constructed by running a computer program (including program codes) capable of executing a part of steps involved in the corresponding method shown in fig. 2 or fig. 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, a self-building node can be created in a blockchain network by a consuming user, and the self-building node provides a bill service for the consuming user; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. In the billing process, the target bill can be subjected to double signature, and the two signature information and the target bill are stored in the block chain network together, so that the reliability and the safety of the target bill can be effectively improved.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides a computer device; the computer device may be a self-construction node or a ticketing node as mentioned above. Referring to fig. 10, the computer device includes at least a processor 1001, an input interface 1002, an output interface 1003, and a computer storage medium 1004. The processor 1001, the input interface 1002, the output interface 1003, and the computer storage medium 1004 in the computer apparatus may be connected by a bus or other means. A computer storage medium 1004 may be stored in the memory of the computer device, the computer storage medium 1004 being used to store a computer program comprising program instructions, the processor 1001 being used to execute the program instructions stored by the computer storage medium 1004. The processor 1001 (or CPU) is a computing core and a control core of the computer device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function.
In an embodiment, if the computer device is a self-built node, the processor 1001 according to an embodiment of the present invention may be controlled by the self-built node to perform a series of data processing, including: the self-building node receives consumption information sent by a consumption user and constructs a target bill according to the consumption information; signing the target bill by adopting a user private key of a consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information; generating target transaction data according to the first signature information, the second signature information and the target bill; the target transaction data are sent to the bill node, so that the bill node verifies the legality of the target transaction data, and the target transaction data are broadcasted to the consensus node after the target transaction data pass the verification; so that the consensus node performs consensus on the target transaction data, and submits the target transaction data to a blockchain of the blockchain network after the target transaction data passes the consensus, and so on.
In an embodiment, if the computer device is a ticket node, the processor 1001 according to an embodiment of the present invention may be controlled by the ticket node to perform a series of data processing, including: the method comprises the steps that a receipt node receives target transaction data sent by a self-establishment node, wherein the target transaction data are generated by the self-establishment node according to first signature information, second signature information and a target receipt; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by using a user private key of the consumption user, and the second signature information is obtained by signing the target bill by using a node private key of a self-built node; verifying the legality of the target transaction data; and if the target transaction data passes the validity verification, broadcasting the target transaction data to the consensus node, so that the consensus node performs consensus on the target transaction data, submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus, and the like.
An embodiment of the present invention further provides a computer storage medium (Memory), which is a Memory device in a computer device and is used to store programs and data. It is understood that the computer storage medium herein may include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. Computer storage media provide storage space that stores an operating system for a computer device. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 801. 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; it may also optionally be at least one computer storage medium located remotely from the aforementioned processor.
In one embodiment, if the computer device is a self-established node, one or more first instructions may be stored in the computer storage medium; and one or more first instructions stored in the computer storage medium may be loaded and executed by the processor 1001 to implement the corresponding steps in the above-described embodiments of the data processing method; in a specific implementation, one or more first instructions in the computer storage medium are loaded by the processor 1001 and perform the following steps:
receiving consumption information sent by a consumption user, and constructing a target bill according to the consumption information; the self-building node is a node which is created by a consuming user in the blockchain network and has registered the bill service in the bill node;
signing the target bill by adopting a user private key of a consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information;
generating target transaction data according to the first signature information, the second signature information and the target bill;
the target transaction data are sent to the bill node, so that the bill node verifies the legality of the target transaction data, and the target transaction data are broadcasted to the consensus node after the target transaction data pass the verification; and after the target transaction data passes the consensus, submitting the target transaction data to a block chain of the block chain network.
In one embodiment, the one or more first instructions may also be loaded and specifically executed by the processor 1001: responding to a node creating instruction of a consuming user, and acquiring equipment information of a self-created node, wherein the equipment information comprises: the equipment identification of the self-built node and the hardware module information of the self-built node; generating a node creation request carrying equipment information, wherein the node creation request is used for indicating that a self-created node is to be added to a block chain network and is to open a bill service; sending the node creation request to a note node to request the note node to check whether the self-created node has service qualification according to the equipment information, and broadcasting the node creation request to a consensus node after determining that the self-created node has the service qualification; enabling the consensus node to perform consensus on the node creation request, and returning an agreement creation notice to the note node after the node creation request passes the consensus; if receiving a successful creation notification returned by the bill node, adding the bill node into the block chain network and starting a bill service; the successful creation notice is sent by the bill node after responding to the creation approval notice sent by the consensus node and opening the bill service for the self-created node.
In one embodiment, the one or more first instructions may also be loaded and specifically executed by the processor 1001: if receiving a successful creation notification returned by the bill node, sending an authorization prompt to the consuming user to prompt the consuming user to perform identity authorization on the self-created node; receiving identity authorization information sent by a consuming user, wherein the identity authorization information is sent by the consuming user after the identity authentication of the consuming user at a bill node is successful; the identity authorization information comprises: a user private key of the consuming user, and a user certificate of the consuming user; the identity authorization information is used for authorizing the self-built node to carry out signature by adopting a user private key; and storing the identity authorization information of the consuming user.
In one embodiment, the one or more first instructions may also be loaded and specifically executed by the processor 1001: if receiving a successful creation notification returned by the bill node, acquiring a node certificate of the self-created node and a node private key of the self-created node; generating an identity registration request according to the node certificate and the node private key; sending an identity registration request to a note node to request the note node to register and backup a node certificate and a node private key of a self-built node; and if a registration success notice returned by the bill node is received, determining that the identity registration is completed.
In one embodiment, the one or more first instructions may also be loaded and specifically executed by the processor 1001: if the node certificate and the node private key are detected to be lost, sending a data acquisition request to the bill node to request the bill node to return the node certificate and the node private key; and receiving the node certificate and the node private key returned by the bill node.
In one embodiment, the self-built node comprises a communication chip and an encryption chip; the communication chip and the bill node are in first communication connection; the encryption chip comprises a root key of the self-built node, and the encryption chip is in second communication connection with the bill node; accordingly, when the target transaction data is sent to the Ticket node, the one or more first instructions are loaded and specifically executed by the processor 1001: acquiring a root key of a self-built node from an encryption chip, and generating a random number by adopting a random algorithm; generating a temporary key according to the root key and the random number, and encrypting the target transaction data by adopting the temporary key; and sending the encrypted target transaction data to the bill node based on the first communication connection, and sending the temporary key to the bill node based on the second communication connection, so that the bill node decrypts the encrypted target transaction data by adopting the temporary key.
In one embodiment, the one or more first instructions may also be loaded and specifically executed by the processor 1001: acquiring a communication address of an encryption chip; and sending the communication address of the encryption chip to the bill node, so that the bill node establishes a second communication connection based on the communication address and the encryption chip.
In one embodiment, if the computer device is a ticketing node, one or more second instructions may be stored in the computer storage medium; and one or more second instructions stored in the computer storage medium may be loaded and executed by the processor 1001 to implement the corresponding steps in the above-described embodiments of the data processing method; in a specific implementation, one or more second instructions in the computer storage medium are loaded by the processor 1001 and perform the following steps:
receiving target transaction data sent by the self-establishment node, wherein the target transaction data is generated by the self-establishment node according to the first signature information, the second signature information and the target bill; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by using a user private key of the consumption user, and the second signature information is obtained by signing the target bill by using a node private key of a self-built node; the self-building node is a node which is created by a consuming user in the blockchain network and has registered the bill service in the bill node;
verifying the legality of the target transaction data;
and if the target transaction data passes the validity verification, broadcasting the target transaction data to the consensus node, so that the consensus node performs consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
In one embodiment, the one or more second instructions may also be loaded and specifically executed by processor 1001: receiving a node creating request sent by a self-created node, wherein the node creating request is generated by the self-created node responding to a node creating instruction of a consuming user, acquiring equipment information of the self-created node and generating the equipment information; the device information includes: the equipment identification of the self-built node and the hardware module information of the self-built node; the node creation request is used for indicating that a self-created node is to be added into a block chain network and is to open a bill service; checking whether the self-built node has service qualification according to the equipment information; if the self-establishment node is determined to have the service qualification, broadcasting the node establishment request to the consensus node; enabling the consensus node to perform consensus on the node creation request, and returning an agreement creation notice to the note node after the node creation request passes the consensus; and if receiving the notice of agreeing to create, opening the bill service for the self-created node, and returning a notice of successful creation to the self-created node.
In one embodiment, the one or more second instructions may also be loaded and specifically executed by processor 1001: receiving an identity registration request sent by a self-construction node, wherein the identity registration request is generated by the self-construction node according to a node certificate of the self-construction node and a node private key; registering a node certificate and a node private key of a self-built node, and backing up the node certificate and the node private key; and returning a registration success notice to the self-building node.
In one embodiment, the one or more second instructions may also be loaded and specifically executed by processor 1001: if a data acquisition request sent by a self-built node is received, a backed-up node certificate and a node private key are acquired; the data acquisition request is sent by the self-built node after detecting that the node certificate and the node private key are lost; and returning the node certificate and the node private key to the self-built node.
In one embodiment, the self-built node comprises a communication chip and an encryption chip; the communication chip and the bill node are in first communication connection; the encryption chip comprises a root key of the self-built node, and the encryption chip is in second communication connection with the bill node; correspondingly, when receiving the target transaction data sent from the self-established node, one or more second instructions are loaded and specifically executed by the processor 1001: receiving encrypted target transaction data sent by a self-construction node based on a first communication connection, wherein the encrypted target transaction data is obtained by encrypting the target transaction data by the self-construction node by adopting a temporary key, and the temporary key is generated according to a root key and a random number generated by adopting a random algorithm; receiving a temporary key sent by a self-construction node based on a second communication connection; and decrypting the encrypted target transaction data by adopting the temporary key to obtain the target transaction data.
In one embodiment, the one or more second instructions may also be loaded and specifically executed by processor 1001: receiving a communication address of an encryption chip sent by a self-construction node; and establishing a second communication connection based on the communication address and the encryption chip.
In the embodiment of the invention, a self-building node can be created in a blockchain network by a consuming user, and the self-building node provides a bill service for the consuming user; professional invoices are not needed to participate, and the invoicing efficiency can be effectively improved and the labor cost is reduced. When making a bill, the self-building node can construct a target bill according to consumption information of a consumption user; then, a user private key of a consuming user and a node private key of a self-built node can be adopted to perform double signature on the target bill to obtain first signature information and second signature information; then generating target transaction data according to the first signature information, the second signature information and the target bill, and sending the target transaction data to a bill node; the bill node verifies the legality of the target transaction data, and broadcasts the target transaction data to the consensus node after the target transaction data passes the verification; and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus by the consensus node. The embodiment of the invention can effectively improve the reliability and the safety of the target bill by carrying out double signature on the target bill and storing the two pieces of signature information and the target bill in the block chain network.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (15)

1. A data processing method based on a block chain network is characterized in that the block chain network comprises a self-building node, a note node and a consensus node; the method comprises the following steps:
the self-building node receives consumption information sent by a consumption user and constructs a target bill according to the consumption information; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
signing the target bill by adopting a user private key of the consuming user to obtain first signature information; signing the target bill by using a node private key of the self-built node to obtain second signature information;
generating target transaction data according to the first signature information, the second signature information and the target bill;
sending the target transaction data to the bill node, so that the bill node verifies the legality of the target transaction data, and broadcasting the target transaction data to the consensus node after the target transaction data passes the verification; and enabling the consensus node to perform consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
2. The method of claim 1, wherein the method further comprises:
responding to the node creating instruction of the consuming user, and acquiring equipment information of the self-created node, wherein the equipment information comprises: the equipment identification of the self-building node and the hardware module information of the self-building node;
generating a node creation request carrying the equipment information, wherein the node creation request is used for indicating that the self-created node is to be added into the block chain network and is to open the bill service;
sending the node creation request to the ticket node to request the ticket node to check whether the self-created node has service qualification according to the equipment information, and broadcasting the node creation request to the consensus node after determining that the self-created node has the service qualification; enabling the consensus node to perform consensus on the node creation request, and returning an agreement creation notice to the bill node after the node creation request passes the consensus;
if receiving a successful creation notification returned by the bill node, adding the bill node into the block chain network, and starting the bill service; and the creating success notification is sent by the ticket node after responding to the creating approval notification sent by the consensus node and opening the ticket service for the self-created node.
3. The method of claim 2, wherein the method further comprises:
if receiving a successful creation notification returned by the bill node, sending an authorization prompt to the consuming user to prompt the consuming user to perform identity authorization on the self-created node;
receiving identity authorization information sent by the consuming user, wherein the identity authorization information is sent by the consuming user after the identity authentication of the consuming user at the bill node is successful; the identity authorization information comprises: a user private key of the consuming user, and a user certificate of the consuming user; the identity authorization information is used for authorizing the self-built node to carry out signature by adopting the user private key;
and storing the identity authorization information of the consuming user.
4. The method of claim 2 or 3, wherein the method further comprises:
if receiving a successful creation notification returned by the bill node, acquiring a node certificate of the self-created node and a node private key of the self-created node;
generating an identity registration request according to the node certificate and the node private key, and sending the identity registration request to the bill node to request the bill node to register and backup the node certificate and the node private key of the self-built node;
and if receiving a registration success notice returned by the bill node, determining that the identity registration is finished.
5. The method of claim 4, wherein the method further comprises:
if the node certificate and the node private key are detected to be lost, sending a data acquisition request to the bill node to request the bill node to return the node certificate and the node private key;
and receiving the node certificate and the node private key returned by the bill node.
6. The method of claim 1, wherein the self-established node comprises a communication chip and an encryption chip; wherein the communication chip is in a first communication connection with the note node; the encryption chip comprises a root key of the self-building node, and the encryption chip is in second communication connection with the bill node; the sending the target transaction data to the billing node includes:
acquiring a root key of the self-built node from the encryption chip, and generating a random number by adopting a random algorithm;
generating a temporary key according to the root key and the random number, and encrypting the target transaction data by adopting the temporary key;
and sending the encrypted target transaction data to the bill node based on the first communication connection, and sending the temporary key to the bill node based on the second communication connection, so that the bill node decrypts the encrypted target transaction data by adopting the temporary key.
7. The method of claim 6, wherein the method further comprises:
acquiring a communication address of the encryption chip;
and sending the communication address of the encryption chip to the bill node, so that the bill node establishes the second communication connection based on the communication address and the encryption chip.
8. A data processing method based on a block chain network is characterized in that the block chain network comprises a self-building node, a note node and a consensus node; the method comprises the following steps:
the ticket node receives target transaction data sent by the self-establishment node, wherein the target transaction data is generated by the self-establishment node according to the first signature information, the second signature information and the target ticket; the target bill is constructed according to consumption information sent by a consumption user, the first signature information is obtained by signing the target bill by adopting a user private key of the consumption user, and the second signature information is obtained by signing the target bill by adopting a node private key of the self-constructed node; the self-built node is a node created by the consuming user in the blockchain network and having registered a ticketing service in the ticketing node;
verifying the legality of the target transaction data;
and if the target transaction data passes the validity verification, broadcasting the target transaction data to the consensus node, so that the consensus node performs consensus on the target transaction data, and submitting the target transaction data to a block chain of the block chain network after the target transaction data passes the consensus.
9. The method of claim 8, wherein the method further comprises:
receiving a node creating request sent by the self-construction node, wherein the node creating request is generated by the self-construction node responding to a node creating instruction of the consumption user, acquiring equipment information of the self-construction node and generating according to the equipment information; the device information includes: the equipment identification of the self-building node and the hardware module information of the self-building node; the node creation request is used for indicating the self-created node to be added into the block chain network and opening the bill service;
checking whether the self-built node is qualified for service according to the equipment information;
if the self-establishment node is determined to have the service qualification, broadcasting the node establishment request to the consensus node; enabling the consensus node to perform consensus on the node creation request, and returning an agreement creation notice to the bill node after the node creation request passes the consensus;
and if the creation approval notice is received, opening the bill service for the self-created node, and returning a creation success notice to the self-created node.
10. The method of claim 9, wherein the method further comprises:
receiving an identity registration request sent by the self-construction node, wherein the identity registration request is generated by the self-construction node according to a node certificate of the self-construction node and the node private key;
registering a node certificate of the self-built node and the node private key, and backing up the node certificate and the node private key;
and returning a registration success notice to the self-building node.
11. The method of claim 10, wherein the method further comprises:
if a data acquisition request sent by the self-built node is received, acquiring the backed-up node certificate and the node private key; the data acquisition request is sent by the self-built node after detecting that the node certificate and the node private key are lost;
and returning the node certificate and the node private key to the self-built node.
12. The method of claim 8, wherein the self-established node comprises a communication chip and an encryption chip; wherein the communication chip is in a first communication connection with the note node; the encryption chip comprises a root key of the self-building node, and the encryption chip is in second communication connection with the bill node; the receiving of the target transaction data sent by the self-construction node comprises:
receiving encrypted target transaction data sent by the self-established node based on the first communication connection, wherein the encrypted target transaction data is obtained by encrypting the target transaction data by the self-established node by adopting a temporary key, and the temporary key is generated according to the root key and a random number generated by adopting a random algorithm;
receiving the temporary key sent by the self-established node based on the second communication connection;
and decrypting the encrypted target transaction data by adopting the temporary key to obtain the target transaction data.
13. The method of claim 12, wherein the method further comprises:
receiving a communication address of the encryption chip sent by the self-construction node;
and establishing the second communication connection based on the communication address and the encryption chip.
14. A computer device comprises an input interface and an output interface, and is characterized in that the computer device is a self-building node or a bill node; the computer device further comprises:
a processor adapted to implement one or more instructions; and, a computer storage medium;
if the computer device is the self-established node, the computer storage medium stores one or more first instructions adapted to be loaded by the processor and to perform the method of data processing based on a blockchain network according to any one of claims 1 to 7;
if the computer device is the Ticket node, the computer storage medium has stored thereon one or more second instructions adapted to be loaded by the processor and to perform the method of blockchain network based data processing according to any of claims 8 to 13.
15. A computer storage medium, characterized in that the computer storage medium stores one or more first instructions adapted to be loaded by a processor and to perform the method of data processing based on a blockchain network according to any one of claims 1 to 7; alternatively, the computer storage medium stores one or more second instructions adapted to be loaded by the processor and to perform the method of data processing based on a blockchain network according to any one of claims 8 to 13.
CN202010249536.2A 2020-03-31 2020-03-31 Data processing method, data processing device, computer equipment and medium Active CN111461799B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010249536.2A CN111461799B (en) 2020-03-31 2020-03-31 Data processing method, data processing device, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010249536.2A CN111461799B (en) 2020-03-31 2020-03-31 Data processing method, data processing device, computer equipment and medium

Publications (2)

Publication Number Publication Date
CN111461799A true CN111461799A (en) 2020-07-28
CN111461799B CN111461799B (en) 2021-05-28

Family

ID=71678490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010249536.2A Active CN111461799B (en) 2020-03-31 2020-03-31 Data processing method, data processing device, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN111461799B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113781229A (en) * 2021-09-22 2021-12-10 中钞信用卡产业发展有限公司杭州区块链技术研究院 Transaction data storage method, device, equipment and readable storage medium
CN114240408A (en) * 2021-12-21 2022-03-25 环球数科集团有限公司 Electronic ticket business transaction method based on block chain technology
CN117057921A (en) * 2023-10-10 2023-11-14 苏州元脑智能科技有限公司 Method, device and system for transaction of calculation force, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269351A (en) * 2018-01-15 2018-07-10 中链科技有限公司 A kind of digital ticket information processing method and system
CN110428334A (en) * 2019-08-09 2019-11-08 中国工商银行股份有限公司 Bill processing method and device based on block chain network
CN110457939A (en) * 2019-07-05 2019-11-15 方欣科技有限公司 A kind of tax information safety based on block chain and inquiry system and implementation method
US20190370808A1 (en) * 2018-06-01 2019-12-05 ePayRails, LLC Software system that enables instant disbursment of funds between payers and payees
CN110543510A (en) * 2019-09-05 2019-12-06 腾讯科技(深圳)有限公司 Bill data processing method and device, storage medium and computer equipment
CN110599269A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Bill generation method and device, computer readable storage medium and computer equipment
CN110599137A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device and computer equipment
CN110599266A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device, computer equipment and storage medium
CN110598454A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device in block chain, storage medium and computer equipment
WO2019246627A1 (en) * 2018-06-22 2019-12-26 Mshift, Inc. Blockchains for facilitating decentralized fund transfer
CN110738502A (en) * 2019-10-10 2020-01-31 腾讯科技(深圳)有限公司 bill processing method and device and storage medium device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269351A (en) * 2018-01-15 2018-07-10 中链科技有限公司 A kind of digital ticket information processing method and system
US20190370808A1 (en) * 2018-06-01 2019-12-05 ePayRails, LLC Software system that enables instant disbursment of funds between payers and payees
WO2019246627A1 (en) * 2018-06-22 2019-12-26 Mshift, Inc. Blockchains for facilitating decentralized fund transfer
CN110457939A (en) * 2019-07-05 2019-11-15 方欣科技有限公司 A kind of tax information safety based on block chain and inquiry system and implementation method
CN110428334A (en) * 2019-08-09 2019-11-08 中国工商银行股份有限公司 Bill processing method and device based on block chain network
CN110543510A (en) * 2019-09-05 2019-12-06 腾讯科技(深圳)有限公司 Bill data processing method and device, storage medium and computer equipment
CN110599269A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Bill generation method and device, computer readable storage medium and computer equipment
CN110599137A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device and computer equipment
CN110599266A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Electronic bill data processing method and device, computer equipment and storage medium
CN110598454A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device in block chain, storage medium and computer equipment
CN110738502A (en) * 2019-10-10 2020-01-31 腾讯科技(深圳)有限公司 bill processing method and device and storage medium device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李哲: "基于区块链的电子发票云平台构建研究", 《中国优秀硕士学位论文全文数据库 经济与管理科学辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113781229A (en) * 2021-09-22 2021-12-10 中钞信用卡产业发展有限公司杭州区块链技术研究院 Transaction data storage method, device, equipment and readable storage medium
CN114240408A (en) * 2021-12-21 2022-03-25 环球数科集团有限公司 Electronic ticket business transaction method based on block chain technology
CN117057921A (en) * 2023-10-10 2023-11-14 苏州元脑智能科技有限公司 Method, device and system for transaction of calculation force, electronic equipment and storage medium
CN117057921B (en) * 2023-10-10 2024-02-20 苏州元脑智能科技有限公司 Method, device and system for transaction of calculation force, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111461799B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN111737724B (en) Data processing method and device, intelligent equipment and storage medium
CN111681003B (en) Resource cross-chain transfer method and device, computer equipment and storage medium
CN108924130B (en) Block data verification method, device, equipment and storage medium
CN109067801B (en) Identity authentication method, identity authentication device and computer readable medium
CN111383021B (en) Node management method, device, equipment and medium based on block chain network
CN111461799B (en) Data processing method, data processing device, computer equipment and medium
CN112215608A (en) Data processing method and device
CN111490878B (en) Key generation method, device, equipment and medium
CN111489159A (en) Data processing method, data processing device, computer equipment and medium
CN101222333A (en) Data transaction processing method and apparatus
CN103107996A (en) On-line download method and system of digital certificate and digital certificate issuing platform
CN111767569A (en) Access authorization method and node of block chain
CN110599270A (en) Electronic bill generation method and device and computer equipment
CN111476617B (en) Data processing method, data processing device, computer equipment and medium
CN111314066B (en) Block chain-based data transfer method, terminal and computer-readable storage medium
CN111049806B (en) Joint authority control method and device, electronic equipment and storage medium
CN111416709A (en) Voting method, device, equipment and storage medium based on block chain system
CN104579659A (en) Device for safety information interaction
CN111311259A (en) Bill processing method, device, terminal and computer readable storage medium
CN110910110A (en) Data processing method and device and computer storage medium
CN115705601A (en) Data processing method and device, computer equipment and storage medium
CN116506134B (en) Digital certificate management method, device, equipment, system and readable storage medium
CN109818965B (en) Personal identity verification device and method
CN114417377B (en) Data interaction method based on block chain
CN112184150A (en) Multi-party approval method, device and system in data sharing exchange and electronic device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40026345

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant