Financial service billing and charging method and device based on blockchain

By obtaining and filtering transaction data in the blockchain network, calculating and verifying the hash value of the billing bill, we solve the problem of charging fees for multi-platform financial products in the blockchain network, and realize the control of products issued by multiple platforms. Effective fee statistics and charges.

CN114638604BActive Publication Date: 2024-08-27CHENGDU PRIME STARK TECH CO LTD
View PDF 36 Cites 0 Cited by

Patent Information

Application Number
CN202210288409.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-22
Publication Date
2024-08-27
Estimated Expiration
2042-03-22

AI Technical Summary

Technical Problem

In the business communication scenario of multiple financial institutions on the blockchain network, it is difficult for the blockchain operator or manager to effectively calculate and collect handling fees. Especially when financial products are issued on multiple platforms, the traditional method of regularly tracking product dynamic information Invalid.

Method used

By obtaining the original transaction data, filter out the complete transaction details, calculate the hash value of the billing bill and desensitized data, perform on-chain consensus verification to ensure the authenticity of the billing bill, and send it to the billing node for registration and Statistics to realize handling fee billing for products issued on multiple platforms.

Benefits of technology

It realizes effective fee charging for financial products in multiple sales channels, is suitable for the sales scenarios of financial products on multiple platforms, and improves the practicality and accuracy of fee calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638604B
    Figure CN114638604B
Patent Text Reader

Abstract

The present invention relates to the field of blockchain technology, and in particular to a blockchain-based financial service billing method, charging method and device, the method comprising: obtaining original transaction data within a first time period, and screening out first transaction data from the original transaction data; respectively calculating a billing bill and desensitized data according to the first transaction data; calculating a hash value corresponding to the desensitized data, and performing a chain consensus operation on it; sending the desensitized data and the billing bill to a billing node; in the present invention, all transaction details, i.e., original transaction data, generated by a corresponding product issuance business system during this period are regularly obtained through an issuance node, and multiple complete transaction details occurring on this blockchain network platform are screened out from multiple complete transaction details in the original transaction data, thereby realizing the function of charging the platform handling fee for a financial product issued by an issuer with multiple sales channels.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based financial service billing and charging method and device. Background Art

[0002] With the development of blockchain technology, business exchanges between financial institutions have gradually transformed from traditional centralized platforms to decentralized ones based on blockchain technology. As the operator or manager of the blockchain network, how to charge corresponding fees in the new multi-financial institution business exchange scenario based on the blockchain network is an urgent problem to be solved. Especially when the products issued by the issuer of financial products are not only issued and sold on a certain blockchain platform, but on multiple platforms, it will result in the blockchain operator or manager only calculating the fees by tracking the product dynamic information regularly released by the issuer of financial products (including the overall sales of a certain financial product) will no longer have practical value. Summary of the invention

[0003] The purpose of the present invention is to provide a billing and charging method and device for financial services of blockchain to improve the above-mentioned problems.

[0004] In order to achieve the above objectives, the present application provides the following technical solutions:

[0005] On the one hand, an embodiment of the present application provides a blockchain-based financial service billing method, which is applied to any issuing node in a blockchain network, the method comprising: obtaining original transaction data within a first time period, and filtering out first transaction data from the original transaction data, the first transaction data being data containing multiple complete transaction details, the first transaction data being data containing multiple complete transaction details occurring in the blockchain network; calculating a billing bill and desensitized data according to the first transaction data, the billing bill being a fee detail bill containing multiple transaction amounts, the desensitized data including multiple desensitized transaction details, the desensitized transaction details being basic information for calculating transaction fees; calculating a hash value corresponding to the desensitized data, and performing a chain consensus operation on it, so that the recipient of the billing bill can verify the authenticity of the billing bill; sending the desensitized data and the billing bill to a billing node, so that the billing node can register the transaction fee in the billing bill, the billing node being a server in the blockchain network responsible for counting the transaction fee corresponding to each issuing node.

