Financial data cancel-after-verification method and system based on block chain

By using blockchain technology for encryption and multi-node verification, the problems of low confidentiality and accuracy in corporate financial data verification are solved, achieving efficient and secure financial data verification.

CN120956432APending Publication Date: 2025-11-14CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410589422.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

In existing technologies, corporate financial data reconciliation methods rely on manual operation, resulting in poor data confidentiality and low reconciliation accuracy and efficiency, especially when the data volume is large or complex, operational errors are prone to occur.

Method used

A blockchain-based financial data verification method is adopted. The data to be verified by the enterprise is obtained through a pre-set blockchain A-end node, keywords are extracted and encrypted, and multiple verifications are carried out using cross-chain servers and B-end nodes. Thresholds and points mechanisms are set to optimize the verification process.

Benefits of technology

It improved the confidentiality and accuracy of financial data verification, enhanced verification efficiency, prevented data leakage, and optimized the verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120956432A_ABST
    Figure CN120956432A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a financial data cancel-after-verification method and system based on a block chain, and the method comprises the steps: separating the financial data of an enterprise from financial staff through a block chain technology, encrypting the key information in the to-be-cancel-after-verification financial data of the enterprise, and improving the security of the enterprise on the premise of improving the confidentiality of the enterprise. The financial staff can be effectively prevented from leaking the financial data of the corresponding enterprise; in addition, the threshold values are set in multiple aspects, so that the accuracy and efficiency of financial data verification can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of financial data reconciliation technology, and more specifically, to a blockchain-based financial data reconciliation method and system. Background Technology

[0002] Currently, the main method for reconciling corporate financial data is manual verification by the company's finance personnel, which is accessible to all finance staff. This method does not provide strong confidentiality for the company's financial data. Furthermore, when the amount of financial data to be reconciled is large or complex, the probability of operational errors by the finance personnel during the reconciliation process increases. Summary of the Invention

[0003] In view of the above problems, the purpose of this invention is to provide a blockchain-based financial data reconciliation method and system, which can effectively improve the accuracy and efficiency of financial data reconciliation and increase the confidentiality of corporate financial data.

[0004] The first aspect of this invention provides a blockchain-based financial data reconciliation method, comprising:

[0005] Based on a pre-set blockchain A-end node, obtain the enterprise's financial data information to be reconciled;

[0006] Extract keywords from the financial data to be written off, and classify them to obtain the keywords and corresponding keyword types in the financial data to be written off.

[0007] Based on the preset keyword type confidentiality agreement, the keyword types in the financial data information to be written off are compared and analyzed with the keyword types in the preset keyword type confidentiality agreement to obtain the confidential keyword types in the financial data information to be written off.

[0008] Based on the confidential keyword types and preset encryption algorithms in the financial data to be reconciled, the keywords corresponding to the confidential keyword types in the financial data to be reconciled are converted into encrypted keywords to obtain the encrypted financial data to be reconciled of the enterprise.

[0009] Based on a pre-set cross-chain server, the enterprise's encrypted financial data to be verified is sent to a pre-set blockchain B-end node for verification of the financial data.

[0010] In this solution, the step of sending the enterprise's encrypted financial data to be reconciled to a preset blockchain B-end node for financial data reconciliation specifically includes:

[0011] Obtain the verification results of the enterprise's encrypted financial data pending verification from a preset number of preset blockchain B-end nodes, and set them as the first verification result;

[0012] If the first reconciliation result of the first preset quantity is consistent, then the corresponding first reconciliation result is set as the reconciliation result of the encrypted financial data to be reconciled of the corresponding enterprise and stored.

[0013] If the first reconciliation results of the preset first quantity are not consistent, then calculate the first proportion of each first reconciliation result in the preset first quantity of first reconciliation results;

[0014] If the first percentage value is greater than or equal to the preset first percentage threshold, then the first write-off result corresponding to the first percentage value is set as the write-off result of the encrypted financial data to be written off for the corresponding enterprise and stored.

[0015] If the first proportion value is less than the preset first proportion threshold, a preset second number of preset blockchain B-end nodes are added to verify the encrypted financial data to be verified of the enterprise, and a second verification result is obtained.

[0016] Based on the first percentage value, the second write-off result, and the preset second quantity, the second percentage value of the second write-off result is obtained;

