CN114418769A - Block chain transaction charging method and device and readable storage medium - Google Patents

Block chain transaction charging method and device and readable storage medium Download PDF

Info

Publication number
CN114418769A
CN114418769A CN202210100555.8A CN202210100555A CN114418769A CN 114418769 A CN114418769 A CN 114418769A CN 202210100555 A CN202210100555 A CN 202210100555A CN 114418769 A CN114418769 A CN 114418769A
Authority
CN
China
Prior art keywords
transaction
commission
desensitization
ciphertext
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210100555.8A
Other languages
Chinese (zh)
Inventor
李成才
刘昱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Quality Starker Technology Co Ltd
Original Assignee
Chengdu Quality Starker Technology 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 Chengdu Quality Starker Technology Co Ltd filed Critical Chengdu Quality Starker Technology Co Ltd
Priority to CN202210100555.8A priority Critical patent/CN114418769A/en
Publication of CN114418769A publication Critical patent/CN114418769A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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

Abstract

The invention relates to the technical field of block chain, in particular to a block chain transaction charging method, a device and a readable storage medium, wherein the method comprises the following steps: acquiring first transaction data and a first total commission ciphertext by a block chain network, wherein the first transaction data comprises desensitization transaction content and a transaction commission ciphertext; the blockchain network detects the performability of the desensitization transaction content and, if the desensitization transaction content can be executed, the desensitization transaction content is identified, and a second total commission cryptograph is calculated according to the transaction commission cryptograph and the first total commission cryptograph, the block chain network of the invention sets a set of transaction charging method before transaction by setting up a set of transaction charging method before transaction, the transaction participation client calculates the transaction fee before transaction is submitted, and encrypts the transaction fee by the homomorphic encryption public key of the operator, and then the desensitization transaction content and the desensitization transaction content are sent to the blockchain network, so that the operator can complete charging of the commission fee under the condition of not contacting the transaction content.

Description