[0006] Optionally, calculating a hash value corresponding to the desensitized data includes:

[0007] Acquire the desensitized data, wherein the desensitized data includes a plurality of desensitized transaction details;

[0008] Calculate the hash value corresponding to each of the desensitized transaction details respectively, and record it as the first hash value;

[0009] Calculate the hash values ​​corresponding to the multiple first hash values, record them as the hash values ​​corresponding to the desensitized data, and upload the hash values ​​corresponding to the desensitized data to the blockchain network, so that the blockchain network can reach a consensus on the hash values ​​corresponding to the desensitized data in the entire network.

[0010] Optionally, before sending the desensitized data and the billing bill to the billing node, the method further includes:

[0011] Acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details;

[0012] Calculate the hash value corresponding to each of the complete transaction details respectively, and record it as the second hash value;

[0013] Calculate hash values ​​corresponding to the multiple second hash values, and record them as hash values ​​corresponding to the first transaction data;

[0014] The hash value corresponding to the first transaction data is uploaded to the blockchain network so that the blockchain network can reach a consensus on the hash value corresponding to the first transaction data in the entire network.

[0015] Optionally, calculating a bill according to the first transaction data includes:

[0016] Acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details;

[0017] The billing operation is performed on the complete transaction details in sequence to obtain the handling fee details corresponding to each complete transaction detail. The billing operation is to desensitize the complete transaction details to obtain desensitized transaction details, and then retrieve the corresponding billing rules according to the transaction type corresponding to the desensitized transaction details, and bill the desensitized transaction details according to the corresponding billing rules, thereby obtaining the handling fee details.

[0018] In a second aspect, an embodiment of the present application provides a blockchain-based financial service billing method, which is applied to a billing node in a blockchain network, and the method includes:

[0019] Receive desensitized data and billing invoices sent by issuing nodes;

[0020] Calculate the hash value corresponding to the desensitized data and compare it with the corresponding hash value in the blockchain public account book. If they are the same, determine the authenticity of each fee detail in the billing bill based on the desensitized data. If multiple fee details in the billing bill are consistent with the desensitized data, record the content of the billing bill in the local billing account book.

[0021] In a third aspect, an embodiment of the present application provides a blockchain-based charging method, which is applied to any issuing node in a blockchain network, and the method includes:

[0022] Obtaining a charging bill sent by a charging node, wherein the charging bill includes multiple charging bills;

[0023] The hash value corresponding to each of the billing bills is calculated in turn, and compared with the corresponding hash value in the blockchain public ledger. If the hash values ​​of multiple billing bills are the same as the hash values ​​in the corresponding blockchain public ledger, the bills are sent to the product distribution business system to make the product issuer pay the fees.

[0024] In a fourth aspect, an embodiment of the present application provides a blockchain-based financial service billing device, which is applied to any issuing node in a blockchain network, and the device includes:

[0025] A first acquisition module, used to acquire original transaction data within a first time period, and filter out first transaction data from the original transaction data, wherein the first transaction data is data containing multiple complete transaction details, and the first transaction data is data containing multiple complete transaction details occurring in a blockchain network;

[0026] A first calculation module, configured to calculate a billing bill and desensitized data according to the first transaction data, wherein the billing bill is a detailed bill of handling fees including the amounts of multiple transactions, and the desensitized data includes multiple desensitized transaction details, and the desensitized transaction details are basic information for calculating transaction handling fees;

[0027] A second calculation module is used to calculate the hash value corresponding to the desensitized data and perform a consensus operation on the chain so that the recipient of the billing bill can verify the authenticity of the billing bill;

[0028] The first sending module is used to send the desensitized data and the billing bill to a billing node so that the billing node registers the transaction fee in the billing bill. The billing node is a server in the blockchain network that is responsible for counting the transaction fees corresponding to each issuing node.

[0029] Optionally, the second calculation module includes:

[0030] A first acquisition unit, configured to acquire the desensitized data, wherein the desensitized data includes a plurality of desensitized transaction details;

[0031] A first calculation unit, used to calculate a hash value corresponding to each of the desensitized transaction details, recorded as a first hash value;

[0032] The second calculation unit is used to calculate the hash values ​​corresponding to the multiple first hash values, record them as the hash values ​​corresponding to the desensitized data, and upload the hash values ​​corresponding to the desensitized data to the blockchain network, so that the blockchain network can reach a consensus on the hash values ​​corresponding to the desensitized data in the entire network.

[0033] Optionally, the second calculation module includes:

[0034] A second acquisition unit, configured to acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details;

[0035] A third calculation unit is used to calculate the hash value corresponding to each of the complete transaction details, recorded as a second hash value;

[0036] a fourth calculation unit, configured to calculate hash values ​​corresponding to the plurality of second hash values, and record the hash values ​​as the hash values ​​corresponding to the first transaction data;

[0037] The fifth computing unit is used to upload the hash value corresponding to the first transaction data to the blockchain network, so that the blockchain network can reach a consensus on the hash value corresponding to the first transaction data in the entire network.

[0038] In a fifth aspect, an embodiment of the present application provides a blockchain-based charging device, which is applied to any issuing node in a blockchain network, and the device includes:

[0039] A second acquisition module is used to acquire a charging bill sent by a charging node, wherein the charging bill includes multiple charging bills;

[0040] The third calculation module is used to calculate the hash value corresponding to each of the billing bills in turn, and compare it with the corresponding hash value in the blockchain public ledger. If the hash values ​​of multiple billing bills are the same as the hash values ​​in the corresponding blockchain public ledger, the bills are sent to the product distribution business system to enable the product issuer to pay the fees.

[0041] In a sixth aspect, an embodiment of the present application provides a blockchain-based financial service billing device, which includes a memory and a processor.

[0042] The memory is used to store computer programs; the processor is used to implement the steps of the above-mentioned blockchain-based financial service billing method when executing the computer program.

[0043] In the seventh aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned blockchain-based financial service billing method are implemented.

[0044] The beneficial effects of the present invention are:

[0045] In the present invention, all transaction details, i.e., original transaction data, generated by the corresponding product issuance business system during this period are periodically obtained through the issuance node, and multiple complete transaction details occurring on this blockchain network platform are screened out from multiple complete transaction details in the original transaction data, thereby realizing the function of charging the platform's handling fee for a financial product issued by an issuer with multiple sales channels. Compared with regularly tracking product dynamic information and overall product sales information, this method can be applied to the application scenario when the financial product issuance business system is sold on multiple platforms.

[0046] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 This is a flowchart of a blockchain-based financial service billing method described in an embodiment of the present invention;

[0049] Figure 2 It is a schematic diagram of the structure of a financial service billing device based on blockchain described in an embodiment of the present invention;

[0050] Figure 3 It is a schematic diagram of the structure of a blockchain-based financial service billing device described in an embodiment of the present invention;

[0051] Figure 4 It is a schematic diagram of the structure of the blockchain network system described in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, 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 in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0053] It should be noted that similar reference numerals or letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0054] Before giving examples, we need to briefly explain the overall blockchain network system. Figure 4 As shown, the blockchain network includes multiple issuing nodes, multiple sales nodes and at least one charging node. Each issuing node corresponds to an independent product issuing business system, and each sales node corresponds to a product sales business system. The product issuing business system corresponds to the business system of the financial product issuing institution, and the product sales business system corresponds to the business system of the financial product seller. The issuing node and the sales node are intermediate connectors that enable the issuers and sellers of financial products to execute related businesses and consensus in the blockchain network. The billing node in the blockchain network system corresponds to the operator of the platform, which is used to bill and collect transaction fees for financial products incurred in this blockchain network. It should be noted that the charges are only for the issuers of the products, and no fees are charged for the sellers of the products.