[0017] If the second percentage value is greater than or equal to the preset first percentage threshold, then the second write-off result corresponding to the second percentage value is set as the write-off result of the encrypted financial data to be written off for the corresponding enterprise and stored.

[0018] If the second percentage value is less than the preset first percentage threshold, an alert message for the encrypted pending financial data of the corresponding enterprise is triggered, and the alert message is fed back to the corresponding preset blockchain a-end node.

[0019] In this scheme, the step of obtaining the second proportion value of the second reconciliation result based on the first proportion value, the second reconciliation result, and the preset second quantity specifically includes:

[0020] The identical second reconciliation results in the second reconciliation results are summed to obtain the total number of times the corresponding identical second reconciliation results appear.

[0021] Divide the total number of times the same second reconciliation result appears by the preset second quantity to obtain the second second proportion value of the same second reconciliation result;

[0022] The second write-off results corresponding to the second percentage value are compared and analyzed one by one with the first write-off results corresponding to the first percentage value.

[0023] If the second write-off result corresponding to the second percentage value is the same as the first write-off result corresponding to the first percentage value, then the average value of the second percentage value and the first percentage value will be calculated to obtain the second percentage value of the corresponding second write-off result.

[0024] In this solution, the step of sending the enterprise's encrypted financial data to be reconciled to a preset blockchain B-end node for reconciliation of the financial data further includes:

[0025] Obtain the points information of the preset blockchain B-end nodes;

[0026] Arrange the points of the preset blockchain B-end nodes in descending order to obtain the sequence number information of the preset blockchain B-end nodes;

[0027] Based on a preset first quantity, obtain a preset blockchain B-end node with a serial number less than or equal to the preset first quantity;

[0028] The encrypted financial data of the corresponding enterprise to be rewritten will be sent to the corresponding serial number of the preset blockchain B-end node less than or equal to the preset first number for the rewriting of the financial data.

[0029] This plan also includes:

[0030] Get the number of encrypted financial data to be rewritten from enterprises received by the preset blockchain B-end node, and set it as the third quantity;

[0031] Obtain the time value consumed by the corresponding preset blockchain B-end node in the historical financial data reconciliation process, and set it as the first time value consumed.

[0032] Multiply the third quantity by the first consumption time value to obtain the time value that the corresponding preset blockchain B-end node needs to wait for the encrypted financial data of the enterprise to be verified.

[0033] If the required waiting time is greater than or equal to a preset first time threshold, the corresponding preset blockchain B-end node will be removed from the points sorting.

[0034] This plan also includes:

[0035] The time value for waiting for the company's encrypted financial data to be rewritten in the preset blockchain B-end node to be rewritten is set as the second time value.

[0036] If the second time value is greater than the preset second time threshold, a reversal prompt message is generated and sent to the preset blockchain B-end node for display.

[0037] If the second time value is greater than the preset third time threshold, a deduction warning message is generated, and the encrypted financial data of the corresponding enterprise to be rewritten is removed from the preset blockchain B-end node and rematched to other preset blockchain B-end nodes for rewriting.

[0038] Based on the deduction warning information, the score of the preset blockchain B-end node is reduced by the preset deduction base to obtain the revised score of the corresponding preset blockchain B-end node.

[0039] This plan also includes:

[0040] Based on the preset first time period, the number of financial data to be verified by the preset blockchain B-end nodes is set as the fourth quantity;

[0041] If the fourth quantity is greater than or equal to the preset fourth quantity threshold, then determine whether the preset blockchain B-end node corresponding to the fourth quantity has encrypted financial data to be cancelled by the enterprise when performing financial data cancellation. If not, generate bonus prompt information.

[0042] Based on the bonus information, the points of the preset blockchain B-end node are added to the preset bonus base to obtain the revised points of the corresponding preset blockchain B-end node.

[0043] In this solution, after obtaining the encrypted financial data to be reconciled from the enterprise received by the corresponding preset blockchain B-end node, the following steps are also included:

[0044] The average waiting time for all the encrypted financial data to be verified from the enterprises received by the pre-set blockchain B-end nodes is calculated to obtain the first average time value.

[0045] If the first average time value is less than the preset fourth time threshold, then preset blockchain B-end node pruning information is generated.

