Data file acquisition method and device based on blockchain

By evaluating and switching to use blockchain data sources for reconciliation processing on the basis of old data sources, the problems of unclear responsibility identification and excessive file size in the traditional method of obtaining reconciliation documents are solved, and the traceability of blockchain data sources is utilized. Ensure the accuracy and stability of the reconciliation system.

CN113450114BInactive Publication Date: 2024-10-25BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110794022.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-14
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional method of obtaining reconciliation documents can easily lead to unclear responsibilities. As the transaction volume increases, the files are too large to facilitate subsequent processing. It is difficult to guarantee the accuracy and stability when directly introducing blockchain data sources.

Method used

While using the old data source for reconciliation processing, evaluate the performance of the new data source (including blockchain data source). If it passes, switch to use the new data source to obtain the data file and store it in the specified path for reconciliation processing. .

Benefits of technology

Clear responsibility identification through the traceability of blockchain data sources, reduce problems caused by large file transmission, and ensure the correctness and stability of the reconciliation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113450114B_ABST
    Figure CN113450114B_ABST
Patent Text Reader

Abstract

This invention discloses a method and apparatus for acquiring data files based on blockchain technology. The method includes: simultaneously adding a new data source while using an existing data source to acquire data files for reconciliation processing; evaluating the performance of the new data source; and if the evaluation is successful, switching to the new data source for acquiring data files. The new data source includes a blockchain data source. A storage path for the data files from the new data source is set, and the data files are stored at this path. Reconciliation processing is then performed using the data files acquired from the new data source. This invention, by retaining the original data source and adding a new data source, and then evaluating its performance before switching to it for data acquisition, ensures both accuracy and stability. The traceability of the blockchain data source facilitates the identification of responsibility for problematic data and reduces issues arising from large file transfers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a method and device for acquiring data files based on blockchain. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] Taking reconciliation files as an example, traditionally, reconciliation files are usually obtained through FTP. If there are erroneous data in the files, it is easy to cause unclear responsibility identification. In addition, with the increase in transaction volume, the data in the reconciliation files is increasing, and the files are getting larger and larger, which is not convenient for subsequent reconciliation and other file processing. Directly introducing a new reconciliation data source cannot guarantee correctness and stability. Summary of the invention

[0004] The embodiment of the present invention provides a data file acquisition method based on blockchain, which is used to solve the problem that the existing reconciliation file acquisition method is prone to unclear responsibility identification, the file is too large to be convenient for subsequent reconciliation and other processing of the file, and the introduction of a new reconciliation data source, and the problem that the correctness and stability cannot be guaranteed. The method includes:

[0005] Add a new data source while using the old data source to obtain data files for reconciliation processing, evaluate the performance of the new data source, and if the performance passes the evaluation, switch to using the new data source to obtain data files, wherein the new data source includes a blockchain data source;

[0006] Set the data file storage path for the new data source and store the data file in the data file storage path;

[0007] Use the data files obtained from the new data source to perform reconciliation processing.

[0008] The embodiment of the present invention further provides a data file acquisition device based on blockchain, which is used to solve the problem that the existing reconciliation file acquisition method is prone to unclear responsibility identification, the file is too large to be convenient for subsequent reconciliation and other processing of the file, and the introduction of a new reconciliation data source cannot ensure the correctness and stability. The device includes:

[0009] A new data source adding module is used to add a new data source while using the old data source to obtain data files for reconciliation processing, and evaluate the performance of the new data source;

[0010] A data acquisition module, configured to switch to a new data source to acquire data files if the evaluation is passed, wherein the new data source includes a blockchain data source;

[0011] A storage path setting module is used to set the data file storage path of the new data source;

[0012] A file storage module, used for storing data files in a data file storage path;

[0013] The reconciliation processing module is used to perform reconciliation processing using the data files obtained from the new data source.

[0014] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned blockchain-based data file acquisition method when executing the computer program.

[0015] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the above-mentioned blockchain-based data file acquisition method are implemented.

[0016] In the embodiment of the present invention, compared with the conventional method of obtaining reconciliation files in the prior art, which is generally through FTP, if erroneous data appears in the file, it is easy to cause unclear responsibility identification. In addition, with the increase in transaction volume, the data in the reconciliation file is increasing, the file is getting larger and larger, and it is not convenient for subsequent reconciliation and other processing of the file. Compared with the technical solution that directly introduces a new reconciliation data source (such as obtaining reconciliation files in a blockchain manner), the correctness and stability cannot be guaranteed. By adding a new data source while using the old data source to obtain data files for reconciliation processing, the performance of the new data source is evaluated. If the evaluation passes, the new data source is switched to obtain the data file, wherein the new data source includes a blockchain data source; the data file storage path of the new data source is set, and the data file is stored in the data file storage path; and the data file obtained by the new data source is used for reconciliation processing. On the basis of retaining the original data source for obtaining the reconciliation file, the present invention adds a new data source, and switches to the new data source to obtain the data file after evaluating the performance of the new data source, so that the correctness and stability cannot be guaranteed. The traceability of the blockchain data source can be used to easily clarify the responsibility identification of the problem data, and the blockchain data source is used for reconciliation, which can reduce the problems caused by large file transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0018] Figure 1 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 1 ;