[0055] Example 1

[0056] like Figure 1 As shown, this embodiment provides a blockchain-based financial service billing method, which is applied to any issuing node in the blockchain network. The method includes step S1, step S2, step S3 and step S4.

[0057] Step S1. Obtain the original transaction data within the first time period, and filter out the first transaction data from the original transaction data. The first transaction data is data containing multiple complete transaction details, which contains all transaction details that occurred in the product issuance system within the first time period. However, for product issuing institutions with multiple sales channels, some transaction details do not occur in the current blockchain network system, and thus it is necessary to filter out the transaction details that occurred in the local blockchain network system, namely the first transaction data, from the original data. There are many ways to filter, such as judging by checking the transaction participation information. Specifically, if all transaction participants are members of the blockchain network node, it is determined that the transaction occurred in the current blockchain network. Secondly, there is another way to mark the place where the transaction data occurs at the time of the transaction, and filter and distinguish them later by identifying the mark. The first transaction data is data containing multiple complete transaction details that occurred in the blockchain network.

[0058] Step S2. Calculate and obtain a billing invoice and desensitized data based on the first transaction data, wherein the billing invoice is a detailed bill of handling fees including the amounts of multiple transactions, and the desensitized data includes multiple desensitized transaction details, which are basic information used to calculate transaction fees;

[0059] The specific steps of calculating and obtaining the billing bill according to the first transaction data in step S2 may be:

[0060] Step S21. Acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details;

[0061] Step S22. Execute the billing operation on the complete transaction details in turn to obtain the handling fee details corresponding to each of the complete transaction details, wherein the billing operation is to desensitize the complete transaction details to obtain desensitized transaction details, and then retrieve the corresponding billing rules according to the transaction type corresponding to the desensitized transaction details, and bill the desensitized transaction details according to the corresponding billing rules to obtain the handling fee details, wherein the complete transaction details include sensitive data such as the identity information of the transaction parties, while the desensitized transaction details after desensitization do not have sensitive data such as transaction identity information, but the desensitized data at least includes basic transaction information such as transaction amount, product code, time, etc. for calculating the handling fee.

[0062] Step S3. Calculate the hash value corresponding to the desensitized data and perform a consensus operation on the chain so that the recipient of the bill can verify the authenticity of the bill;

[0063] The specific steps of calculating the hash value corresponding to the desensitized data in step S3 may be:

[0064] Step S31. Obtain the desensitized data, wherein the desensitized data includes a plurality of desensitized transaction details;

[0065] Step S32. Calculate the hash value corresponding to each of the desensitized transaction details respectively, and record it as the first hash value;

[0066] Step S33. Calculate the hash values ​​corresponding to the multiple first hash values, record them as the hash values ​​corresponding to the desensitized data, and upload the hash values ​​corresponding to the desensitized data to the blockchain network, so that the blockchain network can reach a consensus on the hash values ​​corresponding to the desensitized data in the entire network. The data of a single desensitized transaction detail in this embodiment is relatively large. If multiple desensitized transaction details are used to calculate a hash value together, the amount of calculation is extremely large and the time-consuming is extremely long (the initial data amount of the hash calculation is extremely large, which may lead to the inability to calculate). In this embodiment, a secondary hash calculation is adopted, that is, the hash of a single desensitized transaction detail is first calculated, the first hash simplification is performed, and then a hash value is calculated again with the hash values ​​of multiple desensitized transaction details, which is the hash corresponding to the desensitized data. Similarly, this principle is still applicable to the chaining of the first transaction data described below, so it will not be repeated here.

[0067] When uploading the hash value corresponding to the desensitized data, the hash value corresponding to the original transaction data can also be uploaded to prevent the need for reconciliation between the two parties of the transaction later. The specific operation of uploading the hash value corresponding to the original transaction data can be:

[0068] Step S34. Acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details;

[0069] Step S35. Calculate the hash value corresponding to each complete transaction detail respectively, and record it as the second hash value;

[0070] Step S36. Calculate hash values ​​corresponding to multiple second hash values, and record them as hash values ​​corresponding to the first transaction data;

[0071] Step S37. Upload the hash value corresponding to the first transaction data to the blockchain network so that the blockchain network can reach a consensus on the hash value corresponding to the first transaction data in the entire network. It should be noted that the technical effect of the consensus hash value is to record the hash value corresponding to the first transaction data in the blockchain public ledger of each node in the blockchain network.

[0072] Step S4. Send the desensitized data and the billing bill to the billing node so that the billing node registers the transaction fee in the billing bill. The billing node is a server in the blockchain network that is responsible for counting the transaction fees corresponding to each issuing node.

[0073] Example 2

[0074] This embodiment provides a blockchain-based financial service billing method, which is applied to a billing node in a blockchain network. The method includes step S6 and step S7.

[0075] Step S6. Receive the desensitized data and billing bill sent by the issuing node;

[0076] Step S7. Calculate the hash value corresponding to the desensitized data, wherein the specific steps of hash value calculation can refer to the above steps S35-S36, and compare it with the corresponding hash value in the blockchain public account book. In this embodiment, all desensitized data as described in steps S3-S4 must agree on the hash value of the data in the blockchain before transmission, so that the recipient of the data can verify the authenticity of the data. If they are the same, the authenticity of each fee detail in the billing bill is judged according to the desensitized data. If multiple fee details in the billing bill are consistent with the desensitized data, the content of the billing bill is recorded in the local billing account book.

[0077] Example 3

[0078] This embodiment provides a blockchain-based charging method, which is applied to any issuing node in a blockchain network. The method includes step S8 and step S9.

[0079] Step S8. Obtain the charging bill sent by the billing node, the charging bill includes multiple charging bills, the charging bill can be a daily fee, and the charging bill is a monthly or quarterly total fee;

[0080] Step S9. Calculate the hash value corresponding to each of the billing bills in turn. It should be noted that the hash value corresponding to the billing bill is actually the hash value corresponding to the corresponding desensitized data. Secondly, the billing bill contains desensitized data. Therefore, the specific operation is to strip the desensitized data from the billing bill, and then calculate the hash value of the desensitized data as the hash value of the billing bill, and compare it with the corresponding hash value in the blockchain public ledger. If the hash values ​​of multiple billing bills are the same as the hash values ​​in the corresponding blockchain public ledger, the billing bill will be sent to the product issuance business system to enable the product issuer to pay the fee.

[0081] Example 4

[0082] like Figure 2 As shown, this embodiment provides a financial service billing device based on blockchain, which is applied to any issuing node in the blockchain network, and the device includes:

[0083] A first acquisition module 71 is used to acquire original transaction data within a first time period, and filter out first transaction data from the original transaction data, wherein the first transaction data is data containing multiple complete transaction details, and the first transaction data is data containing multiple complete transaction details occurring in the blockchain network;

[0084] A first calculation module 72, configured to calculate a billing bill and desensitized data according to the first transaction data, wherein the billing bill is a detailed bill of handling fees including the amounts of multiple transactions, and the desensitized data includes multiple desensitized transaction details, which are basic information for calculating transaction handling fees;

[0085] The second calculation module 73 is used to calculate the hash value corresponding to the desensitized data and perform a consensus operation on the chain so that the recipient of the billing bill can verify the authenticity of the billing bill;

[0086] The first sending module 74 is used to send the desensitized data and the billing bill to the billing node so that the billing node registers the transaction fee in the billing bill. The billing node is a server in the blockchain network that is responsible for counting the transaction fees corresponding to each issuing node.

[0087] In this embodiment, the second calculation module 73 includes:

[0088] A first acquisition unit 731 is used to acquire the desensitized data, where the desensitized data includes a plurality of desensitized transaction details;