[0046] If the first average time value is greater than the preset fifth time threshold, then the preset blockchain B-end node addition information is generated;

[0047] Delete a preset blockchain B-end node based on preset blockchain B-end node pruning information, and add a preset blockchain B-end node based on preset blockchain B-end node addition information.

[0048] This plan also includes:

[0049] Obtain historical financial data of the enterprise;

[0050] Extract encrypted keywords from a company's historical financial data;

[0051] Based on a preset encryption algorithm, the encrypted keywords in the company's historical financial data are encrypted to obtain the company's historical encrypted financial data.

[0052] When a pre-defined blockchain B-end node matches the encrypted financial data to be reconciled of the enterprise, a corresponding access key is generated.

[0053] The access key is sent to the corresponding preset blockchain B-end node for display.

[0054] A second aspect of the present invention provides a blockchain-based financial data reconciliation system, including a memory and a processor, wherein the memory stores a program, and the processor, when executing the program, implements a blockchain-based financial data reconciliation method as described in any one of the above descriptions.

[0055] This invention discloses a blockchain-based financial data reconciliation method and system. By using blockchain technology, the financial data of an enterprise is separated from its financial personnel, and key information in the financial data to be reconciled is encrypted. While improving the confidentiality of the enterprise, this effectively prevents financial personnel from leaking the corresponding financial data. In addition, by setting thresholds in multiple aspects, the accuracy and efficiency of financial data reconciliation can be effectively improved.

[0056] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0057] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings:

[0058] Figure 1 A flowchart illustrating a blockchain-based financial data reconciliation method according to an embodiment of the present invention is shown.

[0059] Figure 2 This diagram illustrates the steps of a blockchain B-end node performing financial data verification according to an embodiment of the present invention.

[0060] Figure 3 A block diagram of a blockchain-based financial data reconciliation system according to an embodiment of the present invention is shown. Detailed Implementation

[0061] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the scope of the present invention.

[0062] Figure 1 A flowchart of a blockchain-based financial data reconciliation method according to an embodiment of the present invention is shown.

[0063] like Figure 1 As shown in the figure, an embodiment of the present invention discloses a blockchain-based financial data reconciliation method, including:

[0064] S101, based on the preset blockchain a-end node, obtains the enterprise's financial data information to be reconciled;

[0065] S102, extract keywords from the financial data information to be reconciled, classify them, and obtain the keywords and corresponding keyword types in the financial data information to be reconciled;

[0066] S103, Based on the preset keyword type confidentiality agreement, compare and analyze the keyword types in the financial data information to be reconciled with the keyword types in the preset keyword type confidentiality agreement to obtain the confidential keyword types in the financial data information to be reconciled;

[0067] S104, based on the confidential keyword type in the financial data to be reconciled and the preset encryption algorithm, convert the keywords corresponding to the confidential keyword type in the financial data to be reconciled into encrypted keywords to obtain the encrypted financial data to be reconciled of the enterprise.

[0068] S105, based on a preset cross-chain server, sends the enterprise's encrypted financial data to be verified to a preset blockchain B-end node for verification of the financial data.

[0069] According to an embodiment of the present invention, the preset blockchain a-end node is an enterprise user. The enterprise user uploads the corresponding enterprise's financial data information to be reconciled through the preset blockchain a-end node, and encrypts the keyword information that needs to be encrypted for the enterprise to obtain the corresponding enterprise's encrypted financial data to be reconciled. The preset blockchain b-end node is a financial personnel user terminal, with one financial personnel corresponding to one financial personnel user terminal. When the enterprise's encrypted financial data to be reconciled is sent to the preset blockchain b-end node, the corresponding preset blockchain b-end node performs reconciliation processing on the enterprise's encrypted financial data to be reconciled.

[0070] Figure 2 The diagram illustrates the steps of a blockchain B-end node performing financial data verification according to an embodiment of the present invention.

[0071] like Figure 2 As shown in the embodiment of the present invention, the step of sending the enterprise's encrypted financial data to be reconciled to a preset blockchain B-end node for reconciliation of financial data specifically includes:

[0072] S201, obtain the verification results of the encrypted financial data to be verified of the enterprise from a preset number of preset blockchain B-end nodes, and set them as the first verification result;