[0019] Figure 2 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 2 ;

[0020] Figure 3 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 3 ;

[0021] Figure 4 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 4 ;

[0022] Figure 5 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 5 ;

[0023] Figure 6 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 6 ;

[0024] Figure 7 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 7 ;

[0025] Figure 8 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 8 ;

[0026] Fig. 9 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 9 ;

[0027] Fig.10 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 10 ;

[0028] Fig.11 The structure frame of the data file acquisition device based on blockchain in the embodiment of the present invention is as follows: Figure 1 ;

[0029] Fig.12 The structure frame of the data file acquisition device based on blockchain in the embodiment of the present invention is as follows: Figure 2 ;

[0030] Fig.13 The structure frame of the data file acquisition device based on blockchain in the embodiment of the present invention is as follows: Figure 3;

[0031] Fig.14 The structure frame of the data file acquisition device based on blockchain in the embodiment of the present invention is as follows: Figure 4 ;

[0032] Fig.15 The structure frame of the data file acquisition device based on blockchain in the embodiment of the present invention is as follows: Figure 5 . DETAILED DESCRIPTION

[0033] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0034] Figure 1 The data file acquisition method based on blockchain in the embodiment of the present invention is as follows Figure 1 ,like Figure 1 As shown, including:

[0035] Step 101: while using the old data source to obtain data files for reconciliation processing, add a new data source, evaluate the performance of the new data source, and if the evaluation passes, switch to using the new data source to obtain data files, wherein the new data source includes a blockchain data source;

[0036] Step 102: Setting a data file storage path of a new data source, and storing the data file in the data file storage path;

[0037] Step 103: Perform reconciliation processing using the data file obtained from the new data source.

[0038] Specifically, by evaluating and comparing the data sources that can be added, a suitable data source is selected. For example, the reconciliation system targeted by the present invention can use blockchain as a new data source to obtain the reconciliation file.

[0039] The new data sources can be two or more, one of which is the blockchain data source. As the transaction volume increases, the data in the reconciliation file increases, and the file becomes larger and larger, which is inconvenient for subsequent reconciliation and other file processing. Using blockchain reconciliation can reduce the problems caused by large file transmission. The traditional way of obtaining reconciliation files through FTP is prone to unclear responsibility identification if there is erroneous data. The traceability of blockchain can easily clarify the responsibility identification of problem data.

[0040] If a new data source is directly introduced (such as obtaining reconciliation files through blockchain), the correctness and stability cannot be guaranteed. Therefore, before switching to a new data source, the stable old data source is still used to complete the reconciliation process. Only the content of the reconciliation file obtained by the new data source is compared with that obtained by the old data source. The performance of the new data source is evaluated without affecting the normal operation of the reconciliation system, thereby reducing possible problems after switching to a new data source.

[0041] In the embodiment of the present invention, Figure 2 As shown, step 102 sets the data file storage path of the new data source, including:

[0042] Step 201: Determine the storage path of the data file obtained from the old data source;

[0043] Step 202: Obtain the storage path of the data file according to the old data source, and set the storage path of the data file of the new data source.

[0044] In the embodiment of the present invention, Figure 3 As shown, step 202 obtains the storage path of the data file according to the old data source and sets the storage path of the data file of the new data source, including:

[0045] Step 301: Store the data files of the new data source in different folders of the same level directory where the data files of the old data source are obtained, and keep the file names consistent or one-to-one corresponding.

[0046] Specifically, configure the new data source to obtain the reconciliation file path: store the reconciliation files obtained by two (or more) data sources in different folders of the same directory, and keep the file names consistent or establish a corresponding relationship, so as to facilitate the content comparison of the reconciliation files obtained by the two (or more) data sources by running scripts at a scheduled time in the future.

[0047] In the embodiment of the present invention, Figure 4 As shown, step 101 evaluates the performance of the new data source, including:

[0048] Step 401: Compare the contents of the data file obtained from the old data source and the data file from the new data source. If the comparison result shows that the contents of the data file obtained from the old data source and the data file from the new data source are the same, the performance evaluation of the new data source passes.