[0089] A first calculation unit 732, used to calculate the hash value corresponding to each of the desensitized transaction details, recorded as a first hash value;

[0090] The second calculation unit 733 is used to calculate the hash values ​​corresponding to the multiple first hash values, record them as the hash values ​​corresponding to the desensitized data, and upload the hash values ​​corresponding to the desensitized data to the blockchain network, so that the blockchain network can reach a consensus on the hash values ​​corresponding to the desensitized data in the entire network.

[0091] In this embodiment, the second calculation module 73 includes:

[0092] A second acquisition unit 734 is used to acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details;

[0093] The third calculation unit 735 is used to calculate the hash value corresponding to each of the complete transaction details, recorded as the second hash value;

[0094] A fourth calculation unit 736, configured to calculate hash values ​​corresponding to the plurality of second hash values, recorded as hash values ​​corresponding to the first transaction data;

[0095] The fifth computing unit 737 is used to upload the hash value corresponding to the first transaction data to the blockchain network, so that the blockchain network can reach a consensus on the hash value corresponding to the first transaction data in the entire network.

[0096] Example 5

[0097] like Figure 2 As shown, this embodiment provides a blockchain-based charging device, which is applied to any issuing node in the blockchain network. The device includes a second acquisition module 75 and a third calculation module 76.

[0098] A second acquisition module 75 is used to acquire a charging bill sent by a charging node, wherein the charging bill includes multiple charging bills;

[0099] The third calculation module 76 is used to calculate the hash value corresponding to each of the billing bills in turn, and compare it with the corresponding hash value in the blockchain public ledger. If the hash values ​​of multiple billing bills are the same as the hash values ​​in the corresponding blockchain public ledger, the bills are sent to the product distribution business system to enable the product issuer to pay the fees.

[0100] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0101] Example 6

[0102] Corresponding to the above method embodiments, the embodiments of the present disclosure also provide a blockchain-based financial service billing device. The blockchain-based financial service billing device described below and the blockchain-based financial service billing method described above can refer to each other.

[0103] Figure 3 8 is a block diagram of a blockchain-based financial service billing device 800 according to an exemplary embodiment. Figure 3 As shown, the electronic device 800 may include: a processor 801 and 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 communication component 805.

[0104] Among them, the processor 801 is used to control the overall operation of the electronic device 800 to complete all or part of the steps in the above-mentioned blockchain-based financial service billing method. The memory 402 is used to store various types of data to support the operation of the electronic device 800, which may include, for example, instructions for any application or method for operating on the electronic device 800, and application-related data, such as contact data, messages sent and received, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component 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, and the above-mentioned other interface modules may be keyboards, mice, 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 the corresponding communication component 805 may include: Wi-Fi module, Bluetooth module, NFC module.

[0105] In an exemplary embodiment, the electronic device 800 can 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 to execute the above-mentioned blockchain-based financial service billing method.

[0106] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned blockchain-based financial service billing method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions can be executed by the processor 801 of the electronic device 800 to complete the above-mentioned blockchain-based financial service billing method.

[0107] Example 4

[0108] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides a readable storage medium. The readable storage medium described below and the blockchain-based financial service billing method described above can refer to each other.

[0109] A readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the blockchain-based financial service billing method of the above-mentioned method embodiment.

[0110] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.

