Financial data supervision method and system based on block chain

By building a blockchain network and evaluating data importance with Excel financial functions, monitoring exceptions in real time and performing hierarchical backups, the uneven resource allocation and security problems in financial data storage are solved, and efficient and reliable data management and recovery are achieved.

CN120296090APending Publication Date: 2025-07-11GUANGXI UNIV FOR NATITIES
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510376944.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

The existing financial data supervision system has problems such as uneven resource allocation and low security when stored on the blockchain, and may face a single point of failure when hardware failures. Traditional solutions have failed to effectively deal with data inconsistency and security issues caused by multi-node failures.

Method used

By building a blockchain network, designing data models and using Excel financial functions for preprocessing, evaluating the importance of financial data, monitoring software and hardware exceptions in real time, graded backup strategies and dynamic thresholds are used to judge the number of failed nodes, and flexibly switching backup nodes or other blockchain networks to ensure data security and reliability.

Benefits of technology

Optimize the storage and management methods of financial data, improve data security and redundancy, ensure the reliability and flexibility of key data, reduce the impact of system failures on business, and achieve rapid data recovery and consistency maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120296090A_ABST
    Figure CN120296090A_ABST
Patent Text Reader

Abstract

The invention discloses a financial data supervision method and system based on a block chain, and relates to the technical field of financial supervision. The method comprises the following steps: constructing a block chain network, and designing a data model according to financial data characteristics for financial data chaining storage; the method comprises the following steps: preprocessing original financial data by utilizing an Excel financial function, establishing an importance evaluation model, obtaining importance indexes of different data files in the financial data, and running a preset rule engine to judge the importance degree of a target data file; the technical key points are as follows: the scheme not only optimizes the storage and management modes of financial data, but also ensures the safety and reliability of key data, and improves the flexibility and efficiency of data processing; meanwhile, according to the scheme, the security and redundancy of the financial data are improved, the influence of system faults on services is reduced, rapid recovery and consistency maintenance of the data are realized, and a powerful technical guarantee is provided for application of the block chain technology in financial data management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of financial supervision, and in particular to a method and system for financial data supervision based on blockchain. Background Art

[0002] Financial supervision is an activity for comprehensive supervision and management of financial activities in an enterprise's business operations, aiming to ensure the compliance, transparency, and soundness of the enterprise's finances; it covers the supervision of financial conditions and results, and through methods such as financial analysis, forecasting, control, and decision-making, improves the economic efficiency of the enterprise and maintains the development momentum of the enterprise; financial supervision has the characteristics of systematicness and comprehensiveness, involving various aspects such as the movement of enterprise funds and the monitoring of financial staff; through measures such as implementing strict financial approval processes, using professional financial software, and regularly training financial personnel, financial supervision can promptly detect and correct deviations in financial activities, providing a scientific basis for the high-level decision-making of the enterprise.

[0003] In the currently established financial data supervision system, blockchain is also used for operations. Traditional solutions utilize the immutability and distributed characteristics of blockchain to ensure the authenticity and reliability of financial data; however, when financial data is specifically stored on the blockchain, there will be problems of uneven resource allocation or low security; for example, files of different importance are uniformly stored on a single node, increasing the storage pressure on that node, or corresponding backup nodes are allocated, resulting in increased costs; in addition, when encountering node failures caused by hardware failures (such as hard disk damage, power failure, etc.), the traditional countermeasure is to quickly switch to a backup node and start the data synchronization and verification process to ensure that the financial data on the new node is consistent with the entire blockchain network; the situation of the number of failed nodes and whether the standby nodes are normal is not considered. If backup nodes continue to be switched in the current blockchain network, there may be a risk of single-point failure, that is, all backup nodes may also fail simultaneously due to certain reasons (such as cyber attacks, natural disasters, etc.). Summary of the Invention

[0004] (1) Technical Problems to be Solved

[0005] In view of the deficiencies of the prior art, the present invention provides a method and system for financial data supervision based on blockchain. By running this system, the problems raised in the background art are solved.

[0006] (2) Technical Solutions

[0007] To achieve the above objectives, the present invention is realized through the following technical solutions:

[0008] A method for financial data supervision based on blockchain, the steps of which are:

[0009] Build a blockchain network and design a data model based on the characteristics of financial data for storing financial data on the blockchain.

[0010] Preprocess the original financial data using Excel financial functions, build an importance evaluation model, obtain the importance indices of different data files in the financial data, run a preset rule engine to determine the importance level of the target data file, and perform an on-chain allocation operation based on the determination result.