[0073] S202, if the first reconciliation result of the first quantity is consistent, then set the corresponding first reconciliation result as the reconciliation result of the encrypted financial data to be reconciled of the corresponding enterprise, and store it.

[0074] S203, if the first verification results of the preset first quantity are not consistent, calculate the first proportion value of each first verification result in the preset first quantity of first verification results;

[0075] S204, if the first percentage value is greater than or equal to the preset first percentage threshold, then set the first write-off result corresponding to the first percentage value as the write-off result of the encrypted financial data to be written off for the corresponding enterprise, and store it.

[0076] S205, if the first proportion value is less than the preset first proportion threshold, add a preset second number of preset blockchain B-end nodes to verify the encrypted financial data to be verified of the enterprise, and obtain the second verification result.

[0077] S206, Based on the first percentage value, the second write-off result, and the preset second quantity, the second percentage value of the second write-off result is obtained;

[0078] S207, If the second percentage value is greater than or equal to the preset first percentage threshold, then the second write-off result corresponding to the second percentage value is set as the write-off result of the encrypted financial data to be written off for the corresponding enterprise, and stored.

[0079] S208, if the second percentage value is less than the preset first percentage threshold, trigger the corresponding enterprise's encrypted pending financial data warning information, and feed the warning information back to the corresponding preset blockchain a-end node.

[0080] It should be noted that the encrypted financial data of the enterprise to be reconciled is simultaneously sent to a preset number of preset blockchain B-end nodes for reconciliation. If the reconciliation results are consistent, it means that the reconciliation result of the corresponding financial data is correct. If they are inconsistent, a preset first proportion threshold is used for judgment, which improves the accuracy of reconciliation of the encrypted financial data of the corresponding enterprise.

[0081] According to an embodiment of the present invention, the step of obtaining the second proportion value of the second reconciliation result based on the first proportion value, the second reconciliation result, and the preset second quantity specifically includes:

[0082] The identical second reconciliation results in the second reconciliation results are summed to obtain the total number of times the corresponding identical second reconciliation results appear.

[0083] Divide the total number of times the same second reconciliation result appears by the preset second quantity to obtain the second second proportion value of the same second reconciliation result;

[0084] The second write-off results corresponding to the second percentage value are compared and analyzed one by one with the first write-off results corresponding to the first percentage value.

[0085] If the second write-off result corresponding to the second percentage value is the same as the first write-off result corresponding to the first percentage value, then the average value of the second percentage value and the first percentage value will be calculated to obtain the second percentage value of the corresponding second write-off result.

[0086] It should be noted that, for example, if the first percentage of A in the first reconciliation result is 80%, and the second percentage of A in the second reconciliation result is 90%, then the corresponding second percentage of A in the second reconciliation result is...

[0087] According to an embodiment of the present invention, the step of sending the enterprise's encrypted financial data to be reconciled to a preset blockchain B-end node for reconciliation of the financial data further includes:

[0088] Obtain the points information of the preset blockchain B-end nodes;

[0089] Arrange the points of the preset blockchain B-end nodes in descending order to obtain the sequence number information of the preset blockchain B-end nodes;

[0090] Based on a preset first quantity, obtain a preset blockchain B-end node with a serial number less than or equal to the preset first quantity;

[0091] The encrypted financial data of the corresponding enterprise to be rewritten will be sent to the corresponding serial number of the preset blockchain B-end node less than or equal to the preset first number for the rewriting of the financial data.

[0092] It should be noted that the preset blockchain B-end nodes are sorted by their points, with those having higher points given priority. If the points are the same, the preset blockchain B-end nodes with the same points are randomly sorted in order.

[0093] According to an embodiment of the present invention, it further includes:

[0094] Get the number of encrypted financial data to be rewritten from enterprises received by the preset blockchain B-end node, and set it as the third quantity;

[0095] Obtain the time value consumed by the corresponding preset blockchain B-end node in the historical financial data reconciliation process, and set it as the first time value consumed.

[0096] Multiply the third quantity by the first consumption time value to obtain the time value that the corresponding preset blockchain B-end node needs to wait for the encrypted financial data of the enterprise to be verified.

[0097] If the required waiting time is greater than or equal to a preset first time threshold, the corresponding preset blockchain B-end node will be removed from the points sorting.

[0098] It should be noted that by setting a first time threshold to determine the waiting time, the number of encrypted financial data to be reconciled from enterprises received by the preset blockchain B-end node is limited. The shorter the first consumption time of the preset blockchain B-end node, the more encrypted financial data to be reconciled from enterprises that the preset blockchain B-end node can receive. The step of obtaining the corresponding first consumption time value specifically involves obtaining the number of encrypted financial data to be reconciled from enterprises processed by the corresponding preset blockchain B-end node within a preset second time period. The first consumption time value is equal to the preset second time period divided by the number of encrypted financial data to be reconciled from enterprises processed by the corresponding preset blockchain B-end node within the preset second time period.

[0099] According to an embodiment of the present invention, it further includes:

[0100] The time value for waiting for the company's encrypted financial data to be rewritten in the preset blockchain B-end node to be rewritten is set as the second time value.

[0101] If the second time value is greater than the preset second time threshold, a reversal prompt message is generated and sent to the preset blockchain B-end node for display.

[0102] If the second time value is greater than the preset third time threshold, a deduction warning message is generated, and the encrypted financial data of the corresponding enterprise to be rewritten is removed from the preset blockchain B-end node and rematched to other preset blockchain B-end nodes for rewriting.

[0103] Based on the deduction warning information, the score of the preset blockchain B-end node is reduced by the preset deduction base to obtain the revised score of the corresponding preset blockchain B-end node.

[0104] It should be noted that the preset second time threshold is greater than or equal to the preset first time threshold, and the preset third time threshold is greater than the sum of the preset second time threshold and the first consumption time value. By using the preset second time threshold, the preset third time threshold, and the preset points system of the blockchain B-end node, the efficiency of the corresponding preset blockchain B-end node in verifying financial data is improved.

[0105] According to an embodiment of the present invention, it further includes:

[0106] Based on the preset first time period, the number of financial data to be verified by the preset blockchain B-end nodes is set as the fourth quantity;

[0107] If the fourth quantity is greater than or equal to the preset fourth quantity threshold, then determine whether the preset blockchain B-end node corresponding to the fourth quantity has encrypted financial data to be cancelled by the enterprise when performing financial data cancellation. If not, generate bonus prompt information.

[0108] Based on the bonus information, the points of the preset blockchain B-end node are added to the preset bonus base to obtain the revised points of the corresponding preset blockchain B-end node.

[0109] It should be noted that the number of financial data rewritten by the preset blockchain B-end node within the preset first time period is determined by the preset fourth quantity threshold, thereby optimizing the reward and punishment structure of the preset blockchain B-end node's points.

[0110] According to an embodiment of the present invention, after obtaining the time value required to wait for the encrypted financial data to be reconciled of the enterprise received by the corresponding preset blockchain B-end node, the method further includes:

[0111] The average waiting time for all the encrypted financial data to be verified from the enterprises received by the pre-set blockchain B-end nodes is calculated to obtain the first average time value.

[0112] If the first average time value is less than the preset fourth time threshold, then preset blockchain B-end node pruning information is generated.

[0113] If the first average time value is greater than the preset fifth time threshold, then the preset blockchain B-end node addition information is generated;

[0114] Delete a preset blockchain B-end node based on preset blockchain B-end node pruning information, and add a preset blockchain B-end node based on preset blockchain B-end node addition information.

[0115] It should be noted that the first average time value is determined by a preset fourth time threshold and a preset fifth time threshold, wherein the preset fourth time threshold is less than the preset fifth time threshold. The average time for financial data to be rewritten in the entire blockchain is controlled by increasing or decreasing the number of preset blockchain B-end nodes. When a preset blockchain B-end node is deleted, the one with the lowest score among the preset blockchain B-end nodes is deleted.

[0116] According to an embodiment of the present invention, it further includes:

[0117] Obtain historical financial data of the enterprise;

[0118] Extract encrypted keywords from a company's historical financial data;

[0119] Based on a preset encryption algorithm, the encrypted keywords in the company's historical financial data are encrypted to obtain the company's historical encrypted financial data.

[0120] When a pre-defined blockchain B-end node matches the encrypted financial data to be reconciled of the enterprise, a corresponding access key is generated.