[0049] In the embodiment of the present invention, Figure 5 As shown, step 101 evaluates the performance of the new data source, including:

[0050] Step 501: Compare the contents of the data file obtained from the old data source and the data file from the new data source to generate a result file, send the result file to business personnel for verification, and evaluate the performance of the new data source based on the verification result.

[0051] Specifically, write a script to compare reconciliation files of two (or more) data sources: You can write a shell script and run it in a scheduled manner to obtain the comparison results of reconciliation files of two (or more) data sources. By comparing the amount, status and other information of each transaction, you can output inconsistent transactions into text files and store them in a specific directory. After a period of time, when it is determined that the data of the new data source is stable, you can use the reconciliation file obtained from the new data source for reconciliation.

[0052] In the embodiment of the present invention, Figure 6 As shown, it also includes:

[0053] Step 601: Set a switch for a data source, and control the activation or deactivation of the data source through the switch.

[0054] In the embodiment of the present invention, Figure 7 As shown, it also includes:

[0055] Step 701: If an abnormality occurs in obtaining a data file from one of the data sources, switch to another data source to obtain the data file.

[0056] Specifically, adding a switch for each data source can control the activation or deactivation of the data source, and can be flexibly switched according to actual conditions. If an exception is caused by a reconciliation file during the reconciliation process when obtaining a file from a data source, the reconciliation can be switched to a file obtained from another data source to ensure the normal operation of the reconciliation system.

[0057] In the embodiment of the present invention, Figure 8 As shown, step 103 uses the data file obtained from the new data source to perform reconciliation processing, including:

[0058] Step 801: standardize the data file to obtain a standardized data file;

[0059] Step 802: Perform data comparison based on the standardized data file, record the comparison results, and export the recorded results to business personnel for subsequent processing.

[0060] Specifically, obtain the reconciliation files of the benchmark party and the reference party that need to be reconciled through two (or more) data sources (the reconciliation is based on the benchmark party data). Convert the specific fields in the reconciliation files of both parties through mapping, and store them in the benchmark party table and the reference party table of the database respectively. The fields of the two tables should be consistent. Filter the data in the benchmark party table and the reference party table in the same batch respectively, and then compare the amount, transaction status, etc. one by one according to the fields that identify the same transaction (such as order number, serial number, etc.), record the inconsistent transactions in the error record table, export them and hand them over to the business personnel for subsequent processing.

[0061] In the embodiment of the present invention, Fig. 9 As shown, it also includes:

[0062] Step 901: using the old data source and the new data source to simultaneously acquire data files;

[0063] Step 902: XOR the result of obtaining the data file from the old data source and the result of obtaining the data file from the new data source. When both the old data source and the new data source fail to obtain the data file, it indicates that the file acquisition fails.

[0064] In the embodiment of the present invention, Fig.10 As shown, it also includes:

[0065] Step 1001: using the old data source and the new data source to simultaneously acquire data files;

[0066] Step 1002: If the new data source fails to obtain the data file, but the old data source succeeds in obtaining the data file, it indicates that the file is obtained successfully.

[0067] Specifically, adding a new data source does not affect the process of obtaining reconciliation data from the old data source. Failure to obtain the file should not be returned because the new data source fails to obtain the reconciliation file. The result of obtaining the reconciliation file from the old data source should be used as the basis; or the two methods are XORed, and only when both methods fail to obtain the reconciliation data is it judged as a failure.

[0068] If an exception occurs when obtaining a file from one data source, you can switch to another data source to obtain the file. As long as one data source can obtain the file successfully, it will not affect the normal operation of the entire reconciliation system, thus ensuring the high availability of the reconciliation system.

[0069] The embodiment of the present invention also provides a data file acquisition device based on blockchain, as described in the following embodiment. Since the principle of solving the problem by the device is similar to that of the data file acquisition method based on blockchain, the implementation of the device can refer to the implementation of the data file acquisition method based on blockchain, and the repeated parts will not be repeated.

[0070] Fig.11The structure frame of the data file acquisition device based on blockchain in the embodiment of the present invention is as follows: Figure 1 ,like Fig.11 As shown, the device comprises:

[0071] New data source adding module 02 is used to add a new data source while using the old data source to obtain data files for reconciliation processing, and evaluate the performance of the new data source;

[0072] Data acquisition module 04, used to switch to a new data source to acquire data files if the evaluation is passed, wherein the new data source includes a blockchain data source;

[0073] Storage path setting module 06, used to set the data file storage path of the new data source;

[0074] The file storage module 08 is used to store the data file in the data file storage path;