[0011] Monitor relevant events of financial data in real time. When software anomalies are detected, trigger a warning prompt; when hardware anomalies are detected, trigger a fault detection takeover mechanism. For data files with a high importance level, determine whether the number of faulty nodes exceeds a dynamic threshold. If it exceeds, switch to another blockchain network; if it does not exceed, switch to a backup node.

[0012] Further, the construction of the blockchain network means: build a distributed ledger network based on the selected blockchain platform.

[0013] Among them, the blockchain platform includes any one of Ethereum and Hyperledger Fabric.

[0014] Further, before storing financial data on the blockchain, it is necessary to design a data model according to the characteristics of financial data, including at least: determining data fields, defining data structures, and setting data verification rules.

[0015] Further, when preprocessing the original financial data, the specific content includes:

[0016] Data cleaning: Use the filtering and sorting functions of Excel to exclude outliers, duplicate values, and correct error data.

[0017] Data conversion: Convert financial data from one form to another required form.

[0018] Data formatting: Set all financial data to a unified format.

[0019] Further, the financial data includes several different data files; the process of building an importance evaluation model is as follows:

[0020] Summarize the importance evaluation indicators corresponding to the data files, including business criticality, amount size, and update frequency.

[0021] Perform secondary processing on the importance evaluation indicators. When the data shown in the data file is related to core transactions or key accounts, mark the business criticality as 1; when the data shown in the data file is not related to core transactions or key accounts, mark the business criticality as 0; and perform dimensionless processing on the importance evaluation indicators.

[0022] According to the following formula, the importance index of each data file is generated:

[0023]

[0024] In the formula, Zo i , bf i , ir i and lf i respectively represent the corresponding importance index, business criticality, amount size, and update frequency under the data file number i; i = 1, 2,..., n, and n is the total number of data files included in the financial data.

[0025] Furthermore, the process of running the preset rule engine is as follows:

[0026] When the importance index exceeds the preset threshold, it indicates that the importance level of the target data file is: high;

[0027] When the importance index does not exceed the preset threshold, it indicates that the importance level of the target data file is: low;

[0028] Among them, the importance level being high or low is the determination result.

[0029] Furthermore, the process of performing the on-chain allocation operation according to the determination result is as follows:

[0030] When it is determined that the importance level of the target data file is high, a hierarchical backup strategy is matched. Under the condition of real-time synchronization, the target data file is allocated to the corresponding node, and a backup node is added, and at the same time, the target data file is synchronously cross-chain synchronized;

[0031] When it is determined that the importance level of the target data file is low, a similar backup strategy is matched. Under the condition of batch synchronization, the target data file is stored at a single point, and the node where the data files with the same importance level are stored is used as the backup node;

[0032] Among them, the number and location of the backup nodes are random.

[0033] Furthermore, the detected software anomaly is data tampering, and the detected hardware anomaly is a node failure;

[0034] When the fault detection takeover mechanism is triggered, the calculation process of the dynamic threshold is as follows:

[0035] Obtain the importance index and the shortest required duration corresponding to the target data file;

[0036] Build a threshold determination calculation model to generate the dynamic threshold K:

[0037]

[0038] where T is the shortest demand duration, Zo p is the importance index of the p-th group of data files, p = 1, 2,..., Q, and Q is the number of data files, N is the total number of nodes with high importance level, max_allowable_downtime is a preset parameter, and max_allowable_downtime is greater than 0.

[0039] Furthermore, for data files with low importance level, directly switch to the undamaged backup nodes.

[0040] A blockchain-based financial data supervision system, which includes:

[0041] A network construction module, which constructs a blockchain network and designs a data model according to the characteristics of financial data for the financial data to be stored on the chain;

[0042] An on-chain allocation module, which preprocesses the original financial data using Excel financial functions, builds an importance evaluation model, obtains the importance indexes of different data files in the financial data, runs a preset rule engine to determine the importance level of the target data file, and performs on-chain allocation operations according to the determination results;

[0043] A supervision and adjustment module, which monitors relevant events of financial data in real time. When software anomalies are detected, it triggers a warning prompt; when hardware anomalies are detected, it triggers a fault detection takeover mechanism. For data files with high importance level, it judges whether the number of faulty nodes exceeds the dynamic threshold; if it exceeds, it switches to other blockchain networks; if it does not exceed, it switches to backup nodes.

[0044] (III) Beneficial effects

