CN113761064A - Block chain based daily cutting account checking method, device, equipment and readable storage medium - Google Patents

Block chain based daily cutting account checking method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113761064A
CN113761064A CN202110993363.XA CN202110993363A CN113761064A CN 113761064 A CN113761064 A CN 113761064A CN 202110993363 A CN202110993363 A CN 202110993363A CN 113761064 A CN113761064 A CN 113761064A
Authority
CN
China
Prior art keywords
transaction
node
daily
flow
block chain
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
CN202110993363.XA
Other languages
Chinese (zh)
Other versions
CN113761064B (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 CN202110993363.XA priority Critical patent/CN113761064B/en
Publication of CN113761064A publication Critical patent/CN113761064A/en
Application granted granted Critical
Publication of CN113761064B publication Critical patent/CN113761064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of video content analysis, in particular to a daily cutting account checking method, a daily cutting account checking device, daily cutting account checking equipment and a readable storage medium based on a block chain, wherein the method comprises the following steps: acquiring daily cutting transactions issued by a block chain network; calling a corresponding second transaction flow from a local account book according to the daily cutting transaction; receiving a first transaction flow sent by an adjacent upper-layer transaction node; and comparing and detecting whether the first transaction running water and the second transaction running water are the same, and if the first transaction running water and the second transaction running water are the same, sending an abnormal-free instruction to the adjacent upper-layer transaction node.

Description

Block chain based daily cutting account checking method, device, equipment and readable storage medium
Technical Field
The invention relates to the technical field of video content analysis, in particular to a daily cutting account checking method, a daily cutting account checking device, daily cutting account checking equipment and a readable storage medium based on a block chain.
Background
Day-to-day, popular is the time for billing for replacement of the system; the system is switched from the current working day to the next working day, in a traditional non-blockchain network with multi-center accounting, the problem of non-uniform transaction accounting exists among all organizations, namely, a transaction initiator submits transactions and records the transactions in a corresponding local account book, and when a transaction receiver does not receive the transactions, the system starts daily cutting operation, so that the records of the transactions of both parties are different, the local account books of both parties of the transactions need to be checked, verified and corrected after the daily cutting operation is finished, the computing power of the system is greatly and frequently wasted, and the trouble and labor are wasted.
Disclosure of Invention
The invention aims to provide a daily cutting account checking method, a daily cutting account checking device, a daily cutting account checking equipment and a readable storage medium based on 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 daily cutting reconciliation method based on a blockchain, where the method is applied to any transaction node in a blockchain network, and includes:
acquiring a daily cut transaction issued by a blockchain network, wherein the daily cut transaction is used for triggering each node in the blockchain network to execute daily cut operation, and the daily cut transaction is sent to the blockchain network by a top-level transaction node;
calling a corresponding second transaction flow from a local account book according to the daily cutting transaction, wherein the local account book is used for recording all transaction details related to corresponding nodes;
receiving a first transaction flow sent by an adjacent upper-layer transaction node, wherein the first transaction data are all transaction details which are recorded by the adjacent upper-layer transaction node and are related to the corresponding transaction node;
and comparing and detecting whether the first transaction running water and the second transaction running water are the same, and if the first transaction running water and the second transaction running water are the same, sending no abnormal instruction to the adjacent upper-layer transaction nodes.
Optionally, the invoking a corresponding second transaction flow in a local ledger according to the daily-cut transaction includes:
calling the daily cutting transaction, wherein the daily cutting transaction comprises an initial time node and a termination time node;
and calling the local account book, calling all flow records between the initial time node and the termination time node in the local account book, and recording as a second transaction flow.
Optionally, before the receiving the first transaction flow sent by the adjacent upper-layer transaction node, the method further includes:
invoking the second transaction pipeline, the transaction pipeline comprising a plurality of transaction details;
sequentially detecting the signature validity of each transaction detail, and if the signatures of the transaction details are valid signatures, sending a first check instruction to the adjacent upper-layer transaction node, wherein the first check instruction is used for triggering the adjacent upper-layer transaction node to call the corresponding first transaction pipeline according to the daily cutting transaction;
and receiving the first transaction flow sent by the adjacent upper-layer transaction node.
Optionally, after the comparing detects whether the first transaction running water and the second transaction running water are the same, the method further includes:
if the first transaction flow is different from the second transaction flow, finding out at least one difference detail, wherein the difference detail is the transaction detail in the first transaction flow which is different from the second transaction flow;
sending the at least one difference detail to a supervisory node, the first supervisory authority being for collecting transaction details executed for each transaction in the blockchain network;
receiving a second transaction detail sent by the supervision node, wherein the second transaction detail is a transaction detail which is recorded by the supervision institution and corresponds to the difference detail;
updating the second transaction pipeline according to the second transaction detail;
and sending the updated second transaction data to the adjacent upper layer transaction node, and sending a verification request to the adjacent upper layer transaction node, wherein the verification request is used for triggering the adjacent upper layer transaction node to detect whether the updated second transaction data is valid.
Optionally, after the comparing detects whether the first transaction running water and the second transaction running water are the same, the method further includes:
and if the first transaction flow and the second transaction flow are different, changing the local account book according to the second transaction flow.
In a second aspect, an embodiment of the present application provides a daily cutting reconciliation apparatus based on a blockchain, which is applied to any transaction node in a blockchain network, and 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 a daily cut transaction issued by a blockchain network, the daily cut transaction is used for triggering each node in the blockchain network to execute daily cut operation, and the daily cut transaction is sent to the blockchain network by a top-level transaction node;
the first calculation module is used for calling a corresponding second transaction flow from a local account book according to the daily cutting transaction, and the local account book is used for recording all transaction details related to corresponding nodes;
the second calculation module is used for receiving a first transaction assembly line sent by an adjacent upper-layer transaction node, wherein the first transaction data are all transaction details which are recorded by the adjacent upper-layer transaction node and are related to the corresponding transaction node;
and the third calculation module is used for comparing and detecting whether the first transaction running water and the second transaction running water are the same or not, and if the first transaction running water and the second transaction running water are the same, sending an abnormal instruction to the adjacent upper-layer transaction node.
In a third aspect, an embodiment of the present application provides a block chain-based daily cutting reconciliation device, which includes a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the block chain-based daily cutting account checking method when executing the computer program.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above block chain-based daily cutting reconciliation method.
The invention has the beneficial effects that:
the block chain sends each transaction to each node for execution after the transaction is identified on the chain, and the master node responsible for sending the transaction simultaneously sends the transaction to each node in the block chain network, namely in the block chain network, the execution sequence of the transaction is a single center (all the master node issues the transaction as the standard), so that when a top-level organization sends a daily cut transaction to the master node, the master node only publishes the daily cut transaction at the moment, other transactions to be executed are automatically published on the next transaction day by the master node, and further, the local account book data of each node in the system or the block chain network are guaranteed to be uniform and not to diverge;
meanwhile, the local account books of both transaction parties are effectively prevented from being frequently checked, verified and corrected after the daily cutting operation of the network system is finished.
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 daily cutting reconciliation method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a block chain-based daily cutting reconciliation apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a block chain-based daily cutting reconciliation device according to an embodiment of the present invention.
Fig. 4 is an exemplary hierarchical organization architecture as described in embodiments 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers or letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides a block chain-based daily cutting reconciliation method, which includes step S1, step S2, step S3 and step S4.
The method comprises the following steps that S1, daily cut transactions issued by a block chain network are obtained, the daily cut transactions are used for triggering each node in the block chain network to execute daily cut operation, and the daily cut transactions are sent to the block chain network by a top-level transaction node;
the first point to be explained is to acquire the daily transaction issued by the blockchain network, actually acquire the daily transaction issued by the master node in the blockchain network, secondly, as each transaction in the blockchain network needs to be identified on the chain and then sent to each node for execution, and the master node responsible for sending the transaction will send to each node in the blockchain network simultaneously, that is, in the blockchain network, the execution sequence of the transaction is single center (all of them are subject to the master node issuing the transaction), which ensures that when the top-level organization sends the daily cut transaction to the master node, the master node only publishes the daily cut transaction at this moment, other transactions to be executed will be automatically scheduled by the master node for publication on the next transaction day, therefore, local account book data of each node in the system or the block chain network are ensured to be uniform and not to diverge;
meanwhile, the local account books of both transaction parties are effectively prevented from being frequently checked, verified and corrected after the daily cutting operation of the network system is finished.
The second point to be described is that there are two layers of relationship networks between each node in the blockchain network, the first layer of relationship is that they are in a blockchain network, in the network, the identity of each node is equal, and each transaction message published by the blockchain network will be received; the second layer relationship is a hierarchical relationship among nodes, and the hierarchical relationship is mainly embodied in a data processing process under a chain (not on a block chain network), such as progressive signatures in a transaction submitting process or transaction flow reconciliation among nodes, for further clarifying the data processing under the chain, the embodiment will be described with reference to fig. 4, which is shown in fig. 4 and is an exemplary hierarchical organization structure; in the present embodiment, which takes the case that the node 4 transfers data to the node 7 as an example, before the uplink of the transaction, the node 4 encrypts the transaction data by using the HIBE encryption technique, so that the transaction data can only be seen by the node on the transaction link, which in this exemplary embodiment is: the node 4, the node 2, the node 1, the node 3, the node 7, and the transaction data submitted by the node 4 are sequentially signed by the node 2 and the node 1, the above method can ensure privacy of the transaction data, and also considers that the upper node can receive each transaction sent by the lower node, so as to facilitate reconciliation of daily cut transaction streams under the chain, the top node in the step S1 is the node 1 in the exemplary illustration of fig. 4, and because each transaction of the block chain is published to the used node through the block chain network, the problem that transaction records of both transaction parties are different due to daily cut does not exist.
S2, calling a corresponding second transaction flow from a local account book according to the daily-cut transaction, wherein the local account book is used for recording all transaction details related to a corresponding node, and the local account book is not a distributed account book on a chain but only records the transaction flow related to the node;
wherein the step S2 specifically includes the following steps:
s21, calling the daily cutting transaction, wherein the daily cutting transaction comprises an initial time node and a termination time node;
and S22, calling the local account book, calling all flow records between the initial time node and the termination time node in the local account book, and recording as a second transaction flow.
S3, receiving a first transaction flow sent by an adjacent upper-layer transaction node, wherein the first transaction data are all transaction details which are recorded by the adjacent upper-layer transaction node and are related to the corresponding transaction node;
as shown in fig. 4, if the node 4 performs the daily cut operation: intercepting all transaction flow on a local account book corresponding to the node 4 in a time period corresponding to the daily cutting transaction as the second transaction flow, and then waiting for the first transaction flow which is the transaction data recorded by the node 2 and related to the node 4 and sent by an adjacent upper node corresponding to the node 4, namely the node 2; node 2 needs to be checked against this first transaction pipeline as a reference.
What should be noted next is: before step S3, the method may further include:
s31, calling the second transaction assembly line, wherein the transaction assembly line comprises a plurality of transaction details;
s32, sequentially detecting the signature validity of each transaction detail, and if the signatures of the transaction details are valid signatures, sending a first check instruction to the adjacent upper-layer transaction nodes, wherein the first check instruction is used for triggering the adjacent upper-layer transaction nodes to call the corresponding first transaction flow according to the daily cutting transaction;
s33, receiving the first transaction flow sent by the adjacent upper-layer transaction node;
the steps S31 to S33 are configured to, when waiting for the adjacent upper node to send the first transaction flow, perform signature verification again on the signature of each transaction detail in the first transaction flow, and confirm the authenticity and validity of the first transaction flow, so as to prevent the local ledger from being inconsistent with the distributed ledger on the chain, the transaction of the distributed ledger on the chain is definitely valid, and an error may occur when the local ledger is transferred due to a problem of a system or a device, so that, each time a daily cutting operation is performed, it is necessary to check whether the data of the local ledger and the distributed ledger are consistent, and the checking method is to check the validity of the signature of the user, and if the details of the transaction and the user ID are both correct, the hash value corresponding to the transaction is uniquely determined, and the signature verified at this time is a valid signature.
And S4, comparing and detecting whether the first transaction running water and the second transaction running water are the same, and if the first transaction running water and the second transaction running water are the same, sending an abnormal instruction to the adjacent upper-layer transaction node.
Step S4 illustrates the solution when the first transaction flow and the second transaction flow are the same, but there are also situations when the first transaction flow and the second transaction flow are not the same, and the lower step S5 illustrates the solution of the system if the first transaction flow and the second transaction flow are not the same.
S5, comparing and detecting whether the first transaction running water and the second transaction running water are the same, if the first transaction running water and the second transaction running water are different, two solutions are provided at the moment:
the first solution is: the local account book is changed according to the second transaction flow, and the second transaction flow is sent by the adjacent upper-layer node of the node, so that the transaction details in the second transaction flow are taken as reference, the method has the advantages of simplicity and effectiveness, the clearing of error data can be completed very quickly, and particularly when the responsibility division of multi-party transactions is unclear, all data of upper-layer institutions (upper-layer nodes) are accurate, and the complicated accounting disputes among other lower branch institutions can be solved simply, quickly and effectively.
The second solution comprises:
s51, at least one difference detail is found out in a second transaction flow and a first transaction flow, wherein the difference detail is a transaction detail which is different from the second transaction flow in the first transaction flow;
step S52, sending the at least one difference detail to a supervision node, wherein the first supervision node is used for collecting each executed transaction detail in the block chain network, and it should be noted that the supervision node does not participate in daily chain transactions, but collects each transaction occurring on the chain, and is used for later supervision responsibility tracing, and each transaction can be decrypted for the supervision node;
s53, receiving a second transaction detail sent by the supervision node, wherein the second transaction detail is a transaction detail which is recorded by the supervision institution and corresponds to the difference detail;
s54, updating the second transaction flow according to the second transaction detail;
step S55, the updated second transaction data are sent to the adjacent upper layer transaction nodes, meanwhile, a verification request is sent to the adjacent upper layer transaction nodes, the verification request is used for triggering the adjacent upper layer transaction nodes to detect whether the updated second transaction data are valid or not, the solution takes the data provided by a supervision mechanism (a third party mechanism) as the standard, the corresponding local account book is changed according to the second transaction details sent by the supervision nodes, meanwhile, the second transaction flow is updated, and the absolute accuracy of the transaction flow is effectively guaranteed. The method is suitable for error correction of the transaction detail with clear responsibility division and single and simple running account information.
Example 2
As shown in fig. 2, the present embodiment provides a block chain-based daily cutting reconciliation apparatus, which is applied to any transaction node in a block chain network, and the apparatus includes a first obtaining module 71, a first calculating module 72, a second calculating module 73 and a third calculating module 74.
A first obtaining module 71, configured to obtain a daily cut transaction issued by a blockchain network, where the daily cut transaction is used to trigger each node in the blockchain network to perform a daily cut operation, and the daily cut transaction is sent to the blockchain network by a top-level transaction node;
a first calculation module 72, configured to invoke a corresponding second transaction flow from a local ledger according to the daily-cut transaction, where the local ledger is used to record all transaction details related to a corresponding node;
a second calculating module 73, configured to receive a first transaction pipeline sent by an adjacent upper-layer transaction node, where the first transaction data is all transaction details recorded by the adjacent upper-layer transaction node and related to the corresponding transaction node;
and a third calculating module 74, configured to compare and detect whether the first transaction flow and the second transaction flow are the same, and send an abnormal instruction to the adjacent upper-layer transaction node if the first transaction flow and the second transaction flow are the same.
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 3
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a block chain-based daily cutting reconciliation device, and a block chain-based daily cutting reconciliation device described below and a block chain-based daily cutting reconciliation method described above may be referred to correspondingly.
Fig. 3 is a block diagram illustrating a block chain based daily cutting tie-out apparatus 800 according to an example embodiment. As shown in fig. 3, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the electronic device 800, so as to complete all or part of the steps in the block chain-based daily cutting and reconciliation method. The memory 402 is used to store various types of data to support operation at the electronic device 800, such as instructions for any application or method operating on the electronic device 800 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described block-chain based daily reconciliation method.
In another exemplary embodiment, a computer readable storage medium is also provided, which comprises program instructions, which when executed by a processor, implement the steps of the above-mentioned block chain based daily cutting tie method. For example, the computer readable storage medium may be the memory 802 described above comprising program instructions executable by the processor 801 of the electronic device 800 to perform the block chain based daily audit method described above.
Example 4
Corresponding to the above method embodiment, the present disclosure further provides a readable storage medium, and a readable storage medium described below and a block chain-based daily cutting reconciliation method described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the block chain based daily cutting reconciliation method of the above-mentioned 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 or an optical disk, and various other readable storage media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A daily cutting account checking method based on a block chain is characterized in that the daily cutting account checking method is applied to any transaction node in a block chain network and comprises the following steps:
acquiring a daily cut transaction issued by a blockchain network, wherein the daily cut transaction is used for triggering each node in the blockchain network to execute daily cut operation, and the daily cut transaction is sent to the blockchain network by a top-level transaction node;
calling a corresponding second transaction flow from a local account book according to the daily cutting transaction, wherein the local account book is used for recording all transaction details related to corresponding nodes;
receiving a first transaction flow sent by an adjacent upper-layer transaction node, wherein the first transaction data are all transaction details which are recorded by the adjacent upper-layer transaction node and are related to the corresponding transaction node;
and comparing and detecting whether the first transaction running water and the second transaction running water are the same, and if the first transaction running water and the second transaction running water are the same, sending no abnormal instruction to the adjacent upper-layer transaction nodes.
2. The block chain-based daily cutting reconciliation method according to claim 1, wherein the calling a corresponding second transaction flow in a local ledger according to the daily cutting transaction comprises:
calling the daily cutting transaction, wherein the daily cutting transaction comprises an initial time node and a termination time node;
and calling the local account book, calling all flow records between the initial time node and the termination time node in the local account book, and recording as a second transaction flow.
3. The block chain-based daily cutting account reconciliation method according to claim 1, wherein before the receiving the first transaction pipeline sent by the adjacent upper-layer transaction node, the method further comprises:
invoking the second transaction pipeline, the transaction pipeline comprising a plurality of transaction details;
sequentially detecting the signature validity of each transaction detail, and if the signatures of the transaction details are valid signatures, sending a first check instruction to the adjacent upper-layer transaction node, wherein the first check instruction is used for triggering the adjacent upper-layer transaction node to call the corresponding first transaction pipeline according to the daily cutting transaction;
and receiving the first transaction flow sent by the adjacent upper-layer transaction node.
4. The block chain-based daily cutting tie method according to claim 1, wherein the comparing detects whether the first transaction flow and the second transaction flow are the same, further comprising:
if the first transaction flow is different from the second transaction flow, finding out at least one difference detail, wherein the difference detail is the transaction detail in the first transaction flow which is different from the second transaction flow;
sending the at least one difference detail to a supervisory node, the first supervisory authority being for collecting transaction details executed for each transaction in the blockchain network;
receiving a second transaction detail sent by the supervision node, wherein the second transaction detail is a transaction detail which is recorded by the supervision institution and corresponds to the difference detail;
updating the second transaction pipeline according to the second transaction detail;
and sending the updated second transaction data to the adjacent upper layer transaction node, and sending a verification request to the adjacent upper layer transaction node, wherein the verification request is used for triggering the adjacent upper layer transaction node to detect whether the updated second transaction data is valid.
5. The block chain-based daily cutting tie method according to claim 1, wherein the comparing detects whether the first transaction flow and the second transaction flow are the same, further comprising:
and if the first transaction flow and the second transaction flow are different, changing the local account book according to the second transaction flow.
6. The utility model provides a daily cutting reconciliation device based on block chain which characterized in that is applied to arbitrary transaction node in block chain network, 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 a daily cut transaction issued by a blockchain network, the daily cut transaction is used for triggering each node in the blockchain network to execute daily cut operation, and the daily cut transaction is sent to the blockchain network by a top-level transaction node;
the first calculation module is used for calling a corresponding second transaction flow from a local account book according to the daily cutting transaction, and the local account book is used for recording all transaction details related to corresponding nodes;
the second calculation module is used for receiving a first transaction assembly line sent by an adjacent upper-layer transaction node, wherein the first transaction data are all transaction details which are recorded by the adjacent upper-layer transaction node and are related to the corresponding transaction node;
and the third calculation module is used for comparing and detecting whether the first transaction running water and the second transaction running water are the same or not, and if the first transaction running water and the second transaction running water are the same, sending an abnormal instruction to the adjacent upper-layer transaction node.
7. A block chain-based daily cutting reconciliation equipment is characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the block chain based daily cutting tie method according to any one of claims 1 to 5 when executing the computer program.
8. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the block-chain based daily cutting tie method according to any one of claims 1 to 5.
CN202110993363.XA 2021-08-27 2021-08-27 Block chain-based day cut account checking method, device and equipment and readable storage medium Active CN113761064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110993363.XA CN113761064B (en) 2021-08-27 2021-08-27 Block chain-based day cut account checking method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110993363.XA CN113761064B (en) 2021-08-27 2021-08-27 Block chain-based day cut account checking method, device and equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113761064A true CN113761064A (en) 2021-12-07
CN113761064B CN113761064B (en) 2023-06-30

Family

ID=78791565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110993363.XA Active CN113761064B (en) 2021-08-27 2021-08-27 Block chain-based day cut account checking method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113761064B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114596092A (en) * 2022-02-24 2022-06-07 成都质数斯达克科技有限公司 Charging method, device and equipment based on block chain and readable storage medium
CN114596092B (en) * 2022-02-24 2024-05-28 成都质数斯达克科技有限公司 Charging method, device and equipment based on blockchain and readable storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182635A (en) * 2017-12-18 2018-06-19 深圳前海微众银行股份有限公司 Block chain common recognition method, system and computer readable storage medium
CN108876331A (en) * 2018-05-25 2018-11-23 全链通有限公司 Block chain transaction reconciliation agent node and its information synchronization method
CN108876616A (en) * 2018-06-13 2018-11-23 众安信息技术服务有限公司 Exchange information processing method, device and assets based on block chain register settlement system
CN109087096A (en) * 2018-07-19 2018-12-25 中国联合网络通信集团有限公司 Block chain account checking method, device, equipment and storage medium
CN109934590A (en) * 2019-03-21 2019-06-25 深圳市网心科技有限公司 A kind of data processing method based on block chain, device, electronic equipment and medium
CN110263096A (en) * 2019-06-14 2019-09-20 深圳前海微众银行股份有限公司 Batch processing method, system, device, equipment and medium based on distributed environment
CN110264328A (en) * 2019-06-14 2019-09-20 深圳前海微众银行股份有限公司 Account checking method, device, equipment, system and computer readable storage medium
CN110389985A (en) * 2019-06-18 2019-10-29 深圳壹账通智能科技有限公司 Verification of data method, apparatus, computer equipment and storage medium
CN110457914A (en) * 2019-07-09 2019-11-15 深圳壹账通智能科技有限公司 Verification of data method, apparatus, computer equipment and storage medium
CN111026770A (en) * 2019-10-29 2020-04-17 北京海益同展信息科技有限公司 Account book processing method and device for block chain nodes, server and storage medium
KR20200051200A (en) * 2018-11-05 2020-05-13 브릴리언츠 주식회사 Payment method for blockchain ecosystem and payment medium for the method
CN111444003A (en) * 2020-03-27 2020-07-24 上海数禾信息科技有限公司 Multi-system daily-cutting preparation method and device based on credit bill and financial settlement
CN111951005A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 Block chain-based fund storage and management method, device and system
CN112085551A (en) * 2019-06-14 2020-12-15 华为技术有限公司 Transaction method based on block chain and related equipment
CN112101945A (en) * 2020-11-20 2020-12-18 北京连琪科技有限公司 Method and system for supervising block chain content
CN113259118A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Method for synchronizing node information lists

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182635A (en) * 2017-12-18 2018-06-19 深圳前海微众银行股份有限公司 Block chain common recognition method, system and computer readable storage medium
CN108876331A (en) * 2018-05-25 2018-11-23 全链通有限公司 Block chain transaction reconciliation agent node and its information synchronization method
CN108876616A (en) * 2018-06-13 2018-11-23 众安信息技术服务有限公司 Exchange information processing method, device and assets based on block chain register settlement system
CN109087096A (en) * 2018-07-19 2018-12-25 中国联合网络通信集团有限公司 Block chain account checking method, device, equipment and storage medium
KR20200051200A (en) * 2018-11-05 2020-05-13 브릴리언츠 주식회사 Payment method for blockchain ecosystem and payment medium for the method
CN109934590A (en) * 2019-03-21 2019-06-25 深圳市网心科技有限公司 A kind of data processing method based on block chain, device, electronic equipment and medium
CN110263096A (en) * 2019-06-14 2019-09-20 深圳前海微众银行股份有限公司 Batch processing method, system, device, equipment and medium based on distributed environment
CN110264328A (en) * 2019-06-14 2019-09-20 深圳前海微众银行股份有限公司 Account checking method, device, equipment, system and computer readable storage medium
CN112085551A (en) * 2019-06-14 2020-12-15 华为技术有限公司 Transaction method based on block chain and related equipment
CN110389985A (en) * 2019-06-18 2019-10-29 深圳壹账通智能科技有限公司 Verification of data method, apparatus, computer equipment and storage medium
CN110457914A (en) * 2019-07-09 2019-11-15 深圳壹账通智能科技有限公司 Verification of data method, apparatus, computer equipment and storage medium
CN111026770A (en) * 2019-10-29 2020-04-17 北京海益同展信息科技有限公司 Account book processing method and device for block chain nodes, server and storage medium
CN111444003A (en) * 2020-03-27 2020-07-24 上海数禾信息科技有限公司 Multi-system daily-cutting preparation method and device based on credit bill and financial settlement
CN111951005A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 Block chain-based fund storage and management method, device and system
CN112101945A (en) * 2020-11-20 2020-12-18 北京连琪科技有限公司 Method and system for supervising block chain content
CN113259118A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Method for synchronizing node information lists

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘博 等: "基于BaaS平台的微网用户端对端电能交易方式研究", vol. 40, no. 6, pages 13 - 22 *
邵奇峰 等: "企业级区块链技术综述", vol. 30, no. 9, pages 2571 - 2592 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114596092A (en) * 2022-02-24 2022-06-07 成都质数斯达克科技有限公司 Charging method, device and equipment based on block chain and readable storage medium
CN114596092B (en) * 2022-02-24 2024-05-28 成都质数斯达克科技有限公司 Charging method, device and equipment based on blockchain and readable storage medium

Also Published As

Publication number Publication date
CN113761064B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US11783433B2 (en) Systems and methods of access control and system integration
WO2020029629A1 (en) Transaction method and system based on centralized settlement and block chain storage
US20170091733A1 (en) Sending bills
CN111861477A (en) Block chain-based post-transaction data processing method and device and computer equipment
CN109656778A (en) Data capture method, device, computer equipment and storage medium
WO2012162718A1 (en) Addresses in financial systems
CN111797164A (en) Cross-chain transaction supervision method and system based on block chain
WO2013044285A1 (en) Transaction document storage
CN113761064A (en) Block chain based daily cutting account checking method, device, equipment and readable storage medium
AU2015100410A4 (en) Systems and methods of access control and system integration
CN114418769A (en) Block chain transaction charging method and device and readable storage medium
CN113987574A (en) Block chain private transaction method, device, equipment and readable storage medium
CN112668998A (en) Flow implementation method, device, system, electronic equipment and readable storage medium
CN113570370B (en) UTXO-based blockchain transaction supervision method and device and readable storage medium
CN114900569B (en) Test script acquisition method and device
CN113592650B (en) Transaction method, device and equipment based on blockchain intelligent contract
CN112600874B (en) Node joining method and device, electronic equipment and readable storage medium
CN113987596A (en) Block chain privacy transaction protection method, device, equipment and readable storage medium
CN117114903A (en) Data processing method, device, equipment and storage medium
CN114036002A (en) Block chain data backup method and device, storage medium and electronic equipment
CN117234672A (en) Transaction processing method, apparatus, product, device, and medium
AU2019203761A1 (en) Addresses in financial systems
CN117196796A (en) Financial data processing method, device, electronic equipment and storage medium
CN114596092A (en) Charging method, device and equipment based on block chain and readable storage medium
CN113595724A (en) Accounting method, device, equipment and readable storage medium based on block chain

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