[0121] The access key is sent to the corresponding preset blockchain B-end node for display.

[0122] It should be noted that each preset blockchain A node is encrypted. When the enterprise's encrypted financial data to be reconciled is sent to the preset blockchain B node, an access key is generated. The preset blockchain B node uses this access key to access the preset blockchain A node and obtain the enterprise's historical encrypted financial data.

[0123] Figure 3 A block diagram of a blockchain-based financial data reconciliation system according to the present invention is shown.

[0124] like Figure 3 As shown, a second aspect of the present invention provides a blockchain-based financial data reconciliation system 3, including a memory 31 and a processor 32, wherein the memory stores a blockchain-based financial data reconciliation method program as described in any one of the above descriptions.

[0125] This invention discloses a blockchain-based financial data reconciliation method and system. Through blockchain technology, this invention separates a company's financial data from its financial personnel and encrypts key information in the financial data to be reconciled. This enhances the company's confidentiality and effectively prevents financial personnel from leaking the company's financial data. Furthermore, by setting thresholds in multiple aspects, the accuracy and efficiency of financial data reconciliation can be effectively improved.

[0126] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0127] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0128] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0129] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0130] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

[0131] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0132] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A blockchain-based method for verifying financial data, characterized in that, include: Based on a pre-set blockchain A-end node, obtain the enterprise's financial data information to be reconciled; Extract keywords from the financial data to be written off, and classify them to obtain the keywords and corresponding keyword types in the financial data to be written off. Based on the preset keyword type confidentiality agreement, the keyword types in the financial data information to be written off are compared and analyzed with the keyword types in the preset keyword type confidentiality agreement to obtain the confidential keyword types in the financial data information to be written off. Based on the confidential keyword types and preset encryption algorithms in the financial data to be reconciled, the keywords corresponding to the confidential keyword types in the financial data to be reconciled are converted into encrypted keywords to obtain the encrypted financial data to be reconciled of the enterprise. Based on a pre-set cross-chain server, the enterprise's encrypted financial data to be verified is sent to a pre-set blockchain B-end node for verification of the financial data.

2. The blockchain-based financial data reconciliation method according to claim 1, characterized in that, The step of sending the enterprise's encrypted financial data to be reconciled to a preset blockchain B-end node for reconciliation of the financial data specifically includes: Obtain the verification results of the enterprise's encrypted financial data pending verification from a preset number of preset blockchain B-end nodes, and set them as the first verification result; If the first reconciliation result of the first preset quantity is consistent, then the corresponding first reconciliation result is set as the reconciliation result of the encrypted financial data to be reconciled of the corresponding enterprise and stored. If the first reconciliation results of the preset first quantity are inconsistent, calculate the first proportion of each first reconciliation result in the preset first quantity of first reconciliation results; If the first percentage value is greater than or equal to the preset first percentage threshold, then the first write-off result corresponding to the first percentage value is set as the write-off result of the encrypted financial data to be written off for the corresponding enterprise and stored. If the first proportion value is less than the preset first proportion threshold, a preset second number of preset blockchain B-end nodes are added to verify the encrypted financial data to be verified of the enterprise, and a second verification result is obtained. Based on the first percentage value, the second write-off result, and the preset second quantity, the second percentage value of the second write-off result is obtained; If the second percentage value is greater than or equal to the preset first percentage threshold, then the second write-off result corresponding to the second percentage value is set as the write-off result of the encrypted financial data to be written off for the corresponding enterprise and stored. If the second percentage value is less than the preset first percentage threshold, an alert message for the encrypted pending financial data of the corresponding enterprise is triggered, and the alert message is fed back to the corresponding preset blockchain a-end node.

3. The blockchain-based financial data reconciliation method according to claim 2, characterized in that, The step of obtaining the second percentage value of the second write-off result based on the first percentage value, the second write-off result, and the preset second quantity specifically includes: The identical second reconciliation results in the second reconciliation results are summed to obtain the total number of times the corresponding identical second reconciliation results appear. Divide the total number of times the same second reconciliation result appears by the preset second quantity to obtain the second second proportion value of the same second reconciliation result; The second write-off results corresponding to the second percentage value are compared and analyzed one by one with the first write-off results corresponding to the first percentage value. If the second write-off result corresponding to the second percentage value is the same as the first write-off result corresponding to the first percentage value, then the average value of the second percentage value and the first percentage value will be calculated to obtain the second percentage value of the corresponding second write-off result.