[0045] The present invention provides a blockchain-based financial data supervision method and system, which have the following beneficial effects:

[0046] 1. This solution first preprocesses the original financial data using Excel financial functions to ensure the accuracy and consistency of the data, laying a solid foundation for subsequent analysis; then, builds an importance evaluation model, quantifies the importance index of each data file by comprehensively considering indicators such as business criticality, amount size, and update frequency; then, runs a preset rule engine, determines the importance level of the data file according to the importance index, and performs on-chain allocation operations accordingly; for data with high importance level, adopts a hierarchical backup strategy to achieve multi-node on-chain storage and cross-chain synchronization, enhancing data security and redundancy; for data with low importance level, adopts a similar backup strategy to reduce storage costs and improve processing efficiency;

[0047] Therefore, this solution not only optimizes the storage and management methods of financial data, but also ensures the security and reliability of key data, improves the flexibility and efficiency of data processing, and provides an efficient and feasible technical solution for the storage and management of financial data on the blockchain;

[0048] 2. This solution can capture and record relevant events of financial data in real time, including access, operations, software anomalies, and hardware anomalies, ensuring the traceability and integrity of the data; for software anomalies such as data tampering, by introducing data fingerprint technology and combining with the permission management of smart contracts, rapid early warning and prevention are achieved; for hardware anomalies such as node failures, a perfect fault detection and takeover mechanism is adopted, and according to the importance level of data files and dynamic thresholds, backup nodes or other blockchain networks are flexibly switched to ensure the high availability and reliability of the data;

[0049] Among them, the generation of the importance index not only reflects the importance level of the target data file, but also can provide a basis or guidance for subsequent calculation of dynamic thresholds, ensuring the rationality and effectiveness of the dynamic threshold design;

[0050] Therefore, this solution not only improves the security and redundancy of financial data, but also reduces the impact of system failures on business, realizes the rapid recovery and consistency maintenance of data, and provides a strong technical guarantee for the application of blockchain technology in financial data management. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is the overall method flow chart in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0052] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0053] Embodiment 1:

[0054] Please refer to Figure 1 , this embodiment aims to design a financial data supervision method based on the blockchain. Through the decentralized, immutable, and transparent characteristics of the blockchain, the authenticity, integrity, and traceability of financial data are ensured.

[0055] This supervision method includes the following steps:

[0056] S1. Build a blockchain network and design a data model according to the characteristics of financial data for the storage of financial data on the blockchain;

[0057] Among them, the construction of the blockchain network means:

[0058] Select a suitable blockchain platform (such as Ethereum, Hyperledger Fabric, etc.) to build a distributed ledger network;

[0059] Select a blockchain platform:

[0060] When constructing a blockchain network, it is first necessary to select a suitable blockchain platform; currently, there are various blockchain platforms available in the market, such as Ethereum, Hyperledger Fabric, etc.; Ethereum is an open-source public blockchain platform with smart contract functionality, supporting the development of various decentralized applications (DApps); while Hyperledger Fabric is an open-source enterprise-level permissioned blockchain framework, suitable for application scenarios that require high privacy and permission control;

[0061] Example of the Ethereum platform: For scenarios that require public transparency and involve the supervision of financial data with smart contracts, Ethereum is a good choice; for example, a financial data supervision DApp can be developed based on the Ethereum platform to automatically execute operations such as auditing and recording financial data through smart contracts; Example of the Hyperledger Fabric platform: For the supervision of financial data within an enterprise or within a specific industry alliance, Hyperledger Fabric may be more suitable; it provides a more flexible permission control mechanism to ensure that only authorized users can access and modify financial data;

[0062] From the above example content, it can be known how to select the required blockchain platform;

[0063] Build a distributed ledger network:

[0064] After selecting the blockchain platform, the next step is to build a distributed ledger network; this includes determining network nodes, configuring a consensus mechanism, and setting data storage and transmission protocols; among them, determining network nodes: Determine the nodes participating in the blockchain network according to the needs of financial data supervision; these nodes can be the financial departments, auditing institutions, regulatory agencies, etc. of enterprises; Configuring the consensus mechanism: Select a suitable consensus mechanism, such as proof of work (PoW), proof of stake (PoS), or practical Byzantine fault tolerance (PBFT), etc.; for the financial data supervision scenario, efficient consensus mechanisms such as PBFT may be more suitable; Setting data storage and transmission protocols: Configure data storage and transmission protocols to ensure the secure, reliable transmission and storage of financial data;

[0065] Design a data model based on the characteristics of financial data:

[0066] Before storing financial data on the blockchain, it is necessary to design a suitable data model based on the characteristics of the financial data, which at least includes determining data fields, defining data structures, and setting data verification rules;

[0067] Determine data fields. According to the characteristics of financial data, determine the data fields to be stored on the blockchain;

[0068] For example, for financial statement data, it is necessary to include various data fields in tables such as the balance sheet, income statement, and cash flow statement, such as total assets, total liabilities, operating income, net profit, etc.;

[0069] Define data structures. Design data structures to organize the determined data fields into a suitable data format;

[0070] For example, use formats such as JSON or XML to represent financial data; for complex financial data structures, use a nested method to represent;

[0071] Set data verification rules. To ensure the accuracy and integrity of financial data, it is necessary to set data verification rules;

[0072] For example, perform range verification, format verification, association verification, etc. on financial data. For example, for operating income data, range verification rules can be set to ensure that the data is within a reasonable range; for data fields with a date format, format verification rules can be set to ensure that the data format is correct;

[0073] Example:

[0074] Suppose we need to store the monthly financial statement data of an enterprise on the blockchain; first, we determine the data fields to be stored on the blockchain, including total assets, total liabilities, operating income, net profit, etc.; then, we design a data structure to organize these data fields into a JSON object; finally, we set data verification rules, such as ensuring that the total assets are greater than the total liabilities, and both the operating income and net profit are non-negative values, etc.; after completing these steps, we can store the financial data on the blockchain in subsequent operations and share and supervise it through the blockchain network.

[0075] By adopting the above technical solution, the technical effect of building an efficient and secure financial data supervision system is achieved;

[0076] This solution addresses the technical problems in traditional financial data supervision, such as high risk of data tampering, insufficient transparency, and inflexible permission control. First, by constructing a blockchain network and leveraging the immutability and distributed characteristics of the blockchain, the authenticity and reliability of financial data are ensured. Second, a data model is designed according to the characteristics of financial data to achieve structured storage of financial data and automatic execution of smart contracts, improving the efficiency and accuracy of data processing. At the same time, through a flexible permission control mechanism, only authorized users can access and modify financial data, enhancing data privacy protection. In addition, the selection of an efficient consensus mechanism and the setting of data verification rules further improve the system performance and data accuracy. In summary, this supervision method not only improves the efficiency and accuracy of financial data supervision but also enhances data transparency and security.

[0077] S2. Use Excel financial functions to preprocess the original financial data, build an importance assessment model, obtain the importance indices of different data files in the financial data, run a preset rule engine to determine the importance level of the target data file, and perform an on-chain allocation operation based on the determination result.

[0078] Among them, when using Excel financial functions to preprocess the original financial data, the main purposes are to clean, organize, and analyze the data. The specific contents include:

[0079] Data cleaning: Use the filtering and sorting functions of Excel to exclude outliers and duplicate values and correct incorrect data. For example, use the "Conditional Formatting" function to find missing values and use the mean or median to impute missing values to ensure data integrity. Data conversion: Convert the data from one form to another for subsequent analysis. For example, use the text-to-columns function to separate multiple pieces of information in a single cell or use formulas to convert data from text format to numerical format for mathematical operations. Basic statistical analysis: Use financial functions such as SUM, AVERAGE, and COUNT to perform preliminary statistics on the data. For example, use the SUM function to calculate total revenue and total expenses, and use the AVERAGE function to calculate average sales or costs to provide basic data for the importance assessment model. Data formatting: Ensure that all data conforms to a unified format, such as date format, currency format, etc., to improve data consistency and readability.

[0080] For example, for a table containing sales data, first clean up duplicate or incorrect sales records, then convert the sales amount from text format to numerical format, calculate the total sales and average sales, and finally format all dates into a unified format to provide an accurate and standardized data basis.

[0081] In this embodiment, the financial data consists of several different data files.

[0082] Specifically, the process of building the importance evaluation model is as follows:

[0083] Summarize the importance evaluation indicators corresponding to the data files, including at least business criticality, amount size, and update frequency; among them, business criticality indicates whether the data presented in the data file is related to core transactions or key accounts; amount size indicates the amount of transactions or account balances; update frequency indicates the update frequency of the data presented in the data file;

[0084] Perform secondary processing on the importance evaluation indicators. When the data presented in the data file is related to core transactions or key accounts, mark the business criticality as 1; when the data presented in the data file is not related to core transactions or key accounts, mark the business criticality as 0; and perform dimensionless processing on the importance evaluation indicators;