Block chain transaction charging method and device and readable storage medium
Technical Field
The invention relates to the technical field of block chain, in particular to a block chain transaction charging method and device and a readable storage medium.
Background
The blockchain technology is based on decentralized distributed protocol, consensus algorithm, asymmetric key signature, Hash and other technologies, can safely store digital asset information, information cannot be forged and falsified, all nodes on a blockchain network execute transactions respectively and complete result confirmation together, and the consensus algorithm ensures the consistency of the transactions executed by all the nodes. All nodes in the block chain network maintain a public account book and guarantee that the public account book cannot be forged and falsified.
In a financial business scenario, transaction contents between banks are confidential, and an operator of a blockchain platform cannot know the transaction contents, so that how to charge a transaction participation node corresponding to a financial institution in each blockchain network becomes an urgent problem to be solved without knowing the transaction contents for the platform operator.
Disclosure of Invention
The present invention is directed to a block chain transaction charging method to improve the above-mentioned problems.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
in one aspect, an embodiment of the present application provides a block chain transaction charging method, where the method includes: the method comprises the steps that a block chain network obtains first transaction data and a first total commission ciphertext, wherein the first transaction data comprise desensitization transaction content and a transaction commission ciphertext, the first total commission ciphertext is a ciphertext corresponding to the sum of a plurality of transaction commission fees accumulated by a first transaction participation client, the desensitization transaction content is part of desensitization transaction content meeting transaction execution basic conditions, and the first total commission ciphertext and the transaction commission ciphertext are ciphered through a homomorphic encryption public key of an operator; and detecting the executability of the desensitization transaction content by the block chain network, if the desensitization transaction content can be executed, identifying the desensitization transaction content, and calculating to obtain a second total commission cryptograph according to the transaction commission cryptograph and the first total commission cryptograph, wherein the second total commission cryptograph is a cryptograph corresponding to the sum of the accumulated charged multiple transaction commission fees of the current first transaction participation client.
Optionally, before the acquiring the first transaction data, the blockchain network further includes:
a first transaction participation client acquires transaction content;
the first transaction participation client calculates to obtain a transaction commission charge according to the transaction content;
the first transaction participation client side carries out encryption calculation on the transaction commission fee by using a homomorphic encryption public key of an operator to obtain a transaction commission fee ciphertext;
the first transaction participation client carries out desensitization processing on the transaction content to obtain desensitization transaction content;
the first transaction participation client packs the desensitization transaction content and the transaction commission ciphertext to obtain the first transaction data;
and the first transaction participation client sends the first transaction data to the blockchain network.
Optionally, the desensitization processing of the first transaction participating client on the transaction content to obtain desensitization transaction content includes:
the first transaction participation client side calls the transaction content, and the transaction content comprises identity information of a plurality of transaction participation parties;
the first transaction participation client side respectively calls at least one identity certificate corresponding to the identity information of each transaction participation party according to the transaction type corresponding to the transaction content;
and replacing the identity information of the transaction participants with at least one corresponding identity voucher to obtain the desensitization transaction content.
Optionally, after the calculating to obtain the second total commission fee ciphertext, the method further includes:
the operator client sends a charge query instruction to the blockchain network, wherein the charge query instruction is used for triggering the blockchain network to send the second total commission fee ciphertext to the operator client;
the operator client receives the second total commission fee ciphertext sent by the blockchain network;
and the operator client decrypts the second total commission fee ciphertext through a local private key to obtain a second total commission fee, wherein the second total commission fee is the fee which is charged to the transaction participant corresponding to the first transaction participation client by the operator in a preset time period.
Optionally, the blockchain network includes a master node and a first trading node, where the first trading node is a hosting node corresponding to the first trading participation client;
the block chain network detects the performability of the desensitization transaction content, if the desensitization transaction content can be executed, the desensitization transaction content is identified, and a second total commission ciphertext is obtained through calculation according to the transaction commission ciphertext and the first total commission ciphertext, wherein the second total commission ciphertext comprises:
the first transaction node receives first transaction data sent by the first transaction participation client, detects whether desensitization transaction content in the first transaction data contains basic execution information, if the desensitization transaction content contains the basic execution information, a first signature is issued on the first transaction data, and the first transaction data is sent to the master node, the first transaction data with the first signature is used for triggering the master node to send the first transaction data to each consensus node in the block chain network, the first transaction data sent by the master node is used for triggering the consensus nodes to execute a first calculation operation, the first calculation operation is that the consensus nodes execute the desensitization transaction content in the first transaction data, an execution result is recorded in a local public ledger of the consensus nodes, and then the first total commission charge is called in the local public ledger, and accumulating the transaction procedure fee ciphertext in the first transaction data into the first total procedure fee ciphertext to obtain the second total procedure fee ciphertext.
In a fifth aspect, embodiments of the present application provide a device for charging for a blockchain transaction, where the device includes a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the block chain data transmission method when executing the computer program.
In a sixth aspect, the present application provides a readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the steps of the above block chain data transmission method.
The invention has the beneficial effects that:
the block chain network establishes a set of transaction charging method before transaction, the transaction participation client calculates the transaction commission charge before submitting the transaction, encrypts the transaction commission charge through the homomorphic encryption public key of the operator, and then sends the transaction commission charge and desensitization transaction content to the block chain network, thereby achieving the purpose that the operator completes charging of the commission charge under the condition of not contacting the transaction content.
Secondly, the transaction commission ciphertext and the first total commission ciphertext are used in the whole process of the block chain network to be superposed and accumulated, so that other nodes in the block chain network are prevented from knowing the specific amount corresponding to the ciphertext, and the privacy of the commission is effectively protected;
finally, the invention greatly protects the privacy of the transaction content by using the desensitized transaction content for consensus in the blockchain network.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
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 embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a block chain transaction charging method applicable to a block chain network according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a block chain transaction charging method applied to a first transaction participating node according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a charging method for blockchain transaction applicable to an operator ue according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a block chain transaction charging device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers or letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides a charging method for blockchain transaction, which is applicable to any data initiating node in a blockchain network, and includes steps S1 and S2.
S1, a block chain network acquires first transaction data and a first total commission ciphertext, wherein the first transaction data comprises desensitization transaction content and a transaction commission ciphertext, the first total commission ciphertext is a ciphertext corresponding to the sum of a plurality of transaction commission fees accumulated by a first transaction participation client, the desensitization transaction content is partial transaction content meeting transaction execution basic conditions after desensitization, and the first total commission ciphertext and the transaction commission ciphertext are ciphered by a homomorphic ciphering public key of an operator;
and S2, detecting the performability of the desensitization transaction content by the block chain network, if the desensitization transaction content can be executed, identifying the desensitization transaction content, and calculating to obtain a second total commission fee ciphertext according to the transaction commission fee ciphertext and the first total commission fee ciphertext, wherein the second total commission fee ciphertext is a ciphertext corresponding to the sum of a plurality of accumulated charged transaction commission fees of the current first transaction participation client.
It should be noted that the blockchain network includes a plurality of sets of charging standards established by the platform operator according to the service type, the transaction participation client needs to calculate the transaction commission fee according to the transaction content before initiating the transaction, then the transaction commission fee is encrypted and calculated by the homomorphic encryption public key of the operator, the cryptograph of the transaction commission fee is obtained, only the operator can decrypt the cryptograph, which is obtained by using the homomorphic encryption algorithm, according to the characteristic of the homomorphic encryption algorithm, the transaction commission fee cryptograph can be directly added with other transaction commission fee cryptographs encrypted by the homomorphic encryption public key of the operator, the addition result is the addition of the commission fee corresponding to the cryptograph, therefore, the accumulation of a plurality of cryptographs corresponding to the accumulation of a plurality of related commission fees in the blockchain network can be realized, after a predetermined period of time, the operator only needs to obtain the ciphertext corresponding to the last accumulated value, and can know the commission fee to be charged.
Secondly, as shown in fig. 2, before the blockchain network obtains the first transaction data, the first transaction participation client needs to generate the first transaction data, and a specific generation process may be:
s11, a first transaction participation client acquires transaction contents, wherein the first transaction participation client can correspond to a branch network point of a financial institution, and the transaction contents are transactions submitted by a user corresponding to the financial institution, such as transferring money, purchasing bonds or purchasing financing products and the like;
step S12, the first transaction participation client calculates and obtains transaction handling fees according to the transaction contents, calls different charging rules on the block chain network according to the service types corresponding to the transaction contents, charges the transaction contents, if the transfer amount can be charged according to the transfer amount, charges the purchasing bonds according to the types, interest rates and the like of the purchasing bonds and the like, and the implementation does not limit the charging rules;
step S13, the first transaction participation client performs encryption calculation on the transaction commission fee by using the homomorphic encryption public key of the operator to obtain a transaction commission fee ciphertext, wherein the transaction commission fee ciphertext is generated at the first transaction participation client in the embodiment, so that the leakage of the transaction commission fee can be prevented from the source, and the original text of the transaction commission fee is never linked up;
s14, a first transaction participation client carries out desensitization processing on the transaction content to obtain desensitization transaction content;
it should be noted that, in step S14, a specific method for performing desensitization processing on the transaction content may be:
step S141, a first transaction participation client side calls the transaction content, wherein the transaction content comprises identity information of a plurality of transaction participation parties;
s142, the first transaction participation client side respectively calls at least one identity certificate corresponding to the identity information of each transaction participation party according to the transaction type corresponding to the transaction content;
step s143, the first transaction participation client replaces the transaction participant identity information with at least one corresponding identity credential to obtain the desensitization transaction content, where the identity credential is an evidence for proving that the user has transaction qualification without exposing the user identity information, the blockchain network only verifies the credential, the identities of the users in the network are secret information, and other nodes in the blockchain network cannot know the user of the transaction, and it should be noted that the desensitization content described in this embodiment is not limited to perform desensitization operation only on the user information, but also may be related to other transaction contents that are not necessarily disclosed, and each financial institution may perform a first-relation constraint in an intelligent contract according to a related desensitization rule before a business link, and this implementation is not further described.
S15, the first transaction participation client packs the desensitization transaction content and the transaction commission ciphertext to obtain first transaction data;
and S16, the first transaction participation client sends the first transaction data to the block chain network.
Next, it should be noted that, after the second total commission cryptograph is obtained by the calculation in step S2, the method may further include:
s21, an operator client sends a charge query instruction to the blockchain network, wherein the charge query instruction is used for triggering the blockchain network to send the second total commission fee ciphertext to the operator client;
s22, the operator client receives the second total commission ciphertext sent by the block chain network;
and S23, the operator client decrypts the second total commission fee ciphertext through a local private key to obtain a second total commission fee, wherein the second total commission fee is the fee which is charged to the transaction participant corresponding to the first transaction participant client by the operator in a preset time period.
In this embodiment, as shown in fig. 3, after the second total commission cryptograph is obtained in step S2, the method for the operator client to know the current commission total amount may be:
s3, the operator client sends a charge query instruction to the block chain network, wherein the charge query instruction is used for triggering the block chain network to send the second total commission fee ciphertext to the operator client;
s4, the operator client receives the second total commission ciphertext sent by the block chain network;
s5, the operator client decrypts the second total commission ciphertext through a local private key to obtain a second total commission, wherein the second total commission is the fee which is charged to the transaction participant corresponding to the first transaction participant client within a preset time period by the operator;
the operator client may pull the current second total commission ciphertext on the district cross-link network in real time, so as to achieve real-time monitoring of the commission of a certain single financial institution, and may also pull the current second total commission ciphertext on the district cross-link network at regular intervals, so as to achieve regular monitoring of the commission of a certain single financial institution, which is not limited in this embodiment.
Example 2
In this embodiment, based on embodiment 1, in step S1, the blockchain network detects an performability of the desensitization transaction content, if the desensitization transaction content can be executed, the desensitization transaction content is identified, and a specific execution method for obtaining a second total commission ciphertext by calculating according to the transaction commission ciphertext and the first total commission ciphertext may be:
the block chain network comprises a master node and a first transaction node, wherein the first transaction node is a hosting node corresponding to a first transaction participation client, and can be understood that a financial institution has at least one node in the block chain network, the node is specially used for chaining the business transaction data of the financial institution to the block chain network, and the first transaction participation client is a branch institution server in the financial institution;
the method for detecting the performability of the desensitization transaction content by the block chain network, if the desensitization transaction content can be executed, identifying the desensitization transaction content, and calculating to obtain a second total commission ciphertext according to the transaction commission ciphertext and the first total commission ciphertext to use the second total commission ciphertext in the first transaction node may be as follows:
the first transaction node receives first transaction data sent by the first transaction participation client, detects whether desensitization transaction content in the first transaction data contains basic execution information, if the desensitization transaction content contains the basic execution information, a first signature is issued on the first transaction data, and the first transaction data is sent to the master node, the first transaction data with the first signature is used for triggering the master node to send the first transaction data to each consensus node in the block chain network, the first transaction data sent by the master node is used for triggering each consensus node to execute a first calculation operation, the first calculation operation is that the consensus node executes the desensitization transaction content in the first transaction data, and an execution result is recorded in a local public ledger of the consensus node, then, the first total commission ciphertext is called from the local public account book, and the transaction commission ciphertext in the first transaction data is accumulated to the first total commission ciphertext to obtain a second total commission ciphertext;
the basic execution information is a minimum information certificate capable of executing the transaction, and the basic information of the transaction may be a basic trigger execution condition written in an intelligent contract negotiated by both parties before the business uplink, such as the type of an identifiable identity certificate of both parties, the transaction quota base number, and the like, which is not described or limited in this implementation.
Example 5
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a block chain transaction charging device, and a block chain transaction charging device described below and a block chain transaction charging method described above may be referred to in correspondence.
Fig. 4 is a block diagram illustrating a blockchain transaction billing device 800 according to an example embodiment. As shown in fig. 3, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the electronic device 800, so as to complete all or part of the steps in the above block chain transaction charging method. The memory 402 is used to store various types of data to support operation at the electronic device 800, such as instructions for any application or method operating on the electronic device 800 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the above block chain transaction charging method.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described blockchain transaction billing method is also provided. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions that are executable by the processor 801 of the electronic device 800 to perform the blockchain transaction billing method described above.
Example 6
Corresponding to the above method embodiment, the disclosed embodiment also provides a readable storage medium, and a readable storage medium described below and a block chain transaction charging method described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the block chain transaction charging method of the above-described method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for charging for blockchain transactions, the method comprising:
the method comprises the steps that a block chain network obtains first transaction data and a first total commission ciphertext, wherein the first transaction data comprise desensitization transaction content and a transaction commission ciphertext, the first total commission ciphertext is a ciphertext corresponding to the sum of a plurality of transaction commission fees accumulated by a first transaction participation client, the desensitization transaction content is part of desensitization transaction content meeting transaction execution basic conditions, and the first total commission ciphertext and the transaction commission ciphertext are ciphered through a homomorphic encryption public key of an operator;
and detecting the executability of the desensitization transaction content by the block chain network, if the desensitization transaction content can be executed, identifying the desensitization transaction content, and calculating to obtain a second total commission cryptograph according to the transaction commission cryptograph and the first total commission cryptograph, wherein the second total commission cryptograph is a cryptograph corresponding to the sum of the accumulated charged multiple transaction commission fees of the current first transaction participation client.
2. The method for billing a blockchain transaction according to claim 1, wherein before the blockchain network obtains the first transaction data, the method further comprises:
a first transaction participation client acquires transaction content;
the first transaction participation client calculates to obtain a transaction commission charge according to the transaction content;
the first transaction participation client side carries out encryption calculation on the transaction commission fee by using a homomorphic encryption public key of an operator to obtain a transaction commission fee ciphertext;
the first transaction participation client carries out desensitization processing on the transaction content to obtain desensitization transaction content;
the first transaction participation client packs the desensitization transaction content and the transaction commission ciphertext to obtain the first transaction data;
and the first transaction participation client sends the first transaction data to the blockchain network.
3. The method for charging for blockchain transaction according to claim 2, wherein the desensitization processing of the first transaction participating client to the transaction content to obtain desensitized transaction content comprises:
the first transaction participation client side calls the transaction content, and the transaction content comprises identity information of a plurality of transaction participation parties;
the first transaction participation client side respectively calls at least one identity certificate corresponding to the identity information of each transaction participation party according to the transaction type corresponding to the transaction content;
and replacing the identity information of the transaction participants with at least one corresponding identity voucher to obtain the desensitization transaction content.
4. The method of billing for blockchain transactions according to claim 1, wherein after the calculating the second total commission cryptogram, further comprising:
the operator client sends a charge query instruction to the blockchain network, wherein the charge query instruction is used for triggering the blockchain network to send the second total commission fee ciphertext to the operator client;
the operator client receives the second total commission fee ciphertext sent by the blockchain network;
and the operator client decrypts the second total commission fee ciphertext through a local private key to obtain a second total commission fee, wherein the second total commission fee is the fee which is charged to the transaction participant corresponding to the first transaction participation client by the operator in a preset time period.
5. The blockchain transaction charging method according to claim 1, wherein the blockchain network includes a master node and a first transaction node, and the first transaction node is a hosting node corresponding to a first transaction participation client;
the block chain network detects the performability of the desensitization transaction content, if the desensitization transaction content can be executed, the desensitization transaction content is identified, and a second total commission ciphertext is obtained through calculation according to the transaction commission ciphertext and the first total commission ciphertext, wherein the second total commission ciphertext comprises:
the first transaction node receives first transaction data sent by the first transaction participation client, detects whether desensitization transaction content in the first transaction data contains basic execution information, if the desensitization transaction content contains the basic execution information, a first signature is issued on the first transaction data, and the first transaction data is sent to the master node, the first transaction data with the first signature is used for triggering the master node to send the first transaction data to each consensus node in the block chain network, the first transaction data sent by the master node is used for triggering the consensus nodes to execute a first calculation operation, the first calculation operation is that the consensus nodes execute the desensitization transaction content in the first transaction data, an execution result is recorded in a local public ledger of the consensus nodes, and then the first total commission charge is called in the local public ledger, and accumulating the transaction procedure fee ciphertext in the first transaction data into the first total procedure fee ciphertext to obtain the second total procedure fee ciphertext.
6. A device for billing a blockchain transaction, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the blockchain data transmission method according to any one of claims 2 to 3 when executing the computer program.
7. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the blockchain data transmission method according to any one of claims 2 to 3.
CN202210100555.8A 2022-01-27 2022-01-27 Block chain transaction charging method and device and readable storage medium Pending CN114418769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210100555.8A CN114418769A (en) 2022-01-27 2022-01-27 Block chain transaction charging method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210100555.8A CN114418769A (en) 2022-01-27 2022-01-27 Block chain transaction charging method and device and readable storage medium

