CN113595724B - Block chain-based accounting method, device, equipment and readable storage medium - Google Patents

Block chain-based accounting method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113595724B
CN113595724B CN202110866445.8A CN202110866445A CN113595724B CN 113595724 B CN113595724 B CN 113595724B CN 202110866445 A CN202110866445 A CN 202110866445A CN 113595724 B CN113595724 B CN 113595724B
Authority
CN
China
Prior art keywords
balance
account book
user
data
transaction data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110866445.8A
Other languages
Chinese (zh)
Other versions
CN113595724A (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 CN202110866445.8A priority Critical patent/CN113595724B/en
Publication of CN113595724A publication Critical patent/CN113595724A/en
Application granted granted Critical
Publication of CN113595724B publication Critical patent/CN113595724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0838Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these
    • H04L9/0847Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these involving identity based encryption [IBE] schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to the technical field of video content analysis, in particular to a billing method, a billing device, a billing equipment and a readable storage medium based on a blockchain, which are used for receiving second encrypted transaction data sent by a blockchain network; decrypting the second encrypted transaction data, and if the decryption is successful, obtaining corresponding income data; according to the corresponding income data, the local account book is changed, part of transaction information is hidden on a chain, and meanwhile, each node is provided with the local account book for recording the transaction details of the node, so that the asset information of each node is not disclosed, and each node can meet the requirements of supervision, audit, reconciliation and the like of accounts according to the local account book.

Description

Block chain-based accounting method, device, equipment and readable storage medium
Technical Field
The application relates to the technical field of video content analysis, in particular to a billing method, a billing device, a billing equipment and a readable storage medium based on a blockchain.
Background
The block chain technology is based on decentralizing distributed protocol, consensus algorithm, asymmetric key signature, hash and other technologies, and is constructed to safely store digital asset information, the information cannot be forged and tampered, all nodes on the block chain network execute transactions respectively, and the result confirmation is completed jointly, so that the consistency of executing the transactions by all the nodes is ensured by the consensus algorithm. All nodes in the blockchain network maintain a public account book and ensure that the public account book cannot be forged and tampered.
All nodes in the existing blockchain network use a unified account book, so that the system is separated from an actual application scene, namely, the supervision, audit, account checking and the like of the financial institution assets are not met on the chain.
Disclosure of Invention
It is an object of the present application to provide a blockchain-based billing method, apparatus, device and readable storage medium to ameliorate the above problems.
In order to achieve the above object, the embodiment of the present application provides the following technical solutions:
in one aspect, an embodiment of the present application provides a blockchain-based billing method applied to any collection node in a blockchain network, the method including:
receiving second encrypted transaction data sent by a blockchain network, the second encrypted transaction data comprising a plurality of revenue data, the second encrypted transaction data being encrypted and having agreed upon transaction details on the blockchain network;
decrypting the second encrypted transaction data, and if the decryption is successful, obtaining corresponding income data;
and changing the local account book according to the corresponding one of the income data.
Optionally, said modifying the local ledger according to said corresponding one of the revenue data includes:
invoking the corresponding one revenue data and the local ledger, the corresponding one revenue data comprising a first revenue account and a first revenue denomination, the local ledger comprising a plurality of user ledgers;
according to the first income account, a first user account is found in the local account, wherein the first user account is a user account corresponding to the first income account, the first user account comprises a first account signature, and the first account signature is used for checking whether user information and user balance corresponding to the first user account are tampered or not;
and calling a first account book signature, checking whether the current user balance in the first user account book is valid according to the first account book signature, and adding a first income denomination to the user balance if the user balance is valid.
Optionally, after adding the first income denomination to the user balance if the user balance is valid, the method further includes:
signing the first user account according to the current balance and the user information;
and generating a billing detail according to the corresponding income data, and recording the billing detail in a running water record in the local account book.
Optionally, after modifying the local ledger according to the corresponding one of the revenue data, the method further includes:
invoking the local ledger, the local ledger comprising a running water record, the local ledger comprising a total liability and a total balance;
intercepting all accounting details in a preset time period on the flow record to obtain a first sub-flow record;
and generating a balance report and a first reconciliation report according to the first sub-running water record, the total balance and the total liability, wherein the balance report is used for checking balance, and the first reconciliation report is used for reconciling check with other nodes in the blockchain network.
Optionally, after generating the balance report, the method further includes:
and checking the balance state of balance in the preset time period according to the balance report, and if the balance state of balance is an unbalanced state, sending early warning data to the terminal of the corresponding technician, wherein the early warning data is used for requesting the intervention investigation of the corresponding technician.
Optionally, after generating the first reconciliation report, the method further comprises:
acquiring a second reconciliation report sent by other nodes in the blockchain network;
comparing whether the second reconciliation report is identical to the first reconciliation report or not, if so, intercepting a difference detail, wherein the difference detail is a plurality of transaction detail numbers of which the second reconciliation report is different from the first reconciliation report;
the difference detail is sent to a second supervision node, each transaction data on the blockchain network is recorded in the second supervision node, the difference detail is used for triggering the second supervision node to call a plurality of corresponding third transaction data according to the transaction detail numbers, and the corresponding third transaction data are sent to a request node;
receiving a plurality of third transaction data sent by the second supervision node;
modifying the first reconciliation statement according to the plurality of third transaction data;
and modifying the local ledger according to the third transaction data.
In a second aspect, an embodiment of the present application provides a blockchain-based accounting device for any collection node in a blockchain network, the device comprising:
a first receiving module configured to receive second encrypted transaction data sent by a blockchain network, the second encrypted transaction data including a plurality of revenue data, the second encrypted transaction data being encrypted and having agreed upon transaction details on the blockchain network;
the first decryption module is used for decrypting the second encrypted transaction data, and if the decryption is successful, corresponding income data is obtained;
and the first calculation module is used for changing the local account book according to the corresponding one of the income data.
In a third aspect, an embodiment of the present application provides a blockchain-based billing device that includes a memory and a processor. The memory is used for storing a computer program; the processor is configured to implement the steps of the blockchain-based billing method described above when executing the computer program.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the blockchain-based billing method described above.
The beneficial effects of the application are as follows:
according to the application, part of transaction information is hidden on the chain, and meanwhile, a local account book for recording transaction details of the node is arranged on each node, so that asset information of each node is not disclosed, and each node can meet the requirements of supervision, audit, account checking and the like of accounts according to the local account book.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow diagram of a blockchain-based billing method in accordance with embodiments of the present application;
FIG. 2 is a block chain based accounting device architecture diagram according to an embodiment of the present application;
fig. 3 is a schematic diagram of a billing device based on blockchain in an embodiment of the application.
Fig. 4 is a schematic diagram of a multi-layer supervision organization architecture according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application 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 application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that: like reference numerals or letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides a blockchain-based billing method, which includes steps S1, S2, and S3.
Before executing step S1, the transaction payout node extracts a payout UTXO from its own local account, and then edits payee information to generate a plurality of revenue data, one payee corresponding to each revenue data, and the payout UTXO and the plurality of revenue data are referred to as first transaction data;
and then, the transaction expenditure node encrypts each income data by using a HIBE hierarchical identity-based encryption mode, so that each income data can only be decrypted by each node on a corresponding collection path, other nodes in the blockchain network cannot decrypt the income data, so that the privacy of the transaction is guaranteed, the encrypted first transaction data is first encrypted transaction data, wherein the collection path is a hierarchical progressive path of the collection node of the first supervision node, and the collection path is a hierarchical progressive path of the collection node, for example, a multi-layer supervision organization architecture form among nodes in an exemplary blockchain network shown in fig. 4 is used for further describing concepts of the collection path, the expenditure path and the first supervision mechanism, for example, assuming that the supervision mechanism 1 needs to pay 2 yuan to the supervision mechanism 4, at this time, the supervision mechanism a is a first supervision mechanism of the supervision mechanism 1 and the supervision mechanism 4, the collection path is a-hosting mechanism b-the supervision mechanism 4, and the expenditure path is a-hosting mechanism a.
After the transaction payout node generates first encrypted transaction data, the first encrypted transaction data is approved and signed layer by layer according to a preset payout path until the first encrypted transaction data is received by a first regulatory agency;
after receiving the first encrypted transaction data, the first supervision organization decrypts the first encrypted transaction data to obtain the first transaction data; then the first supervision organization can check whether the balance of the first transaction data, signature validity, etc. are valid, if so, the first encrypted transaction data is subjected to the uplink operation;
if the first encrypted transaction data is agreed on the chain, the regional cross-chain network sends the first encrypted transaction data with the agreed first encrypted transaction data to each node in the blockchain network, and meanwhile, the first encrypted transaction data with the agreed first encrypted transaction data is called second encrypted transaction data;
a receiving node corresponding to any one of the plurality of receiving data can decrypt only one receiving data corresponding to the receiving node after receiving the second encrypted transaction data;
s1, receiving second encrypted transaction data sent by a blockchain network by a collection node, wherein the second encrypted transaction data comprises a plurality of income data, and the second encrypted transaction data is encrypted and has agreed transaction details on the blockchain network;
s2, the collection node decrypts the second encrypted transaction data according to the identity key of the collection node, if the second encrypted transaction data can be decrypted, the relationship between the transaction and the collection node is indicated, meanwhile, income data can be obtained after the second encrypted transaction data are decrypted, and if the second encrypted transaction data are not decrypted, the relationship between the transaction and the collection node is indicated;
and S3, the receiving node changes the local account book corresponding to the receiving node according to one piece of income data obtained through decryption, wherein the receiving node can only unlock one piece of income data related to the receiving node and cannot decrypt other income data if the receiving node is related to the transaction, and the privacy of each receiving node is effectively protected.
Wherein in step S3, further comprising:
s31, calling the corresponding one income data and the local account book, wherein the corresponding one income data comprises a first income account and a first income denomination, and the local account book comprises a plurality of user account books;
s32, according to the first income account, a first user account is found in the local account, wherein the first user account is a user account corresponding to the first income account, the first user account comprises a first account signature, and the first account signature is used for checking whether user information and user balance corresponding to the first user account are tampered or not;
s33, a first account book signature is called, whether the current balance of the user in the first user account book is valid or not is checked according to the first account book signature, if the balance of the user is valid, the balance in an account is not tampered, and then a first income denomination is added to the balance of the user;
s34, signing the first user account according to the current balance and the user information, and re-signing is needed after each account change;
and S35, generating a billing detail according to the corresponding income data, recording the billing detail in a running water record in the local account book, and checking accounting vouchers among the nodes at the later stage and trial calculation balance inside the nodes at the later stage.
Wherein, after step S3, further comprises:
s4, calling the local account book, wherein the local account book comprises a flow record, and the local account book comprises a total liability and a total balance;
s5, intercepting all accounting details in a preset time period on the flow record to obtain a first sub-flow record;
s6, generating a balance report and a first reconciliation report according to the first sub-running water record, the total balance and the total liability, wherein the balance report is used for checking balance, and the first reconciliation report is used for reconciling check with other nodes in the blockchain network.
In step S6, after generating the balance report, the method further includes:
and S7, checking the balance state of the balance in the preset time period by the collection node according to the balance report, and if the balance state is in an unbalanced state, sending early warning data to the terminal of the corresponding technician, wherein the early warning data are used for requesting the intervention investigation of the corresponding technician.
In step S6, after generating the first reconciliation report, the method further includes:
s81, acquiring a second reconciliation report sent by other nodes in the blockchain network;
s82, comparing whether the second reconciliation statement is identical to the first reconciliation statement, if so, intercepting a difference detail, wherein the difference detail is a plurality of transaction detail numbers of which the second reconciliation statement is different from the first reconciliation statement;
s83, sending the difference detail to a second supervision node, wherein each transaction data on the blockchain network is recorded by the second supervision node, the difference detail is used for triggering the second supervision node to call a plurality of corresponding third transaction data according to the transaction detail numbers, and sending the corresponding third transaction data to a request node;
s84, receiving a plurality of third transaction data sent by the second supervision node;
s85, changing the first reconciliation statement according to the plurality of third transaction data;
and S86, changing the local account book according to the third transaction data.
Example two
As shown in FIG. 2, the present embodiment provides a blockchain-based accounting device for any collection node in a blockchain network, comprising
A first receiving module 71 for receiving second encrypted transaction data sent by the blockchain network, the second encrypted transaction data comprising a plurality of revenue data, the second encrypted transaction data being encrypted and having agreed upon transaction details on the blockchain network;
a first decryption module 72, configured to decrypt the second encrypted transaction data, and if the decryption is successful, obtain corresponding revenue data;
first calculation module 73 is configured to modify the local ledger according to the corresponding one of the revenue data.
It should be noted that, regarding the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiments regarding the method, and will not be described in detail herein.
Example 3
Corresponding to the above method embodiments, the present disclosure further provides a blockchain-based billing device, and a blockchain-based billing device described below and a blockchain-based billing method described above may be referred to correspondingly with each other.
Fig. 3 is a block diagram illustrating a blockchain-based billing device 800 in accordance with 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 communication component 805.
Wherein the processor 801 is configured to control the overall operation of the electronic device 800 to perform all or part of the steps of the blockchain-based billing method described above. The memory 402 is used to store various types of data to support operation on the electronic device 800, which may include, for example, instructions for any application or method operating on the electronic device 800, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near FieldCommunication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the respective communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic device 800 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processor (DigitalSignal Processor, DSP), digital signal processing device (Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor, or other electronic components for performing the blockchain-based billing methods described above.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions that when executed by a processor implement the steps of the blockchain-based billing method described above. For example, the computer readable storage medium may be the memory 802 described above including program instructions executable by the processor 801 of the electronic device 800 to perform the blockchain-based billing method described above.
Example 4
Corresponding to the above method embodiments, the present disclosure further provides a readable storage medium, which is described below and a blockchain-based billing method described above may be referred to in correspondence with each other.
A readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the blockchain-based billing method of the method embodiment described above.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. A blockchain-based billing method for any collection node in a blockchain network, comprising:
receiving second encrypted transaction data sent by a blockchain network, the second encrypted transaction data comprising a plurality of revenue data, the second encrypted transaction data being encrypted and having agreed upon transaction details on the blockchain network;
decrypting the second encrypted transaction data, and if the decryption is successful, obtaining corresponding income data;
changing a local ledger according to the corresponding one of the revenue data;
wherein said modifying the local ledger according to said corresponding one of the revenue data comprises:
invoking the corresponding one revenue data and the local ledger, the corresponding one revenue data comprising a first revenue account and a first revenue denomination, the local ledger comprising a plurality of user ledgers;
according to the first income account, a first user account book is found in the local account book, wherein the first user account book is a user account book corresponding to the first income account, the first user account book comprises a first account book signature, and the first account book signature is used for checking whether user information and user balance corresponding to the first user account book are tampered or not;
invoking a first account book signature, checking whether the current user balance in the first user account book is valid or not according to the first account book signature, and adding a first income denomination to the user balance if the user balance is valid;
after adding the first income denomination to the user balance if the user balance is valid, the method further comprises:
signing the first user account according to the current balance and the user information;
and generating a billing detail according to the corresponding income data, and recording the billing detail in a running water record in the local account book.
2. The blockchain-based billing method of claim 1, further comprising, after modifying a local ledger based on the corresponding one of the revenue data:
invoking the local ledger, the local ledger comprising a running water record, the local ledger comprising a total liability and a total balance; intercepting all accounting details in a preset time period on the flow record to obtain a first sub-flow record;
and generating a balance report and a first reconciliation report according to the first sub-running water record, the total balance and the total liability, wherein the balance report is used for checking balance, and the first reconciliation report is used for checking accounts with other nodes in the blockchain network.
3. The blockchain-based billing method of claim 2, further comprising, after generating the balanced report:
and checking the balance state of balance in the preset time period according to the balance report, and if the balance state of balance is an unbalanced state, sending early warning data to the terminal of the corresponding technician, wherein the early warning data is used for requesting the intervention investigation of the corresponding technician.
4. The blockchain-based billing method of claim 2, further comprising, after generating the first reconciliation report:
acquiring a second reconciliation report sent by other nodes in the blockchain network;
comparing whether the second reconciliation report is identical to the first reconciliation report or not, if so, intercepting a difference detail, wherein the difference detail is a plurality of transaction detail numbers of which the second reconciliation report is different from the first reconciliation report;
the difference detail is sent to a second supervision node, each transaction data on the blockchain network is recorded in the second supervision node, the difference detail is used for triggering the second supervision node to call a plurality of corresponding third transaction data according to the transaction detail numbers, and the corresponding third transaction data are sent to a request node;
receiving a plurality of third transaction data sent by the second supervision node;
modifying the first reconciliation statement according to the plurality of third transaction data;
and modifying the local ledger according to the third transaction data.
5. A blockchain-based accounting device for any collection node in a blockchain network, comprising:
a first receiving module configured to receive second encrypted transaction data sent by a blockchain network, the second encrypted transaction data including a plurality of revenue data, the second encrypted transaction data being encrypted and having agreed upon transaction details on the blockchain network;
the first decryption module is used for decrypting the second encrypted transaction data, and if the decryption is successful, corresponding income data is obtained;
the first calculation module is used for changing the local account book according to the corresponding income data;
wherein said modifying the local ledger according to said corresponding one of the revenue data comprises:
invoking the corresponding one revenue data and the local ledger, the corresponding one revenue data comprising a first revenue account and a first revenue denomination, the local ledger comprising a plurality of user ledgers;
according to the first income account, a first user account book is found in the local account book, wherein the first user account book is a user account book corresponding to the first income account, the first user account book comprises a first account book signature, and the first account book signature is used for checking whether user information and user balance corresponding to the first user account book are tampered or not;
invoking a first account book signature, checking whether the current user balance in the first user account book is valid or not according to the first account book signature, and adding a first income denomination to the user balance if the user balance is valid;
after adding the first income denomination to the user balance if the user balance is valid, the method further comprises:
signing the first user account according to the current balance and the user information;
and generating a billing detail according to the corresponding income data, and recording the billing detail in a running water record in the local account book.
6. A blockchain-based billing device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the blockchain-based accounting method of any of claims 1 to 4 when executing the computer program.
7. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the blockchain-based billing method of any of claims 1 to 4.
CN202110866445.8A 2021-07-29 2021-07-29 Block chain-based accounting method, device, equipment and readable storage medium Active CN113595724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110866445.8A CN113595724B (en) 2021-07-29 2021-07-29 Block chain-based accounting method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110866445.8A CN113595724B (en) 2021-07-29 2021-07-29 Block chain-based accounting method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113595724A CN113595724A (en) 2021-11-02
CN113595724B true CN113595724B (en) 2023-10-20

Family

ID=78252079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110866445.8A Active CN113595724B (en) 2021-07-29 2021-07-29 Block chain-based accounting method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113595724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114596155A (en) * 2022-02-24 2022-06-07 成都质数斯达克科技有限公司 Financial service charging method, device and equipment based on block chain and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549749A (en) * 2016-12-06 2017-03-29 杭州趣链科技有限公司 A kind of block chain method for secret protection encrypted based on additive homomorphism
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN109087096A (en) * 2018-07-19 2018-12-25 中国联合网络通信集团有限公司 Block chain account checking method, device, equipment and storage medium
CN109711836A (en) * 2018-11-15 2019-05-03 远光软件股份有限公司 A kind of storage method of transaction, storage network and electronic equipment
CN109756582A (en) * 2019-03-15 2019-05-14 腾讯科技(深圳)有限公司 Information recording method, device, node and storage medium in block chain network
CN110322352A (en) * 2019-07-09 2019-10-11 深圳市炳德区块链技术有限公司 A kind of account book foundation and querying method, electronic equipment based on block chain
CN110544095A (en) * 2019-09-03 2019-12-06 腾讯科技(深圳)有限公司 Transaction processing method of block chain network and block chain network
CN111126988A (en) * 2019-12-24 2020-05-08 深圳前海微众银行股份有限公司 Block chain-based transfer method, device, equipment and computer medium
CN111191292A (en) * 2019-12-16 2020-05-22 平安壹钱包电子商务有限公司 Accounting method, accounting device, accounting system and computer-readable storage medium
CN111861477A (en) * 2020-08-06 2020-10-30 深圳壹账通智能科技有限公司 Block chain-based post-transaction data processing method and device and computer equipment
CN113159767A (en) * 2021-04-15 2021-07-23 中国建设银行股份有限公司 Transfer processing method, device and system based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11108545B2 (en) * 2019-05-31 2021-08-31 Advanced New Technologies Co., Ltd. Creating a blockchain account and verifying blockchain transactions

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549749A (en) * 2016-12-06 2017-03-29 杭州趣链科技有限公司 A kind of block chain method for secret protection encrypted based on additive homomorphism
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN109087096A (en) * 2018-07-19 2018-12-25 中国联合网络通信集团有限公司 Block chain account checking method, device, equipment and storage medium
CN109711836A (en) * 2018-11-15 2019-05-03 远光软件股份有限公司 A kind of storage method of transaction, storage network and electronic equipment
CN109756582A (en) * 2019-03-15 2019-05-14 腾讯科技(深圳)有限公司 Information recording method, device, node and storage medium in block chain network
CN110322352A (en) * 2019-07-09 2019-10-11 深圳市炳德区块链技术有限公司 A kind of account book foundation and querying method, electronic equipment based on block chain
CN110544095A (en) * 2019-09-03 2019-12-06 腾讯科技(深圳)有限公司 Transaction processing method of block chain network and block chain network
CN111191292A (en) * 2019-12-16 2020-05-22 平安壹钱包电子商务有限公司 Accounting method, accounting device, accounting system and computer-readable storage medium
CN111126988A (en) * 2019-12-24 2020-05-08 深圳前海微众银行股份有限公司 Block chain-based transfer method, device, equipment and computer medium
CN111861477A (en) * 2020-08-06 2020-10-30 深圳壹账通智能科技有限公司 Block chain-based post-transaction data processing method and device and computer equipment
CN113159767A (en) * 2021-04-15 2021-07-23 中国建设银行股份有限公司 Transfer processing method, device and system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
区块链数据分析:现状、趋势与挑战;陈伟利;郑子彬;;计算机研究与发展(第09期);全文 *

Also Published As

Publication number Publication date
CN113595724A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
KR101780636B1 (en) Method for issuing certificate information and blockchain-based server using the same
KR101799343B1 (en) Method for using, revoking certificate information and blockchain-based server using the same
EP3073670B1 (en) A system and a method for personal identification and verification
CN111767578B (en) Data inspection method, device and equipment
AU2014279915B2 (en) System and method for encryption
CN110020543B (en) Data processing method and device based on block chain
JP2005328574A (en) Cryptographic system and method with key escrow feature
US20230093581A1 (en) Method for directly transferring electronic coin data sets between terminals, payment system, currency system and monitoring unit
US11334879B2 (en) Method and system for digital payment instrument deployment of authentication seal
US20230259899A1 (en) Method, participant unit, transaction register and payment system for managing transaction data sets
CN113595724B (en) Block chain-based accounting method, device, equipment and readable storage medium
KR102376783B1 (en) The blockchain-based transaction history confirmation system
CN109889343A (en) Electronic invoice circulation control method and device
CN113570369B (en) Block chain privacy transaction method, device, equipment and readable storage medium
CN103647650A (en) Rule definition based automatic signature/signature verification device and method
US20230084651A1 (en) Method, terminal, monitoring entity, and payment system for managing electronic coin datasets
CN113987574A (en) Block chain private transaction method, device, equipment and readable storage medium
CN114418769A (en) Block chain transaction charging method and device and readable storage medium
CN113841206A (en) Event management in a distributed computing system
CN113592650B (en) Transaction method, device and equipment based on blockchain intelligent contract
CN110766407A (en) Transaction verification method, accounting node and medium based on block chain
CN113570370B (en) UTXO-based blockchain transaction supervision method and device and readable storage medium
RU2796046C1 (en) Management of accounting data in a distributed computing system
Martino et al. Blockchain Technology: Key Features and Main Applications
US20220230167A1 (en) Method and system for digital payment instrument deployment of authentication seal

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