[0085] According to the following formula, generate the importance index for each data file:

[0086]

[0087] In the formula, Zo i 、bf i 、ir i and lf i respectively represent the importance index, business criticality, amount size, and update frequency corresponding to the data file numbered i; i = 1, 2,..., n, where n is a positive integer and n is the total number of data files included in the financial data;

[0088] It should be noted that when the data presented in the data file is related to core transactions or key accounts, the business criticality is marked as 1; otherwise, it is 0; this factor serves as the basis of the formula to ensure that the data files of core transactions and key accounts occupy an important position in the evaluation; the higher the update frequency of the data file, the relatively lower its importance, because frequently updated data may contain more daily operation information rather than key decision-making basis; using 1 + update frequency as the denominator ensures that an increase in the update frequency will lead to a decrease in the importance index; the amount size is an important indicator for measuring the importance of the data file, but to avoid the importance index being overly skewed due to too large an amount, the logarithmic function log(amount size + 1) is used for processing; the logarithmic function makes the impact of the increase in the amount on the importance index gradually decrease, thus balancing the differences between amounts of different magnitudes;

[0089] The process of running the preset rule engine is as follows:

[0090] When the importance index exceeds the preset defined threshold, it indicates that the importance level of the target data file is: high;

[0091] When the importance index does not exceed the preset threshold, it indicates that the importance level of the target data file is: low;

[0092] The above high or low importance level is the determination result;

[0093] The process of performing the chain - uploading allocation operation based on the determination result is as follows:

[0094] When it is determined that the importance level of the target data file is high, a hierarchical backup strategy is matched. Under the condition of real - time synchronization, the target data file is allocated to the corresponding node, and backup nodes are added (corresponding to switching backup nodes), and at the same time, the target data file is synchronously cross - chain synchronized (corresponding to switching to other blockchain networks);

[0095] When it is determined that the importance level of the target data file is low, a similar - type backup strategy is matched. Under the condition of batch synchronization, the target data file is stored at a single point, and the node where the data files with the same importance level are stored is used as the backup node;

[0096] Among them, the number and location of the backup nodes are random;

[0097] Specifically, for data with a high importance level, through the method of multi - node chain - uploading storage and cross - chain synchronization, the security and redundancy of important financial data are improved, and the risk of data loss or damage is reduced; for data with a low importance level, the method of single - node chain - uploading storage and backup of nodes with similar data is adopted, reducing the storage cost and improving the processing efficiency.

[0098] By adopting the above technical solution, the technical effect of intelligent and differentiated management of financial data is achieved;

[0099] Effectively solve the problems of uneven resource allocation and security when financial data is chain - uploaded and stored. This solution first pre - processes the original financial data using Excel financial functions to ensure the accuracy and consistency of the data, laying a solid foundation for subsequent analysis; then, an importance evaluation model is built, and by comprehensively considering indicators such as business criticality, amount size, and update frequency, the importance index of each data file is quantified; then, a preset rule engine is run to determine the importance level of the data file according to the importance index and perform the chain - uploading allocation operation accordingly;

[0100] For data with a high importance level, a hierarchical backup strategy is adopted to achieve multi - node chain - uploading storage and cross - chain synchronization, enhancing the security and redundancy of the data; for data with a low importance level, a similar - type backup strategy is adopted to reduce the storage cost and improve the processing efficiency;

[0101] This solution not only optimizes the storage and management methods of financial data, but also ensures the security and reliability of critical data, improves the flexibility and efficiency of data processing, and provides an efficient and feasible technical solution for the storage and management of financial data on the blockchain.

[0102] S3. Monitor relevant events of financial data in real time. When software anomalies are detected, trigger warning prompts; when hardware anomalies are detected, trigger the fault detection takeover mechanism;

[0103] Among them, relevant events of financial data:

[0104] Capture and record all relevant events of financial data, and relevant events at least include access, operation, software anomalies (such as data tampering), and hardware anomalies (such as node failures). These relevant events can be stored on the blockchain for subsequent traceability and analysis;

[0105] When software anomalies are detected, such as data tampering as a software anomaly, trigger warning prompts to notify relevant personnel for handling; in the blockchain network, although the data itself cannot be tampered with, malicious users may indirectly tamper with the data by forging transactions or modifying smart contracts, etc.; for example, affecting the accuracy of financial statements by submitting false transaction records.

[0106] Solution: Introduce the "data fingerprint" technology to generate unique identifiers (fingerprints) for each transaction and financial data; when the data changes, its fingerprint will also change accordingly; by comparing the fingerprint of the current data with the historical fingerprint, it can be quickly discovered whether the data has been tampered with; at the same time, combined with the permission management function of smart contracts, restrict the modification permission of critical data to reduce the risk of data tampering.

[0107] Example: Suppose a large sales transaction is recorded in the financial statements of an enterprise, and a unique fingerprint is generated for this transaction through the data fingerprint technology; if it is subsequently found that the fingerprint of this transaction has changed, the system will automatically trigger a warning, indicating that there may be data tampering behavior.

[0108] When hardware anomalies are detected, such as node failures as a hardware anomaly;

[0109] The monitoring method is: adopt a perfect node failure detection mechanism, and use means such as heartbeat detection and network monitoring to monitor the running status of nodes in real time, and be able to discover node failures and their locations in the first time, which is convenient for subsequent operations;

[0110] The content of the triggered fault detection takeover mechanism is as follows:

[0111] For data files with a high degree of importance, judge whether the number of faulty nodes exceeds the dynamic threshold; if it exceeds, switch to other blockchain networks; if it does not exceed, switch to backup nodes;

[0112] Among them, the calculation process of the dynamic threshold is as follows:

[0113] Obtain the importance index and the shortest required duration corresponding to the target data file;

[0114] Among them, if the number of data files is 1, the importance index of this data file is the importance index corresponding to the target data file. If the number of data files exceeds 1, calculate the average value of the importance indices corresponding to each data file as the importance index corresponding to the target data file; the shortest required duration is the shortest time required by the user or the duration required from the current moment to the next demand call moment;

[0115] Build a threshold determination calculation model to generate the dynamic threshold. The formula is as follows:

[0116]

[0117] In the formula, K is the dynamic threshold, T is the shortest required duration, Zo p is the importance index of the p-th group of data files (after normalization processing, the value range is [0, 1]. The premise here is for data files with high importance), p = 1, 2,..., Q, Q is a positive integer and Q is the number of data files, N is the total number of nodes with high importance, max_allowable_downtime is a preset parameter, indicating the maximum duration (in seconds) that a single node is allowed to fail within the shortest required duration. This parameter can be set according to the reliability and fault tolerance of the system, and max_allowable_downtime is greater than 0;

[0118] avg(Zo p ) is the average value of the importance indices corresponding to each data file;

[0119] is the ceiling function, which is used to ensure that the dynamic threshold is an integer;

[0120] Logical Explanation: Average of the Financial Data Importance Index: By calculating the average of the financial data importance index, we can obtain an indicator reflecting the importance of the overall data. The higher this indicator, the more important the financial data, and the higher the requirements for the system's reliability and fault tolerance. Maximum Allowable Downtime for a Single Node: The max_allowable_downtime parameter is used to limit the maximum duration of a single node failure within the shortest required duration. The setting of this parameter needs to consider the system's reliability and fault tolerance, as well as the importance of the financial data. Calculation of the Dynamic Threshold: By multiplying the shortest required duration by the average of the financial data importance index and then dividing by the total number of nodes and the maximum allowable downtime for a single node, we can obtain a dynamic threshold reflecting the system's fault tolerance. If the current number of faulty nodes exceeds this threshold, it indicates that the system's fault tolerance has been severely affected, and it is necessary to consider switching to other blockchain networks to ensure data security and reliability.

[0121] Example:

[0122] Suppose there are 3 groups of data files with high importance, and their importance indices are Zo1 = 0.8, Zo2 = 0.6, Z03 = 0.4 respectively. The shortest required duration T = 3600 seconds (i.e., 1 hour), the total number of nodes with high importance N = 5, and the preset parameter max_allowable_downtime = 300 seconds (i.e., 5 minutes).

[0123] First, calculate the mean of the importance indices corresponding to each data file:

[0124] avg(Zo p ) = 1 / 3(0.8 + 0.6 + 0.4) = 1.8 / 3 = 0.6

[0125] Then, calculate the dynamic threshold:

[0126]

[0127] This means that within the shortest required duration, if there are 2 or more nodes with high importance that fail, and the total failure duration of these faulty nodes exceeds the maximum allowable downtime for a single node (i.e., 10 minutes), then it is necessary to consider switching to other blockchain networks to ensure data security and reliability. If the number of faulty nodes is less than 2, or although the number of faulty nodes exceeds 2 but the total failure duration does not exceed the allowable maximum, then it is possible to directly switch to the backup node to restore normal access and operation of the data (the above is only an example).