[0075] The reconciliation processing module 10 is used to perform reconciliation processing using the data file obtained from the new data source.

[0076] In the embodiment of the present invention, the storage path setting module 06 is specifically used for:

[0077] Determine the storage path of the data file obtained from the old data source;

[0078] Get the storage path of the data file according to the old data source, and set the storage path of the data file for the new data source.

[0079] In the embodiment of the present invention, the storage path setting module 06 is specifically used for:

[0080] Store the data files of the new data source in different folders of the same directory as the data files of the old data source, and keep the file names consistent or one-to-one corresponding.

[0081] In the embodiment of the present invention, the new data source adding module 02 is specifically used for:

[0082] The contents of the data file obtained from the old data source are compared with the contents of the data file from the new data source. If the comparison result shows that the contents of the data file obtained from the old data source and the data file from the new data source are the same, the performance evaluation of the new data source passes.

[0083] In the embodiment of the present invention, the new data source adding module 02 is specifically used for:

[0084] The contents of the data file obtained from the old data source and the data file from the new data source are compared to generate a result file, which is sent to business personnel for verification, and the performance of the new data source is evaluated based on the verification result.

[0085] In the embodiment of the present invention, Fig.12 As shown, it also includes:

[0086] The switch setting module 12 is used to set a switch for the data source, and control the activation or deactivation of the data source through the switch.

[0087] In the embodiment of the present invention, Fig.13 As shown, it also includes:

[0088] The switching module 14 is used to switch to other data sources to obtain data files through a switch if an abnormality occurs in obtaining data files from one data source.

[0089] In the embodiment of the present invention, the reconciliation processing module is specifically used for:

[0090] Standardize the data file to obtain a standardized data file;

[0091] Perform data comparison based on standardized data files, record the comparison results, and export the recorded results to business personnel for subsequent processing.

[0092] In the embodiment of the present invention, the data acquisition module 04 is further used to: simultaneously acquire data files using the old data source and the new data source;

[0093] like Fig.14 As shown, it also includes:

[0094] The XOR processing module 16 is used to perform XOR processing on the result of obtaining the data file from the old data source and the result of obtaining the data file from the new data source. When both the old data source and the new data source fail to obtain the data file, it indicates that the file acquisition fails.

[0095] In the embodiment of the present invention, the data acquisition module 04 is further used to: simultaneously acquire data files using the old data source and the new data source;

[0096] like Fig.15 As shown, it also includes: a file acquisition success or failure determination module 18, which is used to indicate that the file acquisition is successful if the new data source fails to acquire the data file, but the old data source succeeds in acquiring the data file.

[0097] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned blockchain-based data file acquisition method when executing the computer program.

[0098] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the above-mentioned blockchain-based data file acquisition method are implemented.

[0099] In the embodiment of the present invention, compared with the conventional method of obtaining reconciliation files in the prior art, which is generally through FTP, if erroneous data appears in the file, it is easy to cause unclear responsibility identification. In addition, with the increase in transaction volume, the data in the reconciliation file is increasing, the file is getting larger and larger, and it is not convenient for subsequent reconciliation and other processing of the file. Compared with the technical solution that directly introduces a new reconciliation data source (such as obtaining reconciliation files in a blockchain manner), the correctness and stability cannot be guaranteed. By adding a new data source while using the old data source to obtain data files for reconciliation processing, the performance of the new data source is evaluated. If the evaluation passes, the new data source is switched to obtain the data file, wherein the new data source includes a blockchain data source; the data file storage path of the new data source is set, and the data file is stored in the data file storage path; and the data file obtained by the new data source is used for reconciliation processing. On the basis of retaining the original data source for obtaining the reconciliation file, the present invention adds a new data source, and switches to the new data source to obtain the data file after evaluating the performance of the new data source, so that the correctness and stability cannot be guaranteed. The traceability of the blockchain data source can be used to easily clarify the responsibility identification of the problem data, and the blockchain data source is used for reconciliation, which can reduce the problems caused by large file transmission.