[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A financial service billing method based on blockchain, characterized in that: Applied to any issuing node in a blockchain network, the method includes: Acquire original transaction data within a first time period, and filter out first transaction data from the original transaction data, The first transaction data is data containing multiple complete transaction details, and the first transaction data is data containing multiple complete transaction details occurring in the blockchain network; A billing invoice and desensitized data are calculated based on the first transaction data, wherein the billing invoice is a detailed bill of handling fees including the amounts of multiple transactions, and the desensitized data includes multiple desensitized transaction details, which are basic information used to calculate transaction fees; Calculating the hash value corresponding to the desensitized data includes: obtaining the desensitized data, the desensitized data including a plurality of the desensitized transaction details; calculating the hash value corresponding to each of the desensitized transaction details respectively, recording them as first hash values; calculating hash values ​​corresponding to a plurality of first hash values, recording them as hash values ​​corresponding to the desensitized data, and uploading the hash value corresponding to the desensitized data to the blockchain network, so that the blockchain network reaches a consensus on the hash value corresponding to the desensitized data in the entire network; and performing an on-chain consensus operation, so that the recipient of the billing bill can verify the authenticity of the billing bill; The desensitized data and the billing bill are sent to a billing node so that the billing node registers the transaction fee in the billing bill. The billing node is a server in the blockchain network that is responsible for counting the transaction fees corresponding to each issuing node.

2. The blockchain-based financial service billing method according to claim 1, characterized in that: Before sending the desensitized data and the billing bill to the billing node, the method further includes: Acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details; Calculate the hash value corresponding to each of the complete transaction details respectively, and record it as the second hash value; Calculate hash values ​​corresponding to the multiple second hash values, and record them as hash values ​​corresponding to the first transaction data; The hash value corresponding to the first transaction data is uploaded to the blockchain network so that the blockchain network can reach a consensus on the hash value corresponding to the first transaction data in the entire network.

3. The blockchain-based financial service billing method according to claim 1, characterized in that: The billing bill is calculated according to the first transaction data, including: Acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details; The billing operation is performed on the complete transaction details in sequence to obtain the handling fee details corresponding to each complete transaction detail. The billing operation is to desensitize the complete transaction details to obtain desensitized transaction details, and then retrieve the corresponding billing rules according to the transaction type corresponding to the desensitized transaction details, and bill the desensitized transaction details according to the corresponding billing rules, thereby obtaining the handling fee details.

4. A financial service billing method based on blockchain, characterized in that: Applied to a billing node in a blockchain network, the method comprises: Receive the desensitized data and billing bill sent by the issuing node; the billing bill is a detailed bill of handling fees including the amounts of multiple transactions, the desensitized data includes multiple desensitized transaction details, and the desensitized transaction details are basic information for calculating transaction fees; Calculate the hash value corresponding to the desensitized data and compare it with the corresponding hash value in the blockchain public account book. If they are the same, determine the authenticity of each fee detail in the billing bill based on the desensitized data. If multiple fee details in the billing bill are consistent with the desensitized data, record the content of the billing bill in the local billing account book. The calculating of the hash value corresponding to the desensitized data includes: obtaining the desensitized data; respectively calculating the hash value corresponding to each of the desensitized transaction details, recorded as the first hash value; calculating the hash value corresponding to multiple first hash values, recorded as the hash value corresponding to the desensitized data.

5. A charging method based on blockchain, characterized in that: Applied to any issuing node in a blockchain network, the method includes: Obtaining a charging bill sent by a billing node, wherein the charging bill includes multiple charging bills; the charging bill is a detailed bill of handling fees including multiple transaction amounts; Calculate the hash value corresponding to each billing bill in turn, and compare it with the corresponding hash value in the blockchain public ledger. If the hash values ​​of multiple billing bills are the same as the hash values ​​in the corresponding blockchain public ledger, send the bills to the product issuance business system so that the product issuer pays the fees; The calculating of the hash value corresponding to each billing bill is specifically as follows: stripping the desensitized data from the billing bill, and then calculating the hash value of the desensitized data and recording it as the hash value of the billing bill; the desensitized data includes a plurality of desensitized transaction details, and the desensitized transaction details are basic information for calculating the transaction fee; The calculating of the hash value corresponding to the desensitized data includes: obtaining the desensitized data; respectively calculating the hash value corresponding to each of the desensitized transaction details, recorded as the first hash value; calculating the hash value corresponding to multiple first hash values, recorded as the hash value corresponding to the desensitized data.

6. A financial service billing device based on blockchain, characterized in that: Applied to any issuing node in a blockchain network, the device comprises: A first acquisition module, used to acquire original transaction data within a first time period, and filter out first transaction data from the original transaction data, wherein the first transaction data is data containing multiple complete transaction details, and the first transaction data is data containing multiple complete transaction details occurring in a blockchain network; A first calculation module, configured to calculate a billing bill and desensitized data according to the first transaction data, wherein the billing bill is a detailed bill of handling fees including the amounts of multiple transactions, and the desensitized data includes multiple desensitized transaction details, and the desensitized transaction details are basic information for calculating transaction handling fees; A second calculation module is used to calculate the hash value corresponding to the desensitized data and perform a consensus operation on the chain so that the recipient of the billing bill can verify the authenticity of the billing bill; The second calculation module includes: A first acquisition unit, configured to acquire the desensitized data, wherein the desensitized data includes a plurality of desensitized transaction details; A first calculation unit, used to calculate a hash value corresponding to each of the desensitized transaction details, recorded as a first hash value; A second calculation unit is used to calculate hash values ​​corresponding to the multiple first hash values, record them as hash values ​​corresponding to the desensitized data, and upload the hash values ​​corresponding to the desensitized data to the blockchain network, so that the blockchain network can reach a consensus on the hash values ​​corresponding to the desensitized data in the entire network; The first sending module is used to send the desensitized data and the billing bill to a billing node so that the billing node registers the transaction fee in the billing bill. The billing node is a server in the blockchain network that is responsible for counting the transaction fees corresponding to each issuing node.

7. The blockchain-based financial service billing device according to claim 6, characterized in that: The second calculation module includes: A second acquisition unit, configured to acquire the first transaction data, where the first transaction data includes a plurality of complete transaction details; A third calculation unit is used to calculate the hash value corresponding to each of the complete transaction details, recorded as a second hash value; a fourth calculation unit, configured to calculate hash values ​​corresponding to the plurality of second hash values, and record the hash values ​​as the hash values ​​corresponding to the first transaction data; The fifth computing unit is used to upload the hash value corresponding to the first transaction data to the blockchain network, so that the blockchain network can reach a consensus on the hash value corresponding to the first transaction data in the entire network.

8. A charging device based on blockchain, characterized in that: Applied to any issuing node in a blockchain network, the device comprises: a second acquisition module, used to acquire a charging bill sent by a billing node, wherein the charging bill comprises a plurality of charging bills; the charging bill is a detailed bill of handling fees including the amounts of a plurality of transactions; The third calculation module is used to calculate the hash value corresponding to each of the billing bills in turn, and compare it with the corresponding hash value in the blockchain public account book. If the hash values ​​of multiple billing bills are the same as the hash values ​​in the corresponding blockchain public account book, the bills are sent to the product issuance business system so that the product issuer pays the fees; The calculating of the hash value corresponding to each billing bill is specifically as follows: stripping the desensitized data from the billing bill, and then calculating the hash value of the desensitized data and recording it as the hash value of the billing bill; the desensitized data includes a plurality of desensitized transaction details, and the desensitized transaction details are basic information for calculating the transaction fee; The calculating of the hash value corresponding to the desensitized data includes: obtaining the desensitized data; respectively calculating the hash value corresponding to each of the desensitized transaction details, recorded as the first hash value; calculating the hash value corresponding to multiple first hash values, recorded as the hash value corresponding to the desensitized data.

Citation Information

Patent Citations

  • File processing method and device

    CN106548092A

  • Data liquidation method and system and computer readable storage medium

    CN108171489A

  • An information processing method and a device thereof

    CN109191104A

  • Block chain billing node selection method and system for correlation relevant chains

    CN109391684A

  • Block chain reconciliation method, device, system, apparatus and readable storage medium

    CN109493202A