[0128] For data files with low importance, directly switch to the undamaged backup node (since for data files with low importance, only other nodes can be found, so there is no need to consider this here).

[0129] It should be noted that the reasons for switching to other blockchain networks or backup nodes are as follows:

[0130] Reasons for switching to other blockchain networks:

[0131] Data security and reliability requirements: When the number of faulty nodes exceeds the defined threshold, it means that the data security and reliability of the current blockchain network are seriously threatened; in this case, directly switching to other blockchain networks can ensure that the integrity and consistency of financial data are not affected, because other blockchain networks may have higher security and redundancy; Avoiding single-point failure risk: If backup nodes continue to be switched in the current blockchain network, there may be a risk of single-point failure, that is, all backup nodes may also fail simultaneously for some reason (such as cyber attacks, natural disasters, etc.); switching to other blockchain networks can avoid this risk and improve the overall security of the data; Meeting the minimum required duration: In the case where the number of faulty nodes exceeds the defined threshold, it may take a longer time to restore the normal operation of the current blockchain network; switching to other blockchain networks can ensure that financial data remains available within the minimum required duration and meet the business needs of users;

[0132] Reasons for switching backup nodes:

[0133] Quick recovery: When the number of faulty nodes does not exceed the defined threshold, it indicates that the data security and reliability of the current blockchain network still remain within an acceptable range; in this case, switching backup nodes can restore normal access and operation of the data faster, because backup nodes are usually within the same blockchain network and the data synchronization and verification processes are relatively fast; Reducing switching costs: Switching to other blockchain networks may involve more complex data synchronization and verification processes, as well as higher switching costs (such as network bandwidth, computing resources, etc.); while switching backup nodes can achieve fast data recovery at a lower cost; Maintaining data consistency: Switching backup nodes within the same blockchain network can more easily maintain data consistency, because all nodes follow the same consensus mechanism and data verification rules.

[0134] By adopting the above technical solutions, the technical effects of real-time monitoring of financial data and efficient fault handling are achieved;

[0135] Effectively solve the problems of data security and system reliability in the blockchain network; This solution can capture and record relevant events of financial data in real time, including access, operation, software anomalies, and hardware anomalies, ensuring data traceability and integrity; For software anomalies such as data tampering, by introducing data fingerprint technology and combining with the permission management of smart contracts, rapid early warning and prevention are achieved; For hardware anomalies such as node failures, a perfect fault detection and takeover mechanism is adopted, and according to the importance level of data files and dynamic thresholds, backup nodes or other blockchain networks are flexibly switched to ensure high availability and reliability of data; Among them, the importance index not only reflects the importance level of the target data file, but also provides a basis or guidance for subsequent calculation of dynamic thresholds, ensuring the rationality and effectiveness of dynamic threshold design;

[0136] This solution not only improves the security and redundancy of financial data, but also reduces the impact of system failures on business, realizes rapid data recovery and consistency maintenance, and provides strong technical support for the application of blockchain technology in financial data management.

[0137] Embodiment 2:

[0138] Based on Embodiment 1, this embodiment also provides a financial data supervision system based on blockchain, which includes:

[0139] Network construction module, which constructs a blockchain network and designs a data model according to the characteristics of financial data for financial data to be stored on the chain;

[0140] On-chain allocation module, which preprocesses the original financial data using Excel financial functions, builds an importance evaluation model, obtains the importance index of different data files in the financial data, runs a preset rule engine to determine the importance level of the target data file, and performs on-chain allocation operations according to the determination result;

[0141] Supervision and adjustment module, which monitors relevant events of financial data in real time. When a software anomaly is detected, an early warning prompt is triggered; When a hardware anomaly is detected, a fault detection and takeover mechanism is triggered. For data files with a high importance level, it is judged whether the number of faulty nodes exceeds the dynamic threshold; If it exceeds, switch to other blockchain networks; If not, switch to backup nodes.

[0142] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution.

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

[0144] As described above, the above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application.

Claims

1. A financial data supervision method based on blockchain, characterized in that: The steps of this method are as follows: Build a blockchain network and design a data model according to the characteristics of financial data for storing financial data on the blockchain. Preprocess the original financial data using Excel financial functions, build an importance evaluation model, obtain the importance index of different data files in the financial data, run a preset rule engine to determine the importance level of the target data file, and perform an on-chain allocation operation according to the determination result. Monitor relevant events of financial data in real time. When software anomalies are detected, trigger a warning prompt. When hardware anomalies are detected, trigger a fault detection takeover mechanism. For data files with a high importance level, determine whether the number of faulty nodes exceeds a dynamic threshold. If it exceeds, switch to other blockchain networks. If it does not exceed, switch to backup nodes.

