A method, device, equipment and medium for generating financial statements based on blockchain
Through blockchain technology, the company's financial transaction records and token token circulation records are compared, and financial statements are generated, which solves the problem of financial statement forgery in the capital market, provides real and reliable financial data, and improves investment decision-making efficiency.
Patent Information
- Application Number
- CN202010863484.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2040-08-25
AI Technical Summary
In the capital market, project financial statement data are easily forged, resulting in auditors and investors spending a lot of manpower and material resources when verifying the authenticity, and they cannot quickly obtain the basis for project value assessment and investment decision-making.
Through the blockchain-based financial statement generation method, users will receive requests, obtain corporate financial transaction records and token token circulation records, compare their consistency, and generate financial statements if they are consistent to ensure the reliability of the statements.
It provides authentic and reliable financial statements, reduces the cost of human and material verification, and improves the efficiency and accuracy of investment decisions.
Smart Images

Figure CN111950244B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a method, device, equipment and medium for generating financial statements based on blockchain. Background Art
[0002] In the current capital market, the financial statements of many projects are falsified, which requires auditors and investors to spend a lot of manpower and material resources to verify the authenticity of the data during the review process. Investors cannot quickly see how much the current project will be worth in the next round, how much more money needs to be invested, how much the stocks they hold are worth, etc. Therefore, how to provide relevant personnel with true and reliable financial statements is a problem that needs to be solved at present. Summary of the invention
[0003] In view of this, the purpose of this application is to provide a blockchain-based financial statement generation method, device, equipment and medium, which can generate corresponding financial statements through real corporate financial transaction records, thereby ensuring the reliability of financial statements. The specific scheme is as follows:
[0004] In the first aspect, the present application discloses a method for generating financial statements based on blockchain, which is applied to a target intelligent terminal, comprising:
[0005] Receiving a user's request for generating a financial statement, wherein the request for generating a financial statement includes target enterprise information;
[0006] Generate a financial record viewing request based on the target enterprise information;
[0007] Obtain the enterprise's financial transaction records and target token circulation records according to the financial record viewing request;
[0008] Compare the target token circulation record with the enterprise financial transaction record to see if they are consistent;
[0009] If they are consistent, the corresponding financial statements are generated using the enterprise financial transaction records.
[0010] Optionally, comparing the target token circulation record and the enterprise financial transaction record to see whether they are consistent includes:
[0011] Compare the first number of the target token circulation record and the second number of the enterprise financial transaction record. If the first number is consistent with the second number, it is determined that the target token circulation record is consistent with the enterprise financial transaction record.
[0012] Optionally, comparing the target token circulation record and the enterprise financial transaction record to see whether they are consistent includes:
[0013] Compare the first characteristic value in the target token circulation record and the second characteristic value in the enterprise financial transaction record. If the first characteristic value and the second characteristic value are consistent, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0014] Optionally, comparing the target token circulation record and the enterprise financial transaction record to see whether they are consistent includes:
[0015] Compare the timestamp corresponding to the target token circulation record with the generation time of the enterprise financial transaction record. If the time difference between the timestamp and the generation time is less than or equal to a preset threshold, it is determined that the target token circulation record is consistent with the enterprise financial transaction record.
[0016] Optionally, the method further includes:
[0017] If the target token circulation record and the enterprise financial transaction record are inconsistent, a corresponding error message is generated; the error message includes the reason for the data inconsistency.
[0018] Optionally, obtaining the enterprise financial transaction records and the target token circulation records according to the financial record viewing request specifically includes:
[0019] Sending the financial record viewing request to the enterprise server, so that the enterprise server returns the enterprise financial transaction record according to the financial record viewing request;
[0020] The financial record viewing request is sent to the blockchain, so that the blockchain node returns the target token circulation record according to the financial record viewing request.
[0021] In the second aspect, the present application discloses a financial statement generation device based on blockchain, which is applied to a target intelligent terminal, including:
[0022] A financial report generation request receiving module, used to receive a user's financial report generation request, wherein the financial report generation request includes target enterprise information;
[0023] A financial record viewing request generating module, used to generate a financial record viewing request according to the target enterprise information;
[0024] A financial record acquisition module, used to acquire enterprise financial transaction records and target token circulation records according to the financial record viewing request;
[0025] A financial record comparison module is used to compare the target token circulation record with the enterprise financial transaction record to see if they are consistent;
[0026] A financial statement generation module is used to generate corresponding financial statements using the enterprise financial transaction records if the financial record comparison module determines that the target token circulation record is consistent with the enterprise financial transaction record.
[0027] Optionally, the financial record comparison module is specifically used to compare a first number of the target token circulation record and a second number of the enterprise financial transaction record. If the first number is consistent with the second number, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0028] Optionally, the financial record comparison module is specifically used to compare the first characteristic value in the target token circulation record and the second characteristic value in the enterprise financial transaction record. If the first characteristic value and the second characteristic value are consistent, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0029] Optionally, the financial record comparison module is specifically used to compare the timestamp corresponding to the target token circulation record and the generation time of the enterprise financial transaction record. If the time difference between the timestamp and the generation time is less than or equal to a preset threshold, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0030] The device also includes an error information generation module, which is used to generate corresponding error information if the financial record comparison module determines that the target token circulation record and the enterprise financial transaction record are inconsistent; the error information includes the reason for the data inconsistency.
[0031] Optionally, the financial record acquisition module is specifically used to send the financial record viewing request to the enterprise server, so that the enterprise server returns the enterprise financial transaction record according to the financial record viewing request; and send the financial record viewing request to the blockchain, so that the blockchain node returns the target token circulation record according to the financial record viewing request.
[0032] In a third aspect, the present application discloses an electronic device, including a processor and a memory; wherein:
[0033] The memory is used to store the computer program;
[0034] The processor is used to execute the computer program to implement the aforementioned financial statement generation method.
[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned financial statement generation method when executed by a processor.
[0036] It can be seen that the present application receives a user's request for generating a financial statement, which includes target enterprise information, and then generates a request for viewing financial records based on the target enterprise information, and then obtains the enterprise's financial transaction records and the target token circulation records based on the financial record viewing request, and compares the target token circulation records and the enterprise's financial transaction records to see if they are consistent. If they are consistent, the enterprise's financial transaction records are used to generate corresponding financial statements. In this way, by comparing the target token circulation records and the enterprise's financial transaction records, if they are consistent, the enterprise's financial transaction records are used to generate corresponding financial statements, and the corresponding financial statements can be generated through real enterprise financial transaction records, thereby ensuring the reliability of financial statements. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0038] Figure 1 A flowchart of a method for generating financial statements based on blockchain disclosed in this application;
[0039] Figure 2 This is a schematic diagram of the structure of a financial statement generation device based on blockchain disclosed in this application;
[0040] Figure 3 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0042] In the current capital market, the financial statement data of many projects are forged, which requires auditors and investors to spend a lot of manpower and material resources to verify the authenticity of the data during the review process, and it is also impossible to quickly show investors how much the current project can be worth in the next round, how much more money needs to be invested, how much the stocks in their hands are worth, etc. Therefore, how to provide relevant personnel with true and reliable financial statements is a problem that needs to be solved at present. To this end, this application discloses a financial statement generation solution based on blockchain, which can generate corresponding financial statements through real local financial transaction records, thereby ensuring the reliability of financial statements.
[0043] See also Figure 1 As shown, the embodiment of the present application discloses a method for generating financial statements based on blockchain, which is applied to a target intelligent terminal, including:
[0044] Step S11: receiving a user's request for generating a financial statement, wherein the request for generating a financial statement includes target enterprise information.
[0045] Step S12: Generate a financial record viewing request according to the target enterprise information.
[0046] Step S13: Obtain the enterprise financial transaction records and the target token circulation records according to the financial record viewing request.
[0047] In a specific implementation, this embodiment can send the financial record viewing request to the enterprise server, so that the enterprise server returns the enterprise financial transaction record according to the financial record viewing request; send the financial record viewing request to the blockchain, so that the blockchain node returns the target token circulation record according to the financial record viewing request.
[0048] That is, this embodiment can determine the corresponding enterprise financial records and target token circulation records based on the target enterprise information. In a specific implementation, the blockchain can extract the screening condition in the viewing request, i.e., the target enterprise information, and use the screening condition to filter out the target token circulation record and return it. For example, the screening condition is all token circulation records of Company A from January 1, 2019 to December 31, 2019, and all token circulation records that meet the screening condition are returned.
[0049] Among them, the target token circulation record is the token circulation record generated by the blockchain when the enterprise user terminal sends a transaction request to the blockchain, and the transaction request carries the characteristic value corresponding to the corresponding financial data, and the characteristic value is the characteristic value obtained by performing a single irreversible function calculation on the corresponding financial data, such as using a hash function to perform a HASH operation to obtain a HASH value. Specifically, when a financial transaction occurs in the information system of the enterprise user, a corresponding HASH operation request is sent to the target electronic device so that the target electronic device performs a HASH operation on the corresponding financial data to obtain a corresponding HASH value. For example, the corresponding financial data is that company A transfers 10,000 yuan to company B, which is xxx software development company, because it is to pay the software service fee, and the time is 14:30 on Monday, April 27, 2020. The HASH value generated by the HASH operation is 0x89e4cf76783ac88b96ecd4f90b13d2edecd42ca5, and it is returned. The enterprise user terminal can locally generate a financial transaction record corresponding to the HASH value, and send a corresponding transaction request to the blockchain, carrying the HASH value. When the blockchain receives the transaction request, it generates the corresponding transaction HASH and a timestamp, and then generates the corresponding token circulation record. It can be understood that the token circulation record includes the HASH, timestamp, transaction HASH, etc. carried by the transaction request, among which the transaction HASH can identify the corresponding token circulation record.
[0050] It should be noted that the target electronic device used to perform HSAH operations on financial data may be an enterprise user terminal or other electronic devices, and no specific limitation is made herein.
[0051] Step S14: Compare the target token circulation record with the enterprise financial transaction record to see if they are consistent.
[0052] In a first specific implementation, this embodiment can compare the first number of the target token circulation record and the second number of the enterprise financial transaction record. If the first number and the second number are consistent, it is determined that the target token circulation record is consistent with the enterprise financial transaction record.
[0053] In a second specific implementation, this embodiment can compare the first characteristic value in the target token circulation record and the second characteristic value in the enterprise financial transaction record. If the first characteristic value and the second characteristic value are consistent, it is determined that the target token circulation record is consistent with the local financial transaction record. Wherein, the first characteristic value and the second characteristic value are both characteristic values obtained by performing a single irreversible function calculation on the corresponding financial data, such as a HASH value obtained by a HASH operation.
[0054] In the third specific implementation, this embodiment can compare the timestamp corresponding to the target token circulation record with the generation time of the enterprise financial transaction record. If the time difference between the timestamp and the generation time is less than or equal to a preset threshold, it is determined that the target token circulation record is consistent with the enterprise financial transaction record. That is, this embodiment takes into account the system delay that may occur during the data chain process, thereby avoiding misjudgment.
[0055] Furthermore, in some embodiments, any two or three of the above three implementation methods can be used to jointly determine whether the target token circulation record is consistent with the enterprise financial transaction record. For example, if the first number of items is consistent with the second number of items, the first feature value is consistent with the second feature value, and the time difference between the timestamp and the generation time is less than or equal to a preset threshold, then it is determined that the target token circulation record is consistent with the enterprise financial transaction record.
[0056] Step S15: If they are consistent, the corresponding financial statements are generated using the enterprise financial transaction records.
[0057] In a specific implementation, if they are consistent, the corresponding financial statements are generated using the enterprise's financial transaction records and the accounting equation. For example, the profit statement that shareholders want to see is generated using the financial transaction records provided by Company A, where profit = income - expenses, which is the accounting equation representing the "profit statement". This accounting equation, called the financial results equation, reflects the relationship between the three accounting elements of income, expenses and profit, and reveals the operating results of the enterprise in a specific period. Profit equals income minus expenses. According to the accounting equation, the corresponding financial statements are generated.
[0058] Furthermore, if the target token circulation record is inconsistent with the enterprise financial transaction record, a corresponding error message is generated; the error message includes the reason for the data inconsistency. For example, when the financial data provided by Company A to shareholder X is compared with the data retrieved from the blockchain by shareholder X, the data is found to be inconsistent. The specific reasons are: (1) The number of data items is inconsistent, n pieces of original data are missing, and there may be hidden data; (2) The hash values of m pieces of data are inconsistent, and there may be a possibility that the original data has been modified; (3) The time when f pieces of data were generated and the timestamp of the data storage are quite different, and the data accuracy is reduced.
[0059] It can be seen that the embodiment of the present application receives a user's request to generate a financial statement, the request to generate a financial statement includes target enterprise information, and then generates a financial record viewing request based on the target enterprise information, and then obtains the enterprise's financial transaction record and the target token circulation record based on the financial record viewing request, and compares the target token circulation record and the enterprise's financial transaction record to see if they are consistent. If they are consistent, the enterprise's financial transaction record is used to generate the corresponding financial statement. In this way, by comparing the target token circulation record and the enterprise's financial transaction record, if they are consistent, the enterprise's financial transaction record is used to generate the corresponding financial statement, and the corresponding financial statement can be generated through the real enterprise's financial transaction record, thereby ensuring the reliability of the financial statement.
[0060] See also Figure 2 As shown, the embodiment of the present application discloses a financial statement generation device based on blockchain, which is applied to a target intelligent terminal, including:
[0061] A financial statement generation request receiving module 11 is used to receive a user's financial statement generation request, wherein the financial statement generation request includes target enterprise information;
[0062] A financial record viewing request generating module 12, used to generate a financial record viewing request according to the target enterprise information;
[0063] A financial record acquisition module 13, used to acquire the enterprise financial transaction records and the target token circulation records according to the financial record viewing request;
[0064] The financial record comparison module 14 is used to compare the target token circulation record with the enterprise financial transaction record to see if they are consistent;
[0065] The financial statement generation module 15 is used to generate corresponding financial statements using the enterprise financial transaction records if the financial record comparison module determines that the target token circulation record is consistent with the enterprise financial transaction record.
[0066] It can be seen that the embodiment of the present application receives a user's request to generate a financial statement, the request to generate a financial statement includes target enterprise information, and then generates a financial record viewing request based on the target enterprise information, and then obtains the enterprise's financial transaction record and the target token circulation record based on the financial record viewing request, and compares the target token circulation record and the enterprise's financial transaction record to see if they are consistent. If they are consistent, the enterprise's financial transaction record is used to generate the corresponding financial statement. In this way, by comparing the target token circulation record and the enterprise's financial transaction record, if they are consistent, the enterprise's financial transaction record is used to generate the corresponding financial statement, and the corresponding financial statement can be generated through the real enterprise's financial transaction record, thereby ensuring the reliability of the financial statement.
[0067] In a first specific implementation, the financial record comparison module 14 is specifically used to compare the first number of the target token circulation record and the second number of the enterprise financial transaction record. If the first number is consistent with the second number, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0068] In a second specific implementation, the financial record comparison module 14 is specifically used to compare the first characteristic value in the target token circulation record and the second characteristic value in the enterprise financial transaction record. If the first characteristic value and the second characteristic value are consistent, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0069] In a third specific implementation, the financial record comparison module 14 is specifically used to compare the timestamp corresponding to the target token circulation record and the generation time of the enterprise financial transaction record. If the time difference between the timestamp and the generation time is less than or equal to a preset threshold, it is determined that the target token circulation record and the enterprise financial transaction record are consistent.
[0070] The device also includes an error information generation module, which is used to generate corresponding error information if the financial record comparison module determines that the target token circulation record and the enterprise financial transaction record are inconsistent; the error information includes the reason for the data inconsistency.
[0071] The financial record acquisition module 13 is specifically used to send the financial record viewing request to the enterprise server, so that the enterprise server returns the enterprise financial transaction record according to the financial record viewing request; send the financial record viewing request to the blockchain, so that the blockchain node returns the target token circulation record according to the financial record viewing request.
[0072] See also Figure 3 As shown, an embodiment of the present application discloses an electronic device, including a processor 21 and a memory 22; wherein the memory 22 is used to store a computer program; and the processor 21 is used to execute the computer program to implement the financial statement generation method disclosed in the aforementioned embodiment.
[0073] For the specific process of the above-mentioned financial statement generation method, reference may be made to the corresponding contents disclosed in the above-mentioned embodiments, which will not be described in detail here.
[0074] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the financial statement generation method disclosed in the aforementioned embodiment.
[0075] For the specific process of the above-mentioned financial statement generation method, reference may be made to the corresponding contents disclosed in the above-mentioned embodiments, which will not be described in detail here.
[0076] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0077] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0078] The above is a detailed introduction to the blockchain-based financial statement generation method, device, equipment and medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for generating financial statements based on blockchain, characterized in that: Applied to target intelligent terminals, including: Receiving a user's request for generating a financial statement, wherein the request for generating a financial statement includes target enterprise information; Generate a financial record viewing request based on the target enterprise information; Obtaining the enterprise financial transaction record and the target token circulation record according to the financial record viewing request; the target token circulation record is the token circulation record generated by the blockchain when the enterprise user terminal sends a transaction request to the blockchain; Compare the target token circulation record with the enterprise financial transaction record to see if they are consistent; If they are consistent, the corresponding financial statements are generated using the enterprise financial transaction records; If they are inconsistent, a corresponding error message is generated; the error message includes the reason for the data inconsistency; Wherein, obtaining the enterprise financial transaction record and the target token circulation record according to the financial record viewing request specifically includes: sending the financial record viewing request to the enterprise server, so that the enterprise server returns the enterprise financial transaction record according to the financial record viewing request; sending the financial record viewing request to the blockchain, so that the blockchain node returns the target token circulation record according to the financial record viewing request; Wherein, the comparison of the target token circulation record and the enterprise financial transaction record to determine whether they are consistent includes: Compare the first number of the target token circulation record and the second number of the enterprise financial transaction record; Compare the first characteristic value in the target token circulation record and the second characteristic value in the enterprise financial transaction record; Compare the timestamp corresponding to the target token circulation record and the generation time of the enterprise financial transaction record; If the first number of items is consistent with the second number of items, the first characteristic value is consistent with the second characteristic value, and the time difference between the timestamp and the generation time is less than or equal to a preset threshold, it is determined that the target token circulation record is consistent with the enterprise financial transaction record.
2. A financial report generation device based on blockchain, characterized in that: Applied to target intelligent terminals, including: A financial report generation request receiving module, used to receive a user's financial report generation request, wherein the financial report generation request includes target enterprise information; A financial record viewing request generating module, used to generate a financial record viewing request according to the target enterprise information; A financial record acquisition module, used to acquire the enterprise financial transaction record and the target token circulation record according to the financial record viewing request; the target token circulation record is the token circulation record generated by the blockchain when the enterprise user terminal sends a transaction request to the blockchain; A financial record comparison module is used to compare the target token circulation record with the enterprise financial transaction record to see if they are consistent; A financial statement generation module, configured to generate a corresponding financial statement using the enterprise financial transaction record if the financial record comparison module determines that the target token circulation record is consistent with the enterprise financial transaction record; The financial record acquisition module is specifically used to send the financial record viewing request to the enterprise server, so that the enterprise server returns the enterprise financial transaction record according to the financial record viewing request; send the financial record viewing request to the blockchain, so that the blockchain node returns the target token circulation record according to the financial record viewing request; Financial records comparison module, specifically used for: Compare the first number of the target token circulation record and the second number of the enterprise financial transaction record; Compare the first characteristic value in the target token circulation record and the second characteristic value in the enterprise financial transaction record; Compare the timestamp corresponding to the target token circulation record and the generation time of the enterprise financial transaction record; If the first number of items is consistent with the second number of items, the first feature value is consistent with the second feature value, and the time difference between the timestamp and the generation time is less than or equal to a preset threshold, it is determined that the target token circulation record is consistent with the enterprise financial transaction record; Also includes: An error message generation module is used to generate corresponding error messages if the financial record comparison module determines that the target token circulation record and the enterprise financial transaction record are inconsistent; the error message includes the reason for the data inconsistency.
3. An electronic device, characterized in that: comprising a processor and a memory; wherein, The memory is used to store the computer program; The processor is used to execute the computer program to implement the financial statement generation method as claimed in claim 1.
4. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program, when executed by a processor, implements the financial statement generation method as claimed in claim 1.
Citation Information
Patent Citations
Express delivery information privacy protection system based on blockchain, and protection method thereof
CN108614974A
Digital certificate management method, device and equipment
CN110033288A
Financial report generation system, method and device based on block chain, equipment and medium
CN111209337A