4. The blockchain-based financial data reconciliation method according to claim 1, characterized in that, The step of sending the enterprise's encrypted financial data to be reconciled to a preset blockchain B-end node for reconciliation of the financial data further includes: Obtain the points information of the preset blockchain B-end nodes; Arrange the points of the preset blockchain B-end nodes in descending order to obtain the sequence number information of the preset blockchain B-end nodes; Based on a preset first quantity, obtain a preset blockchain B-end node with a serial number less than or equal to the preset first quantity; The encrypted financial data of the corresponding enterprise to be rewritten will be sent to the corresponding serial number of the preset blockchain B-end node less than or equal to the preset first number for the rewriting of the financial data.

5. A blockchain-based financial data reconciliation method according to claim 4, characterized in that, Also includes: Get the number of encrypted financial data to be rewritten from enterprises received by the preset blockchain B-end node, and set it as the third quantity; Obtain the time value consumed by the corresponding preset blockchain B-end node in the historical financial data reconciliation process, and set it as the first time value consumed. Multiply the third quantity by the first consumption time value to obtain the time value that the corresponding preset blockchain B-end node needs to wait for the encrypted financial data of the enterprise to be verified. If the required waiting time is greater than or equal to a preset first time threshold, the corresponding preset blockchain B-end node will be removed from the points sorting.

6. The blockchain-based financial data reconciliation method according to claim 4, characterized in that, Also includes: The time value for waiting for the company's encrypted financial data to be rewritten in the preset blockchain B-end node to be rewritten is set as the second time value. If the second time value is greater than the preset second time threshold, a reversal prompt message is generated and sent to the preset blockchain B-end node for display. If the second time value is greater than the preset third time threshold, a deduction warning message is generated, and the encrypted financial data of the corresponding enterprise to be rewritten is removed from the preset blockchain B-end node and rematched to other preset blockchain B-end nodes for rewriting. Based on the deduction warning information, the score of the preset blockchain B-end node is reduced by the preset deduction base to obtain the revised score of the corresponding preset blockchain B-end node.

7. A blockchain-based financial data reconciliation method according to claim 4, characterized in that, Also includes: Based on the preset first time period, the number of financial data to be verified by the preset blockchain B-end nodes is set as the fourth quantity; If the fourth quantity is greater than or equal to the preset fourth quantity threshold, then determine whether the preset blockchain B-end node corresponding to the fourth quantity has encrypted financial data to be cancelled by the enterprise when performing financial data cancellation. If not, generate bonus prompt information. Based on the bonus information, the points of the preset blockchain B-end node are added to the preset bonus base to obtain the revised points of the corresponding preset blockchain B-end node.

8. A blockchain-based financial data reconciliation method according to claim 5, characterized in that, After obtaining the encrypted financial data to be reconciled from the enterprise received by the corresponding preset blockchain B-end node, the process further includes: The average waiting time for all the encrypted financial data to be verified from the enterprises received by the pre-set blockchain B-end nodes is calculated to obtain the first average time value. If the first average time value is less than the preset fourth time threshold, then preset blockchain B-end node pruning information is generated. If the first average time value is greater than the preset fifth time threshold, then the preset blockchain B-end node addition information is generated; Delete a preset blockchain B-end node based on preset blockchain B-end node pruning information, and add a preset blockchain B-end node based on preset blockchain B-end node addition information.

9. A blockchain-based financial data reconciliation method according to claim 1, characterized in that, Also includes: Obtain historical financial data of the enterprise; Extract encrypted keywords from a company's historical financial data; Based on a preset encryption algorithm, the encrypted keywords in the company's historical financial data are encrypted to obtain the company's historical encrypted financial data. When a pre-defined blockchain B-end node matches the encrypted financial data to be reconciled of the enterprise, a corresponding access key is generated. The access key is sent to the corresponding preset blockchain B-end node for display.

10. A blockchain-based financial data reconciliation system, characterized in that, It includes a memory and a processor, wherein the memory stores a program, and the processor, when executing the program, implements a blockchain-based financial data reconciliation method as described in any one of claims 1 to 9.