2. The method for supervising financial data based on blockchain according to claim 1, wherein: The construction of the blockchain network means: build a distributed ledger network based on the selected blockchain platform. Among them, the blockchain platform includes any one of Ethereum and Hyperledger Fabric.

3. The financial data supervision method based on blockchain according to claim 1, wherein: Before storing financial data on the blockchain, a data model needs to be designed according to the characteristics of financial data, including at least: determining data fields, defining data structures, and setting data verification rules.

4. The blockchain-based financial data supervision method according to claim 1, characterized in that: When preprocessing the original financial data, the specific content includes: Data cleaning: Use the filtering and sorting functions of Excel to exclude outliers, duplicate values, and correct error data. Data conversion: Convert financial data from one form to another required form. Data formatting: Set all financial data to a unified format.

5. The blockchain-based financial data supervision method according to claim 1, characterized in that: Financial data includes several different data files; the process of building an importance evaluation model is as follows: Summarize the importance evaluation indicators corresponding to the data files, including business criticality, amount size, and update frequency. Perform secondary processing on the importance evaluation indicators. When the data shown in the data file is related to core transactions or key accounts, mark the business criticality as 1; when the data shown in the data file is not related to core transactions or key accounts, mark the business criticality as 0; and perform dimensionless processing on the importance evaluation indicators. According to the following formula, generate the importance index of each data file: Where Zo i , bf i , ir i and lf i respectively represent the corresponding importance index, business criticality, amount size, and update frequency under the data file number i; i = 1, 2,..., n, and n is the total number of data files included in the financial data.

6. The financial data supervision method based on blockchain according to claim 1, wherein: The process of running the preset rule engine is as follows: When the importance index exceeds the preset boundary threshold, it means that the importance level of the target data file is: high. When the importance index does not exceed the preset boundary threshold, it means that the importance level of the target data file is: low. Among them, the importance level being high or low is the determination result.

7. The method for supervising financial data based on blockchain according to claim 6, wherein: The process of performing an on-chain allocation operation according to the determination result is as follows: When it is determined that the importance level of the target data file is high, match a hierarchical backup strategy. Under the condition of real-time synchronization, allocate the target data file to the corresponding node, add backup nodes, and synchronously perform cross-chain synchronization of the target data file. When it is determined that the importance level of the target data file is low, match a similar backup strategy. Under the condition of batch synchronization, perform single-point storage of the target data file, and use the nodes where data files with the same importance level are stored as backup nodes. Among them, the number and location of the backup nodes are random.

8. The blockchain-based financial data supervision method according to claim 7, characterized in that: The detected software anomaly is data tampering, and the detected hardware anomaly is node failure; When triggering the fault detection takeover mechanism, the calculation process of the dynamic threshold is as follows: Obtain the importance index and the shortest required duration corresponding to the target data file; Build a threshold determination calculation model to generate the dynamic threshold K: where T is the shortest demand duration, Zo p is the importance index of the p-th group of data files, p = 1, 2,..., Q, and Q is the number of data files, N is the total number of nodes with high importance, max_allowable_downtime is a preset parameter, and max_allowable_downtime is greater than 0.

9. The method for supervising financial data based on blockchain according to claim 1, wherein: For data files with a low level of importance, directly switch to an undamaged backup node.

10. A financial data supervision system based on blockchain, characterized in that: The system includes: A network construction module that constructs a blockchain network and designs a data model according to the characteristics of financial data for the financial data to be stored on the chain; An on-chain allocation module that preprocesses the original financial data using Excel financial functions, builds an importance assessment model, obtains the importance indexes of different data files in the financial data, runs a preset rule engine to determine the importance level of the target data file, and performs an on-chain allocation operation based on the determination result; A supervision and adjustment module that monitors relevant events of financial data in real time. When a software anomaly is detected, a warning prompt is triggered; when a hardware anomaly is detected, a fault detection takeover mechanism is triggered. For data files with a high level of importance, it is judged whether the number of faulty nodes exceeds the dynamic threshold; if it exceeds, switch to other blockchain networks; if it does not exceed, switch to backup nodes.

Citation Information

Cited By

  • Agricultural production process block chain evidence storage method and system

    CN121071940A