Publications (1)

Publication Number Publication Date
CN114418769A true CN114418769A (en) 2022-04-29

Family

ID=81280153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210100555.8A Pending CN114418769A (en) 2022-01-27 2022-01-27 Block chain transaction charging method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114418769A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022377A (en) * 2022-07-22 2022-09-06 国网浙江省电力有限公司电力科学研究院 High-elasticity power grid data transmission method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022377A (en) * 2022-07-22 2022-09-06 国网浙江省电力有限公司电力科学研究院 High-elasticity power grid data transmission method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN111431713B (en) Private key storage method and device and related equipment
CN111476572B (en) Block chain-based data processing method, device, storage medium and equipment
CN111108521A (en) Implementing a blockchain based workflow
CN110020543B (en) Data processing method and device based on block chain
CN111211911B (en) Collaborative signature method, device, equipment and system
CN110149323B (en) Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity
CN109274837B (en) Telephone source traceable method and device based on block chain technology
CN112202554B (en) Information processing method, device and equipment for generating key based on attribute of information
CN111464315B (en) Digital signature processing method, device, computer equipment and storage medium
Delgado-Mohatar et al. Blockchain-based semi-autonomous ransomware
CN111507839A (en) Data processing method and device based on block chain, storage medium and equipment
CN112613956A (en) Bidding processing method and device
CN112804354B (en) Method and device for data transmission across chains, computer equipment and storage medium
CN113486122A (en) Data sharing method and electronic equipment
CN115203749A (en) Data transaction method and system based on block chain
CN114329290B (en) Capability open platform and authorized access method thereof
CN114866323A (en) User-controllable private data authorization sharing system and method
CN114418769A (en) Block chain transaction charging method and device and readable storage medium
CN110827034B (en) Method and apparatus for initiating a blockchain transaction
CN115409511B (en) Personal information protection system based on block chain
CN111915302A (en) Associated data processing method and device, electronic equipment and computer readable medium
CN111401888A (en) Method and device for generating multiple signature wallets
CN111131227B (en) Data processing method and device
CN111125734B (en) Data processing method and system
CN114331437A (en) Block chain-based digital seal using method and 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