[0100] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0101] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0104] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for obtaining data files based on blockchain, It is characterized in that include: Adding a new data source while using the old data source to obtain data files for reconciliation processing, evaluating the performance of the new data source, and using the new data source to obtain data files if the evaluation passes, wherein the new data source includes a blockchain data source; Set the data file storage path for the new data source and store the data file in the data file storage path; Use the data files obtained from the new data source to perform reconciliation processing; The step of setting the data file storage path of the new data source includes: determining the storage path of the data file obtained from the old data source; and setting the data file storage path of the new data source according to the storage path of the data file obtained from the old data source. According to the storage path of the data file obtained from the old data source, the storage path of the data file of the new data source is set, including: storing the data file of the new data source in different folders of the same level directory of the data file obtained from the old data source, and keeping the file names consistent or one-to-one corresponding; Use the data files obtained from the new data source to perform reconciliation processing, including: standardizing the data files to obtain standardized data files; performing data comparison based on the standardized data files, recording the comparison results, and exporting the recorded results to business personnel for subsequent processing; Evaluate the performance of new data sources, including: Compare the contents of the data file obtained from the old data source with the data file of the new data source. If the comparison result shows that the contents of the data file obtained from the old data source and the data file of the new data source are the same, the performance evaluation of the new data source passes; Or, evaluate the performance of new data sources, including: The contents of the data file obtained from the old data source and the data file from the new data source are compared to generate a result file, which is sent to business personnel for verification, and the performance of the new data source is evaluated based on the verification result.

2. The method for obtaining data files based on blockchain as claimed in claim 1, It is characterized in that Also includes: Set a switch for a data source and use the switch to enable or disable the data source.

3. The method for obtaining data files based on blockchain as claimed in claim 2, It is characterized in that Also includes: If an exception occurs when obtaining data files from one of the data sources, switch to another data source to obtain the data file.

4. The method for obtaining data files based on blockchain as claimed in claim 1, It is characterized in that Also includes: Use old and new data sources to obtain data files simultaneously; The results of obtaining the data file from the old data source and the results of obtaining the data file from the new data source are XORed. When both the old data source and the new data source fail to obtain the data file, it indicates that the file acquisition has failed.

5. The method for obtaining data files based on blockchain as claimed in claim 1, It is characterized in that Also includes: Use old and new data sources to obtain data files simultaneously; If the new data source fails to obtain the data file, but the old data source succeeds in obtaining the data file, it indicates that the file is obtained successfully.

6. A data file acquisition device based on blockchain, It is characterized in that include: A new data source adding module is used to add a new data source while using the old data source to obtain data files for reconciliation processing, and evaluate the performance of the new data source; A data acquisition module, configured to switch to a new data source to acquire data files if the evaluation is passed, wherein the new data source includes a blockchain data source; A storage path setting module is used to set the data file storage path of the new data source; A file storage module, used for storing data files in a data file storage path; The reconciliation processing module is used to perform reconciliation processing using the data files obtained from the new data source; The storage path setting module is specifically used to: determine the storage path of the data file obtained by the old data source; set the storage path of the data file of the new data source according to the storage path of the data file obtained by the old data source; The storage path setting module is specifically used to: store the data files of the new data source in different folders of the same level directory where the data files of the old data source are obtained, and the file names remain consistent or one-to-one corresponding; The new data source adding module is specifically used for: comparing the contents of the data file obtained by the old data source with the data file of the new data source. If the comparison result shows that the contents of the data file obtained by the old data source and the data file of the new data source are the same, the performance evaluation of the new data source passes; or, the new data source adding module is specifically used for: comparing the contents of the data file obtained by the old data source with the data file of the new data source, generating a result file, sending the result file to the business personnel for verification, and evaluating the performance of the new data source based on the verification result; The reconciliation processing module is specifically used to: standardize the data files to obtain standardized data files; compare data based on the standardized data files, record the comparison results, and export the recorded results to business personnel for subsequent processing.

7. The data file acquisition device based on blockchain as claimed in claim 6, It is characterized in that Also includes: The switch setting module is used to set the switch for the data source and control the activation or deactivation of the data source through the switch.

8. The data file acquisition device based on blockchain as claimed in claim 7, It is characterized in that Also includes: The switching module is used to switch to other data sources to obtain data files through a switch if an abnormality occurs in obtaining data files from one of the data sources.

9. The data file acquisition device based on blockchain as claimed in claim 6, It is characterized in that The data acquisition module is also used to: simultaneously acquire data files using the old data source and the new data source; Also includes: The XOR processing module is used to perform XOR processing on the result of obtaining the data file from the old data source and the result of obtaining the data file from the new data source. When both the old data source and the new data source fail to obtain the data file, it indicates that the file acquisition fails.

10. The data file acquisition device based on blockchain as claimed in claim 6, It is characterized in that The data acquisition module is also used to: simultaneously acquire data files using the old data source and the new data source; The system also includes: a file acquisition success or failure determination module, which is used to indicate that the file acquisition is successful if the new data source fails to acquire the data file, but the old data source succeeds in acquiring the data file.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the blockchain-based data file acquisition method according to any one of claims 1 to 5 is implemented.

12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the blockchain-based data file acquisition method described in any one of claims 1 to 5 are implemented.