CN114638604A - Financial service charging method and device based on block chain - Google Patents

Financial service charging method and device based on block chain Download PDF

Info

Publication number
CN114638604A
CN114638604A CN202210288409.2A CN202210288409A CN114638604A CN 114638604 A CN114638604 A CN 114638604A CN 202210288409 A CN202210288409 A CN 202210288409A CN 114638604 A CN114638604 A CN 114638604A
Authority
CN
China
Prior art keywords
charging
data
transaction
desensitization
hash value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210288409.2A
Other languages
Chinese (zh)
Other versions
CN114638604B (en
Inventor
任昌才
刘昱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210288409.2A priority Critical patent/CN114638604B/en
Publication of CN114638604A publication Critical patent/CN114638604A/en
Application granted granted Critical
Publication of CN114638604B publication Critical patent/CN114638604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the technical field of block chains, in particular to a financial service charging method, a charging method and a device based on a block chain, wherein the method comprises the following steps: acquiring original transaction data in a first time period, and screening out first transaction data from the original transaction data; respectively calculating to obtain a charging bill and desensitization data according to the first transaction data; calculating a hash value corresponding to the desensitization data, and performing uplink consensus operation on the desensitization data; sending the desensitization data and the charging bill to a charging node; in the invention, all transaction details generated by a corresponding product issuing service system in the period, namely original transaction data, are regularly acquired through an issuing node, and a plurality of complete transaction details generated on the local block chain network platform are screened out from a plurality of complete transaction details in the original transaction data, so that the function of charging the commission charge of the platform for a financial product issued by an issuer with a plurality of sales channels is realized.

Description

Financial service charging method and device based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to a financial service charging method and device based on a block chain.
Background
With the development of the blockchain technology, the business communication among financial institutions gradually changes from a traditional centralized platform to a multi-centralized direction development based on the blockchain technology, and as an operator or manager of a blockchain network, how to collect corresponding commission fees in a brand-new multi-financial-institution business communication scene based on the blockchain network is an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a charging method and a charging device for financial services of a block chain, so as to improve the 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-based financial service charging method, which is applied to any one publishing node in a block chain network, and the method includes: acquiring original transaction data in a first time period, and screening out first transaction data from the original transaction data, wherein the first transaction data is data containing a plurality of complete transaction details, and the first transaction data is data containing a plurality of complete transaction details occurring in a blockchain network; respectively calculating a charging bill and desensitization data according to the first transaction data, wherein the charging bill is a commission fee detail bill containing a plurality of transaction amounts, the desensitization data comprises a plurality of desensitization transaction details, and the desensitization transaction details are basic information for calculating transaction commission fees; calculating a hash value corresponding to the desensitization data, and performing uplink consensus operation on the hash value so that a receiver of the charging bill verifies the authenticity of the charging bill; and sending the desensitization data and the charging bill to a charging node so that the charging node registers the transaction commission in the charging bill, wherein the charging node is a server which is responsible for counting the transaction commission corresponding to each issuing node in a blockchain network.
Optionally, the calculating a hash value corresponding to desensitization data includes:
obtaining the desensitization data, the desensitization data including a plurality of the desensitization transaction details;
respectively calculating a hash value corresponding to each desensitization transaction detail, and recording the hash value as a first hash value;
and calculating hash values corresponding to the first hash values, recording the hash values as hash values corresponding to desensitization data, and uploading the hash values corresponding to the desensitization data to the blockchain network, so that the blockchain network can commonly identify the hash values corresponding to the desensitization data in the whole network.
Optionally, before sending the desensitization data and the charging bill to a charging node, the method further includes:
acquiring the first transaction data, wherein the first transaction data comprises a plurality of complete transaction details;
respectively calculating a hash value corresponding to each complete transaction detail, and recording the hash value as a second hash value;
calculating hash values corresponding to the plurality of second hash values, and recording the hash values as the hash values corresponding to the first transaction data;
and uploading the hash value corresponding to the first transaction data to a blockchain network, so that the blockchain network can identify the hash value corresponding to the first transaction data in the whole network.
Optionally, calculating a billing bill according to the first transaction data includes:
acquiring the first transaction data, wherein the first transaction data comprises a plurality of complete transaction details;
and sequentially executing charging operation on the complete transaction details to obtain the commission charge details corresponding to each complete transaction detail, wherein the charging operation is to perform desensitization processing on the complete transaction details to obtain desensitization transaction details, then calling corresponding charging rules according to the transaction types corresponding to the desensitization transaction details, and charging the desensitization transaction details according to the corresponding charging rules to further obtain the commission charge details.
In a second aspect, an embodiment of the present application provides a financial service charging method based on a blockchain, where the method is applied to a charging node in a blockchain network, and the method includes:
desensitization data and a charging bill sent by an issuing node are received;
and calculating a hash value corresponding to the desensitization data, comparing the hash value with a hash value corresponding to a block chain public account book, if the hash value is the same as the desensitization data, judging the authenticity of each handling charge detail in the charging bill according to the desensitization data, and if a plurality of handling charge details in the charging bill are all matched with the desensitization data, recording the content of the charging bill in a local charging account book.
In a third aspect, an embodiment of the present application provides a charging method based on a blockchain, which is applied to any one publishing node in a blockchain network, and the method includes:
acquiring a charging bill sent by a charging node, wherein the charging bill comprises a plurality of charging bills;
and sequentially calculating the hash value corresponding to each charging bill, comparing the hash value with the hash value corresponding to the block chain public account book, and if the hash values of the plurality of charging bills are the same as the hash values in the corresponding block chain public account book, sending the charging bills to a product issuing service system so as to enable a product issuer to pay.
In a fourth aspect, an embodiment of the present application provides a device for charging financial services based on a blockchain, where the device is applied to any one publishing node in a blockchain network, and the device includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring original transaction data in a first time period and screening out first transaction data from the original transaction data, the first transaction data is data containing a plurality of complete transaction details, and the first transaction data is data containing a plurality of complete transaction details occurring in a blockchain network;
the first calculation module is used for respectively calculating a charging bill and desensitization data according to the first transaction data, wherein the charging bill is a commission fee detail bill containing a plurality of transaction amounts, the desensitization data comprises a plurality of desensitization transaction details, and the desensitization transaction details are basic information used for calculating transaction commission fees;
the second calculation module is used for calculating a hash value corresponding to the desensitization data and performing uplink consensus operation on the hash value so that a receiver of the charging bill can verify the authenticity of the charging bill;
and the first sending module is used for sending the desensitization data and the charging bill to a charging node so as to enable the charging node to register the transaction commission in the charging bill, and the charging node is a server which is responsible for counting the transaction commission corresponding to each issuing node in a block chain network.
Optionally, the second computing module includes:
a first obtaining unit, configured to obtain the desensitization data, where the desensitization data includes a plurality of desensitization transaction details;
the first calculation unit is used for calculating a hash value corresponding to each desensitization transaction detail and recording the hash value as a first hash value;
and the second calculation unit is used for calculating hash values corresponding to the plurality of first hash values, recording the hash values as hash values corresponding to desensitization data, and uploading the hash values corresponding to the desensitization data to the blockchain network, so that the blockchain network can commonly identify the hash values corresponding to the desensitization data in the whole network.
Optionally, the second computing module includes:
the second acquisition unit is used for acquiring the first transaction data, and the first transaction data comprises a plurality of complete transaction details;
the third calculating unit is used for calculating the hash value corresponding to each complete transaction detail and recording the hash value as a second hash value;
the fourth calculating unit is used for calculating hash values corresponding to the second hash values and recording the hash values as the hash values corresponding to the first transaction data;
and the fifth calculation unit is used for uploading the hash value corresponding to the first transaction data to the blockchain network, so that the blockchain network can identify the hash value corresponding to the first transaction data in the whole network.
In a fifth aspect, an embodiment of the present application provides a charging apparatus based on a blockchain, which is applied to any one publishing node in a blockchain network, and the apparatus includes:
the second obtaining module is used for obtaining a charging bill sent by the charging node, wherein the charging bill comprises a plurality of charging bills;
and the third calculation module is used for calculating the hash value corresponding to each charging bill in sequence, comparing the hash value with the hash value corresponding to the block chain public account book, and if the hash values of the plurality of charging bills are the same as the hash values in the corresponding block chain public account book, sending the charging bills to the product issuing service system so as to enable the product issuer to pay.
In a sixth aspect, an embodiment of the present application provides a device for charging financial services based on a blockchain, where the device includes a memory and a processor.
The memory is used for storing a computer program; the processor is used for implementing the steps of the financial service charging method based on the block chain when executing the computer program.
In a seventh aspect, an embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the above method for charging for financial services based on a blockchain are implemented.
The invention has the beneficial effects that:
in the invention, all transaction details generated by the corresponding product issuing service system in the period, namely original transaction data, are regularly acquired through the issuing node, and a plurality of complete transaction details generated on the local block chain network platform are screened out from a plurality of complete transaction details in the original transaction data, so that the function of charging the commission charge of the platform for a financial product issued by an issuer with a plurality of sales channels is realized.
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-based financial service charging method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a block chain-based financial service charging apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a block chain-based financial service charging apparatus according to an embodiment of the present invention;
fig. 4 is a block chain network system structure diagram according to an embodiment of the 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 obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection 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.
Before the example, a brief explanation of an overall blockchain network system is needed, as shown in fig. 4, the blockchain network includes a plurality of issuing nodes, a plurality of selling nodes and at least one charging node, each issuing node corresponds to an independent product issuing service system, each selling node corresponds to a product selling service system, the product issuing service system corresponds to a service system of a financial product issuing institution, the product selling service system corresponds to a service system of a financial product seller, the issuing node and the selling node correspond to an operator of a platform for enabling the financial product issuing party and the financial product selling party to execute related services and common intermediate connections in the blockchain network, and the charging node in the blockchain network system corresponds to an operator of the platform for charging and charging the commission fee for the financial product transaction occurring in the blockchain network, the charge is only for the issuer of the product and no charge is charged to the seller of the product.
Example 1
As shown in fig. 1, the present embodiment provides a block chain-based financial service charging method applied to any one publishing node in a block chain network, where the method includes step S1, step S2, step S3, and step S4.
Step S1, obtaining original transaction data in a first time period, screening out first transaction data from the original transaction data, wherein the first transaction data is data containing a plurality of complete transaction details, the data contains all transaction details occurring in a product issuing system in the first time period, however, for a product issuing organization with a non-unique sale channel, partial transaction details do not occur in a local blockchain network system, and further, the transaction details occurring in the local blockchain network system, namely the first transaction data, need to be screened out from the original data, and various screening ways are provided, such as judging by checking transaction participation information, specifically, if transaction participants are secondary blockchain network node members, judging that the transaction occurs in the local blockchain network, and marking the occurrence of the transaction data during the transaction, screening and distinguishing by identifying the identifier at a later stage, wherein the first transaction data is data containing a plurality of complete transaction details occurring in the blockchain network;
s2, respectively calculating to obtain a charging bill and desensitization data according to the first transaction data, wherein the charging bill is a commission fee detail bill containing multiple transaction amounts, the desensitization data comprises multiple desensitization transaction details, and the desensitization transaction details are basic information for calculating transaction commission fees;
the specific step of calculating the billing bill according to the first transaction data in step S2 may be:
s21, acquiring the first transaction data, wherein the first transaction data comprises a plurality of complete transaction details;
and S22, sequentially executing charging operation on the complete transaction details to obtain the commission charge details corresponding to each complete transaction detail, wherein the charging operation is to perform desensitization processing on the complete transaction details to obtain desensitization transaction details, then calling corresponding charging rules according to the transaction types corresponding to the desensitization transaction details, and charging the desensitization transaction details according to the corresponding charging rules to further obtain the commission charge details, wherein the complete transaction details comprise sensitive data such as transaction party identity information, the desensitization transaction details do not comprise sensitive data such as transaction identity information, and the desensitization transaction details do not comprise the sensitive data such as transaction identity information, but the desensitization data at least comprise basic transaction information such as transaction amount, product codes and time for calculating commission charge.
S3, calculating a hash value corresponding to the desensitization data, and performing chain joint consensus operation on the hash value so that a receiver of the charging bill can verify the authenticity of the charging bill;
the specific step of calculating the hash value corresponding to the desensitization data in step S3 may be:
s31, acquiring desensitization data which comprises a plurality of desensitization transaction details;
s32, respectively calculating a hash value corresponding to each desensitization transaction detail, and recording the hash value as a first hash value;
step s33, calculating hash values corresponding to the plurality of first hash values, recording as hash values corresponding to desensitization data, and uploading the hash values corresponding to the desensitization data to a blockchain network, so that the blockchain network commonly identifies the hash values corresponding to the desensitization data in the whole network, where data of a single desensitization transaction detail in this embodiment is large, and if the calculation amount of the hash value calculated by the plurality of desensitization transaction details is very large, the time consumption is very long (the initial data amount of the hash calculation is very large, which may cause that calculation cannot be performed), this embodiment adopts secondary hash calculation, that is, first calculating the hash of the single desensitization transaction detail, performing first hash simplification, and then calculating a hash value again by the hash values of the plurality of desensitization transaction details, that is, the hash corresponding to the desensitization data, and similarly, the principle is applied to uplink of the first transaction data described below, and thus will not be described in detail.
When the hash value corresponding to the desensitization data is uploaded, the hash value corresponding to the original transaction data can be uploaded to prevent account checking requirements of both parties in later-stage transaction, wherein the specific operation of uploading the hash value corresponding to the original transaction data can be as follows:
s34, acquiring first transaction data, wherein the first transaction data comprises a plurality of complete transaction details;
s35, respectively calculating a hash value corresponding to each complete transaction detail, and recording the hash value as a second hash value;
s36, calculating hash values corresponding to the second hash values, and recording the hash values as hash values corresponding to the first transaction data;
step s37, uploading the hash value corresponding to the first transaction data to a blockchain network, so that the blockchain network identifies the hash value corresponding to the first transaction data in the whole network, where it should be noted that the common identification hash value has a technical effect that the hash value corresponding to the first transaction data is recorded in a blockchain common account book in each node in the blockchain network.
And S4, sending the desensitization data and the charging bill to a charging node so that the charging node registers the transaction commission charge in the charging bill, wherein the charging node is a server which is responsible for counting the transaction commission charge corresponding to each issuing node in a block chain network.
Example 2
The embodiment provides a charging method for financial services based on a blockchain, which is applied to a charging node in a blockchain network, and the method comprises step S6 and step S7.
S6, receiving desensitization data and a charging bill sent by the issuing node;
step S7, calculating a hash value corresponding to the desensitization data, where the specific step of calculating the hash value may refer to the above steps S35-S36, and compare the hash value with a hash value corresponding to a blockchain public ledger, in this embodiment, all the desensitization data set forth in steps S3-S4 need to identify the hash value of the data in the blockchain together before transmission, so that a data receiver can verify the authenticity of the data, if the data are the same, determine the authenticity of each commission detail in the billing bill according to the desensitization data, and if the plurality of commission details in the billing bill are all matched with the desensitization data, record the content of the billing bill in a local billing ledger.
Example 3
The embodiment provides a charging method based on a blockchain, which is applied to any one publishing node in a blockchain network, and the method comprises a step S8 and a step S9.
S8, obtaining a charging bill sent by a charging node, wherein the charging bill comprises a plurality of charging bills, the charging bill can be daily charge, and the charging bill is monthly or quarterly total charge;
and S9, calculating the hash value corresponding to each charging bill in sequence, wherein the hash value corresponding to each charging bill is actually the hash value corresponding to the corresponding desensitization data, and the charging bill contains desensitization data, so that the operation is specifically to strip the desensitization data from the charging bill, calculate the hash value of the desensitization data to be the hash value of the charging bill, compare the hash value with the hash value corresponding to the block chain public account book, and if the hash values of a plurality of charging bills are the same as the hash values of the corresponding block chain public account book, send the charging bill to a product issuing service system so that a product issuer can pay the charge.
Example 4
As shown in fig. 2, the present embodiment provides a device for charging financial services based on a blockchain, which is applied to any one publishing node in a blockchain network, and the device includes:
a first obtaining module 71, configured to obtain original transaction data in a first time period, and screen out first transaction data from the original transaction data, where the first transaction data is data including a plurality of complete transaction details, and the first transaction data is data including a plurality of complete transaction details occurring in a blockchain network;
the first calculation module 72 is configured to calculate a charging bill and desensitization data according to the first transaction data, respectively, where the charging bill is a commission detail bill containing multiple transaction amounts, the desensitization data includes multiple desensitization transaction details, and the desensitization transaction details are basic information used for calculating a transaction commission;
the second calculation module 73 is configured to calculate a hash value corresponding to the desensitization data, and perform uplink consensus operation on the hash value, so that the receiver of the charging bill verifies whether the charging bill is true or false;
a first sending module 74, configured to send the desensitization data and the charging bill to a charging node, so that the charging node registers the transaction commission in the charging bill, where the charging node is a server in the blockchain network and is responsible for counting the transaction commission corresponding to each issuing node.
In this embodiment, the second calculating module 73 includes:
a first obtaining unit 731 configured to obtain the desensitization data, which includes a plurality of the desensitization transaction details;
a first calculating unit 732, configured to calculate a hash value corresponding to each desensitization transaction detail, and record the hash value as a first hash value;
the second calculating unit 733 is configured to calculate hash values corresponding to the plurality of first hash values, and record the hash values as hash values corresponding to desensitization data, and upload the hash values corresponding to the desensitization data to the blockchain network, so that the blockchain network identifies the hash values corresponding to the desensitization data in the whole network.
In this embodiment, the second calculating module 73 includes:
a second obtaining unit 734, configured to obtain the first transaction data, where the first transaction data includes a plurality of complete transaction details;
the third calculating unit 735 is configured to calculate a hash value corresponding to each complete transaction detail, and record the hash value as a second hash value;
a fourth calculating unit 736, configured to calculate hash values corresponding to the multiple second hash values, and record the hash values as hash values corresponding to the first transaction data;
a fifth calculating unit 737, configured to upload the hash value corresponding to the first transaction data to the blockchain network, so that the blockchain network identifies the hash value corresponding to the first transaction data in the entire network.
Example 5
As shown in fig. 2, the present embodiment provides a charging apparatus based on a blockchain, which is applied to any one publishing node in a blockchain network, and the apparatus includes a second obtaining module 75 and a third calculating module 76.
A second obtaining module 75, configured to obtain a charging bill sent by a charging node, where the charging bill includes multiple charging bills;
and a third calculating module 76, configured to calculate a hash value corresponding to each of the charging bills in sequence, compare the hash value with a hash value corresponding to the blockchain public account, and send the charging bill to the product issuing service system if the hash values of a plurality of the charging bills are all the same as the hash values in the corresponding blockchain public account, so that the product issuer pays the fee.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
Example 6
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a block chain-based financial service charging device, and a block chain-based financial service charging device described below and a block chain-based financial service charging method described above may be referred to in correspondence.
Fig. 3 is a block diagram illustrating a block chain-based financial service billing apparatus 800 according to an exemplary 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-based financial service 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, messages sent or received, 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, and the like. 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-F i, bluetooth, Near field communication (Near F i e l dCommun i cat i on, NFC for short), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 may include: Wi-F i module, Bluetooth module, NFC module.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more application specific integrated circuits (App I cat I on Spec I C I integrated C I rcu t, AS IC for short), digital signal processors (D I gita S I gna l Processor, DSP for short), digital signal processing devices (D I gita S gna l Processor ng Dev I ce, DSPD for short), programmable logic devices (PLD for short), the system is implemented by a field programmable Gate Array (FPGAs for short), a controller, a microcontroller, a microprocessor or other electronic elements, and is used for executing the financial service charging method based on the block chain.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions, which when executed by a processor, implement the steps of the above-described blockchain-based financial service billing method. For example, the computer readable storage medium may be the memory 802 including program instructions executable by the processor 801 of the electronic device 800 to perform the above-described financial service billing method based on a blockchain.
Example 4
Corresponding to the above method embodiment, the disclosed embodiment further provides a readable storage medium, and a readable storage medium described below and a financial service charging method based on a block chain described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the block chain based financial service charging method of the above-described method embodiment.
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, an optical disk, or other various 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 (10)

1. A charging method for financial services based on a blockchain, which is applied to any one publishing node in a blockchain network, and comprises the following steps:
acquiring original transaction data in a first time period, and screening out first transaction data from the original transaction data, wherein the first transaction data is data containing a plurality of complete transaction details, and the first transaction data is data containing a plurality of complete transaction details occurring in a blockchain network;
respectively calculating a charging bill and desensitization data according to the first transaction data, wherein the charging bill is a commission fee detail bill containing a plurality of transaction amounts, the desensitization data comprises a plurality of desensitization transaction details, and the desensitization transaction details are basic information for calculating transaction commission fees;
calculating a hash value corresponding to the desensitization data, and performing uplink consensus operation on the hash value so that a receiver of the charging bill verifies the authenticity of the charging bill;
and sending the desensitization data and the charging bill to a charging node so that the charging node registers the transaction commission in the charging bill, wherein the charging node is a server which is responsible for counting the transaction commission corresponding to each issuing node in a blockchain network.
2. The method for charging for financial services based on blockchain according to claim 1, wherein the calculating the hash value corresponding to the desensitized data includes:
obtaining the desensitization data, the desensitization data including a plurality of the desensitization transaction details;
respectively calculating a hash value corresponding to each desensitization transaction detail, and recording the hash value as a first hash value;
and calculating hash values corresponding to the first hash values, recording the hash values as hash values corresponding to desensitization data, and uploading the hash values corresponding to the desensitization data to the blockchain network, so that the blockchain network can commonly identify the hash values corresponding to the desensitization data in the whole network.
3. The block chain-based financial service charging method according to claim 1, wherein before sending the desensitization data and the charging bill to a charging node, further comprising:
acquiring the first transaction data, wherein the first transaction data comprises a plurality of complete transaction details;
respectively calculating a hash value corresponding to each complete transaction detail, and recording the hash value as a second hash value;
calculating hash values corresponding to the plurality of second hash values, and recording the hash values as the hash values corresponding to the first transaction data;
and uploading the hash value corresponding to the first transaction data to a blockchain network, so that the blockchain network can identify the hash value corresponding to the first transaction data in the whole network.
4. The block chain-based financial service billing method of claim 1 wherein calculating a billing bill based on the first transaction data comprises:
acquiring the first transaction data, wherein the first transaction data comprises a plurality of complete transaction details;
and sequentially executing charging operation on the complete transaction details to obtain the commission charge details corresponding to each complete transaction detail, wherein the charging operation is to perform desensitization processing on the complete transaction details to obtain desensitization transaction details, then calling corresponding charging rules according to the transaction types corresponding to the desensitization transaction details, and charging the desensitization transaction details according to the corresponding charging rules to further obtain the commission charge details.
5. A financial service charging method based on a block chain is applied to a charging node in a block chain network, and the method comprises the following steps:
desensitization data and a charging bill sent by an issuing node are received;
and calculating a hash value corresponding to the desensitization data, comparing the hash value with a hash value corresponding to a block chain public account book, if the hash value is the same as the desensitization data, judging the authenticity of each handling charge detail in the charging bill according to the desensitization data, and if a plurality of handling charge details in the charging bill are all matched with the desensitization data, recording the content of the charging bill in a local charging account book.
6. A blockchain based charging method applied to any one publishing node in a blockchain network, the method comprising:
acquiring a charging bill sent by a charging node, wherein the charging bill comprises a plurality of charging bills;
and sequentially calculating the hash value corresponding to each charging bill, comparing the hash value with the hash value corresponding to the block chain public account book, and if the hash values of the plurality of charging bills are the same as the hash values in the corresponding block chain public account book, sending the charging bills to a product issuing service system so as to enable a product issuer to pay.
7. A device for charging financial services based on a blockchain, the device being applied to any one publishing node in a blockchain network, the device comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring original transaction data in a first time period and screening out first transaction data from the original transaction data, the first transaction data is data containing a plurality of complete transaction details, and the first transaction data is data containing a plurality of complete transaction details occurring in a blockchain network;
the first calculation module is used for calculating a charging bill and desensitization data respectively according to the first transaction data, wherein the charging bill is a handling charge detail bill containing multiple transaction amounts, the desensitization data comprises multiple desensitization transaction details, and the desensitization transaction details are basic information used for calculating transaction handling charges;
the second calculation module is used for calculating a hash value corresponding to the desensitization data and performing uplink consensus operation on the hash value so that a receiver of the charging bill can verify the authenticity of the charging bill;
and the first sending module is used for sending the desensitization data and the charging bill to a charging node so as to enable the charging node to register the transaction commission in the charging bill, and the charging node is a server which is responsible for counting the transaction commission corresponding to each issuing node in a block chain network.
8. The device for billing a financial service according to claim 7, wherein the second calculation module comprises:
a first acquisition unit configured to acquire the desensitization data, which includes a plurality of the desensitization transaction details;
the first calculation unit is used for calculating a hash value corresponding to each desensitization transaction detail and recording the hash value as a first hash value;
and the second calculation unit is used for calculating hash values corresponding to the plurality of first hash values, recording the hash values as hash values corresponding to desensitization data, and uploading the hash values corresponding to the desensitization data to the blockchain network, so that the blockchain network can commonly identify the hash values corresponding to the desensitization data in the whole network.
9. The device for billing a financial service according to claim 7, wherein the second calculation module comprises:
the second acquisition unit is used for acquiring the first transaction data, and the first transaction data comprises a plurality of complete transaction details;
the third calculating unit is used for calculating the hash value corresponding to each complete transaction detail and recording the hash value as a second hash value;
the fourth calculating unit is used for calculating hash values corresponding to the second hash values and recording the hash values as the hash values corresponding to the first transaction data;
and the fifth calculation unit is used for uploading the hash value corresponding to the first transaction data to the blockchain network, so that the blockchain network can identify the hash value corresponding to the first transaction data in the whole network.
10. A blockchain based charging apparatus, for use in any one publishing node in a blockchain network, the apparatus comprising:
the second obtaining module is used for obtaining a charging bill sent by the charging node, wherein the charging bill comprises a plurality of charging bills;
and the third calculation module is used for calculating the hash value corresponding to each charging bill in sequence, comparing the hash value with the hash value corresponding to the block chain public account book, and if the hash values of the plurality of charging bills are the same as the hash values in the corresponding block chain public account book, sending the charging bills to the product issuing service system so as to enable the product issuer to pay.
CN202210288409.2A 2022-03-22 2022-03-22 Financial business charging and billing method and device based on block chain Active CN114638604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210288409.2A CN114638604B (en) 2022-03-22 2022-03-22 Financial business charging and billing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210288409.2A CN114638604B (en) 2022-03-22 2022-03-22 Financial business charging and billing method and device based on block chain

Publications (2)

Publication Number Publication Date
CN114638604A true CN114638604A (en) 2022-06-17
CN114638604B CN114638604B (en) 2024-08-27

Family

ID=81949206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210288409.2A Active CN114638604B (en) 2022-03-22 2022-03-22 Financial business charging and billing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN114638604B (en)

Citations (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106548092A (en) * 2016-10-31 2017-03-29 杭州嘉楠耘智信息科技有限公司 File processing method and device
KR20180014534A (en) * 2016-08-01 2018-02-09 서강대학교산학협력단 Verification system and method for transaction based block chain
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium
KR20190000747A (en) * 2017-06-24 2019-01-03 박동화 System and method for e-commerce using block-chain technology
CN109191104A (en) * 2018-06-29 2019-01-11 深圳市元征科技股份有限公司 A kind of information processing method and its equipment
WO2019035573A1 (en) * 2017-08-16 2019-02-21 김용태 Blockchain-based trading system and method therefor
KR20190019004A (en) * 2017-08-16 2019-02-26 김용태 The trading system and the method based on a blockchain
CN109391684A (en) * 2018-09-25 2019-02-26 莆田市烛火信息技术有限公司 A kind of block chain accounting nodes selection method and system being associated with related chain
CN109493202A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Block chain account checking method, device, system, equipment and readable storage medium storing program for executing
CN109636569A (en) * 2018-10-25 2019-04-16 优信数享(北京)信息技术有限公司 A kind of collage-credit data management method and system based on block chain
KR101995316B1 (en) * 2018-04-13 2019-10-01 주식회사 케이체인 Blockchain-based aggregate transaction system and method
CN110310107A (en) * 2018-03-20 2019-10-08 华为技术有限公司 Settlement method, block chain node and client based on block chain
CN110443624A (en) * 2019-07-31 2019-11-12 中国工商银行股份有限公司 Shou Dan trade company checking method and node apparatus based on block chain
CN110555770A (en) * 2019-08-21 2019-12-10 杭州趣链科技有限公司 Block chain world state checking and recovering method based on incremental hash
CN110597919A (en) * 2019-09-25 2019-12-20 腾讯科技(深圳)有限公司 Data management method, device and equipment based on block chain and storage medium
KR102118715B1 (en) * 2019-04-25 2020-06-03 넷마블 주식회사 Method for automized remittance using blockchain
KR20200073803A (en) * 2018-12-14 2020-06-24 주식회사 큐브시스템 Block Chain Electronic Wallet Management System
KR20200094407A (en) * 2019-01-30 2020-08-07 주식회사 하나은행 System and method for local currency transaction
KR20200095206A (en) * 2019-01-31 2020-08-10 주식회사 하나은행 Accounting service system and method based on blockchain
CN111524009A (en) * 2020-04-12 2020-08-11 链农(深圳)信息科技有限公司 Transaction verification method and device for blockchain system and hardware equipment
CN111538786A (en) * 2020-04-24 2020-08-14 上海简苏网络科技有限公司 Block chain data desensitization and tracing storage method and device
CN111737260A (en) * 2020-06-19 2020-10-02 中国银行股份有限公司 Method and system for checking data copying consistency
CN111967860A (en) * 2019-05-20 2020-11-20 深圳市红砖坊技术有限公司 Transaction system, method and node in transaction system
CN112184199A (en) * 2020-11-12 2021-01-05 深圳市爱云信息科技有限公司 Intelligent supply chain block chain BaaS cross-border digital payment platform
CN112417512A (en) * 2020-10-14 2021-02-26 安徽中科晶格技术有限公司 Cross-border trade private data management system and method based on block chain
CN112668303A (en) * 2020-12-23 2021-04-16 平安普惠企业管理有限公司 Data processing method, device, equipment and storage medium
KR20210109767A (en) * 2020-02-28 2021-09-07 보노테크놀로지스 주식회사 A method for providing asset backup services based on blockchain monitoring
CN113391880A (en) * 2021-06-21 2021-09-14 西安超越申泰信息科技有限公司 Trusted mirror image transmission method for layered double hash verification
CN113506176A (en) * 2021-07-14 2021-10-15 支付宝(杭州)信息技术有限公司 Transaction commission transfer method and device based on block chain
CN113536357A (en) * 2021-08-02 2021-10-22 浙江数秦科技有限公司 Data sharing platform based on block chain
CN113628050A (en) * 2021-07-22 2021-11-09 肖光昱 Digital RMB delivery method, system, program product and storage medium
CN113641677A (en) * 2021-08-24 2021-11-12 京东科技控股股份有限公司 Data processing method and device, electronic equipment and storage medium
CN113935821A (en) * 2021-09-15 2022-01-14 中电金信软件有限公司 Method, device, electronic equipment and medium for settling commission charge in banking business
CN114004609A (en) * 2021-09-24 2022-02-01 北京速通科技有限公司 ETC parking charging management system and method
CN114004608A (en) * 2021-09-24 2022-02-01 支付宝(杭州)信息技术有限公司 Transaction fee settlement method and device based on block chain and electronic equipment

Patent Citations (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180014534A (en) * 2016-08-01 2018-02-09 서강대학교산학협력단 Verification system and method for transaction based block chain
CN106548092A (en) * 2016-10-31 2017-03-29 杭州嘉楠耘智信息科技有限公司 File processing method and device
KR20190000747A (en) * 2017-06-24 2019-01-03 박동화 System and method for e-commerce using block-chain technology
KR20190019004A (en) * 2017-08-16 2019-02-26 김용태 The trading system and the method based on a blockchain
WO2019035573A1 (en) * 2017-08-16 2019-02-21 김용태 Blockchain-based trading system and method therefor
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium
CN110310107A (en) * 2018-03-20 2019-10-08 华为技术有限公司 Settlement method, block chain node and client based on block chain
KR101995316B1 (en) * 2018-04-13 2019-10-01 주식회사 케이체인 Blockchain-based aggregate transaction system and method
CN109191104A (en) * 2018-06-29 2019-01-11 深圳市元征科技股份有限公司 A kind of information processing method and its equipment
CN109391684A (en) * 2018-09-25 2019-02-26 莆田市烛火信息技术有限公司 A kind of block chain accounting nodes selection method and system being associated with related chain
CN109493202A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Block chain account checking method, device, system, equipment and readable storage medium storing program for executing
CN109636569A (en) * 2018-10-25 2019-04-16 优信数享(北京)信息技术有限公司 A kind of collage-credit data management method and system based on block chain
KR20200073803A (en) * 2018-12-14 2020-06-24 주식회사 큐브시스템 Block Chain Electronic Wallet Management System
KR20200094407A (en) * 2019-01-30 2020-08-07 주식회사 하나은행 System and method for local currency transaction
KR20200095206A (en) * 2019-01-31 2020-08-10 주식회사 하나은행 Accounting service system and method based on blockchain
KR102118715B1 (en) * 2019-04-25 2020-06-03 넷마블 주식회사 Method for automized remittance using blockchain
CN111967860A (en) * 2019-05-20 2020-11-20 深圳市红砖坊技术有限公司 Transaction system, method and node in transaction system
WO2020233404A1 (en) * 2019-05-20 2020-11-26 深圳市红砖坊技术有限公司 Transaction system and method, and nodes in transaction system
CN110443624A (en) * 2019-07-31 2019-11-12 中国工商银行股份有限公司 Shou Dan trade company checking method and node apparatus based on block chain
CN110555770A (en) * 2019-08-21 2019-12-10 杭州趣链科技有限公司 Block chain world state checking and recovering method based on incremental hash
CN110597919A (en) * 2019-09-25 2019-12-20 腾讯科技(深圳)有限公司 Data management method, device and equipment based on block chain and storage medium
KR20210109767A (en) * 2020-02-28 2021-09-07 보노테크놀로지스 주식회사 A method for providing asset backup services based on blockchain monitoring
CN111524009A (en) * 2020-04-12 2020-08-11 链农(深圳)信息科技有限公司 Transaction verification method and device for blockchain system and hardware equipment
CN111538786A (en) * 2020-04-24 2020-08-14 上海简苏网络科技有限公司 Block chain data desensitization and tracing storage method and device
CN111737260A (en) * 2020-06-19 2020-10-02 中国银行股份有限公司 Method and system for checking data copying consistency
CN112417512A (en) * 2020-10-14 2021-02-26 安徽中科晶格技术有限公司 Cross-border trade private data management system and method based on block chain
CN112184199A (en) * 2020-11-12 2021-01-05 深圳市爱云信息科技有限公司 Intelligent supply chain block chain BaaS cross-border digital payment platform
CN112668303A (en) * 2020-12-23 2021-04-16 平安普惠企业管理有限公司 Data processing method, device, equipment and storage medium
CN113391880A (en) * 2021-06-21 2021-09-14 西安超越申泰信息科技有限公司 Trusted mirror image transmission method for layered double hash verification
CN113506176A (en) * 2021-07-14 2021-10-15 支付宝(杭州)信息技术有限公司 Transaction commission transfer method and device based on block chain
CN113628050A (en) * 2021-07-22 2021-11-09 肖光昱 Digital RMB delivery method, system, program product and storage medium
CN113536357A (en) * 2021-08-02 2021-10-22 浙江数秦科技有限公司 Data sharing platform based on block chain
CN113641677A (en) * 2021-08-24 2021-11-12 京东科技控股股份有限公司 Data processing method and device, electronic equipment and storage medium
CN113935821A (en) * 2021-09-15 2022-01-14 中电金信软件有限公司 Method, device, electronic equipment and medium for settling commission charge in banking business
CN114004609A (en) * 2021-09-24 2022-02-01 北京速通科技有限公司 ETC parking charging management system and method
CN114004608A (en) * 2021-09-24 2022-02-01 支付宝(杭州)信息技术有限公司 Transaction fee settlement method and device based on block chain and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张耘;: "区块链对金融业服务模式的创新研究", 竞争情报, no. 01, 15 February 2017 (2017-02-15) *
徐如志;白沛东;赵华伟;: "区块链在商业银行中的应用研究", 公司金融研究, no. 1, 30 September 2017 (2017-09-30) *
蔡维德;郁莲;袁波;邓佑权;李琪;郭斌;: "面向大数据的区块链在清算系统中的应用", 大数据, no. 01, 15 January 2018 (2018-01-15) *

Also Published As

Publication number Publication date
CN114638604B (en) 2024-08-27

Similar Documents

Publication Publication Date Title
CN101689988B (en) Detect alternately inappropriate activity by analysis user
CN110059119A (en) A kind of bill generation method, device, computer equipment and readable storage medium storing program for executing
WO2009006448A1 (en) Global risk administration method and system
CN110457336B (en) Transaction data processing method and device
CN110148046A (en) A kind of payment management method and device
CN109815039A (en) Test method and device, storage medium, the computer equipment of business software
CN109582550A (en) A kind of method, apparatus and server obtaining full dose business scenario failure collection
CN111210345B (en) Signature method and device based on block chain network transaction and terminal equipment
CN113205402A (en) Account checking method and device, electronic equipment and computer readable medium
CN114169885A (en) Digital currency payment method, device, terminal and computer readable storage medium
CN114064112A (en) Business process configuration method, device, equipment and storage medium
CN109587244B (en) Cloud mobile phone data processing method and device, computer readable storage medium and electronic equipment
CN113191887A (en) Abnormal account early warning method and device
WO2016131084A1 (en) Bill payment system
CN110336872B (en) Method, device and system for acquiring third-party data
CN106447402A (en) Popularization charging method and device
CN114638604B (en) Financial business charging and billing method and device based on block chain
CN110956445B (en) Method and device for generating risk file
CN209248589U (en) Quick payment device
CN112148353A (en) Data processing method and device
CN112184232A (en) Medical expense account checking method, device, equipment and storage medium
CN114596155B (en) Financial business charging method, device, equipment and medium based on block chain
CN114596092B (en) Charging method, device and equipment based on blockchain and readable storage medium
CN110096376A (en) A kind of data transfering method and relevant device
CN117575810A (en) Application information processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant