CN113190616B - Block chain reconciliation system and method, computer device and readable storage medium - Google Patents

Block chain reconciliation system and method, computer device and readable storage medium Download PDF

Info

Publication number
CN113190616B
CN113190616B CN202110410294.5A CN202110410294A CN113190616B CN 113190616 B CN113190616 B CN 113190616B CN 202110410294 A CN202110410294 A CN 202110410294A CN 113190616 B CN113190616 B CN 113190616B
Authority
CN
China
Prior art keywords
data packet
member node
hash
node unit
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
CN202110410294.5A
Other languages
Chinese (zh)
Other versions
CN113190616A (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.)
Ningbo Turing Qidian Intelligent Technology Co ltd
Ningbo Citizen Card Operation Management Co ltd
Original Assignee
Ningbo Turing Qidian Intelligent Technology Co ltd
Ningbo Citizen Card Operation Management 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 Ningbo Turing Qidian Intelligent Technology Co ltd, Ningbo Citizen Card Operation Management Co ltd filed Critical Ningbo Turing Qidian Intelligent Technology Co ltd
Priority to CN202110410294.5A priority Critical patent/CN113190616B/en
Publication of CN113190616A publication Critical patent/CN113190616A/en
Application granted granted Critical
Publication of CN113190616B publication Critical patent/CN113190616B/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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention is suitable for the technical field of block chains, and provides a block chain account checking system, a method, equipment and a readable storage medium, wherein the block chain account checking system comprises a core member node unit and an alliance member node unit; the alliance member node unit comprises an enterprise database and is used for acquiring the hash of a data packet carrying identity identification information on a block chain; when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the data packet hash from the enterprise database; when the enterprise database is judged to have no corresponding data packet, sending a data packet synchronization request to a core member node unit so as to acquire the corresponding data packet from a backup database of the core member node unit; carrying out account checking on the data packet corresponding to the data packet hash and the data packet hash on the block chain; the invention can ensure the consistency of the service data between the core member node unit and the alliance member node unit, ensure that the core member node unit can not modify the service data in a single way, and ensure the safety, privacy and authenticity of the service data.

Description

Block chain reconciliation system and method, computer device and readable storage medium
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a block chain account checking system and method, computer equipment and a readable storage medium.
Background
The application of the block chain technology allows different users to maintain the same account book, so that the mutual account checking process among enterprises is avoided, and the enterprise cost is reduced. However, in the blockchain, data on the chain is shared by all nodes, which means that the data is seen by all people after being uplinked, and therefore various privacy protection methods are developed.
A very common privacy protection mode applied in the industry is to only chain data in a hash manner, and original data is still stored by all parties of the participants, so that all the parties can verify whether the data is tampered when receiving the data; however, when the data check is wrong, the method has the problem that the account check is wrong when the data is not matched because the data is only owned by the holder.
Disclosure of Invention
An embodiment of the present invention provides a block chain reconciliation system, which aims to solve the above technical problems.
The embodiment of the invention is realized in such a way that a block chain reconciliation system comprises a core member node unit and at least one alliance member node unit which is communicated with the core member node unit;
the alliance member node unit comprises an enterprise database and a block chain, wherein the enterprise database is used for acquiring data packet hash on the block chain, and the data packet hash carries identity identification information of the corresponding alliance member node unit; when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the data packet hash from the enterprise database; when the enterprise database is judged to have no data packet corresponding to the data packet hash, sending a data packet synchronization request corresponding to the data packet hash to the core member node unit; receiving a data packet which is sent by the core member node unit and corresponds to the data packet hash; the data packet corresponding to the data packet hash and the data packet hash on the block chain are subjected to reconciliation processing;
the core member node unit comprises a backup database and is used for receiving a data packet synchronization request which is sent by the alliance member node unit and corresponds to the data packet hash; and acquiring a data packet corresponding to the data packet hash from the backup database, and sending the data packet corresponding to the data packet hash to the alliance member node unit.
Another objective of an embodiment of the present invention is to provide a block chain reconciliation method, including:
acquiring data packet hash on a block chain, wherein the data packet hash carries identity identification information of a corresponding alliance member node unit;
when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the hash of the data packet from an enterprise database of the alliance member node unit;
when the enterprise database is judged to have no data packet corresponding to the data packet hash, sending a data packet synchronization request corresponding to the data packet hash to a core member node unit so as to acquire the data packet corresponding to the data packet hash from a backup database of the core member node unit;
and performing reconciliation processing on the data packet corresponding to the data packet hash and the data packet hash on the block chain.
It is another object of an embodiment of the present invention to provide a computer apparatus, which includes a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the block chain reconciliation method.
Another object of an embodiment of the present invention is a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, causes the processor to execute the steps of the blockchain reconciliation method.
The block chain account checking system provided by the embodiment of the invention comprises a core member node unit and at least one alliance member node unit which is communicated with the core member node unit; when the newly added data packet hash is uploaded on the block chain, the corresponding alliance member node unit matched with the identity identification information acquires the corresponding data packet from the enterprise database of the corresponding alliance member node unit so as to be checked with the data packet hash; and if the corresponding data packet does not exist in the enterprise database, sending a data packet synchronization request to a core member node unit so as to acquire the corresponding data packet from a backup database of the core member node unit for account checking. The invention can ensure the consistency of the service data between the core member node unit and the alliance member node unit, ensure that the core member node unit can not modify and delete the service data in a single way, and ensure the safety, privacy and authenticity of the service data.
Drawings
Fig. 1 is a block diagram of a block chain reconciliation system according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating a structure of a federation member node unit in a blockchain reconciliation system according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a structure of a core member node unit in a blockchain reconciliation system according to an embodiment of the present invention;
fig. 4 is a block diagram of another block chain reconciliation system according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a block chain reconciliation system according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating a block chain reconciliation system according to an embodiment of the present invention;
fig. 7 is a flowchart of an implementation of a block chain reconciliation method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
The block chain reconciliation system provided by the embodiment of the invention comprises a core member node unit and at least one alliance member node unit which is communicated with the core member node unit; when the newly added data packet hash is uploaded on the block chain, the corresponding alliance member node unit matched with the identity identification information acquires the corresponding data packet from the enterprise database of the corresponding alliance member node unit so as to be checked with the data packet hash; and if the corresponding data packet does not exist in the enterprise database, sending a data packet synchronization request to a core member node unit so as to acquire the corresponding data packet from a backup database of the core member node unit for account checking. The invention can ensure the consistency of the service data between the core member node unit and the alliance member node unit, ensure that the core member node unit can not modify and delete the service data in a single way, and ensure the safety, privacy and authenticity of the service data.
To further explain the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be given with reference to the accompanying drawings and preferred embodiments.
Fig. 1 is a schematic structural diagram of a blockchain reconciliation system according to an embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown.
In an embodiment of the present invention, the blockchain reconciliation system comprises a core member node unit 120 and at least one federation member node unit 110 in communication with the core member node unit 120.
In the embodiment of the invention, the blockchain reconciliation system is suitable for a scenario that a core enterprise exists in a federation, and business transactions are initiated by the core enterprise. After business transactions between core enterprises and downstream enterprises occur, multiple account checking is often required, generally based on data of the core enterprises, and the downstream enterprises do not want to acquire own business data by other enterprises. The core member node units 120 represent core enterprises, while the federate member node units 110 are not limited to one, and each federate member node unit 110 represents a different downstream enterprise.
The federation member node unit 110 includes an enterprise database, configured to obtain a data packet hash on a block chain, where the data packet hash carries identity identification information of a corresponding federation member node unit; when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the data packet hash from the enterprise database; when it is determined that the data packet corresponding to the data packet hash does not exist in the enterprise database, sending a data packet synchronization request corresponding to the data packet hash to the core member node unit 120; receiving a data packet corresponding to the data packet hash sent by the core member node unit 120; and carrying out reconciliation processing on the data packet corresponding to the data packet hash and the data packet hash on the block chain.
In the embodiment of the present invention, the federation member node unit 110 corresponds to a node on a blockchain, operated by a downstream enterprise, and further includes an enterprise database storing only business data of the respective enterprise.
In the embodiment of the present invention, after a core enterprise and a downstream enterprise perform a business transaction each time, a data packet hash corresponding to the business data is added to a block chain, and the federation member node unit 110 obtains and checks whether the data packet hash belongs to the enterprise, because the data packet hash carries the identification information of the corresponding federation member node unit, only the federation member node unit corresponding to the identification information can further perform a reconciliation on the business data in the enterprise database and the data packet hash to ensure that the original data of the business data is already stored in the enterprise database; if the original data is not found in the enterprise database, the federation member node unit 110 sends a packet synchronization request corresponding to the packet hash to the core member node unit 120 to obtain a corresponding packet from the backup database of the core member node unit 120.
The core member node unit 120 includes a backup database, configured to receive a data packet synchronization request corresponding to the data packet hash sent by the federation member node unit 110; and obtaining the data packet corresponding to the data packet hash from the backup database, and sending the data packet corresponding to the data packet hash to the league member node unit 110.
In the embodiment of the present invention, the core member node unit 120 is also a node on the blockchain, operated by the core enterprise in the federation, and further includes a backup database storing business data of all downstream enterprises in the federation.
In the embodiment of the present invention, when receiving a data packet synchronization request corresponding to the data packet hash sent by the federation member node unit 110, the core member node unit 120 searches for corresponding original data from its backup database, and synchronizes the data to the enterprise database of the corresponding federation member node unit 110, so that it completes reconciliation processing; in the process, the problem that account checking errors occur when the original data are only owned by a holder enterprise and are not matched is avoided.
The block chain account checking system provided by the embodiment of the invention comprises a core member node unit and at least one alliance member node unit which is communicated with the core member node unit; when the newly added data packet hash is uploaded on the block chain, the corresponding alliance member node unit matched with the identity identification information acquires the corresponding data packet from the enterprise database of the corresponding alliance member node unit so as to be checked with the data packet hash; and if the corresponding data packet does not exist in the enterprise database, sending a data packet synchronization request to a core member node unit so as to acquire the corresponding data packet from a backup database of the core member node unit for account checking. The invention can ensure the consistency of the service data between the core member node unit and the alliance member node unit, ensure that the core member node unit can not modify and delete the service data in a single way, and ensure the safety, privacy and authenticity of the service data.
Fig. 2 is a schematic structural diagram of a federation member node unit in the blockchain reconciliation system according to an embodiment of the present invention, which is detailed as follows:
in this embodiment of the present invention, the federation member node unit 110 specifically includes:
a data packet hash obtaining module 111, configured to obtain a data packet hash on the block chain, where the data packet hash carries identity information of a corresponding federation member node unit.
A data packet obtaining module 112, configured to, when it is determined that the identity information matches, obtain a data packet corresponding to the data packet hash from the enterprise database.
A data packet synchronization request sending module 113, configured to send a data packet synchronization request corresponding to the data packet hash to the core member node unit when it is determined that the data packet corresponding to the data packet hash does not exist in the enterprise database.
And a data packet receiving module 114, configured to receive a data packet sent by the federation member node unit and corresponding to the data packet hash.
And the reconciliation module 115 is configured to perform reconciliation on the data packet corresponding to the data packet hash and the data packet hash on the blockchain.
Fig. 3 is a schematic structural diagram of a core member node unit in the blockchain reconciliation system according to an embodiment of the present invention, which is detailed as follows:
in this embodiment of the present invention, the core member node unit 120 specifically includes:
a data packet synchronization request receiving module 121, configured to receive a data packet synchronization request sent by the federation member node unit and corresponding to the data packet hash.
A data packet sending module 122, configured to obtain a data packet corresponding to the data packet hash from the backup database, and send the data packet corresponding to the data packet hash to the federation member node unit.
Fig. 4 is a schematic structural diagram of another blockchain reconciliation system according to an embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown.
In the embodiment of the present invention, the blockchain reconciliation system further comprises a data processing unit 410 in communication with the core member node unit 120 and the coalition member node unit 110;
the data processing unit 410 is configured to perform packing processing on the service data, and generate a data packet hash to obtain a data packet; the data packet is uploaded to the enterprise database of the corresponding federation member node unit 110 and the backup database of the core member node unit 120.
In this embodiment of the present invention, the data processing unit 410 is configured to perform respective packaging processing on enterprise transaction data generated between the core enterprise and each downstream enterprise, generate corresponding data packet hashes, and store the obtained data packets into the enterprise database of the corresponding federation member node unit 110 and the backup database of the core member node unit 120, respectively, so as to avoid that the original data is lost due to data loss in the enterprise database of the federation member node unit, and account checking cannot be completed.
In a preferred embodiment of the present invention, the core member node unit 120 is configured to send a data packet re-upload request to the data processing unit 410 in response to an error in reconciliation between the data packet corresponding to the data packet hash and the data packet hash.
The data processing unit 410 is configured to receive a data packet re-uploading request sent by the core member node unit; and uploading the data packet to a backup database of the core member node unit again.
In the embodiment of the present invention, when the service data in the backup database of the core member node unit 120 is also in a hash reconciliation error with the data packet on the blockchain, the core member node unit 120 will request the data processing unit 410 to upload the corresponding data packet again until the reconciliation is completed.
Fig. 5 is a schematic structural diagram of another block chain reconciliation system provided in the embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown.
In an embodiment of the present invention, the blockchain reconciliation system further comprises an uplink unit 510 in communication with the data processing unit 410.
The data processing unit 410 is configured to upload the data packet hash to the uplink unit 510.
The uplink unit 510 is configured to receive a data packet hash sent by the data processing unit; attaching the hash of the data packet to the identity identification information of the corresponding alliance member node unit; and Hash-storing the data packet to a block chain.
In this embodiment of the present invention, the data processing unit 410 stores the hash of the data packet into the blockchain through the uplink unit 510, and meanwhile, before uplink, the uplink unit 510 attaches the identity information of the corresponding federation member node unit to the hash of the corresponding data packet according to the identity information of the downstream enterprise, so as to perform reconciliation processing on the corresponding federation member node unit on the subsequent matching blockchain.
Fig. 6 is a schematic structural diagram of another block chain reconciliation system according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown.
In the embodiment of the present invention, the blockchain reconciliation system further includes a business data processing unit 610 in communication with the data processing unit 410.
The service data processing unit 610 is configured to process the service reconciliation data according to a preset reconciliation rule, obtain service data to be stored in the account book, and send the service data to the data processing unit 410.
In the embodiment of the present invention, the preset reconciliation rule refers to processing the business reconciliation data according to the reconciliation format requirements of each enterprise, and may be set by itself according to the terminal performance and/or the implementation requirements, and the like in the specific implementation.
Fig. 7 is a flowchart of an implementation of a block chain reconciliation method according to an embodiment of the present invention, which is described in detail below.
In the embodiment of the invention, the block chain reconciliation method is applied to the node units of the coalition members, and is suitable for a scene that a core enterprise exists in the coalition and business transactions are initiated by the core enterprise. After business transactions between core enterprises and downstream enterprises occur, multiple account checking is often required, generally based on data of the core enterprises, and the downstream enterprises do not want to acquire own business data by other enterprises. The union member node units are not limited to one, each union member node unit is equivalent to each node on the blockchain, represents different downstream enterprises respectively, and is operated by the different downstream enterprises, and the union member node units further comprise an enterprise database which only stores business data of the respective enterprises.
Step S701, obtaining data packet hash on a block chain, wherein the data packet hash carries identity identification information of a corresponding member node unit of the alliance.
Step S702, when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the hash of the data packet from the enterprise database of the alliance member node unit.
In the embodiment of the invention, after a core enterprise and a downstream enterprise perform each business transaction, a data packet hash corresponding to the business data is correspondingly added to the blockchain, and as the data packet hash carries the identity identification information of the corresponding alliance member node unit, only the alliance member node unit corresponding to the identity identification information can further perform one reconciliation on the business data in the enterprise database and the data packet hash, so as to ensure that the original data of the business data is stored in the enterprise database.
Step S703, when it is determined that the enterprise database does not have the data packet corresponding to the data packet hash, sending a data packet synchronization request corresponding to the data packet hash to a core member node unit, so as to obtain the data packet corresponding to the data packet hash from a backup database of the core member node unit.
In this embodiment of the present invention, if the original data is not found in the enterprise database, the federation member node unit sends a data packet synchronization request corresponding to the data packet hash to the core member node unit, so as to synchronize the corresponding data packet from the backup database of the core member node unit.
In the embodiment of the present invention, the core member node unit represents a core enterprise, is a node on a blockchain, and is operated by the core enterprise in the federation, and further includes a backup database storing business data of all downstream enterprises in the federation.
Step S704, performing reconciliation processing on the data packet corresponding to the data packet hash and the data packet hash on the blockchain.
In the embodiment of the invention, when a core member node unit receives a data packet synchronization request which is sent by a coalition member node unit and corresponds to the data packet hash, corresponding original data is searched from a backup database of the core member node unit, and the data is synchronized into an enterprise database of the corresponding coalition member node unit so as to be used for the core member node unit to complete account checking processing; in the process, the problem that account checking errors occur when the original data are only owned by a holder enterprise and are not matched is avoided.
In the block chain reconciliation method provided by the embodiment of the invention, when a newly added data packet hash is uploaded on a block chain, a corresponding alliance member node unit matched with identity identification information acquires a corresponding data packet from an enterprise database of the block chain so as to reconcile with the data packet hash; and if the corresponding data packet does not exist in the enterprise database, sending a data packet synchronization request to a core member node unit so as to acquire the corresponding data packet from a backup database of the core member node unit for account checking. The invention can ensure the consistency of the service data between the core member node unit and the alliance member node unit, ensure that the core member node unit can not modify and delete the service data in a single way, and ensure the safety, privacy and authenticity of the service data.
In one embodiment, a computer device is proposed, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring data packet hash on a block chain, wherein the data packet hash carries identity identification information of a corresponding alliance member node unit;
when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the hash of the data packet from an enterprise database of the alliance member node unit;
when judging that the data packet corresponding to the data packet hash does not exist in the enterprise database, sending a data packet synchronization request corresponding to the data packet hash to a core member node unit so as to acquire the data packet corresponding to the data packet hash from a backup database of the core member node unit;
and carrying out account checking on the data packet corresponding to the data packet hash and the data packet hash.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of:
acquiring data packet hash on a block chain, wherein the data packet hash carries identity identification information of a corresponding alliance member node unit;
when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the hash of the data packet from an enterprise database of the alliance member node unit;
when judging that the data packet corresponding to the data packet hash does not exist in the enterprise database, sending a data packet synchronization request corresponding to the data packet hash to a core member node unit so as to acquire the data packet corresponding to the data packet hash from a backup database of the core member node unit;
and carrying out account checking on the data packet corresponding to the data packet hash and the data packet hash.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A block chain reconciliation system is characterized by comprising a core member node unit and at least one alliance member node unit which is communicated with the core member node unit;
the alliance member node unit comprises an enterprise database and is used for acquiring data packet hash on a block chain, wherein the data packet hash carries identity identification information of the corresponding alliance member node unit; when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the data packet hash from the enterprise database; when judging that the data packet corresponding to the data packet hash does not exist in the enterprise database, sending a data packet synchronization request corresponding to the data packet hash to the core member node unit; receiving a data packet which is sent by the core member node unit and corresponds to the data packet hash; the data packet corresponding to the data packet hash and the data packet hash on the block chain are subjected to reconciliation processing;
the core member node unit comprises a backup database and is used for receiving a data packet synchronization request which is sent by the alliance member node unit and corresponds to the data packet hash; acquiring a data packet corresponding to the data packet hash from the backup database, and sending the data packet corresponding to the data packet hash to the alliance member node unit;
the block chain account checking system also comprises a data processing unit which is communicated with the core member node unit and the alliance member node unit;
the data processing unit is used for packaging the service data and generating data packet hash to obtain a data packet; uploading the data packet to an enterprise database of a corresponding alliance member node unit and a backup database of a core member node unit;
the core member node unit is used for responding to the data packet corresponding to the data packet hash and sending a data packet re-uploading request to the data processing unit when the data packet corresponding to the data packet hash and the data packet hash are in error;
the data processing unit is used for receiving a data packet re-uploading request sent by the core member node unit; and uploading the data packet to a backup database of the core member node unit again.
2. The blockchain reconciliation system of claim 1 wherein the federation member node unit further comprises:
the data packet hash acquisition module is used for acquiring data packet hash on the block chain, wherein the data packet hash carries the identity identification information of the corresponding alliance member node unit;
the data packet acquisition module is used for acquiring a data packet corresponding to the hash of the data packet from the enterprise database when the identity identification information is judged to pass the matching;
a data packet synchronization request sending module, configured to send a data packet synchronization request corresponding to the data packet hash to the core member node unit when it is determined that a data packet corresponding to the data packet hash does not exist in the enterprise database;
a data packet receiving module, configured to receive a data packet sent by the federation member node unit and corresponding to the data packet hash; and
and the reconciliation module is used for reconciling the data packet corresponding to the data packet hash with the data packet hash on the block chain.
3. The blockchain reconciliation system of claim 1 wherein the core member node unit further comprises:
a data packet synchronization request receiving module, configured to receive a data packet synchronization request that is sent by the federation member node unit and corresponds to the data packet hash; and
and the data packet sending module is used for acquiring the data packet corresponding to the data packet hash from the backup database and sending the data packet corresponding to the data packet hash to the alliance member node unit.
4. A blockchain reconciliation system according to claim 1 further comprising an uplink unit in communication with the data processing unit;
the data processing unit is used for uploading the data packet hash to the uplink unit;
the uplink unit is used for receiving the data packet hash sent by the data processing unit; attaching the hash of the data packet to the identity identification information of the corresponding alliance member node unit; and Hash-storing the data packet to a block chain.
5. A blockchain tie-out system according to claim 1, further comprising a business data processing unit in communication with said data processing unit;
and the business data processing unit is used for processing the business reconciliation data according to a preset reconciliation rule to obtain the business data to be stored in the account book and sending the business data to the data processing unit.
6. A blockchain reconciliation method comprising:
acquiring data packet hash on a block chain, wherein the data packet hash carries identity identification information of a corresponding alliance member node unit;
when the identity identification information is judged to pass the matching, acquiring a data packet corresponding to the hash of the data packet from an enterprise database of the alliance member node unit;
when judging that the data packet corresponding to the data packet hash does not exist in the enterprise database, sending a data packet synchronization request corresponding to the data packet hash to a core member node unit so as to acquire the data packet corresponding to the data packet hash from a backup database of the core member node unit;
and carrying out reconciliation processing on the data packet corresponding to the data packet hash and the data packet hash on the block chain.
7. A computer arrangement comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to carry out the steps of the blockchain reconciliation method of claim 6.
8. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the blockchain tie-out method of claim 6.
CN202110410294.5A 2021-04-16 2021-04-16 Block chain reconciliation system and method, computer device and readable storage medium Active CN113190616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110410294.5A CN113190616B (en) 2021-04-16 2021-04-16 Block chain reconciliation system and method, computer device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110410294.5A CN113190616B (en) 2021-04-16 2021-04-16 Block chain reconciliation system and method, computer device and readable storage medium

Publications (2)

Publication Number Publication Date
CN113190616A CN113190616A (en) 2021-07-30
CN113190616B true CN113190616B (en) 2023-02-21

Family

ID=76977383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110410294.5A Active CN113190616B (en) 2021-04-16 2021-04-16 Block chain reconciliation system and method, computer device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113190616B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849543B (en) * 2021-09-30 2022-07-12 北京荷月科技有限公司 Account checking information query system, data updating method and account checking query method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3649601A4 (en) * 2017-08-01 2020-11-04 Digital Asset (Switzerland) Gmbh Method and apparatus for automated committed settlement of digital assets
CN109981750B (en) * 2019-03-06 2021-09-17 北京百度网讯科技有限公司 Business process system, business data processing method and device
CN110163751B (en) * 2019-04-15 2023-07-04 广州致链科技有限公司 Block chain access system oriented to alliance chain and implementation method thereof
CN110457914A (en) * 2019-07-09 2019-11-15 深圳壹账通智能科技有限公司 Verification of data method, apparatus, computer equipment and storage medium
CN112150149A (en) * 2020-09-24 2020-12-29 深圳市中装智链科技有限公司 Data tracing method and device based on block chain, computer equipment and storage medium
CN112241553B (en) * 2020-10-27 2022-11-04 上海万向区块链股份公司 Block chain privacy protection method and system based on multi-account book architecture

Also Published As

Publication number Publication date
CN113190616A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN108573371B (en) Data approval method, device, computer equipment and storage medium
CN110070359B (en) Block chain-based data checking system, method, computing device and storage medium
US10802804B2 (en) File generation method, device, server, and storage medium
SG11201809101WA (en) Blockchain system and blockchain transaction data processing method based on ethereum
CN101313495B (en) Method, system and apparatus for data synchronization
CN109359994B (en) Service processing method, device and system based on block chain
WO2019075978A1 (en) Data transmission method and apparatus, computer device, and storage medium
CN111628886B (en) Method, device and computer equipment for building blockchain network in private cloud environment
WO2019161774A1 (en) Methods, application server, block chain node and media for logistics tracking and source tracing
CN111522874B (en) Block chain consensus method, apparatus, computer device and storage medium
CN102096615A (en) Remote incremental backup method and system
CN112491659B (en) Flow playback test method and device, computer equipment and storage medium
CN113190616B (en) Block chain reconciliation system and method, computer device and readable storage medium
CN111026767A (en) Data storage method and device of block chain and hardware equipment
CN106817387B (en) Data synchronization method, device and system
CN111127206A (en) Block chain data access control method and device based on intelligent contract
CN110597820B (en) Information processing method, device, storage medium and equipment based on block chain
WO2016177070A1 (en) Service data synchronization method, device and system, and computer storage medium
CN108389124B (en) Data processing method, data processing device, computer equipment and storage medium
CN113138880B (en) Block chain system gray level publishing method, device, equipment and storage medium
CN113239056A (en) Data checking method and system based on block chain
CN110908801B (en) Data processing method and device based on block chain, computer equipment and storage medium
CN113204770A (en) Data protection system and method, computer equipment and storage medium
WO2021012903A1 (en) Data storage method and apparatus, computer device, and storage medium
CN111858467A (en) File data processing method, device, equipment and medium based on artificial intelligence

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