CN-121094823-B - Block chain-based intelligent account checking method and system and electronic equipment
Abstract
The invention provides an intelligent checking method and system based on a blockchain and electronic equipment, and relates to the technical field of blockchains. The method comprises the steps of defining a reconciliation rule and a blockchain dynamic fragmentation strategy which are coordinated by multiple participants, storing parameters of the reconciliation rule and the blockchain dynamic fragmentation strategy in an intelligent contract, deploying the intelligent contract into a blockchain, obtaining data to be reconciled of the multiple participants, obtaining the number of fragments based on the blockchain dynamic fragmentation strategy, carrying out fragmentation processing on the data to be reconciled of each participant, calculating a hash value of each fragment, uploading the hash value of each fragment into the blockchain, triggering the intelligent contract according to a preset triggering condition, obtaining the hash values of the corresponding fragments of each participant from the blockchain for comparison, and completing a reconciliation process and obtaining a structured reconciliation result. The invention realizes the efficient reconciliation of a plurality of transaction participants, remarkably improves the reconciliation efficiency, the data reliability and the audit transparency, and solves the efficiency bottleneck and the trust problem in the traditional reconciliation.
Inventors
- CAO YONGQIANG
- WANG YINZHI
- TANG CHANGMING
- MA SHIZHONG
- SUN CHAO
- SHAO XINYU
Assignees
- 浪潮通用软件有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251111
Claims (9)
- 1. The intelligent account checking method based on the blockchain is characterized by comprising the following steps of: Defining a reconciliation rule and a blockchain dynamic fragmentation strategy which are cooperated by multiple participants, and storing the reconciliation rule and the blockchain dynamic fragmentation strategy parameters in an intelligent contract; deploying the intelligent contracts into a blockchain; obtaining to-be-reconciled data of multiple participants, obtaining the number of fragments based on a blockchain dynamic fragmentation strategy, performing fragmentation processing on the to-be-reconciled data of each participant, calculating a hash value of each fragment, uploading the hash value of each fragment to a blockchain, and confirming the validity of the data through zero knowledge proof; Triggering an intelligent contract according to a preset triggering condition, acquiring corresponding fragment hash values of all the participants from the blockchain for comparison, completing the checking process and obtaining a structured checking result; When judging that the transaction state is abnormal, entering an AI arbitration link: acquiring arbitration data of all participants from a blockchain, wherein the arbitration data comprises data to be reconciled and intelligent contract execution records, and preprocessing and feature extraction are carried out on the arbitration data; Training the AI intelligent agent through the historical dispute cases, so that the AI intelligent agent has the function of identifying typical data modes of disputes of different types, and further identifying the dispute type of the current arbitration data through the trained AI intelligent agent; presetting a knowledge graph, wherein the knowledge graph comprises business rules, logical relations among data and historical case information; based on the dispute type to which the current arbitration data belongs, the AI intelligent agent traverses and infers the knowledge graph to obtain an arbitration result; Generating an arbitration decision suggestion according to an arbitration result; recording an arbitration result generated by the AI intelligent agent on a blockchain through a blockchain interface, wherein the arbitration result comprises responsibility judgment, compensation amount and a processing scheme, and simultaneously recording decision processes and basis of the AI intelligent agent, and writing all reconciliation operation results into a blockchain distributed ledger to form an untrustworthy audit trail chain.
- 2. The blockchain-based intelligent reconciliation method of claim 1, wherein the multi-party collaborative reconciliation rules specifically include reconciliation periods, data format standards, hash algorithms and tolerance ranges.
- 3. The intelligent checking method based on the blockchain as in claim 1, wherein the blockchain dynamic slicing strategy specifically comprises: Presetting an upper limit threshold and a lower limit threshold of the data quantity of the data to be reconciled; When the data quantity of the data to be checked is larger than the upper threshold, the time interval of the fragments is reduced, and the number of the fragments is increased; when the data quantity of the data to be checked is smaller than the lower threshold value, the time interval of the fragments is increased, and the number of the fragments is reduced; When the data amount of the data to be checked is between the lower threshold and the upper threshold, the current fragment number is maintained.
- 4. The blockchain-based intelligent reconciliation method of claim 1, wherein the multi-party data to be reconciled is obtained by: Each participant business system extracts key data when a transaction occurs, generates a standardized data message and obtains data to be checked; the key data includes transaction ID, amount, time stamp and participant identification, and the participant business system includes ERP and financial software.
- 5. The blockchain-based intelligent reconciliation method of claim 4, further comprising ordering the data within each of the shards by transaction ID or timestamp prior to calculating the hash value for each of the shards.
- 6. The intelligent checking method based on the blockchain as in claim 1, wherein the steps of obtaining the corresponding hash values of the fragments of each party from the blockchain for comparison, completing the checking process and obtaining the structured checking result include: When the comparison results of the corresponding fragment hash values of all the participants are consistent, judging that the account comparison result is normal in transaction state; when the comparison result of the corresponding fragment hash values of at least one participant and other participants is inconsistent, judging that the reconciliation result is abnormal in transaction state; The intelligent contract automatically marks the abnormal data of the transaction state and generates a difference report to inform each participant.
- 7. The blockchain-based intelligent reconciliation method of claim 1, further comprising: Displaying the analysis process of the AI intelligent agent by adopting a visualization technology; Carrying out decision basis description on the generated arbitration decision suggestion; the arbitration result is updated on the blockchain and the update process is recorded on the blockchain as part of the arbitration process.
- 8. Intelligent reconciliation system based on blockchain, its characterized in that includes: the intelligent contract definition module is configured to define a reconciliation rule and a blockchain dynamic fragmentation strategy which are cooperated by multiple participants, and store the reconciliation rule and the blockchain dynamic fragmentation strategy parameters in the intelligent contract; An intelligent contract deployment module configured to deploy intelligent contracts into blockchains; The system comprises a block chain dynamic block strategy, a block hash calculation module, a block chain dynamic block strategy and a block chain dynamic block strategy, wherein the block chain dynamic block strategy is used for acquiring the number of blocks of the block data to be checked of multiple participants; The comparison module is configured to trigger an intelligent contract according to a preset trigger condition, acquire corresponding fragment hash values of all the participants from the blockchain for comparison, complete the checking process and obtain a structured checking result; When judging that the transaction state is abnormal, entering an AI arbitration link: acquiring arbitration data of all participants from a blockchain, wherein the arbitration data comprises data to be reconciled and intelligent contract execution records, and preprocessing and feature extraction are carried out on the arbitration data; Training the AI intelligent agent through the historical dispute cases, so that the AI intelligent agent has the function of identifying typical data modes of disputes of different types, and further identifying the dispute type of the current arbitration data through the trained AI intelligent agent; presetting a knowledge graph, wherein the knowledge graph comprises business rules, logical relations among data and historical case information; based on the dispute type to which the current arbitration data belongs, the AI intelligent agent traverses and infers the knowledge graph to obtain an arbitration result; Generating an arbitration decision suggestion according to an arbitration result; recording an arbitration result generated by the AI intelligent agent on a blockchain through a blockchain interface, wherein the arbitration result comprises responsibility judgment, compensation amount and a processing scheme, and simultaneously recording decision processes and basis of the AI intelligent agent, and writing all reconciliation operation results into a blockchain distributed ledger to form an untrustworthy audit trail chain.
- 9. An electronic device comprising a memory, a processor, and a program stored on the memory and executable on the processor, wherein the processor, when executing the program, performs the steps in the blockchain-based intelligent reconciliation method of any of claims 1-7.
Description
Block chain-based intelligent account checking method and system and electronic equipment Technical Field The invention belongs to the technical field of blockchains, and particularly relates to an intelligent checking method, system and electronic equipment based on blockchains. Background Accounting is a core link for guaranteeing trade consistency and improving fund safety and business credibility. Accounts receivable and accounts payable are generated in transaction business scenarios where multiple parties cooperate, such as finance, supply chain, cross-border trade, and shared economy. To ensure the consistency and accuracy of accounts receivable and accounts payable, a multi-party reconciliation operation is required. However, the conventional reconciliation mode is highly dependent on manual verification and decentralized system operation, and often has the following problems: 1. Low efficiency and resource waste. In the traditional mode, the same transaction is required to be respectively input into independent systems by buyers and sellers, and verification is completed in a manual export, mail transfer and form comparison peer-to-peer mode. The process has strong repeatability and low automation degree, consumes a great deal of manpower and time cost, and is very easy to become a bottleneck for restricting the overall operation efficiency of enterprises especially in the early and final business peak periods of the month. 2. Information islands and synergies are difficult. The data of each participant is stored in a local system, and a unified and real-time data synchronization mechanism is lacked, so that a serious information gap is formed. Once the difference occurs, the communication and the evidence are repeatedly carried out across departments and enterprises, the tracing is difficult, the dispute processing period is long, and the cooperative trust and the business propulsion efficiency are seriously affected. 3. Risk control is weak. The risks of misoperation, data omission or tampering and the like are easily introduced by relying on manual operation, and the whole-flow audit trail is difficult to realize. Under a complex business structure or a high concurrency transaction environment, the integrity, consistency and safety of data are difficult to ensure in a traditional mode, and potential financial and compliance risks are prominent. Disclosure of Invention In order to overcome the defects of the prior art, the invention provides an intelligent account checking method, system and electronic equipment based on a blockchain, which are used for realizing efficient account checking of a plurality of transaction participants based on a blockchain technology, remarkably improving account checking efficiency, data reliability and audit transparency and solving the efficiency bottleneck and trust problem in the traditional account checking. To achieve the above object, one or more embodiments of the present invention provide the following technical solutions: The first aspect of the invention provides an intelligent reconciliation method based on blockchains. The intelligent account checking method based on the blockchain comprises the following steps: Defining a reconciliation rule and a blockchain dynamic fragmentation strategy which are cooperated by multiple participants, and storing the reconciliation rule and the blockchain dynamic fragmentation strategy parameters in an intelligent contract; deploying the intelligent contracts into a blockchain; Obtaining to-be-reconciled data of multiple participants, obtaining the number of fragments based on a blockchain dynamic fragmentation strategy, performing fragmentation processing on the to-be-reconciled data of each participant, calculating a hash value of each fragment, and uploading the fragment hash value to a blockchain; triggering the intelligent contract according to a preset triggering condition, acquiring corresponding fragment hash values of all the participants from the blockchain for comparison, completing the checking process and obtaining a structured checking result. The second aspect of the invention provides a blockchain-based intelligent reconciliation system. An intelligent reconciliation system based on blockchain, comprising: the intelligent contract definition module is configured to define a reconciliation rule and a blockchain dynamic fragmentation strategy which are cooperated by multiple participants, and store the reconciliation rule and the blockchain dynamic fragmentation strategy parameters in the intelligent contract; An intelligent contract deployment module configured to deploy intelligent contracts into blockchains; The system comprises a block chain dynamic block strategy, a block hash calculation module and a block chain dynamic block strategy, wherein the block hash calculation module is configured to acquire to-be-reconciled data of multiple participants, acquire the number of blocks based on the block ch